diff --git a/LEGO1/lego/legoomni/include/gasstation.h b/LEGO1/lego/legoomni/include/gasstation.h index b7ac732b..492cf8ab 100644 --- a/LEGO1/lego/legoomni/include/gasstation.h +++ b/LEGO1/lego/legoomni/include/gasstation.h @@ -3,6 +3,7 @@ #include "decomp.h" #include "legoworld.h" +#include "radio.h" // VTABLE: LEGO1 0x100d4650 // SIZE 0x128 @@ -29,15 +30,18 @@ class GasStation : public LegoWorld { } private: - undefined m_unk0xf8; - undefined m_unk0x104; - undefined m_unk0x100; - undefined m_unk0x106; - undefined m_unk0xfc; - undefined m_unk0x108; + undefined2 m_unk0xf8; + undefined2 m_unk0xfa; + undefined4 m_unk0xfc; + undefined4 m_unk0x100; + undefined2 m_unk0x104; + undefined2 m_unk0x106; + undefined4 m_unk0x108; + undefined4 m_unk0x10c; + undefined4 m_unk0x110; undefined m_unk0x114; - undefined m_unk0x10c; undefined m_unk0x115; - undefined m_unk0x110; + Radio m_radio; }; + #endif // GASSTATION_H diff --git a/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp b/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp index f0f9d84f..e1e0d17e 100644 --- a/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp +++ b/LEGO1/lego/legoomni/src/gasstation/gasstation.cpp @@ -1,18 +1,21 @@ #include "gasstation.h" +#include "mxnotificationmanager.h" -// STUB: LEGO1 0x100046a0 +// FUNCTION: LEGO1 0x100046a0 GasStation::GasStation() { this->m_unk0xf8 = 0; - this->m_unk0x104 = 0; this->m_unk0x100 = 0; - this->m_unk0x106 = 0; this->m_unk0xfc = 0; this->m_unk0x108 = 0; + this->m_unk0x104 = 0; this->m_unk0x114 = 0; + this->m_unk0x106 = 0; this->m_unk0x10c = 0; this->m_unk0x115 = 0; this->m_unk0x110 = 0; + + NotificationManager()->Register(this); } // STUB: LEGO1 0x100048c0