2023-06-29 04:10:08 -04:00
|
|
|
#ifndef SCORE_H
|
|
|
|
#define SCORE_H
|
|
|
|
|
2024-01-28 16:09:33 -05:00
|
|
|
#include "legocontrolmanager.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"
|
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();
|
2024-02-01 15:42:10 -05:00
|
|
|
~Score() override; // vtable+0x00
|
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100010c0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0050
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Score";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100010d0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline 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
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+18
|
|
|
|
void ReadyWorld() override; // vtable+50
|
|
|
|
MxBool VTable0x5c() override; // vtable+5c
|
|
|
|
MxBool VTable0x64() override; // vtable+64
|
|
|
|
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);
|
2024-01-28 16:09:33 -05:00
|
|
|
MxLong FUN_100016d0(LegoControlManagerEvent& 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
|