checkpoint: i fucked up

This commit is contained in:
krystalgamer 2024-05-01 20:16:21 +02:00
parent 3abd109cdc
commit 10eb4a94a8
3 changed files with 25 additions and 10 deletions

22
ob.cpp
View File

@ -284,6 +284,9 @@ void validate_CItem(void){
void validate_CBody(void){
VALIDATE_SIZE(CBody, 0x158);
VALIDATE(CBody, field_44, 0x44);
VALIDATE(CBody, mCBodyFlags, 0x46);
VALIDATE(CBody, mAccellorVel, 0x60);
@ -311,6 +314,19 @@ void validate_CBody(void){
VALIDATE(CBody, field_DC, 0xDC);
VALIDATE(CBody, field_E2, 0xE2);
VALIDATE(CBody, field_F8, 0xF8);
VALIDATE(CBody, field_FC, 0xFC);
VALIDATE(CBody, field_100, 0x100);
VALIDATE(CBody, field_104, 0x104);
VALIDATE(CBody, field_108, 0x108);
VALIDATE(CBody, field_10C, 0x10C);
VALIDATE(CBody, SNbrFaces, 0x11C);
VALIDATE(CBody, alsoOutlineRelated, 0x120);
VALIDATE(CBody, outlineR, 0x124);
VALIDATE(CBody, outlineG, 0x125);
VALIDATE(CBody, outlineB, 0x126);
VALIDATE(CBody, field_128, 0x128);
VALIDATE(CBody, field_12A, 0x12A);
VALIDATE(CBody, field_141, 0x141);
@ -330,12 +346,6 @@ void validate_CSuper(void){
*/
VALIDATE(CSuper, field_10C, 0x10C);
VALIDATE(CSuper, SNbrFaces, 0x11C);
VALIDATE(CSuper, alsoOutlineRelated, 0x120);
VALIDATE(CSuper, outlineR, 0x124);
VALIDATE(CSuper, outlineG, 0x125);
VALIDATE(CSuper, outlineB, 0x126);
VALIDATE(CSuper, field_128, 0x128);

8
ob.h
View File

@ -73,7 +73,13 @@ public:
__int16 field_E2;
unsigned char padAfterE2[0x10C-0xE2-2];
unsigned char padAfterE2[0xF8-0xE2-2];
int field_F8;
int field_FC;
int field_100;
int field_104;
int field_108;
int field_10C;
unsigned char padB[0x10-4];

5
web.h
View File

@ -12,9 +12,6 @@ public:
class CDomePiece : public CBody {
public:
int padBeforeF8;
int field_F8;
int field_FC;
};
class CDome : public CBody {
@ -25,6 +22,7 @@ public:
class CDomeRing : public CBody {
public:
/*
int padCDomeRing;
int field_F8;
@ -32,6 +30,7 @@ public:
int field_100;
int field_104;
int field_108;
*/
unsigned char lastCDomeRing;
};