Mario Kart 64
Loading...
Searching...
No Matches
podium_ceremony_actors.h
Go to the documentation of this file.
1#ifndef podium_ceremony_actors_H
2#define podium_ceremony_actors_H
3
4#include <common_structs.h>
5
7
8// unk
9typedef struct {
10 /* 0x00 */ s32 unk0;
11 /* 0x04 */ s32 unk4;
12 /* 0x08 */ s32 actorTimer;
13 /* 0x0C */ u8 unk[16]; // 10 bytes
14 /* 0x1C */ s8 unk1C;
15 /* 0x1D */ s8 unk1D;
16 /* 0x1E */ s8 unk1E; // gCharacterSelections
18
27
28// A generic actor, usually a balloon.
29typedef struct {
30 /* 0x00 */ s32 isActive;
31 /* 0x04 */ s16 type;
32 /* 0x06 */ s16 unk6;
33 /* 0x08 */ s8 unk8;
34 /* 0x09 */ s8 unk9;
35 /* 0x0A */ s16 unkA;
36 /* 0x0C */ s16 unkC;
37 /* 0x0E */ s16 unkE;
38 /* 0x10 */ Vec3f pos;
39 /* 0x1C */ f32 unk1C;
40 /* 0x20 */ f32 unk20;
41 /* 0x24 */ f32 unk24;
43 /* 0x2C */ s16 unk2C;
44 /* 0x2E */ s16 unk2E;
45 /* 0x30 */ s16 unk30;
46 /* 0x32 */ s16 unk32;
47 /* 0x34 */ s16 unk34;
48 /* 0x36 */ s16 unk36;
49 /* 0x38 */ f32 unk38;
50 /* 0x3C */ s32 timer; // Used to delete the actor after some time.
51 /* 0x40 */ s32 unk40;
52 /* 0x44 */ s32 unk44;
53 /* 0x48 */ s32 unk48;
55
56typedef struct {
57 /* 0x00 */ s32 isActive;
58 /* 0x04 */ s16 type;
59 /* 0x06 */ s16 unk6;
60 /* 0x08 */ s8 unk8;
61 /* 0x09 */ s8 unk9;
62 /* 0x0A */ s16 unkA;
63 /* 0x0C */ s16 unkC;
64 /* 0x0E */ s16 unkE;
65 /* 0x10 */ Vec3f pos;
66 /* 0x1C */ f32 unk1C;
67 /* 0x20 */ f32 unk20;
68 /* 0x24 */ f32 unk24;
70 /* 0x2C */ s32 unk2C;
71 /* 0x30 */ s32 unk30; // s32 instead of s16
72 /* 0x34 */ f32 unk34; // f32 instead of s16
73 /* 0x38 */ f32 unk38;
74 /* 0x3C */ s32 unk3C;
75 /* 0x40 */ s32 unk40;
76 /* 0x44 */ s32 unk44;
77 /* 0x48 */ s32 unk48;
78} Firework;
79
80void update_actors_loop(void);
81void func_80280650(void);
88void func_80280884(void);
93void func_80280FFC(void);
95void func_8028150C(void);
96void func_80281520(void);
97void func_80281528(void);
98void func_80281530(void);
99void func_80281538(void);
100void func_80281540(void);
101void podium_ceremony_loop(void);
102
105extern s32 D_802874FC;
106
111
112extern Gfx* D_802874D4;
114extern Mat4 D_80287500;
115
116#endif
f32 Vec3f[3]
Definition common_structs.h:6
s16 Vec3s[3]
Definition common_structs.h:11
f32 Mat4[4][4]
Definition common_structs.h:16
ActorInitParams initBalloon
Definition podium_ceremony_actors.c:40
Mat4 D_80287500
Definition podium_ceremony_actors.c:209
void firework_cone_update_and_spawn_burst(Firework *)
Definition podium_ceremony_actors.c:190
CeremonyActor * new_actor(ActorInitParams *)
Definition podium_ceremony_actors.c:113
void func_80281538(void)
Definition podium_ceremony_actors.c:442
u16 random_u16_credits(void)
Definition podium_ceremony_actors.c:129
void func_80281528(void)
Definition podium_ceremony_actors.c:436
void func_80281540(void)
Definition podium_ceremony_actors.c:445
void set_initial_position(CeremonyActor *)
Definition podium_ceremony_actors.c:78
CeremonyActor * sPodiumActorList
Definition podium_ceremony_actors.c:72
ActorInitParams initBurst
Definition podium_ceremony_actors.c:44
void balloons_and_fireworks_init(void)
Definition podium_ceremony_actors.c:295
CeremonyActorType
Definition podium_ceremony_actors.h:6
@ Initial
Definition podium_ceremony_actors.h:6
@ Balloon
Definition podium_ceremony_actors.h:6
@ FireworkCone
Definition podium_ceremony_actors.h:6
@ FireworkBurst
Definition podium_ceremony_actors.h:6
void update_actors_loop(void)
Definition podium_ceremony_actors.c:404
void func_80280FFC(void)
Definition podium_ceremony_actors.c:302
f32 random_float_between_0_and_1(void)
Definition podium_ceremony_actors.c:157
CeremonyActor * find_available_entry(void)
Definition podium_ceremony_actors.c:93
void func_80280A28(Vec3f, Vec3s, f32)
Definition podium_ceremony_actors.c:211
void podium_ceremony_loop(void)
Definition podium_ceremony_actors.c:448
s32 D_802874FC
Definition podium_ceremony_actors.h:113
void func_8028100C(s32, s32, s32)
void func_80281530(void)
Definition podium_ceremony_actors.c:439
void func_80280884(void)
Definition podium_ceremony_actors.c:165
ActorInitParams initInitUnk
void render_fireworks(Vec3f, f32, s32, s16)
Definition podium_ceremony_actors.c:229
f32 random_who_knows(f32)
Definition podium_ceremony_actors.c:161
void func_8028150C(void)
Definition podium_ceremony_actors.c:429
struct_D_802874D8 D_802874D8
Definition podium_ceremony_actors.c:65
ActorInitParams initCone
Definition podium_ceremony_actors.c:48
Gfx * D_802874D4
Definition podium_ceremony_actors.c:63
void func_80280650(void)
Definition podium_ceremony_actors.c:75
void func_80281520(void)
Definition podium_ceremony_actors.c:433
Definition podium_ceremony_actors.h:19
Vec3s unk2
Definition podium_ceremony_actors.h:21
s8 unk8
Definition podium_ceremony_actors.h:22
s8 unkB
Definition podium_ceremony_actors.h:25
s8 unk9
Definition podium_ceremony_actors.h:23
s16 type
Definition podium_ceremony_actors.h:20
s8 unkA
Definition podium_ceremony_actors.h:24
Definition podium_ceremony_actors.h:29
s16 unk2E
Definition podium_ceremony_actors.h:44
s16 unkA
Definition podium_ceremony_actors.h:35
ActorInitParams * initParams
Definition podium_ceremony_actors.h:42
Vec3f pos
Definition podium_ceremony_actors.h:38
s16 unk34
Definition podium_ceremony_actors.h:47
s16 unk6
Definition podium_ceremony_actors.h:32
s16 unkE
Definition podium_ceremony_actors.h:37
s8 unk8
Definition podium_ceremony_actors.h:33
s16 unk32
Definition podium_ceremony_actors.h:46
s32 unk40
Definition podium_ceremony_actors.h:51
s32 isActive
Definition podium_ceremony_actors.h:30
s32 unk44
Definition podium_ceremony_actors.h:52
f32 unk38
Definition podium_ceremony_actors.h:49
s16 unkC
Definition podium_ceremony_actors.h:36
s8 unk9
Definition podium_ceremony_actors.h:34
s16 unk30
Definition podium_ceremony_actors.h:45
f32 unk20
Definition podium_ceremony_actors.h:40
s32 timer
Definition podium_ceremony_actors.h:50
s16 type
Definition podium_ceremony_actors.h:31
f32 unk1C
Definition podium_ceremony_actors.h:39
s16 unk2C
Definition podium_ceremony_actors.h:43
s32 unk48
Definition podium_ceremony_actors.h:53
s16 unk36
Definition podium_ceremony_actors.h:48
f32 unk24
Definition podium_ceremony_actors.h:41
Definition podium_ceremony_actors.h:56
ActorInitParams * initParams
Definition podium_ceremony_actors.h:69
s32 unk3C
Definition podium_ceremony_actors.h:74
s16 unkA
Definition podium_ceremony_actors.h:62
f32 unk1C
Definition podium_ceremony_actors.h:66
f32 unk34
Definition podium_ceremony_actors.h:72
Vec3f pos
Definition podium_ceremony_actors.h:65
s8 unk8
Definition podium_ceremony_actors.h:60
s32 isActive
Definition podium_ceremony_actors.h:57
s16 type
Definition podium_ceremony_actors.h:58
s32 unk40
Definition podium_ceremony_actors.h:75
f32 unk24
Definition podium_ceremony_actors.h:68
s16 unkE
Definition podium_ceremony_actors.h:64
f32 unk38
Definition podium_ceremony_actors.h:73
f32 unk20
Definition podium_ceremony_actors.h:67
s16 unkC
Definition podium_ceremony_actors.h:63
s32 unk2C
Definition podium_ceremony_actors.h:70
s32 unk44
Definition podium_ceremony_actors.h:76
s16 unk6
Definition podium_ceremony_actors.h:59
s8 unk9
Definition podium_ceremony_actors.h:61
s32 unk30
Definition podium_ceremony_actors.h:71
s32 unk48
Definition podium_ceremony_actors.h:77
Definition podium_ceremony_actors.h:9
s8 unk1D
Definition podium_ceremony_actors.h:15
s32 actorTimer
Definition podium_ceremony_actors.h:12
s8 unk1C
Definition podium_ceremony_actors.h:14
s32 unk4
Definition podium_ceremony_actors.h:11
s8 unk1E
Definition podium_ceremony_actors.h:16
s32 unk0
Definition podium_ceremony_actors.h:10
signed int s32
Definition ultratypes.h:15
signed char s8
Definition ultratypes.h:11
signed short int s16
Definition ultratypes.h:13
float f32
Definition ultratypes.h:34
unsigned short int u16
Definition ultratypes.h:14
unsigned char u8
Definition ultratypes.h:12