Implement various LegoROI functions (#637)

* WIP

* Fix

* Fix
This commit is contained in:
Christian Semmler
2024-03-08 14:28:52 -05:00
committed by GitHub
parent 45cba2c00e
commit 309997fddc
4 changed files with 117 additions and 5 deletions

View File

@@ -406,6 +406,20 @@ LegoResult LegoAnimNodeData::Write(LegoStorage* p_storage)
return SUCCESS;
}
// STUB: LEGO1 0x100a03c0
LegoResult LegoAnimNodeData::FUN_100a03c0(LegoFloat p_time, Matrix4& p_matrix)
{
// TODO
return SUCCESS;
}
// STUB: LEGO1 0x100a0990
LegoBool LegoAnimNodeData::FUN_100a0990(LegoFloat p_time)
{
// TODO
return TRUE;
}
// FUNCTION: LEGO1 0x100a0b30
LegoAnim::LegoAnim()
{

View File

@@ -4,6 +4,7 @@
#include "decomp.h"
#include "misc/legostorage.h"
#include "misc/legotree.h"
#include "realtime/matrix.h"
// SIZE 0x08
class LegoAnimKey {
@@ -86,6 +87,14 @@ public:
LegoResult Read(LegoStorage* p_storage) override; // vtable+0x04
LegoResult Write(LegoStorage* p_storage) override; // vtable+0x08
LegoResult FUN_100a03c0(LegoFloat p_time, Matrix4& p_matrix);
LegoBool FUN_100a0990(LegoFloat p_time);
const LegoChar* GetName() { return m_name; }
LegoResult FUN_100a03c0(LegoTime p_time, Matrix4& p_matrix) { return FUN_100a03c0((LegoFloat) p_time, p_matrix); }
LegoBool FUN_100a0990(LegoTime p_time) { return FUN_100a0990((LegoFloat) p_time); }
// SYNTHETIC: LEGO1 0x1009fd80
// LegoAnimNodeData::`scalar deleting destructor'