mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
07912eb05a
* Stubbed a bunch of classes and annotated them for later use. Heavily wip and more of pseudocode right now. * Converted pseudocode into real code! * Created a bunch more classes and added more information to exisiting ones Did not error check, this was pushed just for reference * More classes and implementation details. Still not checked for any errors * Fixed code and decided on a way to handle virtual table stubs * Some additional fixes * More smaller fixes * Added classes to project and made it compile * Fixed function adresses that caused the python script to fail * More classes and virtual function resolves. Builds and compares fine. * Again more classes and virtual function resolves. Builds and compares fine. * No clue, I guess forced update for line endings * Finished up some work, compiles fine. All functions are STUB annotated to not pollute reccmp.py output. * line ending change * rename GetClassName/IsClass Mirroring recent changes from master * further conform to current master * update project * cleanup * project only updates when you close msdev --------- Co-authored-by: Cydra <cydra95@gmail.com> Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
152 lines
2.2 KiB
C++
152 lines
2.2 KiB
C++
#include "legoomni.h"
|
|
|
|
// OFFSET: LEGO1 0x10058a00
|
|
LegoOmni::LegoOmni()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10058b50
|
|
LegoOmni::~LegoOmni()
|
|
{
|
|
Destroy();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x1005ad10
|
|
LegoOmni *LegoOmni::GetInstance()
|
|
{
|
|
return (LegoOmni *) m_instance;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015700
|
|
LegoOmni *Lego()
|
|
{
|
|
return (LegoOmni *) MxOmni::GetInstance();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015710
|
|
LegoSoundManager *SoundManager()
|
|
{
|
|
return LegoOmni::GetInstance()->GetSoundManager();
|
|
}
|
|
|
|
|
|
// OFFSET: LEGO1 0x10015720
|
|
LegoVideoManager *VideoManager()
|
|
{
|
|
return LegoOmni::GetInstance()->GetVideoManager();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100157f0
|
|
LegoBuildingManager *BuildingManager()
|
|
{
|
|
return LegoOmni::GetInstance()->GetLegoBuildingManager();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015790
|
|
Isle *GetIsle()
|
|
{
|
|
return LegoOmni::GetInstance()->GetIsle();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100157e0
|
|
LegoPlantManager *PlantManager()
|
|
{
|
|
return LegoOmni::GetInstance()->GetLegoPlantManager();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015730
|
|
MxBackgroundAudioManager *BackgroundAudioManager()
|
|
{
|
|
return LegoOmni::GetInstance()->GetBackgroundAudioManager();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015740
|
|
LegoInputManager *InputManager()
|
|
{
|
|
return LegoOmni::GetInstance()->GetInputManager();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015760
|
|
LegoGameState *GameState()
|
|
{
|
|
return LegoOmni::GetInstance()->GetGameState();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10015780
|
|
LegoNavController *NavController()
|
|
{
|
|
return LegoOmni::GetInstance()->GetNavController();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x1005b5f0
|
|
long LegoOmni::Notify(MxParam &p)
|
|
{
|
|
// FIXME: Stub
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10058bd0
|
|
void LegoOmni::Init()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10058e70
|
|
MxResult LegoOmni::Create(MxOmniCreateParam &p)
|
|
{
|
|
// FIXME: Stub
|
|
return SUCCESS;
|
|
}
|
|
|
|
void LegoOmni::Destroy()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
void LegoOmni::vtable20()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
void LegoOmni::vtable24(MxDSAction &ds)
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
MxBool LegoOmni::vtable28(MxDSAction &ds)
|
|
{
|
|
// FIXME: Stub
|
|
return TRUE;
|
|
}
|
|
|
|
void LegoOmni::vtable2c()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
void LegoOmni::vtable30()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
void LegoOmni::vtable34()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
void LegoOmni::vtable38()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
void LegoOmni::vtable3c()
|
|
{
|
|
// FIXME: Stub
|
|
}
|
|
|
|
unsigned char LegoOmni::vtable40()
|
|
{
|
|
// FIXME: Stub
|
|
return 0;
|
|
}
|