mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Introduce clang-format (#240)
This commit is contained in:

committed by
GitHub

parent
e928fc9425
commit
b449da1fa3
@@ -3,42 +3,40 @@
|
||||
|
||||
#include "legostate.h"
|
||||
|
||||
struct PizzaMissionStateEntry
|
||||
{
|
||||
struct PizzaMissionStateEntry {
|
||||
public:
|
||||
undefined2 m_unk0;
|
||||
MxU8 m_id;
|
||||
undefined m_unk3[0x15];
|
||||
MxU16 m_color;
|
||||
undefined m_unk18[6];
|
||||
undefined2 m_unk0;
|
||||
MxU8 m_id;
|
||||
undefined m_unk3[0x15];
|
||||
MxU16 m_color;
|
||||
undefined m_unk18[6];
|
||||
};
|
||||
|
||||
// VTABLE 0x100d7408
|
||||
class PizzaMissionState : public LegoState
|
||||
{
|
||||
class PizzaMissionState : public LegoState {
|
||||
public:
|
||||
// OFFSET: LEGO1 0x10039290
|
||||
inline virtual const char *ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// 0x100f00d4
|
||||
return "PizzaMissionState";
|
||||
}
|
||||
// OFFSET: LEGO1 0x10039290
|
||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// 0x100f00d4
|
||||
return "PizzaMissionState";
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100392a0
|
||||
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, PizzaMissionState::ClassName()) || LegoState::IsA(name);
|
||||
}
|
||||
// OFFSET: LEGO1 0x100392a0
|
||||
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, PizzaMissionState::ClassName()) || LegoState::IsA(name);
|
||||
}
|
||||
|
||||
inline MxU16 GetColor(MxU8 id) { return GetState(id)->m_color; }
|
||||
inline MxU16 GetColor(MxU8 id) { return GetState(id)->m_color; }
|
||||
|
||||
private:
|
||||
PizzaMissionStateEntry *GetState(MxU8 id);
|
||||
PizzaMissionStateEntry* GetState(MxU8 id);
|
||||
|
||||
protected:
|
||||
undefined4 m_unk8;
|
||||
undefined4 m_unkc;
|
||||
PizzaMissionStateEntry m_state[5];
|
||||
undefined4 m_unk8;
|
||||
undefined4 m_unkc;
|
||||
PizzaMissionStateEntry m_state[5];
|
||||
};
|
||||
|
||||
#endif // PIZZAMISSIONSTATE_H
|
||||
|
Reference in New Issue
Block a user