diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-23 00:34:11 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-23 00:34:11 +0200 |
commit | 98cc8a434c0a484d2d56e1cb34dc88d7d98a0853 (patch) | |
tree | f8ac26e96ee38e77d12ea86006150c909da88926 /src/control/Replay.h | |
parent | Fixed little bug in Radar.cpp. (diff) | |
download | re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.tar re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.tar.gz re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.tar.bz2 re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.tar.lz re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.tar.xz re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.tar.zst re3-98cc8a434c0a484d2d56e1cb34dc88d7d98a0853.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/control/Replay.h b/src/control/Replay.h index b37bd29f..b73b249c 100644 --- a/src/control/Replay.h +++ b/src/control/Replay.h @@ -65,13 +65,13 @@ class CReplay REPLAYPACKET_END = 0, REPLAYPACKET_VEHICLE = 1, REPLAYPACKET_PED_HEADER = 2, - REPLAYPACKET_PED = 3, + REPLAYPACKET_PED_UPDATE = 3, REPLAYPACKET_GENERAL = 4, REPLAYPACKET_CLOCK = 5, REPLAYPACKET_WEATHER = 6, REPLAYPACKET_ENDOFFRAME = 7, REPLAYPACKET_TIMER = 8, - REPLAYPACKET_BULLETTRACES = 9 + REPLAYPACKET_BULLET_TRACES = 9 }; enum { @@ -146,6 +146,19 @@ class CReplay }; static_assert(sizeof(tEndOfFramePacket) == 4, "tEndOfFramePacket: error"); + struct tPedUpdatePacket + { + uint8 type; + uint8 index; + int8 heading; + int8 vehicle_index; + CStoredAnimationState anim_state; + CCompressedMatrixNotAligned matrix; + uint8 assoc_group_id; + uint8 weapon_model; + }; + static_assert(sizeof(tPedUpdatePacket) == 40, "tPedUpdatePacket: error"); + private: static uint8 &Mode; static CAddressInReplayBuffer &Record; |