mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Implement Score (#230)
* Implement Score * Update mxomni.cpp Fix case of OFFSET comment. * Fix DeleteObjects * Apply changes (see comment) --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -3,6 +3,16 @@
|
||||
|
||||
#include "legostate.h"
|
||||
|
||||
struct PizzaMissionStateEntry
|
||||
{
|
||||
public:
|
||||
undefined2 m_unk0;
|
||||
MxU8 m_id;
|
||||
undefined m_unk3[0x15];
|
||||
MxU16 m_color;
|
||||
undefined m_unk18[6];
|
||||
};
|
||||
|
||||
// VTABLE 0x100d7408
|
||||
class PizzaMissionState : public LegoState
|
||||
{
|
||||
@@ -20,6 +30,15 @@ public:
|
||||
return !strcmp(name, PizzaMissionState::ClassName()) || LegoState::IsA(name);
|
||||
}
|
||||
|
||||
inline MxU16 GetColor(MxU8 id) { return GetState(id)->m_color; }
|
||||
|
||||
private:
|
||||
PizzaMissionStateEntry *GetState(MxU8 id);
|
||||
|
||||
protected:
|
||||
undefined4 m_unk8;
|
||||
undefined4 m_unkc;
|
||||
PizzaMissionStateEntry m_state[5];
|
||||
};
|
||||
|
||||
#endif // PIZZAMISSIONSTATE_H
|
||||
|
||||
Reference in New Issue
Block a user