mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 10:55:42 -05:00
ac89815663
* 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>
44 lines
807 B
C++
44 lines
807 B
C++
#ifndef PIZZA_H
|
|
#define PIZZA_H
|
|
|
|
#include "isleactor.h"
|
|
#include "mxcore.h"
|
|
#include "mxomni.h"
|
|
#include "mxticklemanager.h"
|
|
#include "mxtypes.h"
|
|
|
|
// VTABLE 0x100d7380
|
|
// SIZE 0x9c
|
|
class Pizza : public IsleActor
|
|
{
|
|
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
|