mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Fix pizza constructor (#149)
* Pizza: fix type of m_unk98 * Fix pizza constructor * Match Pizza::Pizza * Use undefined type --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
#include "legoactor.h"
|
#include "legoactor.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoActor, 0x78)
|
DECOMP_SIZE_ASSERT(LegoActor, 0x78)
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x1002d110 STUB
|
||||||
|
LegoActor::LegoActor()
|
||||||
|
{
|
||||||
|
}
|
@@ -9,6 +9,8 @@
|
|||||||
class LegoActor : public LegoEntity
|
class LegoActor : public LegoEntity
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
LegoActor();
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x1002d210
|
// OFFSET: LEGO1 0x1002d210
|
||||||
inline virtual const char *ClassName() const override // vtable+0x0c
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
|
@@ -1,13 +1,11 @@
|
|||||||
#include "pizza.h"
|
#include "pizza.h"
|
||||||
|
|
||||||
#include "decomp.h"
|
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(Pizza, 0x9c);
|
DECOMP_SIZE_ASSERT(Pizza, 0x9c);
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10037ef0
|
// OFFSET: LEGO1 0x10037ef0
|
||||||
Pizza::Pizza()
|
Pizza::Pizza()
|
||||||
{
|
{
|
||||||
// FIXME: This inherits from LegoActor, probably why this isn't matching
|
this->m_unk7c = 0;
|
||||||
this->m_unk80 = 0;
|
this->m_unk80 = 0;
|
||||||
this->m_unk84 = 0;
|
this->m_unk84 = 0;
|
||||||
this->m_unk88 = 0;
|
this->m_unk88 = 0;
|
||||||
|
@@ -1,6 +1,8 @@
|
|||||||
#ifndef PIZZA_H
|
#ifndef PIZZA_H
|
||||||
#define PIZZA_H
|
#define PIZZA_H
|
||||||
|
|
||||||
|
#include "decomp.h"
|
||||||
|
|
||||||
#include "isleactor.h"
|
#include "isleactor.h"
|
||||||
#include "mxcore.h"
|
#include "mxcore.h"
|
||||||
#include "mxomni.h"
|
#include "mxomni.h"
|
||||||
@@ -29,16 +31,17 @@ public:
|
|||||||
{
|
{
|
||||||
return !strcmp(name, Pizza::ClassName()) || IsleActor::IsA(name);
|
return !strcmp(name, Pizza::ClassName()) || IsleActor::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxS32 m_unk78;
|
undefined4 m_unk78;
|
||||||
MxS32 m_unk7c;
|
undefined4 m_unk7c;
|
||||||
MxS32 m_unk80;
|
undefined4 m_unk80;
|
||||||
MxS32 m_unk84;
|
undefined4 m_unk84;
|
||||||
MxS32 m_unk88;
|
undefined4 m_unk88;
|
||||||
MxS32 m_unk8c;
|
undefined4 m_unk8c;
|
||||||
MxU32 m_unk90;
|
undefined4 m_unk90;
|
||||||
MxS32 m_unk94;
|
undefined4 m_unk94;
|
||||||
MxS32 m_unk98;
|
undefined m_unk98;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PIZZA_H
|
#endif // PIZZA_H
|
||||||
|
Reference in New Issue
Block a user