Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions | Variables
mario_misc.c File Reference
#include <ultra64.h>
#include "sm64.h"
#include "area.h"
#include "audio/external.h"
#include "camera.h"
#include "mario_misc.h"
#include "behavior_actions.h"
#include "behavior_data.h"
#include "engine/behavior_script.h"
#include "game.h"
#include "engine/graph_node.h"
#include "envfx_snow.h"
#include "level_update.h"
#include "engine/math_util.h"
#include "memory.h"
#include "object_helpers.h"
#include "object_helpers2.h"
#include "goddard/renderer.h"
#include "rendering_graph_node.h"
#include "save_file.h"
#include "sound_init.h"
#include "skybox.h"
#include "interaction.h"
#include "object_list_processor.h"

Functions

GfxGeo18_802764B0 (s32 callContext, struct GraphNode *node, Mat4 *c)
 
static void bhvToadMessage_faded (void)
 
static void bhvToadMessage_opaque (void)
 
static void bhvToadMessage_talking (void)
 
static void bhvToadMessage_opacifying (void)
 
static void bhvToadMessage_fading (void)
 
void bhvToadMessage_loop (void)
 
void bhvToadMessage_init (void)
 
static void bhvUnlockDoorStar_spawn_particle (s16 angleOffset)
 
void bhvUnlockDoorStar_init (void)
 
void bhvUnlockDoorStar_loop (void)
 
static Gfxfunc_802769E0 (struct GraphNodeGenerated *node, s16 b)
 
GfxGeo18_802770A4 (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
s32 geo_switch_mario_stand_run (s32 callContext, struct GraphNode *node, UNUSED Mat4 *mtx)
 
s32 geo_switch_mario_eyes (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_80277294 (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_802773A4 (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
s32 geo_switch_mario_hand (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_802775CC (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
s32 geo_switch_mario_cap_effect (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
s32 geo_switch_mario_cap_on_off (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_80277824 (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
Gfxgeo_switch_mario_hand_grab_pos (s32 callContext, struct GraphNode *b, Mat4 *c)
 
Gfxgeo_render_mirror_mario (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 
Gfxgeo_mirror_mario_backface_culling (s32 callContext, struct GraphNode *node, UNUSED Mat4 *c)
 

Variables

static s8 D_8032CDF0 [7] = { 0x01, 0x02, 0x01, 0x00, 0x01, 0x02, 0x01 }
 
static s8 D_8032CDF8 []
 
struct GraphNodeObject D_80339FE0
 
struct MarioBodyState gBodyStates [2]
 

Function Documentation

◆ bhvToadMessage_faded()

static void bhvToadMessage_faded ( void  )
static

◆ bhvToadMessage_fading()

static void bhvToadMessage_fading ( void  )
static

◆ bhvToadMessage_init()

void bhvToadMessage_init ( void  )

◆ bhvToadMessage_loop()

void bhvToadMessage_loop ( void  )

◆ bhvToadMessage_opacifying()

static void bhvToadMessage_opacifying ( void  )
static

◆ bhvToadMessage_opaque()

static void bhvToadMessage_opaque ( void  )
static

◆ bhvToadMessage_talking()

static void bhvToadMessage_talking ( void  )
static

◆ bhvUnlockDoorStar_init()

void bhvUnlockDoorStar_init ( void  )

◆ bhvUnlockDoorStar_loop()

void bhvUnlockDoorStar_loop ( void  )

◆ bhvUnlockDoorStar_spawn_particle()

static void bhvUnlockDoorStar_spawn_particle ( s16  angleOffset)
static

◆ func_802769E0()

static Gfx* func_802769E0 ( struct GraphNodeGenerated node,
s16  b 
)
static

◆ Geo18_802764B0()

Gfx* Geo18_802764B0 ( s32  callContext,
struct GraphNode node,
Mat4 c 
)

◆ Geo18_802770A4()

Gfx* Geo18_802770A4 ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ Geo18_80277294()

Gfx* Geo18_80277294 ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ Geo18_802773A4()

Gfx* Geo18_802773A4 ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ Geo18_802775CC()

Gfx* Geo18_802775CC ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ Geo18_80277824()

Gfx* Geo18_80277824 ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_mirror_mario_backface_culling()

Gfx* geo_mirror_mario_backface_culling ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_render_mirror_mario()

Gfx* geo_render_mirror_mario ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_switch_mario_cap_effect()

s32 geo_switch_mario_cap_effect ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_switch_mario_cap_on_off()

s32 geo_switch_mario_cap_on_off ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_switch_mario_eyes()

s32 geo_switch_mario_eyes ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_switch_mario_hand()

s32 geo_switch_mario_hand ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 c 
)

◆ geo_switch_mario_hand_grab_pos()

Gfx* geo_switch_mario_hand_grab_pos ( s32  callContext,
struct GraphNode b,
Mat4 c 
)

◆ geo_switch_mario_stand_run()

s32 geo_switch_mario_stand_run ( s32  callContext,
struct GraphNode node,
UNUSED Mat4 mtx 
)

Variable Documentation

◆ D_8032CDF0

s8 D_8032CDF0[7] = { 0x01, 0x02, 0x01, 0x00, 0x01, 0x02, 0x01 }
static

◆ D_8032CDF8

s8 D_8032CDF8[]
static
Initial value:
= { 0x0a, 0x0c, 0x10, 0x18, 0x0a, 0x0a, 0x0a, 0x0e, 0x14, 0x1e,
0x0a, 0x0a, 0x0a, 0x10, 0x14, 0x1a, 0x1a, 0x14, 0x00, 0x00 }

◆ D_80339FE0

struct GraphNodeObject D_80339FE0

◆ gBodyStates

struct MarioBodyState gBodyStates[2]