|
SSBM Decomp
|
#include "grstory.h"#include <platform.h>#include <sysdolphin/baselib/gobjgxlink.h>#include <sysdolphin/baselib/gobjproc.h>#include <sysdolphin/baselib/random.h>#include <melee/gr/granime.h>#include <melee/gr/grdisplay.h>#include <melee/gr/grlib.h>#include <melee/gr/grmaterial.h>#include <melee/gr/ground.h>#include <melee/gr/grzakogenerator.h>#include <melee/gr/inlines.h>#include <melee/gr/types.h>#include <melee/it/it_26B1.h>#include <melee/it/items/itheiho.h>#include <melee/lb/lb_00B0.h>#include <melee/lb/lb_00F9.h>Functions | |
| static void | grStory_801E302C (bool) |
| static DynamicsDesc * | grStory_801E36D0 (enum_t) |
| void | grStory_801E3030 (void) |
| void | grStory_UnkStage0_OnLoad (void) |
| void | grStory_UnkStage0_OnStart (void) |
| bool | grStory_801E30D0 (void) |
| Ground_GObj * | grStory_801E30D8 (int gobj_id) |
| void | grStory_801E31C0 (Ground_GObj *gobj) |
| bool | grStory_801E3224 (Ground_GObj *gobj) |
| void | grStory_801E322C (Ground_GObj *gobj) |
| void | grStory_801E3230 (Ground_GObj *gobj) |
| int | randi (int max) |
| static void | reset_shyguy_timer (Ground *gp) |
| static void | set_shyguy_spawn_count (Ground *gp, int rarity) |
| Set the number of Shy Guys to spawn to either 1, or a random integer from 3 to 6. | |
| void | grStory_801E3234 (Ground_GObj *gobj) |
| Shy guys initialization function. | |
| bool | grStory_801E332C (Ground_GObj *gobj) |
| void | grStory_801E3334 (Ground_GObj *gobj) |
| void | grStory_801E336C (Ground_GObj *gobj) |
| void | grStory_801E3370 (Ground_GObj *gobj) |
| Randall initialization function. | |
| bool | grStory_801E33D8 (Ground_GObj *gobj) |
| void | grStory_801E33E0 (Ground_GObj *gobj) |
| void | grStory_801E3414 (Ground_GObj *gobj) |
| f32 | frand_amp1 (void) |
| floating point random number centered at 0 with an amplitude of 1 | |
| void | grStory_801E3418 (Ground_GObj *gobj) |
| Shy guy spawn timer frame callback. | |
| void | grStory_801E366C (Ground_GObj *gobj) |
| Randall puff timer frame callback. | |
| bool | grStory_801E36D8 (Vec3 *a, int _, HSD_JObj *jobj) |
Variables | ||
| StageInfo | stage_info | |
| static StageCallbacks | grSt_803E26F0 [] | |
| struct { | ||
| float timer_min | ||
| float timer_rand | ||
| float spawnmany_rarity | ||
| float vpos [6] | ||
| } * | shyguy_vars | |
| StageData | grSt_803E274C | |
| static u32 | _ [] | |
|
static |
|
static |
| void grStory_801E3030 | ( | void | ) |
| void grStory_UnkStage0_OnLoad | ( | void | ) |
| void grStory_UnkStage0_OnStart | ( | void | ) |
| bool grStory_801E30D0 | ( | void | ) |
| Ground_GObj * grStory_801E30D8 | ( | int | gobj_id | ) |
| void grStory_801E31C0 | ( | Ground_GObj * | gobj | ) |
| bool grStory_801E3224 | ( | Ground_GObj * | gobj | ) |
| void grStory_801E322C | ( | Ground_GObj * | gobj | ) |
| void grStory_801E3230 | ( | Ground_GObj * | gobj | ) |
|
inline |
|
inlinestatic |
|
inlinestatic |
Set the number of Shy Guys to spawn to either 1, or a random integer from 3 to 6.
| rarity | Controls the rarity of spawning multiple Shy Guys |
| void grStory_801E3234 | ( | Ground_GObj * | gobj | ) |
Shy guys initialization function.
| bool grStory_801E332C | ( | Ground_GObj * | gobj | ) |
| void grStory_801E3334 | ( | Ground_GObj * | gobj | ) |
| void grStory_801E336C | ( | Ground_GObj * | gobj | ) |
| void grStory_801E3370 | ( | Ground_GObj * | gobj | ) |
Randall initialization function.
| bool grStory_801E33D8 | ( | Ground_GObj * | gobj | ) |
| void grStory_801E33E0 | ( | Ground_GObj * | gobj | ) |
| void grStory_801E3414 | ( | Ground_GObj * | gobj | ) |
|
inline |
floating point random number centered at 0 with an amplitude of 1
| void grStory_801E3418 | ( | Ground_GObj * | gobj | ) |
Shy guy spawn timer frame callback.
| void grStory_801E366C | ( | Ground_GObj * | gobj | ) |
Randall puff timer frame callback.
|
extern |
|
static |
| float timer_min |
| float timer_rand |
| float spawnmany_rarity |
| float vpos[6] |
| struct { ... } * shyguy_vars |
|
static |