2023-06-29 04:10:08 -04:00
|
|
|
#ifndef SCORE_H
|
|
|
|
#define SCORE_H
|
|
|
|
|
2024-02-10 13:17:07 -05:00
|
|
|
#include "legogamestate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
2024-05-03 12:19:12 -04:00
|
|
|
|
|
|
|
class LegoControlManagerEvent;
|
|
|
|
class MxEndActionNotificationParam;
|
|
|
|
class ScoreState;
|
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-04-26 10:58:42 -04:00
|
|
|
~Score() override;
|
2024-02-01 15:42:10 -05:00
|
|
|
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-04-26 10:58:42 -04:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
void ReadyWorld() override; // vtable+0x50
|
|
|
|
MxBool VTable0x5c() override; // vtable+0x5c
|
2024-05-24 20:41:57 -04:00
|
|
|
MxBool Escape() override; // vtable+0x64
|
2024-04-26 10:58:42 -04:00
|
|
|
void Enable(MxBool p_enable) override; // vtable+0x68
|
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);
|
2024-04-26 10:58:42 -04:00
|
|
|
void FillArea(MxU32 i_activity, MxU32 i_actor, MxS16 score);
|
2023-10-23 07:16:21 -04:00
|
|
|
|
|
|
|
protected:
|
2023-10-24 19:38:27 -04:00
|
|
|
void DeleteScript();
|
2024-04-26 10:58:42 -04:00
|
|
|
|
|
|
|
LegoGameState::Area m_destLocation; // 0xf8
|
|
|
|
ScoreState* m_state; // 0xfc
|
|
|
|
MxU8* m_surface; // 0x100
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCORE_H
|