isle/LEGO1/pizza.h
MS bcb7bec68b
Improve handling of variables for decomp parser (#376)
* Parser refactor:
- Handling LIRBARY and STRING markers
- Extracting global variable name for future comparison
- Marking function static variables
- More fluent error messages

* String constants annotated with STRING

* fix variable name

* Should compare LIBRARY markers
2023-12-27 15:59:42 -05:00

45 lines
890 B
C++

#ifndef PIZZA_H
#define PIZZA_H
#include "decomp.h"
#include "isleactor.h"
#include "mxcore.h"
#include "mxomni.h"
#include "mxticklemanager.h"
#include "mxtypes.h"
// VTABLE: LEGO1 0x100d7380
// SIZE 0x9c
class Pizza : public IsleActor {
public:
Pizza();
virtual ~Pizza() override;
virtual MxResult Tickle() override; // vtable+08
// FUNCTION: LEGO1 0x10037f90
inline const char* ClassName() const // vtable+0c
{
// STRING: LEGO1 0x100f038c
return "Pizza";
}
// FUNCTION: LEGO1 0x10037fa0
inline MxBool IsA(const char* p_name) const override // vtable+10
{
return !strcmp(p_name, Pizza::ClassName()) || IsleActor::IsA(p_name);
}
private:
undefined4 m_unk0x78;
undefined4 m_unk0x7c;
undefined4 m_unk0x80;
undefined4 m_unk0x84;
undefined4 m_unk0x88;
undefined4 m_unk0x8c;
undefined4 m_unk0x90;
undefined4 m_unk0x94;
undefined m_unk0x98;
};
#endif // PIZZA_H