![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
#include <ultra64.h>#include "area.h"#include "sm64.h"#include "behavior_data.h"#include "game.h"#include "display.h"#include "object_list_processor.h"#include "engine/surface_load.h"#include "ingame_menu.h"#include "screen_transition.h"#include "mario.h"#include "mario_actions_cutscene.h"#include "print.h"#include "hud.h"#include "audio/external.h"#include "rendering_graph_node.h"#include "level_update.h"#include "engine/geo_layout.h"#include "save_file.h"Functions | |
| void | func_8027A220 (Vp *a, Vp *b, u8 c, u8 d, u8 e) |
| void | set_warp_transition_rgb (u8 red, u8 green, u8 blue) |
| void | print_intro_text (void) |
| u32 | get_mario_spawn_type (struct Object *o) |
| struct ObjectWarpNode * | area_get_warp_node (u8 id) |
| struct ObjectWarpNode * | func_8027A478 (struct Object *o) |
| void | func_8027A4C4 (void) |
| void | clear_areas (void) |
| void | func_8027A7C4 (void) |
| void | load_area (s32 index) |
| void | func_8027A998 (void) |
| void | load_mario_area (void) |
| void | func_8027AA88 (void) |
| void | change_area (s32 index) |
| void | area_update_objects (void) |
| void | play_transition (s16 transType, s16 time, u8 red, u8 green, u8 blue) |
| void | play_transition_after_delay (s16 transType, s16 time, u8 red, u8 green, u8 blue, s16 delay) |
| void | render_game (void) |
Variables | |
| struct SpawnInfo | gPlayerSpawnInfos [1] |
| struct GraphNode * | D_8033A160 [0x100] |
| struct Area | gAreaData [8] |
| struct WarpTransition | gWarpTransition |
| s16 | gCurrCourseNum |
| s16 | gCurrActNum |
| s16 | gCurrAreaIndex |
| s16 | gSavedCourseNum |
| s16 | D_8033A75E |
| s16 | D_8033A760 |
| struct SpawnInfo * | gMarioSpawnInfo = &gPlayerSpawnInfos[0] |
| struct GraphNode ** | gLoadedGraphNodes = D_8033A160 |
| struct Area * | gAreas = gAreaData |
| struct Area * | gCurrentArea = NULL |
| struct CreditsEntry * | gCurrCreditsEntry = NULL |
| Vp * | D_8032CE74 = NULL |
| Vp * | D_8032CE78 = NULL |
| s16 | gWarpTransDelay = 0 |
| u32 | gFBSetColor = 0 |
| u32 | gWarpTransFBSetColor = 0 |
| u8 | gWarpTransRed = 0 |
| u8 | gWarpTransGreen = 0 |
| u8 | gWarpTransBlue = 0 |
| s16 | gCurrSaveFileNum = 1 |
| s16 | gCurrLevelNum = 1 |
| void * | D_8032CE9C [] |
| u8 | D_8032CEEC [] |
| Vp | D_8032CF00 |
| struct ObjectWarpNode* area_get_warp_node | ( | u8 | id | ) |
| struct ObjectWarpNode* func_8027A478 | ( | struct Object * | o | ) |
| void* D_8032CE9C[] |
| u8 D_8032CEEC[] |
| Vp D_8032CF00 |
| s16 D_8033A75E |
| s16 D_8033A760 |
| s16 gCurrActNum |
| s16 gCurrAreaIndex |
| s16 gCurrCourseNum |
| struct CreditsEntry* gCurrCreditsEntry = NULL |
| s16 gCurrLevelNum = 1 |
| s16 gCurrSaveFileNum = 1 |
| u32 gFBSetColor = 0 |
| struct GraphNode** gLoadedGraphNodes = D_8033A160 |
| struct SpawnInfo* gMarioSpawnInfo = &gPlayerSpawnInfos[0] |
| s16 gSavedCourseNum |
| u8 gWarpTransBlue = 0 |
| s16 gWarpTransDelay = 0 |
| u32 gWarpTransFBSetColor = 0 |
| u8 gWarpTransGreen = 0 |
| struct WarpTransition gWarpTransition |
| u8 gWarpTransRed = 0 |
1.8.13