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