mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Implementing RegistrationBook::RegistrationBook() and removing this-> from Gasstation.cpp (#508)
* Implementing RegistrationBook::RegistrationBook() * Update registrationbook.h * Update registrationbook.h * Removing this keyword * TESTING: fixing the format errors * Update registrationbook.cpp * Update registrationbook.h * Update registrationbook.h * Update registrationbook.h * Update registrationbook.h * TEST fixing format errors * Update registrationbook.h * Update registrationbook.h * Removing this-> from gasstation.cpp * Fix outstanding issues, match function --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -1,11 +1,31 @@
|
||||
#include "registrationbook.h"
|
||||
|
||||
#include "legoomni.h"
|
||||
#include "mxnotificationmanager.h"
|
||||
|
||||
// STUB: LEGO1 0x10076d20
|
||||
RegistrationBook::RegistrationBook()
|
||||
DECOMP_SIZE_ASSERT(RegistrationBook, 0x2d0)
|
||||
|
||||
// FUNCTION: LEGO1 0x10076d20
|
||||
RegistrationBook::RegistrationBook() : m_unk0xf8(0x80000000), m_unk0xfc(1)
|
||||
{
|
||||
// TODO
|
||||
memset(m_unk0x100, 0, sizeof(m_unk0x100));
|
||||
memset(m_unk0x168, 0, sizeof(m_unk0x168));
|
||||
|
||||
// Maybe not be part of the struct, but then it would need packing
|
||||
m_unk0x280.m_unk0x0e = 0;
|
||||
|
||||
memset(m_unk0x290, 0, sizeof(m_unk0x290));
|
||||
memset(&m_unk0x280, -1, sizeof(m_unk0x280) - 2);
|
||||
|
||||
m_unk0x2b8 = 0;
|
||||
m_unk0x2bc = 0;
|
||||
|
||||
NotificationManager()->Register(this);
|
||||
|
||||
m_unk0x2c1 = 0;
|
||||
m_unk0x2c4 = 0;
|
||||
m_unk0x2c8 = 0;
|
||||
m_unk0x2cc = 0;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10076f50
|
||||
|
||||
Reference in New Issue
Block a user