MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / WriteVariableInt32

Method WriteVariableInt32

Sources/Shared/IO/Stream.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 std::int64_t Stream::WriteVariableInt32(std::int32_t value)
84 {
85 std::uint32_t n = (std::uint32_t)(value << 1) ^ (std::uint32_t)(value >> 31);
86 return WriteVariableUint32(n);
87 }
88
89 std::int64_t Stream::WriteVariableInt64(std::int64_t value)
90 {

Callers 15

AddActorMethod · 0.80
PlayCommonSfxMethod · 0.80
BeginLevelChangeMethod · 0.80
HandlePlayerFreezeMethod · 0.80
HandlePlayerSetScoreMethod · 0.80
HandlePlayerSetHealthMethod · 0.80
HandlePlayerSetLivesMethod · 0.80
HandlePlayerSetDizzyMethod · 0.80
HandlePlayerSetShieldMethod · 0.80
HandlePlayerCoinsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected