isle-portable/LEGO1/mxpresenter.cpp
Cydra 07912eb05a
Class layout for LEGO1 classes (#43)
* 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>
2023-06-29 01:10:08 -07:00

134 lines
1.8 KiB
C++

#include "mxpresenter.h"
// OFFSET: LEGO1 0x1000bee0 STUB
void MxPresenter::DoneTickle()
{
// TODO
}
// OFFSET: LEGO1 0x100b4d50
void MxPresenter::Init()
{
m_unk0x8 = 0;
m_action = NULL;
m_unk0x18 = 0;
m_unk0x3c = 0;
m_unk0xc = 0;
m_unk0x10 = 0;
m_unk0x14 = 0;
}
// OFFSET: LEGO1 0x100b4fc0 STUB
void MxPresenter::ParseExtra()
{
// TODO
}
// OFFSET: LEGO1 0x1000c070 STUB
MxPresenter::~MxPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100b5200 STUB
long MxPresenter::Tickle()
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x100b4d80 STUB
long MxPresenter::StartAction(MxStreamController *, MxDSAction *)
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x100d4d74 STUB
void MxPresenter::EndAction()
{
// TODO
}
// OFFSET: LEGO1 0x100d4d8c STUB
void MxPresenter::Enable(unsigned char)
{
// TODO
}
// OFFSET: LEGO1 0x1000be30 STUB
void MxPresenter::VTable0x14()
{
// TODO
}
// OFFSET: LEGO1 0x1000be40 STUB
void MxPresenter::VTable0x18()
{
// TODO
}
// OFFSET: LEGO1 0x1000be60 STUB
void MxPresenter::VTable0x1c()
{
// TODO
}
// OFFSET: LEGO1 0x1000be80 STUB
void MxPresenter::VTable0x20()
{
// TODO
}
// OFFSET: LEGO1 0x1000bea0 STUB
void MxPresenter::VTable0x24()
{
// TODO
}
// OFFSET: LEGO1 0x1000bec0 STUB
void MxPresenter::VTable0x28()
{
// TODO
}
// OFFSET: LEGO1 0x1000bf70
undefined4 MxPresenter::VTable0x34()
{
return 0;
}
// OFFSET: LEGO1 0x1000bf80
void MxPresenter::InitVirtual()
{
Init();
}
// OFFSET: LEGO1 0x1000bf90 STUB
void MxPresenter::VTable0x44(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x1000bfb0 STUB
undefined4 MxPresenter::VTable0x48(undefined4 param)
{
// TODO
return undefined4();
}
// OFFSET: LEGO1 0x1000bfc0
undefined4 MxPresenter::VTable0x4c()
{
return 0;
}
// OFFSET: LEGO1 0x1000bfd0 STUB
undefined MxPresenter::VTable0x50()
{
// TODO
return 0;
}