mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Implement/match a few LegoEntity functions (#445)
* Implement/match a few LegoEntity functions * Add annotations
This commit is contained in:
committed by
GitHub
parent
b1fdb780de
commit
6af0c6cb1a
@@ -12,10 +12,19 @@
|
||||
// SIZE 0x68 (probably)
|
||||
class LegoEntity : public MxEntity {
|
||||
public:
|
||||
enum {
|
||||
Flag_Bit1 = 0x01
|
||||
};
|
||||
|
||||
// Inlined at 0x100853f7
|
||||
inline LegoEntity() { Init(); }
|
||||
|
||||
__declspec(dllexport) virtual ~LegoEntity() override; // vtable+0x0
|
||||
#ifdef ISLE_APP
|
||||
__declspec(dllexport) virtual ~LegoEntity() override;
|
||||
#else
|
||||
// FUNCTION: LEGO1 0x1000c290
|
||||
__declspec(dllexport) virtual ~LegoEntity() override { Destroy(TRUE); }
|
||||
#endif
|
||||
|
||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
||||
|
||||
@@ -58,15 +67,15 @@ protected:
|
||||
void Init();
|
||||
void SetWorld();
|
||||
|
||||
undefined m_unk0x10;
|
||||
undefined m_unk0x11;
|
||||
undefined m_unk0x10; // 0x10
|
||||
MxU8 m_flags; // 0x11
|
||||
Mx3DPointFloat m_worldLocation; // 0x14
|
||||
Mx3DPointFloat m_worldDirection; // 0x28
|
||||
Mx3DPointFloat m_worldUp; // 0x3c
|
||||
MxFloat m_worldSpeed; // 0x50
|
||||
LegoROI* m_roi; // 0x54
|
||||
MxBool m_cameraFlag; // 0x58
|
||||
undefined m_unk0x59;
|
||||
undefined m_unk0x59; // 0x59
|
||||
// For tokens from the extra string that look like this:
|
||||
// "Action:openram;\lego\scripts\Race\CarRaceR;0"
|
||||
ExtraActionType m_actionType; // 0x5c
|
||||
@@ -74,4 +83,7 @@ protected:
|
||||
MxS32 m_actionArgNumber; // 0x64
|
||||
};
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1000c3b0
|
||||
// LegoEntity::`scalar deleting destructor'
|
||||
|
||||
#endif // LEGOENTITY_H
|
||||
|
||||
Reference in New Issue
Block a user