fork/training-mode-ce

git clone https://git.julia.blue/fork/training-mode-ce

AitchAdd rect/text drawing code -> add action log drawing code -> add float cancel event (#301)8e0b417

techchase-camera
10.6 KiB323 linesraw
1#ifndef MEX_H_STRUCTS
2#define MEX_H_STRUCTS
3
4/*
5 *  defines typedefs for structs used throughout m-ex
6 */
7
8// Basic Data Structs
9typedef struct Vec2 Vec2;
10typedef struct Vec3 Vec3;
11typedef struct Vec4 Vec4;
12
13// OS
14typedef struct OSInfo OSInfo;
15typedef struct OSCalendarTime OSCalendarTime;
16typedef struct CARDStat CARDStat;
17typedef struct OSAlarm OSAlarm;
18typedef struct OSContext OSContext;
19typedef struct CARDFileInfo CARDFileInfo;
20typedef struct RGB565 RGB565;
21typedef struct MTHPlayParam MTHPlayParam;
22typedef struct MTHHeader MTHHeader;
23typedef struct MTHPlayback MTHPlayback;
24typedef struct JPEGHeader JPEGHeader;
25typedef struct DVDDiskID DVDDiskID;
26typedef struct DVDCommandBlock DVDCommandBlock;
27typedef struct DVDFileInfo DVDFileInfo;
28typedef struct DVDDir DVDDir;
29typedef struct DVDDirEntry DVDDirEntry;
30typedef struct FSTEntry FSTEntry;
31typedef struct FileReadParam FileReadParam;
32
33// GX
34typedef struct GXColor GXColor;
35typedef struct GXRenderModeObj GXRenderModeObj;
36typedef struct GXTexObj GXTexObj;
37typedef struct GXPipe GXPipe;
38typedef struct VIUnknown VIUnknown;
39
40// Audio
41typedef struct BGMData BGMData;
42typedef struct VPB VPB;
43typedef struct AXLive AXLive;
44
45// HSD Objects
46typedef struct HSD_Obj HSD_Obj;
47typedef struct GOBJ GOBJ;
48typedef struct GOBJProc GOBJProc;
49typedef struct GXList GXList;
50typedef struct JOBJ JOBJ;
51typedef struct JOBJDesc JOBJDesc;
52typedef struct MatAnimDesc MatAnimDesc;
53typedef struct MatAnimJointDesc MatAnimJointDesc;
54typedef struct AnimJointDesc AnimJointDesc;
55typedef struct HSD_VtxDescList HSD_VtxDescList;
56typedef struct POBJ POBJ;
57typedef struct POBJDesc POBJDesc;
58typedef struct DOBJ DOBJ;
59typedef struct TOBJ TOBJ;
60typedef struct AOBJ AOBJ;
61typedef struct MOBJ MOBJ;
62typedef struct WOBJ WOBJ;
63typedef struct COBJ COBJ;
64typedef struct COBJDesc COBJDesc;
65typedef struct WOBJDesc WOBJDesc;
66typedef struct _HSD_ImageDesc _HSD_ImageDesc;
67typedef struct _HSD_Tlut _HSD_Tlut;
68typedef struct _HSD_TObjTev _HSD_TObjTev;
69typedef struct _HSD_LightPoint _HSD_LightPoint;
70typedef struct _HSD_LightPointDesc _HSD_LightPointDesc;
71typedef struct _HSD_LightSpot _HSD_LightSpot;
72typedef struct _HSD_LightSpotDesc _HSD_LightSpotDesc;
73typedef struct _HSD_LightAttn _HSD_LightAttn;
74typedef struct LObjDesc LObjDesc;
75typedef struct LightAnim LightAnim;
76typedef struct LightGroup LightGroup;
77typedef struct LOBJ LOBJ;
78typedef struct HSD_Fog HSD_Fog;
79typedef struct HSD_FogDesc HSD_FogDesc;
80typedef struct HSD_SObjDesc HSD_SObjDesc;
81typedef struct JOBJSet JOBJSet;
82
83// Archive
84typedef struct HSD_Archive HSD_Archive;
85typedef struct HSD_ArchiveHeader HSD_ArchiveHeader;
86typedef struct HSD_ArchiveRelocationInfo HSD_ArchiveRelocationInfo;
87typedef struct HSD_ArchivePublicInfo HSD_ArchivePublicInfo;
88typedef struct HSD_ArchiveExternInfo HSD_ArchiveExternInfo;
89typedef struct HSD_Archive HSD_Archive;
90typedef struct MapHead MapHead;
91
92// Stage
93typedef struct Stage Stage;
94typedef struct StageOnGO StageOnGO;
95typedef struct MapData MapData;
96typedef struct MapDesc MapDesc;
97typedef struct StageFile StageFile;
98typedef struct grGroundParam grGroundParam;
99typedef struct GrDesc GrDesc;
100typedef struct GrExtLookup GrExtLookup;
101typedef struct LineHazardDesc LineHazardDesc;
102typedef struct MapItemDesc MapItemDesc;
103typedef struct LineRange LineRange;
104typedef struct GeneralPoints GeneralPoints;
105typedef struct GeneralPointsInfo GeneralPointsInfo;
106typedef struct MapCollLink MapCollLink;
107typedef struct MapGObjDesc MapGObjDesc;
108
109// Match
110typedef struct MatchInit MatchInit;
111typedef struct Match Match;
112typedef struct MatchLupe MatchLupe;
113typedef struct MatchOffscreen MatchOffscreen;
114typedef struct MatchNametags MatchNametags;
115typedef struct MatchHUD MatchHUD;
116typedef struct MatchHUDElement MatchHUDElement;
117typedef struct MatchHUDStock MatchHUDStock;
118typedef struct MatchCamera MatchCamera;
119typedef struct CmSubject CmSubject;
120typedef struct MatchStandings MatchStandings;
121typedef struct TeamStandings TeamStandings;
122typedef struct PlayerStandings PlayerStandings;
123typedef struct ExclamData ExclamData;
124
125// Text
126typedef struct SISData SISData;
127typedef struct Text Text;
128typedef struct TextCanvas TextCanvas;
129
130// DevText
131typedef struct DevText DevText;
132
133// Effects
134typedef struct EffectModelDesc EffectModelDesc;
135typedef struct PtclDesc PtclDesc;
136typedef struct TexGDesc TexGDesc;
137typedef struct EffectDataTable EffectDataTable;
138typedef struct Effect Effect;
139typedef struct Particle Particle;
140typedef struct ptclGen ptclGen;
141typedef struct ptclGenCallback ptclGenCallback;
142typedef struct GeneratorAppSRT GeneratorAppSRT;
143
144// Color
145typedef struct ColAnimDesc ColAnimDesc;
146typedef struct ColorOverlay ColorOverlay;
147
148// Item
149typedef struct ItemModelDesc ItemModelDesc;
150typedef struct ItemDesc ItemDesc;
151typedef struct itCommonData itCommonData;
152typedef struct itPublicData itPublicData;
153typedef struct ItemStateDesc ItemStateDesc;
154typedef struct ItemData ItemData;
155typedef struct ItemState ItemState;
156typedef struct SpawnItem SpawnItem;
157typedef struct itData itData;
158typedef struct itCommonAttr itCommonAttr;
159typedef struct itHit itHit;
160typedef struct ItHurt ItHurt;
161typedef struct ItDynamics ItDynamics;
162typedef struct ItDynamicBoneset ItDynamicBoneset;
163
164// Boneset
165typedef struct DynamicBoneset DynamicBoneset;
166
167// Fighter
168typedef struct FighterData FighterData;
169typedef struct FighterBone FighterBone;
170typedef struct Playerblock Playerblock;
171typedef struct PlayerData PlayerData;
172typedef struct FtCreateDesc FtCreateDesc;
173typedef struct FtState FtState;
174typedef struct ftHit ftHit;
175typedef struct HitVictim HitVictim;
176typedef struct FtHurt FtHurt;
177typedef struct FtCoin FtCoin;
178typedef struct ReflectDesc ReflectDesc;
179typedef struct ShieldDesc ShieldDesc;
180typedef struct AbsorbDesc AbsorbDesc;
181typedef struct AfterImageDesc AfterImageDesc;
182typedef struct FtDmgLog FtDmgLog;
183typedef struct CPULeaderLog CPULeaderLog;
184typedef struct CPU CPU;
185typedef struct FtCollDesc FtCollDesc;
186typedef struct FtSFX FtSFX;
187typedef struct FtSFXArr FtSFXArr;
188typedef struct FtAction FtAction;
189typedef struct Figatree Figatree;
190typedef struct ftData ftData;
191typedef struct FtDmgVibrateDesc FtDmgVibrateDesc;
192typedef struct ftCommonBone ftCommonBone;
193typedef struct ftCommonData ftCommonData;
194typedef struct FtMultiJumpDesc FtMultiJumpDesc;
195typedef struct ftChkDevice ftChkDevice;
196typedef struct FtSymbolLookup FtSymbolLookup;
197typedef struct FtSymbols FtSymbols;
198typedef struct FtDatNameLookup FtDatNameLookup;
199typedef struct FtKindDesc FtKindDesc;
200typedef struct FtParts FtParts;
201typedef struct FtPartsDesc FtPartsDesc;
202typedef struct FtPartsVis FtPartsVis;
203typedef struct FtPartsLookup FtPartsLookup;
204typedef struct FtPartsVisLookup FtPartsVisLookup;
205typedef struct FtSymbolLookup FtSymbolLookup;
206typedef struct FtDynamicBoneset FtDynamicBoneset;
207typedef struct DynamicBoneData DynamicBoneData;
208typedef struct DynamicHit DynamicHit;
209typedef struct DynamicsDesc DynamicsDesc;
210typedef struct DynamicsHitDesc DynamicsHitDesc;
211typedef struct DynamicsBehave DynamicsBehave;
212typedef struct DynamicForceDesc DynamicForceDesc;
213typedef struct DynamicForce DynamicForce;
214typedef struct IKParam IKParam;
215typedef struct FtVis FtVis;
216typedef struct ftDynamics ftDynamics;
217typedef struct FtScript FtScript;
218// typedef struct FtScriptTimerSync FtScriptTimerSync;
219// typedef struct FtScriptTimerAsync FtScriptTimerAsync;
220// typedef struct FtScriptGFX FtScriptGFX;
221// typedef struct FtScriptHit FtScriptHit;
222// typedef struct FtScriptHitClear FtScriptHitClear;
223// typedef struct FtScriptSFX FtScriptSFX;
224// typedef struct FtScriptVuln FtScriptVuln;
225// typedef struct FtScriptEye FtScriptEye;
226// typedef struct FtScriptRumble FtScriptRumble;
227// typedef struct FtScriptColAnimApply FtScriptColAnimApply;
228// typedef struct FtScriptIK FtScriptIK;
229
230// Fighter States
231typedef struct FtCliffCatch FtCliffCatch;
232typedef struct FtDamage FtDamage;
233typedef struct FtLanding FtLanding;
234typedef struct FtDead FtDead;
235typedef struct FtEntry FtEntry;
236
237// CSS
238typedef struct CSSBackup CSSBackup;
239typedef struct MnSelectChrDataTable MnSelectChrDataTable;
240typedef struct VSMinorData VSMinorData; // is the css minor data
241typedef struct SSSMinorData SSSMinorData;
242typedef struct CSSCursor CSSCursor;
243typedef struct CSSPuck CSSPuck;
244typedef struct MnSlChrKindData MnSlChrKindData;
245typedef struct MnSlChrData MnSlChrData;
246typedef struct MnSlChrIcon MnSlChrIcon;
247typedef struct MnSlChrDoor MnSlChrDoor;
248typedef struct MnSlChrTag MnSlChrTag;
249typedef struct MnSlChrTagData MnSlChrTagData;
250typedef struct MnSlChrKOStar MnSlChrKOStar;
251
252// Memcard
253typedef struct Memcard Memcard;
254typedef struct MemcardWork MemcardWork;
255typedef struct MemcardUnk MemcardUnk;
256typedef struct MemcardSave MemcardSave;
257typedef struct MemcardInfo MemcardInfo;
258typedef struct SnapshotInfo SnapshotInfo;
259typedef struct SnapshotList SnapshotList;
260typedef struct MemSnapIconData MemSnapIconData;
261typedef struct MemSaveIconData MemSaveIconData;
262typedef struct Rules1 Rules1;
263typedef struct Rules4 Rules4;
264
265// Collision
266typedef struct CollData CollData;
267typedef struct ECBSize ECBSize;
268typedef struct CollLineDesc CollLineDesc;
269typedef struct CollLine CollLine;
270typedef struct CollVert CollVert;
271typedef struct CollLineUnk CollLineUnk;
272typedef struct CollDataStage CollDataStage;
273typedef struct CollLineConnection CollLineConnection;
274typedef struct CollGroupDesc CollGroupDesc;
275typedef struct CollGroup CollGroup;
276
277// HSD
278typedef struct HSD_Material HSD_Material;
279typedef struct HSD_Pad HSD_Pad;
280typedef struct HSD_Pads HSD_Pads;
281typedef struct HSD_Update HSD_Update;
282typedef struct HSD_VI HSD_VI;
283typedef struct HSD_ClassInfoHead HSD_ClassInfoHead;
284typedef struct HSD_ClassInfo HSD_ClassInfo;
285typedef struct HSD_IDEntry HSD_IDEntry;
286typedef struct HSD_IDTable HSD_IDTable;
287typedef struct HSD_ObjAllocData HSD_ObjAllocData;
288typedef struct HSD_PollData HSD_PollData;
289
290// Scene
291typedef struct MajorSceneDesc MajorSceneDesc;
292typedef struct MinorSceneDesc MinorSceneDesc;
293typedef struct MinorScene MinorScene;
294typedef struct SceneInfo SceneInfo;
295typedef struct ScDataVS ScDataVS;
296typedef struct ScDataRst ScDataRst;
297typedef struct ScDataIntro ScDataIntro;
298
299// Preload
300typedef struct PreloadHeapLookup PreloadHeapLookup;
301typedef struct PreloadHeap PreloadHeap;
302typedef struct Preload Preload;
303typedef struct PreloadChar PreloadChar;
304typedef struct PreloadEntry PreloadEntry;
305typedef struct PreloadLookup PreloadLookup;
306typedef struct PreloadAllocData PreloadAllocData;
307typedef struct PreloadTable PreloadTable;
308
309// 1P
310typedef struct ClassicLineupDesc ClassicLineupDesc;
311typedef struct ClassicLineup ClassicLineup;
312
313// Kirby
314typedef struct FtVarKirby FtVarKirby;
315
316// Custom
317typedef struct Stc_icns Stc_icns;
318typedef struct MEXPlaylist MEXPlaylist;
319typedef struct MEXPlaylistEntry MEXPlaylistEntry;
320typedef struct MexCostumeDesc MexCostumeDesc;
321typedef struct MexCostumeDescAccessory MexCostumeDescAccessory;
322
323#endif