mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
add size asserts
This commit is contained in:
parent
be850528f8
commit
1daa145ee0
@ -46,6 +46,7 @@ add_library(lego1 SHARED
|
||||
LEGO1/jukeboxstate.cpp
|
||||
LEGO1/legoact2state.cpp
|
||||
LEGO1/legoactioncontrolpresenter.cpp
|
||||
LEGO1/legoactor.cpp
|
||||
LEGO1/legoanimactor.cpp
|
||||
LEGO1/legoanimationmanager.cpp
|
||||
LEGO1/legoanimmmpresenter.cpp
|
||||
|
||||
@ -1 +1,4 @@
|
||||
#include "isleactor.h"
|
||||
|
||||
// NOTE: This is copied from base class LegoActor. IsleActor may in fact be larger but we don't know yet.
|
||||
DECOMP_SIZE_ASSERT(IsleActor, 0x78)
|
||||
|
||||
3
LEGO1/legoactor.cpp
Normal file
3
LEGO1/legoactor.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "legoactor.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoActor, 0x78)
|
||||
@ -1,6 +1,7 @@
|
||||
#ifndef LEGOACTOR_H
|
||||
#define LEGOACTOR_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "legoentity.h"
|
||||
|
||||
// VTABLE 0x100d6d68
|
||||
@ -20,6 +21,10 @@ class LegoActor : public LegoEntity
|
||||
{
|
||||
return !strcmp(name, LegoActor::ClassName()) || LegoEntity::IsA(name);
|
||||
}
|
||||
|
||||
private:
|
||||
undefined unk04_[0x68];
|
||||
|
||||
};
|
||||
|
||||
#endif // LEGOACTOR_H
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
#include "pizza.h"
|
||||
|
||||
#include "decomp.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(Pizza, 0x9c);
|
||||
|
||||
// OFFSET: LEGO1 0x10037ef0
|
||||
Pizza::Pizza()
|
||||
{
|
||||
|
||||
@ -30,12 +30,14 @@ class Pizza : public IsleActor
|
||||
return !strcmp(name, Pizza::ClassName()) || IsleActor::IsA(name);
|
||||
}
|
||||
private:
|
||||
MxS32 m_unk78;
|
||||
MxS32 m_unk7c;
|
||||
MxS32 m_unk80;
|
||||
MxS32 m_unk84;
|
||||
MxS32 m_unk88;
|
||||
MxS32 m_unk8c;
|
||||
MxU32 m_unk90;
|
||||
MxS32 m_unk94;
|
||||
MxS32 m_unk98;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user