mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
494a556f8e
* Adjustments to "decomp" language * Fix a comment * Fix accidental clang-formatting * Fix order * Fix order * Remove junk * Fix OFFSET * Adjustments based on new suggestions * Annotate globals * Globals in ISLE * More globals * Merge from parser2 branch * Allow prepending space for exact marker match * To eliminate noise, require the 0x prefix on offset for marker match * fix test from previous * Count tab stops for indented functions to reduce MISSED_END_OF_FUNCTION noise * FUNCTION to SYNTHETIC where needed * Missed marker conversion on SetAtomId * pylint cleanup, remove unused code * Fix unexpected function end, add more unit tests * Be more strict about synthetic name syntax * Revert "Missed marker conversion on SetAtomId" This reverts commitd87d665127
. * Revert "FUNCTION to SYNTHETIC where needed" This reverts commit8c815418d2
. * Implicit lookup by name for functions * Fix VTABLE SYNTHETIC and other decomp markers * Get vtable class name * Vtable marker should identify struct * No colon for SIZE comment * Update README.md * Update README.md * Update CONTRIBUTING.md * Update README.md * Update README.md * Update CONTRIBUTING.md * Update README.md * Update CONTRIBUTING.md * Fix destructor/annotation * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md --------- Co-authored-by: disinvite <disinvite@users.noreply.github.com>
58 lines
1.7 KiB
C++
58 lines
1.7 KiB
C++
#ifndef LEGOWORLD_H
|
|
#define LEGOWORLD_H
|
|
|
|
#include "legocameracontroller.h"
|
|
#include "legoentity.h"
|
|
#include "legopathcontrollerlist.h"
|
|
#include "mxpresenter.h"
|
|
#include "mxpresenterlist.h"
|
|
|
|
// VTABLE: LEGO1 0x100d6280
|
|
// SIZE 0xf8
|
|
class LegoWorld : public LegoEntity {
|
|
public:
|
|
__declspec(dllexport) LegoWorld();
|
|
__declspec(dllexport) virtual ~LegoWorld(); // vtable+0x0
|
|
|
|
virtual MxLong Notify(MxParam& p) override; // vtable+0x4
|
|
|
|
// FUNCTION: LEGO1 0x1001d690
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// GLOBAL: LEGO1 0x100f0058
|
|
return "LegoWorld";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1001d6a0
|
|
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, LegoWorld::ClassName()) || LegoEntity::IsA(name);
|
|
}
|
|
|
|
virtual void Stop(); // vtable+50
|
|
virtual void VTable0x54(); // vtable+54
|
|
virtual void VTable0x58(MxCore* p_object); // vtable+58
|
|
virtual MxBool VTable0x5c(); // vtable+5c
|
|
virtual void VTable0x60(); // vtable+60
|
|
virtual MxBool VTable0x64(); // vtable+64
|
|
virtual void VTable0x68(MxBool p_add); // vtable+68
|
|
|
|
MxResult SetAsCurrentWorld(MxDSObject& p_dsObject);
|
|
void EndAction(MxPresenter* p_presenter);
|
|
|
|
protected:
|
|
LegoPathControllerList m_list0x68; // 0x68
|
|
MxPresenterList m_list0x80; // 0x80
|
|
LegoCameraController* m_camera; // 0x98
|
|
undefined m_unk9c[0x1c];
|
|
MxPresenterList m_list0xb8; // 0xb8
|
|
undefined m_unkd0[0x26];
|
|
undefined m_unkf6;
|
|
undefined m_unkf7;
|
|
};
|
|
|
|
void FUN_10015820(MxU32 p_unk1, MxU32 p_unk2);
|
|
void FUN_10015910(MxU32 p_unk1);
|
|
void SetIsWorldActive(MxBool p_isWorldActive);
|
|
|
|
#endif // LEGOWORLD_H
|