implement RegistrationBook::Notify (#559)

* implement RegistrationBook::Notify

* Update registrationbook.cpp

* Fixes

* Change type

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha
2024-02-11 17:16:10 -05:00
committed by GitHub
parent 5bba81c0ca
commit 6d3ce3b5cb
2 changed files with 84 additions and 3 deletions

View File

@@ -4,11 +4,30 @@
#include "legoworld.h"
class InfocenterState;
class MxEndActionNotificationParam;
class LegoControlManagerEvent;
// VTABLE: LEGO1 0x100d9928
// SIZE 0x2d0
class RegistrationBook : public LegoWorld {
public:
enum RegistrationBookScript {
c_alphabetCtl = 5,
c_aBitmap = 6,
c_backgroundBitmap = 36,
c_checkHiLiteBitmap = 37,
c_check0ctl = 68,
c_check1ctl = 71,
c_check2ctl = 74,
c_check3ctl = 77,
c_check4ctl = 80,
c_check5ctl = 83,
c_check6ctl = 86,
c_check7ctl = 89,
c_check8ctl = 92,
c_check9ctl = 95,
};
RegistrationBook();
~RegistrationBook() override; // vtable+0x00
@@ -56,6 +75,11 @@ private:
undefined4 m_unk0x2c4; // 0x2c4
undefined4 m_unk0x2c8; // 0x2c8
undefined4 m_unk0x2cc; // 0x2cc
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
MxLong HandleKeyPress(MxS8 p_key);
MxLong HandleClick(LegoControlManagerEvent& p_param);
MxLong HandleNotification19(MxParam& p_param);
};
#endif // REGISTRATIONBOOK_H