mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +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:
@@ -4,10 +4,39 @@
|
||||
#include "decomp.h"
|
||||
#include "legopathactor.h"
|
||||
|
||||
class LegoAnimActor : public LegoPathActor {
|
||||
/*
|
||||
VTABLE: LEGO1 0x100d5440 LegoPathActor
|
||||
VTABLE: LEGO1 0x100d5510 LegoAnimActor
|
||||
*/
|
||||
// SIZE 0x174
|
||||
class LegoAnimActor : public virtual LegoPathActor {
|
||||
public:
|
||||
LegoAnimActor() {}
|
||||
LegoAnimActor(undefined4);
|
||||
LegoAnimActor() { m_index = -1; }
|
||||
|
||||
// FUNCTION: LEGO1 0x1000fb90
|
||||
inline const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f057c
|
||||
return "LegoAnimActor";
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1000fbb0
|
||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(p_name, LegoAnimActor::ClassName()) || LegoPathActor::IsA(p_name);
|
||||
}
|
||||
|
||||
virtual MxResult FUN_1001c1f0(float& p_out);
|
||||
virtual MxResult FUN_1001c360(float, undefined4);
|
||||
virtual MxResult FUN_1001c450(undefined4, undefined4, undefined4, undefined4);
|
||||
virtual void FUN_1001c800();
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1000fb50
|
||||
// LegoAnimActor::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
vector<void*> m_unk0x08; // 0x08
|
||||
MxU16 m_index; // 0x18
|
||||
};
|
||||
|
||||
#endif // LEGOANIMACTOR_H
|
||||
|
||||
Reference in New Issue
Block a user