mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Fix Annotations and LegoAnimActor class structure. (#710)
* Fix size annotations for legoomni
Fix structure and add placeholder annotations for LegoAnimActor and subclasses
* Fix LegoCarRaceActor constructor
Fix function name in LegoRaceCar
* Add size assertions for legoomni and fix sizes
* Various style fixes
* Use other marker so vtable.py doesn't compare
* Revert "Use other marker so vtable.py doesn't compare"
This reverts commit 608985cd73
.
* Fix copy/paste error
* Remove stale comment.
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -1,9 +1,27 @@
|
||||
#include "legoanimactor.h"
|
||||
|
||||
// TODO: This might not be the actual constructor of this class,
|
||||
// it only exists temporarily to match other code
|
||||
// STUB: LEGO1 0x1002a500
|
||||
LegoAnimActor::LegoAnimActor(undefined4)
|
||||
DECOMP_SIZE_ASSERT(LegoAnimActor, 0x174)
|
||||
|
||||
// STUB: LEGO1 0x1001c1f0
|
||||
MxResult LegoAnimActor::FUN_1001c1f0(float& p_out)
|
||||
{
|
||||
// TODO
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1001c360
|
||||
MxResult LegoAnimActor::FUN_1001c360(float, undefined4)
|
||||
{
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1001c450
|
||||
MxResult LegoAnimActor::FUN_1001c450(undefined4, undefined4, undefined4, undefined4)
|
||||
{
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1001c800
|
||||
void LegoAnimActor::FUN_1001c800()
|
||||
{
|
||||
}
|
||||
|
16
LEGO1/lego/legoomni/src/paths/legoextraactor.cpp
Normal file
16
LEGO1/lego/legoomni/src/paths/legoextraactor.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "legoextraactor.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoExtraActor, 0x1dc)
|
||||
|
||||
// STUB: LEGO1 0x1002a500
|
||||
LegoExtraActor::LegoExtraActor()
|
||||
{
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1002aae0
|
||||
MxResult LegoExtraActor::FUN_1002aae0()
|
||||
{
|
||||
// TODO
|
||||
VTable0x9c();
|
||||
return SUCCESS;
|
||||
}
|
@@ -1,5 +1,7 @@
|
||||
#include "legopathcontroller.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoPathController, 0x40)
|
||||
|
||||
// STUB: LEGO1 0x10044f40
|
||||
LegoPathController::LegoPathController()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include "misc.h"
|
||||
#include "mxautolock.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoPathPresenter, 0x54);
|
||||
DECOMP_SIZE_ASSERT(LegoPathPresenter, 0x54)
|
||||
|
||||
// FUNCTION: LEGO1 0x100448d0
|
||||
LegoPathPresenter::LegoPathPresenter()
|
||||
|
Reference in New Issue
Block a user