diff --git a/LEGO1/lego/legoomni/include/registrationbook.h b/LEGO1/lego/legoomni/include/registrationbook.h index d47dbf28..0864aed4 100644 --- a/LEGO1/lego/legoomni/include/registrationbook.h +++ b/LEGO1/lego/legoomni/include/registrationbook.h @@ -33,6 +33,20 @@ class RegistrationBook : public LegoWorld { // SYNTHETIC: LEGO1 0x10076f30 // RegistrationBook::`scalar deleting destructor' +private: + undefined4 m_unk0xf8; + undefined m_unk0xfc; + undefined2 m_unk0x28e; + undefined4 m_unk0x280; + undefined4 m_unk0x284; + undefined4 m_unk0x288; + undefined2 m_unk0x28c; + undefined2 m_unk0x2b8; + undefined4 m_unk0x2bc; + undefined m_unk0x2c1; + undefined4 m_unk0x2c4; + undefined4 m_unk0x2c8; + undefined4 m_unk0x2cc; }; #endif // REGISTRATIONBOOK_H diff --git a/LEGO1/lego/legoomni/src/infocenter/registrationbook.cpp b/LEGO1/lego/legoomni/src/infocenter/registrationbook.cpp index a2ee09b3..80d5c404 100644 --- a/LEGO1/lego/legoomni/src/infocenter/registrationbook.cpp +++ b/LEGO1/lego/legoomni/src/infocenter/registrationbook.cpp @@ -2,10 +2,26 @@ #include "legoomni.h" +#include "mxnotificationmanager.h" + // STUB: LEGO1 0x10076d20 RegistrationBook::RegistrationBook() { - // TODO + this->m_unk0xf8 = 0x80000000; + this->m_unk0xfc = 1; + this->m_unk0x28e = 0; + this->m_unk0x280 = -1; + this->m_unk0x284 = -1; + this->m_unk0x288 = -1; + this->m_unk0x28c = -1; + this->m_unk0x2b8 = 0; + this->m_unk0x2bc = 0; + this->m_unk0x2c1 = 0; + this->m_unk0x2c4 = 0; + this->m_unk0x2c8 = 0; + this->m_unk0x2cc = 0; + + NotificationManager()->Register(this); } // STUB: LEGO1 0x10076f50