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
4#include <placeholder.h>
5
6#include <baselib/forward.h>
7
8typedef struct CrowdSFX_UnkStruct {
9 /* 0x00 */ s32 x0;
10 /* 0x04 */ s32 x4;
11 /* 0x08 */ f32 x8;
12 /* 0x0C */ u32 xC;
13 /* 0x10 */ s32 x10;
14 /* 0x14 */ s32 x14;
15 /* 0x18 */ s32 x18;
16 /* 0x1C */ s32 x1C;
17 /* 0x20 */ s32 x20;
18 /* 0x24 */ s32 x24;
19 /* 0x28 */ s32 x28;
20 /* 0x2C */ s32 x2C;
22
30typedef struct CrowdConfig {
36 /* 0x0C */ f32 angle_min;
37 /* 0x10 */ f32 angle_max;
38 /* 0x14 */ f32 angle_mult;
39 /* 0x18 */ f32 x18;
40 /* 0x1C */ s32 x1C;
42 /* 0x20 */ s32 cheer_limit;
43 /* 0x24 */ s32 x24;
44 /* 0x28 */ s32 max_gasp_count;
46 /* 0x2C */ f32 horiz_margin;
48 /* 0x30 */ f32 recovery_y_high;
49 /* 0x34 */ f32 recovery_y_mid;
50 /* 0x38 */ f32 recovery_y_low;
56
57/* 321900 */ void un_80321900(void);
58/* 321950 */ void un_80321950(CrowdSFX_UnkStruct*);
59/* 3219AC */ void fn_803219AC(HSD_GObj*);
60/* 321A00 */ void un_80321A00(HSD_GObj*);
61/* 321AF4 */ void un_80321AF4(HSD_GObj* gobj);
62/* 321BF8 */ void un_80321BF8(int);
63/* 321C28 */ void un_80321C28(void);
64/* 321C70 */ void un_80321C70(void);
65/* 321CA4 */ void un_80321CA4(s32);
66/* 321CE8 */ void un_80321CE8(void);
67/* 321D30 */ void un_80321D30(u32, f32);
68/* 321EBC */ bool un_80321EBC(u32, f32);
69/* 32201C */ bool un_8032201C(u32, s32);
70/* 322178 */ void un_80322178(int);
71/* 322258 */ bool un_80322258(float);
72/* 322298 */ s32 un_80322298(float);
73/* 3222EC */ float un_803222EC(float mag, float angle);
74/* 322314 */ void un_80322314(void);
75/* 32233C */ void un_8032233C(u32, u32);
76/* 3224DC */ bool un_803224DC(s32 spawn_id, f32 pos_x, f32 kb_mag);
77/* 322598 */ int un_80322598(int, float);
78/* 4A2F08 */ extern CrowdSFX_UnkStruct un_804A2F08;
79/* 4D6500 */ extern CrowdConfig* gCrowdConfig;
80/* 4D7050 */ extern CrowdSFX_UnkStruct* un_804D7050;
81
82#endif
CrowdSFX_UnkStruct un_804A2F08
Definition crowdsfx.c:15
CrowdSFX_UnkStruct * un_804D7050
Definition crowdsfx.c:16
int un_80322598(int, float)
Definition crowdsfx.c:512
void un_80321C70(void)
Definition crowdsfx.c:139
bool un_803224DC(s32 spawn_id, f32 pos_x, f32 kb_mag)
Definition crowdsfx.c:467
void un_80321CE8(void)
Definition crowdsfx.c:161
void un_8032233C(u32, u32)
Definition crowdsfx.c:407
void un_80321900(void)
Definition sfx_unk.c:11
bool un_80322258(float)
Definition crowdsfx.c:353
float un_803222EC(float mag, float angle)
Definition crowdsfx.c:384
bool un_8032201C(u32, s32)
Definition crowdsfx.c:275
void un_80321BF8(int)
Definition crowdsfx.c:108
s32 un_80322298(float)
Definition crowdsfx.c:369
bool un_80321EBC(u32, f32)
Definition crowdsfx.c:216
void un_80321950(CrowdSFX_UnkStruct *)
Definition sfx_unk.c:19
void un_80321A00(HSD_GObj *)
Definition crowdsfx.c:28
void un_80321C28(void)
Definition crowdsfx.c:114
void fn_803219AC(HSD_GObj *)
Definition crowdsfx.c:18
void un_80321AF4(HSD_GObj *gobj)
Definition crowdsfx.c:67
void un_80321D30(u32, f32)
Definition crowdsfx.c:180
void un_80322314(void)
Definition crowdsfx.c:396
void un_80321CA4(s32)
Definition crowdsfx.c:153
void un_80322178(int)
Definition crowdsfx.c:318
unsigned long u32
Definition types.h:9
float f32
Definition types.h:13
CrowdConfig * gCrowdConfig
Definition fighter.c:127
signed long s32
Definition hsd_3B2B.h:1
Configuration for crowd/announcer reactions during matches.
Definition crowdsfx.h:30
f32 blastzone_y_offset
Y-offset added to blast zone bottom for proximity check.
Definition crowdsfx.h:54
f32 angle_mult
Definition crowdsfx.h:38
f32 recovery_y_high
Y-position thresholds for recovery gasp intensity (cat 3/2/1).
Definition crowdsfx.h:48
f32 angle_min
Angle range and multiplier for crowd reaction modifier.
Definition crowdsfx.h:36
s32 x24
Definition crowdsfx.h:43
s32 fighters_near_blastzone
Fighter count threshold to trigger blast zone proximity gasp.
Definition crowdsfx.h:52
f32 angle_max
Definition crowdsfx.h:37
f32 kb_threshold_low
Knockback thresholds for crowd gasp intensity (cat 1/2/3).
Definition crowdsfx.h:32
s32 max_gasp_count
Definition crowdsfx.h:44
f32 kb_threshold_mid
Definition crowdsfx.h:33
s32 x1C
Definition crowdsfx.h:40
f32 horiz_margin
Horizontal margin from blast zone for out-of-bounds check.
Definition crowdsfx.h:46
f32 recovery_y_mid
Definition crowdsfx.h:49
f32 kb_threshold_high
Definition crowdsfx.h:34
s32 cheer_limit
Cheer/gasp timing limits.
Definition crowdsfx.h:42
f32 recovery_y_low
Definition crowdsfx.h:50
f32 x18
Definition crowdsfx.h:39
Definition crowdsfx.h:8
s32 x10
Definition crowdsfx.h:13
u32 xC
Definition crowdsfx.h:12
s32 x1C
Definition crowdsfx.h:16
s32 x24
Definition crowdsfx.h:18
s32 x14
Definition crowdsfx.h:14
f32 x8
Definition crowdsfx.h:11
s32 x18
Definition crowdsfx.h:15
s32 x28
Definition crowdsfx.h:19
s32 x4
Definition crowdsfx.h:10
s32 x20
Definition crowdsfx.h:17
s32 x0
Definition crowdsfx.h:9
s32 x2C
Definition crowdsfx.h:20
Definition gobj.h:24