mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
🍕 (#79)
* start pizza * Add some pizza vtable functions (they are stubs at the moment) Unknown parameter types, likely either Pizzeria or PizzaMissionState. * Pizza: Add/update functions as according to MxCore inheritance IsleActor::Notify needs to be stubbed --------- Co-authored-by: Kai Kaufman <ktkaufman@wpi.edu> * match pizza destructor * Update pizza members * add size asserts --------- Co-authored-by: Kai Kaufman <ktkaufman@wpi.edu> Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
#define PIZZA_H
|
||||
|
||||
#include "isleactor.h"
|
||||
#include "mxcore.h"
|
||||
#include "mxomni.h"
|
||||
#include "mxticklemanager.h"
|
||||
#include "mxtypes.h"
|
||||
|
||||
// VTABLE 0x100d7380
|
||||
// SIZE 0x9c
|
||||
@@ -11,6 +15,30 @@ public:
|
||||
Pizza();
|
||||
virtual ~Pizza() override;
|
||||
|
||||
virtual MxResult Tickle() override; // vtable+08
|
||||
|
||||
// OFFSET: LEGO1 0x10037f90
|
||||
inline const char *ClassName() const //vtable+0c
|
||||
{
|
||||
// 0x100f038c
|
||||
return "Pizza";
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10037fa0
|
||||
inline MxBool Pizza::IsA(const char *name) const override //vtable+10
|
||||
{
|
||||
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;
|
||||
};
|
||||
|
||||
#endif // PIZZA_H
|
||||
|
||||
Reference in New Issue
Block a user