mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-18 12:02:54 -05:00
aceba71fbb
* Implement/match `Act3Brickster::HitActor` * Fixes * Fixes * Fixes * Add `Act3Cop::VTable0x9c` * Fix
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
#ifndef ACT2BRICK_H
|
|
#define ACT2BRICK_H
|
|
|
|
#include "legopathactor.h"
|
|
|
|
// VTABLE: LEGO1 0x100d9b60
|
|
// SIZE 0x194
|
|
class Act2Brick : public LegoPathActor {
|
|
public:
|
|
Act2Brick();
|
|
~Act2Brick() override; // vtable+0x00
|
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
|
MxResult Tickle() override; // vtable+0x08
|
|
|
|
// FUNCTION: LEGO1 0x1007a360
|
|
const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0438
|
|
return "Act2Brick";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1007a370
|
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, Act2Brick::ClassName()) || LegoEntity::IsA(p_name);
|
|
}
|
|
|
|
MxResult HitActor(LegoPathActor* p_actor, MxBool) override; // vtable+0x94
|
|
|
|
// SYNTHETIC: LEGO1 0x1007a450
|
|
// Act2Brick::`scalar deleting destructor'
|
|
|
|
MxResult Create(MxS32 p_index);
|
|
void Remove();
|
|
void FUN_1007a670(MxMatrix& p_param1, MxMatrix& p_param2, LegoPathBoundary* p_boundary);
|
|
void PlayWhistleSound();
|
|
void StopWhistleSound();
|
|
void Mute(MxBool p_muted);
|
|
|
|
private:
|
|
static LegoChar* g_lodNames[];
|
|
static MxLong g_lastHitActorTime;
|
|
|
|
LegoCacheSound* m_whistleSound; // 0x154
|
|
undefined m_unk0x158[0x0c]; // 0x158
|
|
undefined4 m_unk0x164; // 0x164
|
|
Mx3DPointFloat m_unk0x168; // 0x168
|
|
Mx3DPointFloat m_unk0x17c; // 0x17c
|
|
MxS32 m_unk0x190; // 0x190
|
|
};
|
|
|
|
#endif // ACT2BRICK_H
|