SSBM Decomp
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#ifndef MELEE_GR_TYPES_H
2#define MELEE_GR_TYPES_H
3
4#include <platform.h>
5#include <placeholder.h>
6
7#include <melee/cm/forward.h>
8#include <melee/gr/forward.h>
9#include <melee/it/forward.h>
10#include <melee/lb/forward.h>
11#include <melee/sc/forward.h>
13
14#include <dolphin/gx.h>
15#include <dolphin/mtx.h>
16
17typedef struct StageBlastZone {
18 f32 left; // 0x74
19 f32 right; // 0x78
20 f32 top; // 0x7C
21 f32 bottom; // 0x80
23
27typedef struct StageCameraInfo {
29 f32 cam_x_offset; // 0x10
30 f32 cam_y_offset; // 0x14
31 f32 cam_vertical_tilt; // 0x18
32 f32 cam_pan_degrees; // 0x1C
33 f32 x20; // 0x20
34 f32 x24; // 0x24
35 f32 cam_track_ratio; // 0x28
36 f32 cam_fixed_zoom; // 0x2C
37 f32 cam_track_smooth; // 0x30
38 f32 cam_zoom_rate; // 0x34
39 f32 cam_max_depth; // 0x38
40 f32 x3C; // 0x3C
41 f32 pausecam_zpos_min; // 0x40
42 f32 pausecam_zpos_init; // 0x44
43 f32 pausecam_zpos_max; // 0x48
44 f32 cam_angle_up; // 0x4C
45 f32 cam_angle_down; // 0x50
46 f32 cam_angle_left; // 0x54
47 f32 cam_angle_right; // 0x58
48 Vec3 fixed_cam_pos; // 0x5C - 0x64
49 f32 fixed_cam_fov; // 0x68
53
54struct StageInfo {
55 StageCameraInfo cam_info; // 0x00 - 0x70
56 StageBlastZone blast_zone; // 0x74 - 0x80
57
58 u32 flags; // 0x84
59
61
62 struct {
63 u8 b0 : 1;
64 u8 b1 : 1;
65 u8 b2 : 1;
66 u8 b3 : 1;
67 u8 b4 : 1;
68 u8 b5 : 1;
69 u8 b6 : 1;
70 u8 b7 : 1;
72 bool (*x90)(Vec3*, int);
73 bool (*x94)(Vec3*, int);
74 s32 x98;
75 u32 x9C;
76 u8 xA0[4];
77 u8 xA4_pad[0x12C - 0xA4];
80 DynamicsDesc* (*x178)(int);
81 bool (*x17C)(Vec3*, int, HSD_JObj*);
83 u8 x190_pad[0x280 - 0x190];
85 void* x694[4];
86 void* x6A4;
87 /* +6A8 */ struct {
88 s32 unk0;
91 /* +6AC */ void* coll_data;
92 /* +6B0 */ UnkStage6B0* param;
93 /* +6B4 */ UNK_T** ald_yaku_all;
94 /* +6B8 */ void* map_ptcl;
95 /* +6BC */ void* map_texg;
96 /* +6C0 */ void* yakumono_param;
97 /* +6C4 */ void* map_plit;
98 /* +6C8 */ void* x6C8;
100 s16 x6D0;
101 s16 x6D2;
102 s16 x6D4;
103 s16 x6D6;
104 s32 x6D8;
105 s16 x6DC;
106 s16 x6DE;
107 f32 x6E0;
108 int x6E4[2];
109 u8 x6EC_pad[0x708 - 0x6EC];
110 s16 x708;
111 f32 x70C;
112 f32 x710;
113 s32 x714;
114 f32 x718;
115 f32 x71C;
116 s32 x720;
117 f32 x724;
118 f32 x728;
120 Vec3 x730;
121 f32 x73C;
122 s32 x740;
123 u8 x744_pad[0x748 - 0x744];
124};
125
126typedef struct StageCallbacks {
127 /* +0 */ void (*callback0)(HSD_GObj*);
128 /* +4 */ bool (*callback1)(HSD_GObj*);
129 /* +8 */ void (*callback2)(HSD_GObj*);
130 /* +C */ void (*callback3)(HSD_GObj*);
131 /* +10 */ union {
132 /* +10 */ u32 flags;
133 struct {
134 /* +10:0 */ u8 flags_b0 : 1;
135 /* +10:1 */ u8 flags_b1 : 1;
136 /* +10:2 */ u8 flags_b2 : 1;
137 /* +10:3 */ u8 flags_b3 : 1;
138 /* +10:4 */ u8 flags_b4 : 1;
139 /* +10:5 */ u8 flags_b5 : 1;
140 /* +10:6 */ u8 flags_b6 : 1;
141 /* +10:7 */ u8 flags_b7 : 1;
142 };
143 };
145
146typedef struct StageData {
149 char* data1;
150 void (*callback0)(void);
151 void (*callback1)(int);
152 void (*callback2)(void);
153 void (*callback3)(void);
154 bool (*callback4)(void);
155 DynamicsDesc* (*callback5)(enum_t);
156 bool (*callback6)(Vec3*, int, HSD_JObj*);
158 S16Vec3* x2C;
159 size_t x30; // size of x2C array
160} StageData;
161
166
168 int xC4;
169 int xC8;
170 int xCC;
171 int xD0;
172 int xD4;
173 int xD8;
174 float xDC;
175};
176
186
196
198 short xC4;
199 short xC6;
200 short xC8;
201 short xCA;
203 float xD0;
204 float xD4;
205 float xD8;
206 float xDC;
207};
208
210 u8 xC4;
211 u8 xC5;
212 u8 xC6;
213 u8 xC7;
214 s16 xC8;
215 s16 xCA;
216 s16 xCC;
217 s16 xCE;
218 s32 xD0;
219 s32 xD4;
220};
221
231
239
241 /* gp+C4 */ f32 xC4;
242 /* gp+C8 */ f32 xC8;
243 /* gp+CC */ f32 xCC;
244 /* gp+D0 */ union {
245 struct {
246 void* keep;
248 } u;
249 /* gp+D4 */ f32 xD4;
250 /* gp+D8 */ f32 xD8;
251 /* gp+DC */ HSD_JObj* xDC;
252 /* gp+E0 */ HSD_JObj* xE0;
253 /* gp+E4 */ s16 xE4;
254 /* gp+E6 */ s16 xE6;
255 /* gp+E8 */ f32 xE8;
256};
257
260 f32 xC8;
261 s16 xCC;
262 s16 xCE;
263 f32 xD0;
264 f32 xD4;
265 f32 xD8;
266 f32 xDC;
267 f32 xE0;
268 f32 xE4;
269 f32 xE8;
270};
271
275 /* gp+C4 */ s16 xC4;
276 /* gp+C6 */ s16 xC6;
277 /* gp+C8 */ s16 xC8;
278 /* gp+CA */ s16 xCA;
281 f32 xD4;
282 f32 xD8;
283 f32 xDC;
284 f32 xE0;
285 f32 xE4;
286 f32 xE8;
287};
288
290 /* + gp+C4 */ u8 x0;
291 /* + gp+C5 */ s8 x1;
292 /* + gp+C8 */ f32 x4;
293 /* + gp+CC */ f32 x8;
294 /* + gp+D0 */ f32 xC;
295};
296
298 u32 xC4_b0 : 1;
299 u32 xC4_b1 : 1;
300 u32 xC8;
301 u32 xCC;
302 f32 xD0;
303 f32 xD4;
304 f32 xD8;
305 f32 xDC;
306 f32 xE0;
307 f32 xE4;
308 f32 xE8;
309 f32 xEC;
310 f32 xF0;
311 f32 xF4;
312 f32 xF8;
313 u32 xFC;
314 u32 x100;
315 u32 x104;
316 u32 x108;
317 u32 x10C;
318 u32 x110;
319 f32 x114;
324 u32 x11C;
329};
330
332 /* +0 gp+C4 */ HSD_GObj* xC4;
333 /* +0 gp+C4 */ HSD_GObj* xC6;
334 /* +0 gp+C4 */ s16 xC8;
335 /* +0 gp+C4 */ s16 xCA;
336 /* +0 gp+C4 */ s16 xCC;
337 /* +0 gp+C4 */ s16 xCE;
338 // char pad_0[0x0C];
339 /* +0 gp+D8 */ s16 xD0;
340 /* +0 gp+D8 */ f32 xD4;
341 /* +0 gp+D8 */ s16 xD8;
342 /* +0 gp+D8 */ s16 xDA;
343 /* +0 gp+D8 */ s16 xDC;
344 /* +0 gp+D8 */ s16 xDE;
345 /* +0 gp+D8 */ s16 xE0;
346 /* +0 gp+D8 */ f32 xE4;
347 /* +0 gp+D8 */ void* xF4[6];
348};
350 /* +0 gp+C4 */ f32 xC4;
351 /* +0 gp+C4 */ HSD_JObj* xC8;
352 /* +0 gp+C4 */ HSD_JObj* xCC;
353 /* +0 gp+D8 */ HSD_JObj* xD0;
354 /* +0 gp+D8 */ HSD_JObj* xD4;
355 /* +0 gp+D8 */ HSD_JObj* xD8;
356 /* +0 gp+D8 */ HSD_JObj* xDC;
357 /* +0 gp+D8 */ HSD_JObj* xE0;
358 /* +0 gp+D8 */ HSD_JObj* xE4;
359 /* +0 gp+D8 */ HSD_JObj* xE8;
360 /* +0 gp+D8 */ HSD_JObj* xEC;
361 /* +0 gp+D8 */ HSD_JObj* xF0;
362 /* +0 gp+D8 */ HSD_JObj* xF4;
363};
364
365typedef struct grInishie1_Block {
367 s16 x2;
368 s32 x4; // probably a counter
369 f32 x8; // probably a y transform
370 f32 xC; // probably a delta for x8
373 HSD_GObj* hatena_gobj; // named in an assert
375 s16 x20;
376 s16 x22; // probably a timer for when a block first appears and flickers
378
379// TODO: probably mistakes in this and Vars2
380typedef struct grInishie1_GroundVars {
381 union {
382 u32 xC4;
383 struct {
392 };
393 };
394 s16 xC6;
395 s16 xC8;
396 s16 xCA;
397 s16 xCC;
398 s32 xD0;
399 s32 xD4;
400 s32 xD8;
402 f32 xE0;
403 f32 xE4;
404 s16 xE8;
405 s16 xEA;
406 s16 xEC;
407 s16 xEE;
408 f32 xF0;
409 f32 xF4;
410 f32 xF8;
411 f32 xFC;
412 f32 x100;
413 f32 x104;
417
428
429// likely for question mark blocks
435
437 struct {
438 u8 b0 : 1;
439 u8 b1 : 1;
440 u8 b2 : 1;
441 u8 b3 : 1;
442 u8 b4 : 1;
443 u8 b5 : 1;
444 u8 b6 : 1;
445 u8 b7 : 1;
447 s16 xC6;
448 s16 xC8;
449 s16 xCA;
450 s16 xCC;
451 Vec3 xD8;
452};
453
454// likely for Cathrine (Birdo)
460
462 s16 xC4;
463 s16 xC6;
464 struct {
465 u8 b0 : 1;
466 u8 b1 : 1;
467 u8 b2 : 1;
468 u8 b3 : 1;
469 u8 b4 : 1;
470 u8 b5 : 1;
471 u8 b6 : 1;
472 u8 b7 : 1;
474 s16 xCA;
475 Vec3 xCC;
476 Vec3 xD8;
477};
478
480 /* +0 gp+C4:0 */ u8 xC4_b0 : 1;
481 /* +0 gp+C4:1 */ u8 xC4_b1 : 1;
482 /* +0 gp+C8:0 */ u32 xC8;
483 /* +4 gp+CC */ HSD_MObj* xCC;
484 /* +4 gp+D0 */ UnkArchiveStruct* xD0;
485 /* +4 gp+D4 */ float xD4;
486 /* +4 gp+D8 */ int xD8;
487 /* +4 gp+DC */ s16 xDC;
488 /* +4 gp+DE */ s16 xDE;
489 /* +4 gp+E0 */ s16 xE0;
490 /* +4 gp+E2 */ s16 xE2;
491 /* +4 gp+E4 */ HSD_GObj* xE4;
492 /* +4 gp+E8 */ HSD_GObj* xE8;
493};
494
495// Specific to the Pokemon Stadium jumbotron
497 /* C4:0 */ u8 xC4_b0 : 1;
498 /* C4:1 */ u8 xC4_b1 : 1;
499 /* C8 */ HSD_TObj* xC8;
500 /* CC */ HSD_MObj* xCC;
502 /* D4 */ HSD_GObj* xD4;
503 /* D8 */ HSD_GObj* xD8;
504 /* DC */ HSD_GObj* xDC;
505 /* E0 */ int xE0;
506 /* E4 */ s16 xE4;
507 /* E6 */ s16 xE6;
508 /* E8 */ s16 xE8;
509 /* EA */ s16 xEA;
510 /* EC */ s16 xEC;
511 /* EE */ s16 xEE;
512 /* F0 */ s16 xF0;
513 /* F2 */ s16 xF2;
514 /* F4 */ CameraBox* xF4;
515 /* F8:0 */ u8 xF8_0 : 1;
516 /* F8:1 */ u8 xF8_1 : 1;
517 /* F8:2 */ u8 xF8_2 : 1;
518};
519
520// Unknown, but used for IDS:
521// 6
522// 9
523// and possibly more
525 /* C4:0 */ u8 xC4_b0 : 1;
526 /* C4:1 */ u8 xC4_b1 : 1;
531};
532
534 int xC4;
535};
536
538 /* +0 gp+C4:0 */ u8 x0_b0 : 1;
539 /* +4 gp+C8 */ UNK_T x4;
540 /* +8 gp+CC */ UNK_T x8;
541 /* +C gp+D0 */ Vec3 xC;
542};
543
545 /* +0 gp+C4 */ UNK_T x0;
546 /* +4 gp+C8 */ UNK_T x4;
547 /* +8 gp+CC */ int x8;
548 /* +C gp+D0 */ int xC;
549};
550
552 /* +0 gp+C4 */ u8 x0;
553 /* +1 gp+C5 */ u8 x1;
554 /* +4 gp+C8 */ s32 x4;
555};
556
558 /* +0 gp+C4:0 */ u8 x0_b0 : 1;
559};
560
562 /* +0 gp+C4:0 */ u8 x0_b0 : 1;
563};
564
566 /* +0 gp+C4:0 */ u16 xC4;
567 /* +0 gp+C4:0 */ s16 xC6;
568 /* +0 gp+C4:0 */ HSD_JObj* xC8;
569};
570
572 /* +0 gp+C4:0 */ u32 xC4;
573 /* +0 gp+C4:0 */ HSD_JObj* xC8;
574};
575
576struct Randall {
577 /* +0 gp+C4 */ s16 timer;
578 /* +4 gp+C8 */ HSD_JObj* jobj;
579};
580
581struct ShyGuys {
582 /* +0 gp+C4 */ s8 count;
583 /* +1 gp+C5 */ s8 pattern;
584 /* +4 gp+C8 */ int timer;
585};
586
588 /* +0 gp+C4 */ int bg_state;
589 /* +4 gp+C8 */ int curr_bg;
590 /* +8 gp+CC */ int prev_bg;
591 /* +C gp+D0 */ int bg_timer;
592};
593
595 /* +00 gp+C4 */ float xC4;
596 /* +04 gp+C8 */ float xC8;
597 /* +08 gp+CC */ float xCC;
598 /* +0C gp+D0 */ float xD0;
599 /* +10 gp+D4 */ float xD4;
600 /* +14 gp+D8 */ float xD8;
601 /* +18 gp+DC */ float xDC;
602 /* +1C gp+E0 */ HSD_Generator* xE0;
603};
604
606 /* +00 gp+C4:0 */ u32 xC4_b0 : 1;
607 /* +00 gp+C4:1 */ u32 xC4_b1 : 1;
608 /* +00 gp+C4:2 */ u32 xC4_b2_25 : 16;
609 /* +00 gp+C4:26 */ u32 xC4_b26 : 1;
610 /* +00 gp+C4:27 */ u32 xC4_b27 : 1;
611 /* +00 gp+C4:28 */ u32 xC4_b28 : 1;
612 /* +00 gp+C4:29 */ u32 xC4_b29 : 1;
613 /* +00 gp+C4:30 */ u32 xC4_b30 : 1;
614 /* +00 gp+C4:31 */ u32 xC4_b31 : 1;
615 /* +04 gp+C8 */ float xC8;
616 /* +08 gp+CC */ HSD_GObj* lv_gobj[6];
617 /* +20 gp+E4 */ float xE4;
618 /* +24 gp+E8 */ float xE8;
619 /* +28 gp+EC */ float xEC;
620 /* +2C gp+F0 */ float xF0;
621 /* +30 gp+F4 */ float xF4;
622 /* +34 gp+F8 */ float xF8;
623 /* +38 gp+FC */ float xFC;
624 /* +3C gp+100 */ float x100;
625 /* +40 gp+104 */ float x104;
626};
627
628struct Ground {
629 int x0; // 0x0
630 HSD_GObj* gobj; // 0x4
633 struct {
634 u8 b0 : 1;
635 u8 b1 : 1;
636 u8 b2 : 1;
637 u8 b3 : 1;
638 u8 b4 : 1;
639 u8 b5 : 1;
640 u8 b6 : 1;
641 u8 b7 : 1;
643 struct {
644 u8 b012 : 3;
645 u8 b3 : 1;
646 u8 b4 : 1;
647 u8 b5 : 1;
648 u8 b6 : 1;
649 u8 b7 : 1;
651
653 HSD_GObj* x18; // 0x18
655 int x20[8];
658 int x58;
659 int x5C;
660 int x60;
661 int x64;
662 int x68;
663 int x6C;
664 int x70;
665 char pad_40[0xC4 - 0x74];
666
667 union {
669 union GroundVars {
670 char pad_0[0x204 - 0xC4];
671 struct grBigBlue_GroundVars bigblue;
672 struct grCorneria_GroundVars corneria;
673 struct grFigureGet_GroundVars figureget;
674 struct GroundVars_flatzone flatzone;
675 struct GroundVars_flatzone2 flatzone2;
676 struct grFourside_GroundVars fourside;
677 struct grIceMt_GroundVars icemt;
678 struct grIceMt_GroundVars2 icemt2;
679 struct grInishie1_GroundVars inishie1;
680 struct grInishie1_GroundVars2 inishie12;
681 struct grInishie1_GroundVars3 inishie13;
682 struct grInishie2_GroundVars inishie2;
683 struct grInishie2_GroundVars2 inishie22;
684 struct grInishie2_GroundVars3 inishie23;
685 struct GroundVars_izumi izumi;
686 struct GroundVars_izumi2 izumi2;
687 struct GroundVars_izumi3 izumi3;
688 struct grKongo_GroundVars kongo;
689 struct grKongo_GroundVars2 kongo2;
690 struct grKongo_GroundVars3 kongo3;
691 struct grKraid_GroundVars kraid;
692 struct grOnett_GroundVars onett;
693 struct grPura_GroundVars pura;
694 struct grPura_GroundVars2 pura2;
696 struct grYorster_GroundVars yorster;
697 struct grZebes_GroundVars zebes;
698 } gv;
699
727 union {
728 struct grStadium_GroundVars stadium;
730 struct grStadium_Display display;
731 struct Randall randall;
732 struct ShyGuys shyguys;
733 struct Battlefield battle;
734 struct Last_GroundVars last;
735 struct Map_GroundVars map;
736 } u;
737 };
738};
739STATIC_ASSERT(sizeof(struct Ground) == 0x204);
740
741// Appears to be related to stage audio
743 s32 x0;
744 s32 x4;
745 s32 x8;
746 u32 xC;
747 u32 x10;
748 s16 x14;
749 s16 x16;
750 s16 x18;
751 u8 pad[0x64 - 0x1A];
752};
753
754// TODO: what is this struct?
756 f32 x0;
757 s16 x4;
758 u8 x6_pad[2];
759 s16 x8;
760 s16 xA;
761 s32 xC;
762 s32 x10;
763 s32 x14;
764 f32 x18;
765 f32 x1C, x20, x24, x28;
766 u8 x2C_pad[0x2E - 0x2C];
767 s16 x2E;
768 s32 x30;
769 s32 x34;
770 s32 x38;
771 f32 x3C, x40, x44, x48;
773 f32 x50, x54, x58, x5C, x60, x64;
774 s16 x68;
775 u8 x6C_pad[0xB0 - 0x6A];
777 s32 xB4; // number of entries in xB0
778 GXColor xB8;
779 GXColor xBC;
780 GXColor xC0;
781 GXColor xC4;
782 GXColor xC8;
783 GXColor xCC;
784 GXColor xD0;
785 GXColor xD4;
786 GXColor xD8;
787};
788
790 u8 x0_fill[0x4];
791 u32 unk4; // flags
792};
793
795 /* +0 */ struct HSD_Joint* unk0;
796 /* +4 */ u8 _4[0x10 - 0x4];
798 /* +14 */ UNK_T x14;
799 /* +18 */ UNK_T x18;
800 /* +1C */ HSD_FogDesc* x1C;
801 /* +20 */ S16Vec3* unk20;
802 /* +24 */ s32 unk24; // size of unk20 array
803 /* +28 */ UNK_T x28;
804 /* +2C */ s16* x2C;
805 /* +30 */ int x30;
806};
807
809 void* unk0;
810 s32 unk4;
811
813 s32 unkC;
814
816 s32 unk14;
817
818 u8 x18_fill[0x20 - 0x18];
819
820 void* unk20;
821 s32 unk24;
822
824 s32 unk2C; // size
825};
826STATIC_ASSERT(sizeof(struct UnkStageDat_x8_t) == 0x34);
827
833
834#endif
InternalStageId
Definition forward.h:42
#define UNK_T
Definition placeholder.h:32
#define STATIC_ASSERT(cond)
Definition platform.h:110
int enum_t
The underlying type of an enum, used as a placeholder.
Definition platform.h:9
int bool
A signed integer used to contain boolean values.
Definition stdbool.h:8
Definition types.h:178
Definition types.h:587
int bg_state
Definition types.h:588
int curr_bg
Definition types.h:589
int bg_timer
Definition types.h:591
int prev_bg
Definition types.h:590
Definition types.h:11
Model with multiple animations.
Definition types.h:18
Definition types.dox:1
Definition types.h:232
s32 xD0
Definition types.h:236
grDynamicAttr_UnkStruct * xCC
Definition types.h:235
s32 xD4
Definition types.h:237
f32 xC8
Definition types.h:234
s32 xC4
Definition types.h:233
Definition types.h:209
u8 xC7
Definition types.h:213
s16 xC8
Definition types.h:214
s32 xD4
Definition types.h:219
u8 xC6
Definition types.h:212
s16 xCE
Definition types.h:217
s32 xD0
Definition types.h:218
u8 xC5
Definition types.h:211
u8 xC4
Definition types.h:210
s16 xCC
Definition types.h:216
s16 xCA
Definition types.h:215
Definition types.h:187
int xD0
Definition types.h:191
HSD_JObj * xC4
Definition types.h:188
HSD_JObj * xC8
Definition types.h:189
int xD4
Definition types.h:192
int xCC
Definition types.h:190
float xDC
Definition types.h:194
int xD8
Definition types.h:193
Definition types.h:197
short xC6
Definition types.h:199
short xC4
Definition types.h:198
float xD4
Definition types.h:204
short xC8
Definition types.h:200
float xD8
Definition types.h:205
float xD0
Definition types.h:203
HSD_JObj * xCC
Definition types.h:202
short xCA
Definition types.h:201
float xDC
Definition types.h:206
Definition types.h:177
int xD8
Definition types.h:183
HSD_GObj * xC8
Definition types.h:179
HSD_GObj * xCC
Definition types.h:180
HSD_JObj * xD0
Definition types.h:181
float xDC
Definition types.h:184
HSD_TObj * xC4
Definition types.h:178
HSD_JObj * xD4
Definition types.h:182
Definition types.h:167
int xC8
Definition types.h:169
float xDC
Definition types.h:174
int xC4
Definition types.h:168
int xD4
Definition types.h:172
int xD0
Definition types.h:171
int xD8
Definition types.h:173
int xCC
Definition types.h:170
Definition types.h:628
int x20[8]
Definition types.h:655
char pad_40[0xC4 - 0x74]
Definition types.h:665
u8 b0
Definition types.h:634
int x64
Definition types.h:661
struct Ground::@234 x11_flags
int x60
Definition types.h:660
HSD_GObjEvent xC_callback
Definition types.h:632
int x0
Definition types.h:629
HSD_GObjEvent x8_callback
Definition types.h:631
u8 b1
Definition types.h:635
u8 b6
Definition types.h:640
Vec3 self_vel
Definition types.h:656
HSD_GObj * gobj
Definition types.h:630
u8 b7
Definition types.h:641
union Ground::@235::@237 u
Union of Ground object subtypes.
u8 b012
Definition types.h:644
union Ground::@235::GroundVars gv
Vec3 cur_pos
Definition types.h:657
HSD_GObj * x18
Definition types.h:653
int x6C
Definition types.h:663
struct Ground::@233 x10_flags
int x58
Definition types.h:658
HSD_GObjEvent x1C_callback
Definition types.h:654
InternalStageId map_id
Definition types.h:652
int x5C
Definition types.h:659
u8 b5
Definition types.h:639
u8 b4
Definition types.h:638
u8 b3
Definition types.h:637
int x70
Definition types.h:664
u8 b2
Definition types.h:636
int x68
Definition types.h:662
Definition archive.h:34
Definition cobj.h:110
Definition fog.h:45
Definition gobj.h:26
Definition psstructs.h:257
Definition tobj.h:204
Definition jobj.h:106
Definition jobj.h:129
Definition mobj.h:70
Definition spline.h:11
Definition tobj.h:133
Definition types.h:594
HSD_Generator * xE0
Definition types.h:602
float xD4
Definition types.h:599
float xC4
Definition types.h:595
float xDC
Definition types.h:601
float xCC
Definition types.h:597
float xD8
Definition types.h:600
float xD0
Definition types.h:598
float xC8
Definition types.h:596
Definition types.h:605
u32 xC4_b29
Definition types.h:612
float x100
Definition types.h:624
float xE8
Definition types.h:618
float xC8
Definition types.h:615
u32 xC4_b28
Definition types.h:611
float xFC
Definition types.h:623
HSD_GObj * lv_gobj[6]
Definition types.h:616
u32 xC4_b31
Definition types.h:614
float xF8
Definition types.h:622
float xEC
Definition types.h:619
u32 xC4_b1
Definition types.h:607
u32 xC4_b0
Definition types.h:606
float xE4
Definition types.h:617
float xF4
Definition types.h:621
u32 xC4_b30
Definition types.h:613
float x104
Definition types.h:625
u32 xC4_b2_25
Definition types.h:608
float xF0
Definition types.h:620
u32 xC4_b26
Definition types.h:609
u32 xC4_b27
Definition types.h:610
Definition types.h:576
s16 timer
Definition types.h:577
HSD_JObj * jobj
Definition types.h:578
Definition types.h:581
s8 pattern
Definition types.h:583
int timer
Definition types.h:584
s8 count
Definition types.h:582
Definition types.h:17
f32 right
Definition types.h:19
f32 top
Definition types.h:20
f32 left
Definition types.h:18
f32 bottom
Definition types.h:21
Definition types.h:126
u8 flags_b5
Definition types.h:139
u8 flags_b1
Definition types.h:135
u8 flags_b3
Definition types.h:137
bool(* callback1)(HSD_GObj *)
Definition types.h:128
u8 flags_b2
Definition types.h:136
u8 flags_b6
Definition types.h:140
void(* callback0)(HSD_GObj *)
initialization callback
Definition types.h:127
void(* callback3)(HSD_GObj *)
Definition types.h:130
u8 flags_b0
Definition types.h:134
void(* callback2)(HSD_GObj *)
Definition types.h:129
u8 flags_b4
Definition types.h:138
u32 flags
Definition types.h:132
u8 flags_b7
Definition types.h:141
Definition types.h:27
f32 pausecam_zpos_max
Definition types.h:43
f32 pausecam_zpos_min
Definition types.h:41
f32 cam_vertical_tilt
Definition types.h:31
f32 x3C
Definition types.h:40
Vec3 fixed_cam_pos
Definition types.h:48
f32 cam_zoom_rate
Definition types.h:38
f32 fixed_cam_fov
Definition types.h:49
StageBlastZone cam_bounds
Definition types.h:28
f32 x24
Definition types.h:34
f32 cam_pan_degrees
Definition types.h:32
f32 cam_angle_right
Definition types.h:47
f32 pausecam_zpos_init
Definition types.h:42
f32 cam_angle_up
Definition types.h:44
f32 cam_track_smooth
Definition types.h:37
f32 cam_x_offset
Definition types.h:29
f32 cam_max_depth
Definition types.h:39
f32 x20
Definition types.h:33
f32 cam_track_ratio
Definition types.h:35
f32 cam_y_offset
Definition types.h:30
f32 cam_angle_down
Definition types.h:45
f32 fixed_cam_horz_angle
Definition types.h:51
f32 cam_fixed_zoom
Definition types.h:36
f32 cam_angle_left
Definition types.h:46
f32 fixed_cam_vert_angle
Definition types.h:50
Definition types.h:146
bool(* callback4)(void)
Definition types.h:154
u32 flags2
Definition types.h:157
u32 flags1
Definition types.h:147
size_t x30
Definition types.h:159
bool(* callback6)(Vec3 *, int, HSD_JObj *)
Definition types.h:156
void(* callback2)(void)
on load callback
Definition types.h:152
void(* callback0)(void)
Definition types.h:150
void(* callback1)(int)
Definition types.h:151
S16Vec3 * x2C
Definition types.h:158
char * data1
Definition types.h:149
StageCallbacks * callbacks
Definition types.h:148
void(* callback3)(void)
on GO! callback
Definition types.h:153
Definition types.h:54
u8 b5
Definition types.h:68
void * x694[4]
Definition types.h:85
u8 b6
Definition types.h:69
u8 b3
Definition types.h:66
u8 b1
Definition types.h:64
int x6E4[2]
Definition types.h:108
Vec3 x730
Definition types.h:120
Article * unk4
Definition types.h:89
void * map_ptcl
Definition types.h:94
s16 x6DE
Definition types.h:106
void * x6A4
Definition types.h:86
u32 x9C
Definition types.h:75
u8 x190_pad[0x280 - 0x190]
Definition types.h:83
f32 x728
Definition types.h:118
HSD_JObj * x280[261]
Definition types.h:84
s32 x714
Definition types.h:113
Vec3 x13C
Definition types.h:79
u8 b2
Definition types.h:65
f32 x70C
Definition types.h:111
s16 x6D4
Definition types.h:102
void * yakumono_param
Definition types.h:96
void * map_plit
Definition types.h:97
Vec3 x130
Definition types.h:79
void * x6C8
Definition types.h:98
InternalStageId internal_stage_id
Definition types.h:60
UnkStage6B0 * param
Definition types.h:92
u8 b0
Definition types.h:63
HSD_GObj * x12C
Definition types.h:78
bool(* x94)(Vec3 *, int)
Definition types.h:73
Vec3 x16C
Definition types.h:79
f32 x710
Definition types.h:112
u32 flags
Definition types.h:58
u8 x744_pad[0x748 - 0x744]
Definition types.h:123
s16 x6D0
Definition types.h:100
bool(* x90)(Vec3 *, int)
Definition types.h:72
f32 x71C
Definition types.h:115
s16 x6D6
Definition types.h:103
f32 x6E0
Definition types.h:107
s16 x6D2
Definition types.h:101
u8 b4
Definition types.h:67
u8 x6EC_pad[0x708 - 0x6EC]
Definition types.h:109
s32 x98
Definition types.h:74
f32 x718
Definition types.h:114
u8 b7
Definition types.h:70
bool(* x17C)(Vec3 *, int, HSD_JObj *)
Definition types.h:81
struct StageInfo::@219 unk8C
DynamicModelDesc * quake_model_set
Definition types.h:99
u8 xA0[4]
Definition types.h:76
void * coll_data
Definition types.h:91
s32 unk0
Definition types.h:88
s16 x708
Definition types.h:110
StageBlastZone blast_zone
Definition types.h:56
UNK_T ** ald_yaku_all
Definition types.h:93
u8 xA4_pad[0x12C - 0xA4]
Definition types.h:77
HSD_GObj * x72C
Definition types.h:119
HSD_GObj * x180[4]
Definition types.h:82
s32 x720
Definition types.h:116
f32 x73C
Definition types.h:121
StageCameraInfo cam_info
Definition types.h:55
Vec3 x148
Definition types.h:79
void * map_texg
Definition types.h:95
s32 x740
Definition types.h:122
Vec3 x160
Definition types.h:79
Vec3 x154
Definition types.h:79
s32 x6D8
Definition types.h:104
struct StageInfo::@220 ** itemdata
f32 x724
Definition types.h:117
s16 x6DC
Definition types.h:105
Definition types.h:162
s32 stage_id
Definition types.h:163
s32 list_idx
Definition types.h:164
Definition types.h:828
UnkStageDat * unk4
Definition types.h:830
HSD_Archive * unk0
Definition types.h:829
u32 unk8
Definition types.h:831
Definition types.h:742
s16 x14
Definition types.h:748
u32 xC
Definition types.h:746
s16 x16
Definition types.h:749
u32 x10
Definition types.h:747
s16 x18
Definition types.h:750
u8 pad[0x64 - 0x1A]
Definition types.h:751
s32 x8
Definition types.h:745
s32 x4
Definition types.h:744
s32 x0
Definition types.h:743
Definition types.h:755
s16 x4
Definition types.h:757
f32 x24
Definition types.h:765
s32 x38
Definition types.h:770
GXColor xC4
Definition types.h:781
s32 x34
Definition types.h:769
UnkBgmStruct * xB0
Definition types.h:776
s32 x14
Definition types.h:763
f32 x54
Definition types.h:773
GXColor xC0
Definition types.h:780
s32 xB4
Definition types.h:777
s32 x10
Definition types.h:762
f32 x5C
Definition types.h:773
f32 x18
Definition types.h:764
f32 x50
Definition types.h:773
GXColor xC8
Definition types.h:782
s32 x30
Definition types.h:768
f32 x64
Definition types.h:773
u8 x2C_pad[0x2E - 0x2C]
Definition types.h:766
f32 x44
Definition types.h:771
f32 x20
Definition types.h:765
f32 x48
Definition types.h:771
GXColor xCC
Definition types.h:783
GXColor xD4
Definition types.h:785
GXColor xB8
Definition types.h:778
GXColor xBC
Definition types.h:779
f32 x40
Definition types.h:771
GXColor xD8
Definition types.h:786
u8 x6C_pad[0xB0 - 0x6A]
Definition types.h:775
f32 x3C
Definition types.h:771
s32 xC
Definition types.h:761
s16 x2E
Definition types.h:767
f32 x60
Definition types.h:773
s16 x68
Definition types.h:774
s16 x8
Definition types.h:759
s16 xA
Definition types.h:760
f32 x28
Definition types.h:765
GXColor xD0
Definition types.h:784
bool x4C_fixed_cam
Definition types.h:772
f32 x0
Definition types.h:756
f32 x58
Definition types.h:773
u8 x6_pad[2]
Definition types.h:758
f32 x1C
Definition types.h:765
Definition types.h:789
u32 unk4
Definition types.h:791
u8 x0_fill[0x4]
Definition types.h:790
Definition types.h:794
u8 _4[0x10 - 0x4]
Definition types.h:796
HSD_FogDesc * x1C
Definition types.h:800
s16 * x2C
Definition types.h:804
UNK_T x18
Definition types.h:799
struct HSD_Joint * unk0
Definition types.h:795
HSD_CameraDescPerspective * x10
Definition types.h:797
UNK_T x28
Definition types.h:803
UNK_T x14
Definition types.h:798
int x30
Definition types.h:805
S16Vec3 * unk20
Definition types.h:801
s32 unk24
Definition types.h:802
Definition types.h:808
void * unk0
Definition types.h:809
s32 unk4
Definition types.h:810
s32 unk2C
Definition types.h:824
struct UnkStageDat_x8_t * unk8
Definition types.h:812
s32 unk24
Definition types.h:821
HSD_Spline ** unk10
Definition types.h:815
s32 unk14
Definition types.h:816
void * unk20
Definition types.h:820
u8 x18_fill[0x20 - 0x18]
Definition types.h:818
UnkStageDatInternal ** unk28
Definition types.h:823
s32 unkC
Definition types.h:813
Definition types.h:561
u8 x0_b0
Definition types.h:562
Definition types.h:297
u8 x11A
Definition types.h:322
f32 x114
Definition types.h:319
u32 x10C
Definition types.h:317
HSD_JObj * x12C
Definition types.h:328
f32 xE8
Definition types.h:308
f32 xE0
Definition types.h:306
u32 x11C
Definition types.h:324
f32 xEC
Definition types.h:309
f32 xD8
Definition types.h:304
u32 x104
Definition types.h:315
Item_GObj * x120
Definition types.h:325
u32 xFC
Definition types.h:313
u32 x100
Definition types.h:314
u32 xC4_b1
Definition types.h:299
u32 x110
Definition types.h:318
u8 x118
Definition types.h:320
u32 xC4_b0
Definition types.h:298
u8 x119
Definition types.h:321
f32 xF4
Definition types.h:311
u8 x11B
Definition types.h:323
f32 xF0
Definition types.h:310
u32 xC8
Definition types.h:300
HSD_GObj * x128
Definition types.h:327
u32 xCC
Definition types.h:301
f32 xD4
Definition types.h:303
f32 xD0
Definition types.h:302
Item_GObj * x124
Definition types.h:326
u32 x108
Definition types.h:316
f32 xDC
Definition types.h:305
f32 xE4
Definition types.h:307
f32 xF8
Definition types.h:312
Definition types.h:222
grDynamicAttr_UnkStruct * next
Definition types.h:223
f32 unk18
Definition types.h:227
s32 unk14
Definition types.h:226
u8 x0_fill[0x24 - 0x20]
Definition types.h:229
Vec3 unk8
Definition types.h:225
s32 unk1C
Definition types.h:228
s32 unk4
Definition types.h:224
Definition types.h:544
UNK_T x0
Definition types.h:545
int x8
Definition types.h:547
UNK_T x4
Definition types.h:546
int xC
Definition types.h:548
Definition types.h:551
u8 x1
Definition types.h:553
u8 x0
Definition types.h:552
s32 x4
Definition types.h:554
Definition types.h:349
HSD_JObj * xF0
Definition types.h:361
HSD_JObj * xC8
Definition types.h:351
HSD_JObj * xE4
Definition types.h:358
f32 xC4
Definition types.h:350
HSD_JObj * xD8
Definition types.h:355
HSD_JObj * xD4
Definition types.h:354
HSD_JObj * xEC
Definition types.h:360
HSD_JObj * xCC
Definition types.h:352
HSD_JObj * xE8
Definition types.h:359
HSD_JObj * xF4
Definition types.h:362
HSD_JObj * xE0
Definition types.h:357
HSD_JObj * xDC
Definition types.h:356
HSD_JObj * xD0
Definition types.h:353
Definition types.h:331
s16 xDE
Definition types.h:344
s16 xC8
Definition types.h:334
s16 xE0
Definition types.h:345
HSD_GObj * xC4
Definition types.h:332
f32 xD4
Definition types.h:340
HSD_GObj * xC6
Definition types.h:333
s16 xDA
Definition types.h:342
void * xF4[6]
Definition types.h:347
s16 xDC
Definition types.h:343
f32 xE4
Definition types.h:346
s16 xD0
Definition types.h:339
s16 xCA
Definition types.h:335
s16 xCE
Definition types.h:337
s16 xCC
Definition types.h:336
s16 xD8
Definition types.h:341
Definition types.h:365
f32 x8
Definition types.h:369
s16 x20
Definition types.h:375
HSD_JObj * jobj2
Definition types.h:372
Item_GObj * item_gobj
Definition types.h:374
s16 x2
Definition types.h:367
s16 x22
Definition types.h:376
HSD_GObj * hatena_gobj
Definition types.h:373
f32 xC
Definition types.h:370
s32 x4
Definition types.h:368
s16 status
Definition types.h:366
HSD_JObj * jobj
Definition types.h:371
Definition types.h:418
s16 xD8
Definition types.h:423
s32 xC8
Definition types.h:420
grInishie1_Block * blocks
Definition types.h:422
s16 xCA
Definition types.h:425
s16 xC6
Definition types.h:426
HSD_JObj * xC4
Definition types.h:419
s16 xDA
Definition types.h:424
s32 xCC
Definition types.h:421
Definition types.h:430
s32 xCC
Definition types.h:433
HSD_JObj * xC4
Definition types.h:431
s32 xC8
Definition types.h:432
Definition types.h:380
s16 xCA
Definition types.h:396
u32 xC4
Definition types.h:382
s16 xE8
Definition types.h:404
s32 xD0
Definition types.h:398
HSD_JObj * x10C
Definition types.h:415
f32 xF8
Definition types.h:410
HSD_JObj * x108
Definition types.h:414
s32 xD8
Definition types.h:400
s16 xEC
Definition types.h:406
s16 xC8
Definition types.h:395
f32 x100
Definition types.h:412
u8 xC4_flags_b5
Definition types.h:389
u8 xC4_flags_b7
Definition types.h:391
f32 xE4
Definition types.h:403
u8 xC4_flags_b1
Definition types.h:385
u8 xC4_flags_b4
Definition types.h:388
f32 xF4
Definition types.h:409
f32 x104
Definition types.h:413
s16 xC6
Definition types.h:394
f32 xFC
Definition types.h:411
f32 xF0
Definition types.h:408
grInishie1_Block * blocks
Definition types.h:401
u8 xC4_flags_b3
Definition types.h:387
s16 xCC
Definition types.h:397
f32 xE0
Definition types.h:402
u8 xC4_flags_b2
Definition types.h:386
s16 xEE
Definition types.h:407
s32 xD4
Definition types.h:399
u8 xC4_flags_b0
Definition types.h:384
u8 xC4_flags_b6
Definition types.h:390
s16 xEA
Definition types.h:405
Definition types.h:455
HSD_GObj * xCC
Definition types.h:458
Item_GObj * xC4
Definition types.h:456
HSD_GObj * xC8
Definition types.h:457
Definition types.h:461
s16 xC6
Definition types.h:463
u8 b1
Definition types.h:466
u8 b4
Definition types.h:469
s16 xCA
Definition types.h:474
u8 b6
Definition types.h:471
struct grInishie2_GroundVars3::@232 xC8_flags
u8 b7
Definition types.h:472
u8 b3
Definition types.h:468
Vec3 xD8
Definition types.h:476
u8 b5
Definition types.h:470
u8 b2
Definition types.h:467
u8 b0
Definition types.h:465
Vec3 xCC
Definition types.h:475
s16 xC4
Definition types.h:462
Definition types.h:436
u8 b5
Definition types.h:443
Vec3 xD8
Definition types.h:451
u8 b1
Definition types.h:439
u8 b0
Definition types.h:438
s16 xCA
Definition types.h:449
u8 b6
Definition types.h:444
u8 b4
Definition types.h:442
s16 xC8
Definition types.h:448
u8 b2
Definition types.h:440
u8 b7
Definition types.h:445
s16 xCC
Definition types.h:450
s16 xC6
Definition types.h:447
struct grInishie2_GroundVars::@231 xC4_flags
u8 b3
Definition types.h:441
Definition types.h:258
f32 xE0
Definition types.h:267
HSD_Spline * xC4
Definition types.h:259
f32 xD8
Definition types.h:265
s16 xCE
Definition types.h:262
f32 xDC
Definition types.h:266
f32 xE8
Definition types.h:269
f32 xD0
Definition types.h:263
f32 xC8
Definition types.h:260
f32 xD4
Definition types.h:264
s16 xCC
Definition types.h:261
f32 xE4
Definition types.h:268
Definition types.h:274
f32 xE8
Definition types.h:286
f32 xD8
Definition types.h:282
f32 xE0
Definition types.h:284
HSD_JObj * xCC
Definition types.h:279
s16 xC4
Definition types.h:275
f32 xE4
Definition types.h:285
HSD_JObj * xD0
Definition types.h:280
f32 xD4
Definition types.h:281
s16 xCA
Definition types.h:278
f32 xDC
Definition types.h:283
s16 xC6
Definition types.h:276
s16 xC8
Definition types.h:277
Definition types.h:240
f32 xC8
Definition types.h:242
f32 xE8
Definition types.h:255
s16 xE4
Definition types.h:253
f32 xC4
Definition types.h:241
HSD_JObj * xE0
Definition types.h:252
struct grKongo_GroundVars::@225::@226 taru
HSD_JObj * xDC
Definition types.h:251
union grKongo_GroundVars::@225 u
f32 xD4
Definition types.h:249
void * keep
Definition types.h:246
f32 xD8
Definition types.h:250
s16 xE6
Definition types.h:254
f32 xCC
Definition types.h:243
Definition types.h:289
s8 x1
Definition types.h:291
f32 x4
Definition types.h:292
u8 x0
Definition types.h:290
f32 x8
Definition types.h:293
f32 xC
Definition types.h:294
Definition types.h:557
u8 x0_b0
Definition types.h:558
Definition types.h:571
u32 xC4
Definition types.h:572
HSD_JObj * xC8
Definition types.h:573
Definition types.h:565
u16 xC4
Definition types.h:566
s16 xC6
Definition types.h:567
HSD_JObj * xC8
Definition types.h:568
Definition types.h:496
s16 xEE
The focused player, or 99 if none.
Definition types.h:511
s16 xE6
Definition types.h:507
u8 xF8_1
Definition types.h:516
HSD_GObj * xDC
Zoomed camera feed.
Definition types.h:504
HSD_GObj * xD4
Text display.
Definition types.h:502
u8 xF8_2
Definition types.h:517
s16 xE4
Definition types.h:506
s16 xE8
Definition types.h:508
HSD_MObj * xCC
Definition types.h:500
s16 xF0
Definition types.h:512
u8 xC4_b1
Definition types.h:498
HSD_TObj * xC8
Definition types.h:499
s16 xEA
Definition types.h:509
HSD_GObj * xD8
Stage camera feed.
Definition types.h:503
s16 xEC
Definition types.h:510
u8 xF8_0
Definition types.h:515
s16 xF2
Definition types.h:513
int xE0
Definition types.h:505
HSD_ImageDesc * xD0
Definition types.h:501
u8 xC4_b0
Definition types.h:497
CameraBox * xF4
Definition types.h:514
Definition types.h:479
s16 xE2
Definition types.h:490
HSD_GObj * xE8
Definition types.h:492
u8 xC4_b0
Definition types.h:480
s16 xDC
Definition types.h:487
int xD8
Definition types.h:486
u8 xC4_b1
Definition types.h:481
UnkArchiveStruct * xD0
Definition types.h:484
HSD_GObj * xE4
Definition types.h:491
s16 xDE
Definition types.h:488
s16 xE0
Definition types.h:489
u32 xC8
Definition types.h:482
HSD_MObj * xCC
Definition types.h:483
float xD4
Definition types.h:485
Definition types.h:524
HSD_GObj * xD0_gobj
Definition types.h:529
HSD_GObj * xCC_gobj
Definition types.h:528
u8 xC4_b1
Definition types.h:526
HSD_JObj * xD4_jobj
Definition types.h:530
HSD_Generator * xC8
Definition types.h:527
u8 xC4_b0
Definition types.h:525
Definition types.h:533
int xC4
Definition types.h:534
Definition types.h:537
UNK_T x8
Definition types.h:540
u8 x0_b0
Definition types.h:538
Vec3 xC
Definition types.h:541
UNK_T x4
Definition types.h:539
Definition lbcardgame.c:303
void(* HSD_GObjEvent)(HSD_GObj *gobj)
Definition forward.h:107