mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 01:17:55 -05:00
9f875d01e5
* WIP * Match * Remove TODO * Fix
52 lines
1.6 KiB
C++
52 lines
1.6 KiB
C++
#ifndef LEGOWORLDPRESENTER_H
|
|
#define LEGOWORLDPRESENTER_H
|
|
|
|
#include "legoentitypresenter.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
class LegoWorld;
|
|
struct ModelDbPart;
|
|
struct ModelDbModel;
|
|
|
|
// VTABLE: LEGO1 0x100d8ee0
|
|
// SIZE 0x54
|
|
class LegoWorldPresenter : public LegoEntityPresenter {
|
|
public:
|
|
LegoWorldPresenter();
|
|
~LegoWorldPresenter() override; // vtable+0x00
|
|
|
|
static void configureLegoWorldPresenter(MxS32 p_legoWorldPresenterQuality);
|
|
|
|
// FUNCTION: LEGO1 0x10066630
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0608
|
|
return "LegoWorldPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10066640
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, LegoWorldPresenter::ClassName()) || LegoEntityPresenter::IsA(p_name);
|
|
}
|
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
void StartingTickle() override; // vtable+0x1c
|
|
void ParseExtra() override; // vtable+0x30
|
|
MxResult StartAction(MxStreamController* p_controller, MxDSAction* p_action) override; // vtable+0x3c
|
|
void VTable0x60(MxPresenter* p_presenter) override; // vtable+0x60
|
|
|
|
MxResult LoadWorld(char* p_worldName, LegoWorld* p_world);
|
|
|
|
// SYNTHETIC: LEGO1 0x10066750
|
|
// LegoWorldPresenter::`scalar deleting destructor'
|
|
|
|
private:
|
|
MxResult FUN_10067360(ModelDbPart& p_part, FILE* p_wdbFile);
|
|
MxResult FUN_100674b0(ModelDbModel& p_model, FILE* p_wdbFile, LegoWorld* p_world);
|
|
|
|
undefined4 m_unk0x50;
|
|
};
|
|
|
|
#endif // LEGOWORLDPRESENTER_H
|