SSBM Decomp
Loading...
Searching...
No Matches
ground.h
Go to the documentation of this file.
1
6
7#ifndef GALE01_1BFFA8
8#define GALE01_1BFFA8
9
10#include <Runtime/platform.h>
11
12#include <melee/lb/forward.h>
14
15#include <placeholder.h>
16
17#include <dolphin/gx.h>
18#include <dolphin/mtx.h>
19#include <melee/gr/types.h>
20
21/* 1BFFB0 */ void Ground_801BFFB0(void);
22/* 1C0378 */ void Ground_801C0378(int);
23/* 1C0498 */ float Ground_801C0498(void);
24/* 1C04BC */ void Ground_SetParamY(float y);
25/* 1C0508 */ s32 Ground_801C0508(void);
26/* 1C052C */ void Ground_801C052C(GXColor*);
27/* 1C0544 */ void Ground_801C0544(GXColor*);
28/* 1C055C */ void Ground_801C055C(GXColor*);
29/* 1C0574 */ void Ground_801C0574(GXColor*);
30/* 1C058C */ void Ground_801C058C(GXColor*);
31/* 1C05A4 */ void Ground_801C05A4(GXColor*);
32/* 1C05BC */ void Ground_801C05BC(GXColor*);
33/* 1C05D4 */ void Ground_801C05D4(GXColor*);
34/* 1C05EC */ void Ground_801C05EC(GXColor*);
35/* 1C0604 */ GXColor* Ground_801C0604(void);
36/* 1C0618 */ GXColor* Ground_801C0618(void);
37/* 1C062C */ GXColor* Ground_801C062C(void);
38/* 1C0640 */ GXColor* Ground_801C0640(void);
39/* 1C0654 */ GXColor* Ground_801C0654(void);
40/* 1C0668 */ GXColor* Ground_801C0668(void);
41/* 1C067C */ GXColor* Ground_801C067C(void);
42/* 1C0690 */ GXColor* Ground_801C0690(void);
43/* 1C06A4 */ GXColor* Ground_801C06A4(void);
44/* 1C06B8 */ void Ground_801C06B8(GrKind);
45/* 1C0754 */ void Ground_801C0754(StageIdPair* pair);
46/* 1C0800 */ void Ground_801C0800(StageIdPair* pair);
47/* 1C0F78 */ void Ground_OnLoad(StageIdPair* pair);
48/* 1C0FB8 */ void Ground_801C0FB8(StageIdPair* pair);
49/* 1C1074 */ void Ground_DemoInit(StageIdPair* pair, s32);
50/* 1C10B8 */ void Ground_801C10B8(HSD_GObj*, HSD_GObjEvent);
51/* 1C1154 */ void Ground_801C1154(void);
52/* 1C1158 */ void Ground_801C1158(void);
53/* 1C11AC */ void Ground_801C11AC(HSD_GObj* gobj);
54/* 1C13D0 */ HSD_JObj* Ground_801C13D0(s32, s32 depth);
55/* 1C14D0 */ Ground_GObj* Ground_GetStageGObj(int);
56/* 1C1A20 */ HSD_GObj* Ground_801C1A20(HSD_Joint*, s32);
57/* 1C1D6C */ void Ground_801C1D6C(u32);
58/* 1C1D84 */ u32 Ground_801C1D84(void);
59/* 1C1D98 */ u32 Ground_801C1D98(void);
60/* 1C1DAC */ u32 Ground_801C1DAC(void);
61/* 1C1DC0 */ u32 Ground_801C1DC0(void);
62/* 1C1DD4 */ int Ground_801C1DD4(void);
63/* 1C1DE4 */ void Ground_801C1DE4(s32*, s32*);
64/* 1C1E00 */ void Ground_801C1E00(s32);
65/* 1C1E18 */ s32 Ground_801C1E18(void);
66/* 1C1E84 */ HSD_GObj* Ground_801C1E84(void);
67/* 1C1FFC */ void Ground_ApplyStageBackgroundColor(void);
68/* 1C205C */ void Ground_801C205C(GXColor* color);
69/* 1C2090 */ bool Ground_801C2090(GXColor* color);
70/* 1C20D0 */ f32 Ground_801C20D0(void);
71/* 1C2374 */ void Ground_801C2374(HSD_LObj* lobj);
72/* 1C247C */ HSD_Spline* Ground_801C247C(s32, s32);
73/* 1C28AC */ bool Ground_801C28AC(StKind, u32, s32*);
74/* 1C2AD8 */ s32* Ground_801C2AD8(void);
75/* 1C2AE8 */ float Ground_801C2AE8(StKind);
76/* 1C2BA4 */ Ground_GObj* Ground_GetMapGObj(int map_id);
77/* 1C2C8C */ bool Ground_801C2C8C(void*);
78/* 1C2CF4 */ HSD_JObj* Ground_801C2CF4(s32);
79/* 1C2D0C */ void Ground_801C2D0C(s32 i, HSD_JObj* jobj);
80/* 1C2D24 */ bool Ground_801C2D24(enum_t, Vec3*);
84/* 1C2ED0 */ bool Ground_InitMapColl(HSD_JObj* jobj, s32 map_id);
89/* 1C2FE0 */ bool Ground_UpdateMapColl(Ground_GObj*);
90/* 1C3128 */ bool Ground_801C3128(int gobj_id, void (*)(int));
91/* 1C3214 */ bool Ground_801C3214(int gobj_id);
92/* 1C3260 */ bool Ground_801C3260(s32);
93/* 1C32AC */ void Ground_801C32AC(int gobj_id);
94/* 1C32D4 */ s32 Ground_801C32D4(s32, s32);
95/* 1C33C0 */ s32 Ground_801C33C0(s32, s32);
96/* 1C36F4 */ void Ground_801C36F4(int map_id, HSD_JObj* jobj, UNK_T joint);
97/* 1C3880 */ void Ground_801C3880(f32);
98/* 1C3890 */ void Ground_801C3890(f32);
99/* 1C38A0 */ void Ground_801C38A0(f32);
100/* 1C38AC */ void Ground_801C38AC(f32);
101/* 1C38BC */ void Ground_801C38BC(f32 x, f32 y);
102/* 1C38D0 */ void Ground_801C38D0(f32 tilt, f32 pan, f32, f32);
103/* 1C38EC */ void Ground_801C38EC(f32 depth, f32 zoom);
104/* 1C3900 */ void Ground_801C3900(f32, f32, f32, f32, f32 up, f32 down,
105 f32 left, f32 right);
106/* 1C392C */ void Ground_801C392C(f32 x, f32 y, f32 z, f32 fov, f32 vert,
107 f32 horz);
108/* 1C3950 */ void Ground_801C3950(f32 zoom);
109/* 1C3960 */ void Ground_801C3960(f32 ratio);
110/* 1C3970 */ void Ground_801C3970(f32 smooth);
111/* 1C3980 */ void Ground_801C3980(f32 top);
112/* 1C3990 */ void Ground_801C3990(f32 bottom);
113/* 1C39A0 */ void Ground_801C39A0(f32 left);
114/* 1C39B0 */ void Ground_801C39B0(f32 right);
115/* 1C39C0 */ void Ground_801C39C0(void);
116/* 1C3BA8 */ void Ground_801C3BA8(HSD_GObj*, StageCallbacks*, int, int);
117/* 1C3BB4 */ void Ground_801C3BB4(void);
118/* 1C3D44 */ s32 Ground_801C3D44(void*, f32, f32);
119/* 1C3DB4 */ s32 Ground_801C3DB4(void*, f32, f32);
120/* 1C3F20 */ f32 Ground_801C3F20(HSD_JObj*);
121/* 1C3FA4 */ HSD_JObj* Ground_801C3FA4(HSD_GObj* gobj, int depth);
122/* 1C4100 */ HSD_JObj* Ground_801C4100(HSD_JObj* jobj);
123/* 1C4210 */ s32 Ground_801C4210(void);
124/* 1C42AC */ void Ground_801C42AC(void);
125/* 1C4338 */ void Ground_801C4338(void);
126/* 1C4368 */ void Ground_801C4368(float* slope, float* intercept);
127/* 1C438C */ void Ground_801C438C(f32 val);
128/* 1C43A4 */ void Ground_801C43A4(UNK_T);
129/* 1C43C4 */ bool Ground_801C43C4(void*);
130/* 1C445C */ void Ground_801C445C(HSD_LObj* lobj);
131/* 1C498C */ HSD_GObj* Ground_801C498C(void);
132/* 1C49B4 */ LightList** Ground_801C49B4(void);
133/* 1C49F8 */ void* Ground_GetYakumonoParam(void);
134/* 1C4A08 */ void Ground_801C4A08(HSD_GObj* gobj);
135
142/* 1C4B50 */ void Ground_801C4B50(HSD_Spline* spline, Vec3* arg1, Vec3* result,
143 f32 arg8);
144
145/* 1C4D70 */ bool Ground_801C4D70(HSD_GObj*, Vec3*, f32);
146/* 1C4DA0 */ bool Ground_801C4DA0(Vec3*, f32*);
147/* 1C4DD0 */ bool Ground_801C4DD0(void);
148/* 1C4E20 */ bool Ground_801C4E20(void);
149/* 1C4E70 */ void Ground_801C4E70(HSD_JObj*, HSD_JObj*, HSD_JObj*, HSD_JObj*,
150 HSD_JObj*, HSD_JObj*);
151/* 1C4FAC */ void Ground_801C4FAC(HSD_CObj* cobj);
152/* 1C53EC */ void Ground_801C53EC(u32);
153/* 1C5414 */ void Ground_801C5414(int, int);
154/* 1C5440 */ void Ground_801C5440(Ground* gp, s32 i, u32);
155/* 1C54DC */ bool Ground_801C54DC(Ground* gp, s32 i);
156/* 1C5544 */ void Ground_801C5544(Ground*, s32);
157/* 1C5630 */ void Ground_801C5630(Ground* gp, s32 i, f32 val);
158/* 1C5694 */ void Ground_801C5694(Ground* gp, s32 i, f32 val);
159/* 1C5700 */ lbColl_80008D30_arg1* Ground_801C5700(int i);
160/* 1C5740 */ void Ground_801C5740(s32);
161/* 1C5750 */ void Ground_801C5750(void);
162/* 1C5764 */ s32 Ground_801C5764(void);
163/* 1C5774 */ s32 Ground_801C5774(void);
164/* 1C5784 */ void Ground_801C5784(s32);
165/* 1C5794 */ s32 Ground_801C5794(void);
166/* 1C57A4 */ Fighter_GObj* Ground_GetP1Fighter(void);
167/* 1C57C8 */ Fighter_GObj* Ground_GetP1Fighter2(void);
168/* 1C57F0 */ f32 Ground_801C57F0(int);
169
178/* 1C5800 */ void Ground_EnableMatchCamera(void);
179
180/* 1C5840 */ s32 Ground_801C5840(void);
181/* 1C58E0 */ Item_GObj* Ground_801C58E0(s32, s32);
182/* 1C5940 */ int Ground_801C5940(void);
183/* 1C5A28 */ void Ground_801C5A28(void);
184/* 1C5A60 */ void Ground_801C5A60(void);
185/* 1C5A84 */ void Ground_801C5A84(s32);
186/* 1C5A94 */ s32 Ground_801C5A94(void);
187/* 1C5AA4 */ void Ground_801C5AA4(bool);
188/* 1C5ABC */ bool Ground_801C5ABC(void);
189/* 1C5AD0 */ u32 Ground_801C5AD0(s32 i);
190/* 1C5AEC */ void Ground_801C5AEC(Vec3* v, Vec3*, Vec3*, Vec3*);
191/* 49E6C8 */ extern StageInfo stage_info;
192
193typedef struct LightOverrideEntry {
194 /* 0x0 */ HSD_LightDesc* desc;
195 /* 0x4 */ u8 a : 1;
196 /* 0x4 */ u8 b : 1;
197 /* 0x4 */ u8 c : 1;
198 /* 0x4 */ u8 _ : 5;
199 /* 0x5 */ u8 _pad[3];
201
202#endif
StageInfo stage_info
Definition ground.c:142
void Ground_801C3900(f32, f32, f32, f32, f32 up, f32 down, f32 left, f32 right)
Definition ground.c:2072
s32 Ground_801C3DB4(void *, f32, f32)
Definition ground.c:2335
f32 Ground_801C57F0(int)
Definition ground.c:3200
bool Ground_801C54DC(Ground *gp, s32 i)
Definition ground.c:3093
void * Ground_GetYakumonoParam(void)
Definition ground.c:2765
s32 Ground_801C0508(void)
Definition ground.c:319
void Ground_801C3BB4(void)
Definition ground.c:2237
HSD_Spline * Ground_801C247C(s32, s32)
Definition ground.c:1324
void Ground_801C3950(f32 zoom)
Definition ground.c:2095
s32 Ground_801C4210(void)
Definition ground.c:2433
bool Ground_801C2090(GXColor *color)
Definition ground.c:1166
void Ground_801C5630(Ground *gp, s32 i, f32 val)
Definition ground.c:3129
void Ground_801C1154(void)
Definition ground.c:740
void Ground_801BFFB0(void)
Definition ground.c:209
void Ground_801C05BC(GXColor *)
Definition ground.c:361
GXColor * Ground_801C06A4(void)
Definition ground.c:427
HSD_JObj * Ground_801C2CF4(s32)
Definition ground.c:1582
void Ground_801C5AEC(Vec3 *v, Vec3 *, Vec3 *, Vec3 *)
Definition ground.c:3318
f32 Ground_801C3F20(HSD_JObj *)
Definition ground.c:2369
void Ground_801C5784(s32)
Definition ground.c:3177
void Ground_801C3970(f32 smooth)
Definition ground.c:2105
void Ground_801C1D6C(u32)
Definition ground.c:1016
bool Ground_801C4E20(void)
Definition ground.c:2901
void Ground_801C1E00(s32)
Definition ground.c:1052
void Ground_801C4B50(HSD_Spline *spline, Vec3 *arg1, Vec3 *result, f32 arg8)
Definition ground.c:2821
void Ground_801C4FAC(HSD_CObj *cobj)
Definition ground.c:2954
s32 Ground_801C5774(void)
Definition ground.c:3172
s32 Ground_801C5794(void)
Definition ground.c:3182
bool Ground_801C4DA0(Vec3 *, f32 *)
Definition ground.c:2883
s32 * Ground_801C2AD8(void)
Definition ground.c:1523
bool Ground_801C3214(int gobj_id)
Definition ground.c:1768
s32 Ground_801C5A94(void)
Definition ground.c:3298
s32 Ground_801C33C0(s32, s32)
Definition ground.c:1826
void Ground_801C5414(int, int)
Definition ground.c:3064
void Ground_801C0574(GXColor *)
Definition ground.c:343
bool Ground_InitMapColl(HSD_JObj *jobj, s32 map_id)
Binds each collision joint of map map_id to a joint of jobj, syncs it to the model,...
Definition ground.c:1639
u32 Ground_801C5AD0(s32 i)
Definition ground.c:3313
bool Ground_801C3260(s32)
Definition ground.c:1778
void Ground_801C5A60(void)
Definition ground.c:3288
Fighter_GObj * Ground_GetP1Fighter(void)
Definition ground.c:3187
GXColor * Ground_801C0604(void)
Definition ground.c:379
void Ground_SetParamY(float y)
Definition ground.c:310
s32 Ground_801C5840(void)
Definition ground.c:3214
void Ground_801C38EC(f32 depth, f32 zoom)
Definition ground.c:2066
bool Ground_801C4D70(HSD_GObj *, Vec3 *, f32)
Definition ground.c:2875
void Ground_801C5544(Ground *, s32)
Definition ground.c:3104
void Ground_801C38AC(f32)
Definition ground.c:2047
void Ground_801C3960(f32 ratio)
Definition ground.c:2100
GXColor * Ground_801C0690(void)
Definition ground.c:421
void Ground_801C32AC(int gobj_id)
Definition ground.c:1787
s32 Ground_801C3D44(void *, f32, f32)
Definition ground.c:2320
void Ground_801C5750(void)
Definition ground.c:3162
void Ground_801C0FB8(StageIdPair *pair)
Definition ground.c:699
Ground_GObj * Ground_GetMapGObj(int map_id)
Definition ground.c:1543
void Ground_801C39B0(f32 right)
Definition ground.c:2125
void Ground_801C5AA4(bool)
Definition ground.c:3303
LightList ** Ground_801C49B4(void)
Definition ground.c:2756
void Ground_801C0754(StageIdPair *pair)
Definition ground.c:453
void Ground_801C052C(GXColor *)
Definition ground.c:325
bool Ground_801C28AC(StKind, u32, s32 *)
Definition ground.c:1480
s32 Ground_801C1E18(void)
Definition ground.c:1057
float Ground_801C2AE8(StKind)
Definition ground.c:1528
HSD_JObj * Ground_801C13D0(s32, s32 depth)
Definition ground.c:789
void Ground_EnableMatchCamera(void)
Restores the in-match camera mode after unpause.
Definition ground.c:3205
void Ground_801C055C(GXColor *)
Definition ground.c:337
bool Ground_UpdateMapColl(Ground_GObj *)
Re-syncs the collision joints of the map to its animated model.
Definition ground.c:1673
void Ground_801C43A4(UNK_T)
Definition ground.c:2490
GXColor * Ground_801C067C(void)
Definition ground.c:415
void Ground_801C42AC(void)
Definition ground.c:2454
int Ground_801C1DD4(void)
Definition ground.c:1041
void Ground_801C445C(HSD_LObj *lobj)
Definition ground.c:2519
void Ground_801C1158(void)
Definition ground.c:742
bool Ground_801C2C8C(void *)
Definition ground.c:1571
void Ground_801C11AC(HSD_GObj *gobj)
Definition ground.c:757
bool Ground_801C3128(int gobj_id, void(*)(int))
Definition ground.c:1731
void Ground_801C4E70(HSD_JObj *, HSD_JObj *, HSD_JObj *, HSD_JObj *, HSD_JObj *, HSD_JObj *)
Definition ground.c:2912
void Ground_801C36F4(int map_id, HSD_JObj *jobj, UNK_T joint)
Definition ground.c:1982
void Ground_801C2374(HSD_LObj *lobj)
Definition ground.c:1298
GXColor * Ground_801C0668(void)
Definition ground.c:409
void Ground_801C38A0(f32)
Definition ground.c:2042
HSD_GObj * Ground_801C498C(void)
Definition ground.c:2743
void Ground_801C38BC(f32 x, f32 y)
Definition ground.c:2052
void Ground_801C1DE4(s32 *, s32 *)
Definition ground.c:1046
void Ground_801C39C0(void)
Definition ground.c:2130
u32 Ground_801C1D84(void)
Definition ground.c:1021
GXColor * Ground_801C0654(void)
Definition ground.c:403
void Ground_801C3980(f32 top)
Definition ground.c:2110
void Ground_801C39A0(f32 left)
Definition ground.c:2120
void Ground_801C5A84(s32)
Definition ground.c:3293
int Ground_801C5940(void)
Definition ground.c:3250
void Ground_801C0800(StageIdPair *pair)
Definition ground.c:468
GXColor * Ground_801C062C(void)
Definition ground.c:391
u32 Ground_801C1DAC(void)
Definition ground.c:1031
lbColl_80008D30_arg1 * Ground_801C5700(int i)
Definition ground.c:3149
void Ground_801C3BA8(HSD_GObj *, StageCallbacks *, int, int)
u32 Ground_801C1D98(void)
Definition ground.c:1026
float Ground_801C0498(void)
Definition ground.c:292
GXColor * Ground_801C0640(void)
Definition ground.c:397
Fighter_GObj * Ground_GetP1Fighter2(void)
Definition ground.c:3192
bool Ground_801C43C4(void *)
Definition ground.c:2495
s32 Ground_801C32D4(s32, s32)
Definition ground.c:1792
void Ground_801C10B8(HSD_GObj *, HSD_GObjEvent)
Definition ground.c:725
void Ground_801C0378(int)
Definition ground.c:280
Item_GObj * Ground_801C58E0(s32, s32)
Definition ground.c:3239
void Ground_801C05EC(GXColor *)
Definition ground.c:373
void Ground_801C058C(GXColor *)
Definition ground.c:349
u32 Ground_801C1DC0(void)
Definition ground.c:1036
void Ground_801C06B8(GrKind)
Definition ground.c:433
void Ground_DemoInit(StageIdPair *pair, s32)
Definition ground.c:714
s32 Ground_801C5764(void)
Definition ground.c:3167
void Ground_801C4A08(HSD_GObj *gobj)
Stage destroy ground gobj.
Definition ground.c:2783
void Ground_801C205C(GXColor *color)
Definition ground.c:1156
void Ground_801C05A4(GXColor *)
Definition ground.c:355
void Ground_ApplyStageBackgroundColor(void)
Definition ground.c:1146
void Ground_801C4338(void)
Definition ground.c:2470
void Ground_801C3880(f32)
Definition ground.c:2032
void Ground_801C438C(f32 val)
Definition ground.c:2484
void Ground_801C05D4(GXColor *)
Definition ground.c:367
void Ground_801C5740(s32)
Definition ground.c:3157
void Ground_OnLoad(StageIdPair *pair)
Definition ground.c:688
void Ground_801C3990(f32 bottom)
Definition ground.c:2115
void Ground_801C53EC(u32)
Definition ground.c:3059
f32 Ground_801C20D0(void)
Definition ground.c:1178
void Ground_801C5A28(void)
Definition ground.c:3281
HSD_GObj * Ground_801C1A20(HSD_Joint *, s32)
Definition ground.c:945
HSD_JObj * Ground_801C4100(HSD_JObj *jobj)
Definition ground.c:2414
bool Ground_801C2D24(enum_t, Vec3 *)
Definition ground.c:1592
void Ground_801C4368(float *slope, float *intercept)
Definition ground.c:2478
void Ground_801C392C(f32 x, f32 y, f32 z, f32 fov, f32 vert, f32 horz)
Definition ground.c:2085
void Ground_801C2D0C(s32 i, HSD_JObj *jobj)
Definition ground.c:1587
void Ground_801C38D0(f32 tilt, f32 pan, f32, f32)
Definition ground.c:2058
void Ground_801C3890(f32)
Definition ground.c:2037
void Ground_801C0544(GXColor *)
Definition ground.c:331
void Ground_801C5440(Ground *gp, s32 i, u32)
Definition ground.c:3071
void Ground_801C5694(Ground *gp, s32 i, f32 val)
Definition ground.c:3139
GXColor * Ground_801C0618(void)
Definition ground.c:385
Ground_GObj * Ground_GetStageGObj(int)
Definition ground.c:821
bool Ground_801C4DD0(void)
Definition ground.c:2890
bool Ground_801C5ABC(void)
Definition ground.c:3308
HSD_GObj * Ground_801C1E84(void)
Definition ground.c:1079
HSD_JObj * Ground_801C3FA4(HSD_GObj *gobj, int depth)
Definition ground.c:2378
struct Vec Vec3
signed int s32
Definition types.h:12
unsigned int u32
Definition types.h:13
float f32
Definition types.h:18
unsigned char u8
Definition types.h:5
HSD_GObj Ground_GObj
Definition forward.h:48
StKind
Definition forward.h:143
GrKind
Definition forward.h:57
HSD_GObj Item_GObj
Definition forward.h:62
#define UNK_T
Definition placeholder.h:24
int enum_t
The underlying type of an enum, used as a placeholder.
Definition platform.h:29
Definition GXStruct.h:27
Definition types.h:1771
Definition cobj.h:39
Definition gobj.h:16
Definition jobj.h:106
Definition jobj.h:129
Definition lobj.h:57
Definition lobj.h:80
Definition spline.h:6
Definition types.h:29
Definition ground.h:193
u8 c
Definition ground.h:197
u8 b
Definition ground.h:196
u8 _pad[3]
Definition ground.h:199
u8 _
Definition ground.h:198
HSD_LightDesc * desc
Definition ground.h:194
u8 a
Definition ground.h:195
Definition types.h:131
Definition types.h:173
Definition types.h:59
Definition forward.h:108
void(* HSD_GObjEvent)(HSD_GObj *gobj)
Definition forward.h:113