From 9d5a7ed0a36175a0c57a87782697a5a2b63226f8 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Wed, 27 Dec 2023 12:55:32 -0500 Subject: [PATCH] LegoFlcTexturePresenter init function say that 5 times fast --- LEGO1/legoflctexturepresenter.cpp | 13 +++++++++++-- LEGO1/legoflctexturepresenter.h | 9 +++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/LEGO1/legoflctexturepresenter.cpp b/LEGO1/legoflctexturepresenter.cpp index 29a49814..f96d2b47 100644 --- a/LEGO1/legoflctexturepresenter.cpp +++ b/LEGO1/legoflctexturepresenter.cpp @@ -1,7 +1,16 @@ #include "legoflctexturepresenter.h" -// STUB: LEGO1 0x1005de80 +DECOMP_SIZE_ASSERT(LegoFlcTexturePresenter, 0x70) + +// FUNCTION: LEGO1 0x1005de80 LegoFlcTexturePresenter::LegoFlcTexturePresenter() { - // TODO + Init(); +} + +// FUNCTION: LEGO1 0x1005df70 +void LegoFlcTexturePresenter::Init() +{ + this->m_unk0x68 = 0; + this->m_unk0x6c = 0; } diff --git a/LEGO1/legoflctexturepresenter.h b/LEGO1/legoflctexturepresenter.h index c68d045d..2cc2e1e5 100644 --- a/LEGO1/legoflctexturepresenter.h +++ b/LEGO1/legoflctexturepresenter.h @@ -1,6 +1,7 @@ #ifndef LEGOFLCTEXTUREPRESENTER_H #define LEGOFLCTEXTUREPRESENTER_H +#include "decomp.h" #include "mxflcpresenter.h" // VTABLE: LEGO1 0x100d89e0 @@ -15,6 +16,14 @@ class LegoFlcTexturePresenter : public MxFlcPresenter { // GLOBAL: LEGO1 0x100f0634 return "LegoFlcTexturePresenter"; } + + // MxFlcPresenter's ::IsA is used + +private: + void Init(); + + undefined4 m_unk0x68; + undefined4 m_unk0x6c; }; #endif // LEGOFLCTEXTUREPRESENTER_H