Isle
Loading...
Searching...
No Matches
legotraninfo.h
Go to the documentation of this file.
1#ifndef LEGOTRANINFO_H
2#define LEGOTRANINFO_H
3
4#include "decomp.h"
6#include "mxtypes.h"
7
8struct AnimInfo;
10class LegoROI;
11class MxPresenter;
12
19 enum {
20 c_bit1 = 0x01,
21 c_bit2 = 0x02
22 };
23
27 {
28 m_index = 0;
31 m_unk0x10 = 0;
32 m_location = -1;
40 m_flags = 0;
42 }
43
47
64};
65
66#endif // LEGOTRANINFO_H
[AI] Composite presenter class that manages a multi-media animation sequence.
[AI] Represents a Real-time Object Instance enriched with LEGO-specific functionality.
Definition: legoroi.h:43
virtual void SetIdentity()
Sets this matrix to identity (diagonal 1, others 0).
[AI] Represents a 4x4 transformation matrix, specialized for the LEGO Island engine and derived from ...
Definition: mxmatrix.h:16
[AI] Abstract base class for all presenter types in the LEGO Island engine, responsible for managing ...
Definition: mxpresenter.h:20
#define TRUE
Definition: d3drmdef.h:28
#define FALSE
Definition: d3drmdef.h:27
#define NULL
[AI] Null pointer value (C/C++ semantics).
Definition: legotypes.h:26
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
int MxLong
[AI]
Definition: mxtypes.h:83
signed short MxS16
[AI]
Definition: mxtypes.h:26
unsigned char MxU8
[AI]
Definition: mxtypes.h:8
unsigned int MxU32
[AI]
Definition: mxtypes.h:32
[AI] Describes a specific animation, containing animation parameters, model list, and related metadat...
[AI] Holds transformation and animation information for a LEGO object/ROI, especially in the context ...
Definition: legotraninfo.h:17
MxU32 m_index
[AI] Index for this transform instance; often used to correlate to a list or animation track....
Definition: legotraninfo.h:49
MxBool m_unk0x14
[AI] Boolean flag for an unknown state, frequently used in transformation validity or activation gati...
Definition: legotraninfo.h:54
@ c_bit1
[AI] Unknown flag (likely used for specialized transformation states). [AI]
Definition: legotraninfo.h:20
@ c_bit2
[AI] Unknown flag (likely used for specialized transformation states). [AI]
Definition: legotraninfo.h:21
LegoROI * m_unk0x08
[AI] [AI_SUGGESTED_NAME: targetROI] Pointer to the LEGO ROI (object in world) this transformation app...
Definition: legotraninfo.h:50
MxBool m_unk0x15
[AI] Boolean flag set TRUE on construction, usage context required. Could indicate active/valid statu...
Definition: legotraninfo.h:55
AnimInfo * m_animInfo
[AI] Pointer to animation state information associated with this transformation instance (likely cont...
Definition: legotraninfo.h:48
LegoTranInfo()
[AI] Initialize LegoTranInfo to default/neutral state.
Definition: legotraninfo.h:26
~LegoTranInfo()
[AI] Destructor releases owned transformation matrix pointer if allocated.
Definition: legotraninfo.h:46
MxMatrix m_unk0x2c
[AI] Current transformation matrix for this entry; reset to identity at construction and modified by ...
Definition: legotraninfo.h:62
MxLong * m_unk0x20
[AI] [AI_SUGGESTED_NAME: animationFramePtr] Pointer to a long integer, possibly for tracking current ...
Definition: legotraninfo.h:58
MxPresenter ** m_unk0x1c
[AI] [AI_SUGGESTED_NAME: presenterList] Pointer to an array of presenter objects. Allows for chained/...
Definition: legotraninfo.h:57
LegoAnimMMPresenter * m_presenter
[AI] Pointer to a specific animation presenter managing this transform's animation (controls playback...
Definition: legotraninfo.h:59
MxMatrix * m_unk0x0c
[AI] [AI_SUGGESTED_NAME: overrideMatrix] Optional pointer to a dynamically allocated matrix for custo...
Definition: legotraninfo.h:51
MxU32 m_objectId
[AI] Unique identifier for this object/transform pair; used for lookup or dispatch....
Definition: legotraninfo.h:56
MxU8 m_unk0x10
[AI] Unknown; likely used for frame counters, step markers, or status flags in animation/transformati...
Definition: legotraninfo.h:52
MxS16 m_location
[AI] Location index within a parent object, animation group, or part-based system....
Definition: legotraninfo.h:53
MxBool m_unk0x28
[AI] Another Boolean flag; TRUE by default. Likely used as part of a multi-flag state or for controll...
Definition: legotraninfo.h:60
MxBool m_unk0x29
[AI] Another Boolean flag; TRUE by default. Possibly for progression or sequencing within animation h...
Definition: legotraninfo.h:61
MxU32 m_flags
[AI] Miscellaneous flag word. Used for c_bit1, c_bit2, or internal mechanics related to transformatio...
Definition: legotraninfo.h:63