mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
implement various LegoWorldPresenter functions (#621)
* implement LegoWorldPresenterFunctions * fix typo * Fixes/match * Fix * Match * Fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -4,12 +4,17 @@
|
||||
#include "mxvideopresenter.h"
|
||||
|
||||
class LegoROI;
|
||||
class LegoWorld;
|
||||
class LegoEntity;
|
||||
class MxDSChunk;
|
||||
|
||||
// VTABLE: LEGO1 0x100d4e50
|
||||
// SIZE 0x6c (discovered through inline constructor at 0x10009ae6)
|
||||
class LegoModelPresenter : public MxVideoPresenter {
|
||||
public:
|
||||
// inline in scalar dtor
|
||||
LegoModelPresenter() { Reset(); }
|
||||
|
||||
// FUNCTION: LEGO1 0x10067a10
|
||||
~LegoModelPresenter() override { Destroy(TRUE); }
|
||||
|
||||
static void configureLegoModelPresenter(MxS32 p_modelPresenterConfig);
|
||||
@@ -31,6 +36,14 @@ public:
|
||||
void ParseExtra() override; // vtable+0x30
|
||||
void Destroy() override; // vtable+0x38
|
||||
|
||||
void FUN_1007ff70(MxDSChunk& p_chunk, LegoEntity* p_entity, undefined p_modelUnknown0x34, LegoWorld* p_world);
|
||||
|
||||
inline void Reset()
|
||||
{
|
||||
m_roi = NULL;
|
||||
m_addedToView = FALSE;
|
||||
}
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1000cdd0
|
||||
// LegoModelPresenter::`scalar deleting destructor'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user