mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoAnimationManager::FUN_10064b50 (#926) * Implement/match LegoAnimationManager::FUN_10063d10 (#927) * Implement/match LegoAnimationManager::FUN_10064380 (#928) * Implement/match LegoAnimationManager::FUN_10064380 * Fix naming * Revert * Implement/matche LegoAnimationManager::FUN_10064740 and FUN_10064670 (#929) * Implement/match FUN_1003ef00 and related (#931) * Implement/match LegoAnimationManager::FUN_10064120 (#932) * Implement/match LegoAnimationManager::FUN_10064120 * Fix naming * Fix parentheses * Implement LegoAnimationManager::FUN_10064010 (#933) * Implement/match ViewManager::FUN_100a6150 (#934) * Implement/match PlayCamAnim and CameraTriggerFire (#935) * Implement/match PlayCamAnim and CameraTriggerFire * Fix type * Name var * Implement/match LegoAnimationManager::FUN_10063fb0 (#936) * basic name improvements (#930) * basic name improvements * clang-format --------- Co-authored-by: Christian Semmler <mail@csemmler.com> * Implement/match LegoPathBoundary::Intersect (#937) * Implement LegoPathActor::VTable0x68 (#938) * Implement LegoPathActor::VTable0x68 * Fix naming * Implement/match LegoPathBoundary::FUN_100575b0 (#939) * Implement LegoUnknown::FUN_1009a1e0 (#940) * Implement/match LegoPathController::FUN_1004a240 (#941) * Implement LegoPathActor::VTable0x9c (#942) * Implement LegoPathActor::VTable0x9c * Add annotation * Implement/match LegoPathActor::SwitchBoundary (#943) * Implement/match LegoPathActor::SwitchBoundary * Rename var * Implement/match LegoPathStruct (#944) * Implement/match LegoPathStruct * Rename some nums * Consistent naming * Naming * relax regex * Name some functions * Improve naming * Rename * Implement/match LegoPathActor::VTable0xa4 and VTable0xa8 (#945) * Implement/match LegoPathActor::VTable0xa4 * Implement/match LegoPathActor::VTable0xa8 * Name enum constants --------- Co-authored-by: Cameron <25990062+crtdll@users.noreply.github.com>
72 lines
1.7 KiB
C++
72 lines
1.7 KiB
C++
#ifndef ANIMSTATE_H
|
|
#define ANIMSTATE_H
|
|
|
|
#include "legostate.h"
|
|
|
|
// SIZE 0x30
|
|
struct ModelInfo {
|
|
char* m_name; // 0x00
|
|
MxU8 m_unk0x04; // 0x04
|
|
float m_location[3]; // 0x08
|
|
float m_direction[3]; // 0x14
|
|
float m_up[3]; // 0x20
|
|
MxU8 m_unk0x2c; // 0x2c
|
|
};
|
|
|
|
// SIZE 0x30
|
|
struct AnimInfo {
|
|
char* m_name; // 0x00
|
|
MxU32 m_objectId; // 0x04
|
|
MxS16 m_location; // 0x08
|
|
MxBool m_unk0x0a; // 0x0a
|
|
MxU8 m_unk0x0b; // 0x0b
|
|
MxU8 m_unk0x0c; // 0x0c
|
|
MxU8 m_unk0x0d; // 0x0d
|
|
float m_unk0x10[4]; // 0x10
|
|
MxU8 m_modelCount; // 0x20
|
|
MxU16 m_unk0x22; // 0x22
|
|
ModelInfo* m_models; // 0x24
|
|
MxS8 m_unk0x28; // 0x28
|
|
MxBool m_unk0x29; // 0x29
|
|
MxS8 m_unk0x2a[3]; // 0x2a
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100d8d80
|
|
// SIZE 0x1c
|
|
class AnimState : public LegoState {
|
|
public:
|
|
AnimState();
|
|
~AnimState() override; // vtable+0x00
|
|
|
|
// FUNCTION: LEGO1 0x10065070
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0460
|
|
return "AnimState";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10065080
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, AnimState::ClassName()) || LegoState::IsA(p_name);
|
|
}
|
|
|
|
MxBool SetFlag() override; // vtable+0x18
|
|
MxResult Serialize(LegoFile* p_legoFile) override; // vtable+0x1c
|
|
|
|
void FUN_100651d0(MxU32, AnimInfo*, MxU32&);
|
|
void FUN_10065240(MxU32, AnimInfo*, MxU32);
|
|
|
|
// SYNTHETIC: LEGO1 0x10065130
|
|
// AnimState::`scalar deleting destructor'
|
|
|
|
private:
|
|
undefined4 m_unk0x08; // 0x08
|
|
undefined4 m_unk0x0c; // 0x0c
|
|
void* m_unk0x10; // 0x10
|
|
undefined4 m_unk0x14; // 0x14
|
|
void* m_unk0x18; // 0x18
|
|
};
|
|
|
|
#endif // ANIMSTATE_H
|