Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Enumerations | Functions | Variables
mario_misc.h File Reference
#include "types.h"

Go to the source code of this file.

Data Structures

struct  Struct802763D4_Unknown
 
struct  Struct802769E0
 
struct  Struct80277150
 
struct  Struct80277294
 
struct  Struct80277294_2
 
struct  Struct802773A4
 
struct  Struct802773A4_2
 
struct  Struct802775CC
 
struct  Struct80277824
 
struct  Struct80277824_2
 
struct  Struct8027795C
 
struct  Struct80277D6C
 

Macros

#define TOAD_STAR_1_REQUIREMENT   12
 
#define TOAD_STAR_2_REQUIREMENT   25
 
#define TOAD_STAR_3_REQUIREMENT   35
 
#define TOAD_STAR_1_DIALOG   82
 
#define TOAD_STAR_2_DIALOG   76
 
#define TOAD_STAR_3_DIALOG   83
 
#define TOAD_STAR_1_DIALOG_AFTER   154
 
#define TOAD_STAR_2_DIALOG_AFTER   155
 
#define TOAD_STAR_3_DIALOG_AFTER   156
 

Enumerations

enum  ToadMessageStates {
  TOAD_MESSAGE_FADED, TOAD_MESSAGE_OPAQUE, TOAD_MESSAGE_OPACIFYING, TOAD_MESSAGE_FADING,
  TOAD_MESSAGE_TALKING
}
 
enum  UnlockDoorStarStates { UNLOCK_DOOR_STAR_RISING, UNLOCK_DOOR_STAR_WAITING, UNLOCK_DOOR_STAR_SPAWNING_PARTICLES, UNLOCK_DOOR_STAR_DONE }
 

Functions

GfxGeo18_802764B0 (s32 a, struct GraphNode *b, Mat4 *c)
 
void bhvToadMessage_loop (void)
 
void bhvToadMessage_init (void)
 
void bhvUnlockDoorStar_init (void)
 
void bhvUnlockDoorStar_loop (void)
 
GfxGeo18_802770A4 (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 
s32 geo_switch_mario_stand_run (s32 run, struct GraphNode *node, UNUSED Mat4 *c)
 
s32 geo_switch_mario_eyes (s32 run, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_80277294 (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 
GfxGeo18_802773A4 (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 
s32 geo_switch_mario_hand (s32 run, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_802775CC (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 
s32 geo_switch_mario_cap_effect (s32 run, struct GraphNode *node, UNUSED Mat4 *c)
 
s32 geo_switch_mario_cap_on_off (s32 run, struct GraphNode *node, UNUSED Mat4 *c)
 
GfxGeo18_80277824 (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 
GfxGeo1C_8027795C (s32 a, struct GraphNode *b, Mat4 *c)
 
Gfxgeo_render_mirror_mario (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 
Gfxgeo_mirror_mario_backface_culling (s32 a, struct GraphNode *b, UNUSED Mat4 *c)
 

Variables

struct GraphNodeObject D_80339FE0
 
struct MarioBodyState gBodyStates [2]
 

Macro Definition Documentation

◆ TOAD_STAR_1_DIALOG

#define TOAD_STAR_1_DIALOG   82

◆ TOAD_STAR_1_DIALOG_AFTER

#define TOAD_STAR_1_DIALOG_AFTER   154

◆ TOAD_STAR_1_REQUIREMENT

#define TOAD_STAR_1_REQUIREMENT   12

◆ TOAD_STAR_2_DIALOG

#define TOAD_STAR_2_DIALOG   76

◆ TOAD_STAR_2_DIALOG_AFTER

#define TOAD_STAR_2_DIALOG_AFTER   155

◆ TOAD_STAR_2_REQUIREMENT

#define TOAD_STAR_2_REQUIREMENT   25

◆ TOAD_STAR_3_DIALOG

#define TOAD_STAR_3_DIALOG   83

◆ TOAD_STAR_3_DIALOG_AFTER

#define TOAD_STAR_3_DIALOG_AFTER   156

◆ TOAD_STAR_3_REQUIREMENT

#define TOAD_STAR_3_REQUIREMENT   35

Enumeration Type Documentation

◆ ToadMessageStates

Enumerator
TOAD_MESSAGE_FADED 
TOAD_MESSAGE_OPAQUE 
TOAD_MESSAGE_OPACIFYING 
TOAD_MESSAGE_FADING 
TOAD_MESSAGE_TALKING 

◆ UnlockDoorStarStates

Enumerator
UNLOCK_DOOR_STAR_RISING 
UNLOCK_DOOR_STAR_WAITING 
UNLOCK_DOOR_STAR_SPAWNING_PARTICLES 
UNLOCK_DOOR_STAR_DONE 

Function Documentation

◆ bhvToadMessage_init()

void bhvToadMessage_init ( void  )

◆ bhvToadMessage_loop()

void bhvToadMessage_loop ( void  )

◆ bhvUnlockDoorStar_init()

void bhvUnlockDoorStar_init ( void  )

◆ bhvUnlockDoorStar_loop()

void bhvUnlockDoorStar_loop ( void  )

◆ Geo18_802764B0()

Gfx* Geo18_802764B0 ( s32  a,
struct GraphNode b,
Mat4 c 
)

◆ Geo18_802770A4()

Gfx* Geo18_802770A4 ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ Geo18_80277294()

Gfx* Geo18_80277294 ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ Geo18_802773A4()

Gfx* Geo18_802773A4 ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ Geo18_802775CC()

Gfx* Geo18_802775CC ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ Geo18_80277824()

Gfx* Geo18_80277824 ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ Geo1C_8027795C()

Gfx* Geo1C_8027795C ( s32  a,
struct GraphNode b,
Mat4 c 
)

◆ geo_mirror_mario_backface_culling()

Gfx* geo_mirror_mario_backface_culling ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ geo_render_mirror_mario()

Gfx* geo_render_mirror_mario ( s32  a,
struct GraphNode b,
UNUSED Mat4 c 
)

◆ geo_switch_mario_cap_effect()

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

◆ geo_switch_mario_cap_on_off()

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

◆ geo_switch_mario_eyes()

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

◆ geo_switch_mario_hand()

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

◆ geo_switch_mario_stand_run()

s32 geo_switch_mario_stand_run ( s32  run,
struct GraphNode node,
UNUSED Mat4 c 
)

Variable Documentation

◆ D_80339FE0

struct GraphNodeObject D_80339FE0

◆ gBodyStates

struct MarioBodyState gBodyStates[2]