SSBM Decomp
Loading...
Searching...
No Matches
crowdsfx.h
Go to the documentation of this file.
1#ifndef MELEE_CROWD_CROWDSFX_H
2#define MELEE_CROWD_CROWDSFX_H
3
5
6typedef struct CrowdSFX_UnkStruct {
7 /* 0x00 */ s32 x0;
8 /* 0x04 */ s32 x4;
9 /* 0x08 */ f32 x8;
10 /* 0x0C */ u32 xC;
11 /* 0x10 */ s32 x10;
12 /* 0x14 */ s32 x14;
13 /* 0x18 */ s32 x18;
14 /* 0x1C */ s32 x1C;
15 /* 0x20 */ s32 x20;
16 /* 0x24 */ s32 x24;
17 /* 0x28 */ s32 x28;
18 /* 0x2C */ s32 x2C;
20
28typedef struct CrowdConfig {
34 /* 0x0C */ f32 angle_min;
35 /* 0x10 */ f32 angle_max;
36 /* 0x14 */ f32 angle_mult;
37 /* 0x18 */ f32 x18;
38 /* 0x1C */ s32 x1C;
40 /* 0x20 */ s32 cheer_limit;
41 /* 0x24 */ s32 x24;
42 /* 0x28 */ s32 max_gasp_count;
44 /* 0x2C */ f32 horiz_margin;
46 /* 0x30 */ f32 recovery_y_high;
47 /* 0x34 */ f32 recovery_y_mid;
48 /* 0x38 */ f32 recovery_y_low;
54
55/* 321900 */ void sfx_setupCrowdSFX(void);
56/* 321950 */ void sfx_initCrowdSFX(CrowdSFX_UnkStruct*);
57/* 3219AC */ void fn_803219AC(HSD_GObj*);
58/* 321A00 */ void un_80321A00(HSD_GObj*);
59/* 321AF4 */ void un_80321AF4(HSD_GObj* gobj);
60/* 321BF8 */ void un_80321BF8(int);
61/* 321C28 */ void un_80321C28(void);
62/* 321C70 */ void un_80321C70(void);
63/* 321CA4 */ void un_80321CA4(s32);
64/* 321CE8 */ void un_80321CE8(void);
65/* 321D30 */ void un_80321D30(u32, f32);
66/* 321EBC */ bool un_80321EBC(u32, f32);
67/* 32201C */ bool un_8032201C(u32, s32);
68/* 322178 */ void un_80322178(int);
69/* 322258 */ bool un_80322258(float);
70/* 322298 */ s32 un_80322298(float);
71/* 3222EC */ float un_803222EC(float mag, float angle);
72/* 322314 */ void un_80322314(void);
73/* 32233C */ void un_8032233C(u32, u32);
74/* 3224DC */ bool un_803224DC(s32 spawn_id, f32 pos_x, f32 kb_mag);
75/* 322598 */ int un_80322598(int, float);
76/* 4A2F08 */ extern CrowdSFX_UnkStruct crowdsfx;
77/* 4D6500 */ extern CrowdConfig* gCrowdConfig;
78/* 4D7050 */ extern CrowdSFX_UnkStruct* crowdsfx_ptr;
79
80#endif
CrowdSFX_UnkStruct * crowdsfx_ptr
Definition crowdsfx.c:14
CrowdSFX_UnkStruct crowdsfx
Definition crowdsfx.c:13
int un_80322598(int, float)
Definition crowdsfx.c:514
void un_80321C70(void)
Definition crowdsfx.c:139
void sfx_initCrowdSFX(CrowdSFX_UnkStruct *)
Definition sfx_unk.c:13
bool un_803224DC(s32 spawn_id, f32 pos_x, f32 kb_mag)
Definition crowdsfx.c:469
void un_80321CE8(void)
Definition crowdsfx.c:163
void un_8032233C(u32, u32)
Definition crowdsfx.c:409
bool un_80322258(float)
Definition crowdsfx.c:355
float un_803222EC(float mag, float angle)
Definition crowdsfx.c:386
bool un_8032201C(u32, s32)
Definition crowdsfx.c:277
void un_80321BF8(int)
Definition crowdsfx.c:106
s32 un_80322298(float)
Definition crowdsfx.c:371
bool un_80321EBC(u32, f32)
Definition crowdsfx.c:218
void un_80321A00(HSD_GObj *)
Definition crowdsfx.c:26
void un_80321C28(void)
Definition crowdsfx.c:112
void fn_803219AC(HSD_GObj *)
Definition crowdsfx.c:16
void un_80321AF4(HSD_GObj *gobj)
Definition crowdsfx.c:65
void un_80321D30(u32, f32)
Definition crowdsfx.c:182
void sfx_setupCrowdSFX(void)
Definition sfx_unk.c:5
void un_80322314(void)
Definition crowdsfx.c:398
void un_80321CA4(s32)
Definition crowdsfx.c:153
void un_80322178(int)
Definition crowdsfx.c:320
unsigned long u32
Definition types.h:9
float f32
Definition types.h:13
signed long s32
Definition types.h:8
CrowdConfig * gCrowdConfig
Definition fighter.c:117
HSD_GObj * gobj
Definition gm_19EF.c:73
Configuration for crowd/announcer reactions during matches.
Definition crowdsfx.h:28
f32 blastzone_y_offset
Y-offset added to blast zone bottom for proximity check.
Definition crowdsfx.h:52
f32 angle_mult
Definition crowdsfx.h:36
f32 recovery_y_high
Y-position thresholds for recovery gasp intensity (cat 3/2/1).
Definition crowdsfx.h:46
f32 angle_min
Angle range and multiplier for crowd reaction modifier.
Definition crowdsfx.h:34
s32 x24
Definition crowdsfx.h:41
s32 fighters_near_blastzone
Fighter count threshold to trigger blast zone proximity gasp.
Definition crowdsfx.h:50
f32 angle_max
Definition crowdsfx.h:35
f32 kb_threshold_low
Knockback thresholds for crowd gasp intensity (cat 1/2/3).
Definition crowdsfx.h:30
s32 max_gasp_count
Definition crowdsfx.h:42
f32 kb_threshold_mid
Definition crowdsfx.h:31
s32 x1C
Definition crowdsfx.h:38
f32 horiz_margin
Horizontal margin from blast zone for out-of-bounds check.
Definition crowdsfx.h:44
f32 recovery_y_mid
Definition crowdsfx.h:47
f32 kb_threshold_high
Definition crowdsfx.h:32
s32 cheer_limit
Cheer/gasp timing limits.
Definition crowdsfx.h:40
f32 recovery_y_low
Definition crowdsfx.h:48
f32 x18
Definition crowdsfx.h:37
Definition crowdsfx.h:6
s32 x10
Definition crowdsfx.h:11
u32 xC
Definition crowdsfx.h:10
s32 x1C
Definition crowdsfx.h:14
s32 x24
Definition crowdsfx.h:16
s32 x14
Definition crowdsfx.h:12
f32 x8
Definition crowdsfx.h:9
s32 x18
Definition crowdsfx.h:13
s32 x28
Definition crowdsfx.h:17
s32 x4
Definition crowdsfx.h:8
s32 x20
Definition crowdsfx.h:15
s32 x0
Definition crowdsfx.h:7
s32 x2C
Definition crowdsfx.h:18
Definition gobj.h:13