Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
envfx_bubbles.h
Go to the documentation of this file.
1 #ifndef INGAME_MENU_3_H
2 #define INGAME_MENU_3_H
3 
4 #include "types.h"
5 
6 #define ENVFX_STATE_UNUSED 0
7 #define ENVFX_STATE_SRC_X 1 // whirlpool / jetsream bubble source position
8 #define ENVFX_STATE_SRC_Y 2
9 #define ENVFX_STATE_SRC_Z 3
10 #define ENVFX_STATE_DEST_X 4 // only for whirlpool, where bubbles get sucked in
11 #define ENVFX_STATE_DEST_Y 5
12 #define ENVFX_STATE_DEST_Z 6
13 #define ENVFX_STATE_PARTICLECOUNT 7
14 #define ENVFX_STATE_PITCH 8 // whirlpool can rotate around DEST point
15 #define ENVFX_STATE_YAW 9
16 
17 // Used to communicate from whirlpool behavior to envfx
18 extern s16 gEnvFxBubbleConfig[10];
19 extern Gfx *envfx_update_bubbles(s32 sp28, Vec3s sp2C, Vec3s sp30, Vec3s sp34);
20 
21 #endif // INGAME_MENU_3_H
signed short int s16
Definition: ultratypes.h:13
Definition: gbi_old.h:59
s16 Vec3s[3]
Definition: types.h:24
s16 gEnvFxBubbleConfig[10]
This file implements environment effects that are not snow: Flowers (unused), lava bubbles and jetsre...
Definition: envfx_bubbles.c:23
Gfx * envfx_update_bubbles(s32 sp28, Vec3s sp2C, Vec3s sp30, Vec3s sp34)
Update bubble-like environment effects.
Definition: envfx_bubbles.c:541
signed int s32
Definition: ultratypes.h:15