diff --git a/chain.cpp b/chain.cpp index efc0f1f..7dab105 100644 --- a/chain.cpp +++ b/chain.cpp @@ -3,6 +3,12 @@ #include "validate.h" +// @MEDIUMTODO +void CChain::Move(void) +{ + printf("CChain::Move(void)"); +} + // @NotOk // @Test CChain::CChain( @@ -29,9 +35,9 @@ CChain::CChain( v8[i].field_18 = v8[i].field_0; - v8[i].field_14 = 0; - v8[i].field_10 = 0; - v8[i].field_C = 0; + v8[i].field_C.vz = 0; + v8[i].field_C.vy = 0; + v8[i].field_C.vx = 0; } } @@ -70,8 +76,6 @@ void validate_SChainData(void) VALIDATE(SChainData, field_0, 0x0); VALIDATE(SChainData, field_C, 0xC); - VALIDATE(SChainData, field_10, 0x10); - VALIDATE(SChainData, field_14, 0x14); VALIDATE(SChainData, field_18, 0x18); VALIDATE(SChainData, field_24, 0x24); } diff --git a/chain.h b/chain.h index f45aae6..a5edd9f 100644 --- a/chain.h +++ b/chain.h @@ -10,9 +10,7 @@ struct SChainData { CVector field_0; - i32 field_C; - i32 field_10; - i32 field_14; + CVector field_C; CVector field_18; u8 field_24; u8 padBottom[0x28-0x24-1]; @@ -24,6 +22,7 @@ class CChain : public CClass EXPORT CChain(CVector*, i32, i32, i32, i32, i32); EXPORT void SetGroundY(i32); EXPORT virtual ~CChain(void); + EXPORT void Move(void); SChainData* field_4; i32 field_8;