2023-06-29 04:10:08 -04:00
|
|
|
#ifndef SCORE_H
|
|
|
|
#define SCORE_H
|
|
|
|
|
2023-10-25 16:51:59 -04:00
|
|
|
#include "legoeventnotificationparam.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
2023-10-23 07:16:21 -04:00
|
|
|
#include "mxactionnotificationparam.h"
|
|
|
|
#include "mxtype17notificationparam.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "scorestate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d4018
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x104
|
2023-10-24 19:38:27 -04:00
|
|
|
class Score : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
Score();
|
2023-12-13 05:48:14 -05:00
|
|
|
virtual ~Score() override; // vtable+0x0
|
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100010c0
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f0058
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Score";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100010d0
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, Score::ClassName()) || LegoWorld::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100011e0
|
2023-11-18 10:08:49 -05:00
|
|
|
// Score::`scalar deleting destructor'
|
2023-10-25 16:51:59 -04:00
|
|
|
|
2023-11-18 10:08:49 -05:00
|
|
|
virtual MxResult Create(MxDSObject& p_dsObject) override; // vtable+18
|
|
|
|
virtual void Stop() override; // vtable+50
|
|
|
|
virtual MxBool VTable0x5c() override; // vtable+5c
|
|
|
|
virtual MxBool VTable0x64() override; // vtable+64
|
|
|
|
virtual void VTable0x68(MxBool p_add) override; // vtable+68
|
2023-10-24 19:38:27 -04:00
|
|
|
|
|
|
|
void Paint();
|
2023-12-13 05:48:14 -05:00
|
|
|
MxLong FUN_10001510(MxEndActionNotificationParam& p_param);
|
|
|
|
MxLong FUN_100016d0(MxType17NotificationParam& p_param);
|
2023-10-24 19:38:27 -04:00
|
|
|
void FillArea(MxU32 p_x, MxU32 p_y, MxS16 p_color);
|
2023-10-23 07:16:21 -04:00
|
|
|
|
|
|
|
protected:
|
2023-12-13 05:48:14 -05:00
|
|
|
undefined4 m_unk0xf8;
|
2023-10-24 19:38:27 -04:00
|
|
|
ScoreState* m_state;
|
|
|
|
MxU8* m_surface;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-10-23 07:16:21 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void DeleteScript();
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCORE_H
|