summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-22 20:42:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-22 20:42:26 +0200
commit057938fc6fc8fa6af1a7e2ca45d3b494909e7b04 (patch)
tree43b0c01bf5b25f6adda3ab302dbb51912149d724
parentfix (diff)
downloadre3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.tar
re3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.tar.gz
re3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.tar.bz2
re3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.tar.lz
re3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.tar.xz
re3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.tar.zst
re3-057938fc6fc8fa6af1a7e2ca45d3b494909e7b04.zip
-rw-r--r--src/control/Replay.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/control/Replay.h b/src/control/Replay.h
index e54918b1..b37bd29f 100644
--- a/src/control/Replay.h
+++ b/src/control/Replay.h
@@ -12,39 +12,39 @@
struct CAddressInReplayBuffer
{
- unsigned int m_nOffset;
+ uint32 m_nOffset;
uint8 *m_pBase;
uint8 m_bSlot;
};
struct CStoredAnimationState
{
- char animId;
- char time;
- char speed;
- char secAnimId;
- char secTime;
- char secSpeed;
- char blendAmount;
- char partAnimId;
- char partAnimTime;
- char partAnimSpeed;
- char partBlendAmount;
+ int8 animId;
+ int8 time;
+ int8 speed;
+ int8 secAnimId;
+ int8 secTime;
+ int8 secSpeed;
+ int8 blendAmount;
+ int8 partAnimId;
+ int8 partAnimTime;
+ int8 partAnimSpeed;
+ int8 partBlendAmount;
};
struct CStoredDetailedAnimationState
{
- char m_abAnimId[3];
- char m_abCurTime[3];
- char m_abSpeed[3];
- char m_abBlendAmount[3];
- char m_abFunctionCallbackID[3];
+ int8 m_abAnimId[3];
+ int8 m_abCurTime[3];
+ int8 m_abSpeed[3];
+ int8 m_abBlendAmount[3];
+ int8 m_abFunctionCallbackID[3];
int16 m_awFlags[3];
- char m_abAnimId2[6];
- char m_abCurTime2[6];
- char m_abSpeed2[6];
- char m_abBlendAmount2[6];
- char m_abFunctionCallbackID2[6];
+ int8 m_abAnimId2[6];
+ int8 m_abCurTime2[6];
+ int8 m_abSpeed2[6];
+ int8 m_abBlendAmount2[6];
+ int8 m_abFunctionCallbackID2[6];
int16 m_awFlags2[6];
};