Skip to content

Commit 0e5f204

Browse files
committed
map7_s03: func_800E62CC
1 parent 5acef77 commit 0e5f204

3 files changed

Lines changed: 412 additions & 10 deletions

File tree

include/bodyprog/sound_effects.h

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,15 @@ typedef enum _SfxId
304304

305305
Sfx_Unk1916 = 1916,
306306

307-
/** Values starting from `4096` are XA files defined at `g_XaItemData` struct.
308-
* In both `Sd_XaAudioPlayCmdAdd` (call through `Sd_EngineCmd`) and `Sd_XaPreLoadAudioCmdAdd`
309-
* (call through `Sd_XaPreLoadAudio`) when the command get assigned to
310-
* `D_800C1658.xaAudioIdxCheck_2` or `D_800C1658.xaAudioIdxCheck_4` it also pass through a
311-
* AND bitwise operator with the value of `0xFFF`. This make sense as `4096` in hexadecimal
312-
* is `0x1000` meaning that the fourth value (1) is getting ignored and is only considering
313-
* the other values which start from 0.
314-
*/
315-
307+
/** Values starting from `4096` are XA files defined at `g_XaItemData` struct.
308+
* In both `Sd_XaAudioPlayCmdAdd` (call through `Sd_EngineCmd`) and `Sd_XaPreLoadAudioCmdAdd`
309+
* (call through `Sd_XaPreLoadAudio`) when the command get assigned to
310+
* `D_800C1658.xaAudioIdxCheck_2` or `D_800C1658.xaAudioIdxCheck_4` it also pass through a
311+
* AND bitwise operator with the value of `0xFFF`. This make sense as `4096` in hexadecimal
312+
* is `0x1000` meaning that the fourth value (1) is getting ignored and is only considering
313+
* the other values which start from 0.
314+
*/
315+
316316
Sfx_XaAudio12 = 4108,
317317

318318
Sfx_XaAudio53 = 4149,
@@ -326,8 +326,13 @@ typedef enum _SfxId
326326

327327
Sfx_XaAudio568 = 4664,
328328

329+
Sfx_XaAudio596 = 4692,
330+
329331
Sfx_XaAudio600 = 4696,
332+
330333
Sfx_XaAudio603 = 4699,
331334

335+
Sfx_XaAudio657 = 4753,
336+
332337
Sfx_Hack = NO_VALUE, // @hack Force enum to be treated as `s32`.
333338
} e_SfxId;

include/maps/map7/map7_s03.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,30 @@
3838
#define MAP_ROOM_MIN_Z Q12(-160.0f)
3939
#define MAP_ROOM_MAX_Z Q12(0.f)
4040

41+
typedef struct
42+
{
43+
VECTOR3 field_0;
44+
u8 unk_C[4];
45+
u8 unk_10[0x28];
46+
s32 flags_38;
47+
} s_800ED7E0_ptr;
48+
STATIC_ASSERT_SIZEOF(s_800ED7E0_ptr, 0x3C);
49+
4150
extern s32 D_800ED73C; // } RNG related values?
4251
extern s32 D_800ED740; // }
4352

4453
extern u16 D_800ED77C;
4554

55+
extern s_800ED7E0_ptr* D_800ED7E0[];
56+
4657
extern u16 D_800ED88C;
4758

4859
extern s32 D_800EDA00;
4960

5061
extern u8 D_800EDA08;
5162

63+
extern s32 D_800EDA0C;
64+
5265
extern s16 D_800F23D0;
5366

5467
extern s32 D_800F23D4;
@@ -89,6 +102,8 @@ extern u8 D_800F481B;
89102

90103
extern s32 D_800F4820;
91104

105+
extern s32 D_800F4824;
106+
92107
extern s32 D_800F4828;
93108

94109
extern s32 D_800F4830;
@@ -121,6 +136,10 @@ void func_800D7CEC(void);
121136

122137
void func_800D7CF8(void);
123138

139+
void func_800D7D74(s32);
140+
141+
void func_800D7E50(VECTOR3*);
142+
124143
void func_800D7ED0(void);
125144

126145
void func_800D7EF0(void);
@@ -129,13 +148,17 @@ PACKET* func_800D7F10(void);
129148

130149
void func_800D7F20(u8* arg0);
131150

151+
void func_800D8858(s32);
152+
132153
void func_800D88C4(void);
133154

134155
void func_800D88CC(void);
135156
void func_800D88D8(void);
136157

137158
void func_800D9394(void);
138159

160+
void func_800D947C(void);
161+
139162
void func_800DB608(void);
140163
void func_800DD67C(VECTOR3*, s_SubCharacter*, GsCOORDINATE2*);
141164
void func_800DD7D0(VECTOR3*);
@@ -144,6 +167,7 @@ u8 func_800DD964(void);
144167
void func_800DD98C(s32);
145168
void func_800DD9B0(s_SubCharacter*);
146169
void func_800DD9D4(s_SubCharacter*);
170+
void func_800DD9F8(s_SubCharacter*);
147171
bool Ai_Incubus_Init(s_SubCharacter* chara, GsCOORDINATE2* coords);
148172
void func_800DDBBC(s_SubCharacter*);
149173
void func_800DEC74(s_SubCharacter*, GsCOORDINATE2*);
@@ -198,6 +222,8 @@ void func_800E4714(void);
198222

199223
void func_800E514C(void);
200224

225+
void func_800E62CC(void);
226+
201227
void func_800E70F0(void);
202228

203229
void func_800E9260(e_CharacterId, s32);

0 commit comments

Comments
 (0)