![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
#include <ultra64.h>#include "sm64.h"#include "main.h"#include "memory.h"#include "save_file.h"#include "seq_ids.h"#include "sound_init.h"#include "display.h"#include "engine/level_script.h"#include "profiler.h"#include "print.h"#include "segment2.h"#include "main_entry.h"#include "audio/external.h"#include <prevent_bss_reordering.h>#include "game.h"Functions | |
| static void | record_demo (void) |
| void | adjust_analog_stick (struct Controller *controller) |
| void | run_demo_inputs (void) |
| void | read_controller_inputs (void) |
| void | init_controllers (void) |
| void | setup_game_memory (void) |
| void | thread5_game_loop (UNUSED void *arg) |
Variables | |
| struct Controller | gControllers [3] |
| OSContStatus | gControllerStatuses [4] |
| OSContPad | gControllerPads [4] |
| OSMesgQueue | gGameVblankQueue |
| OSMesgQueue | D_80339CB8 |
| OSMesg | D_80339CD0 |
| OSMesg | D_80339CD4 |
| struct VblankHandler | gGameVblankHandler |
| u32 | gFrameBuffers [3] |
| u32 | zBufferPtr |
| void * | D_80339CF0 |
| void * | D_80339CF4 |
| struct SPTask * | gGfxSPTask |
| Gfx * | gDisplayListHead |
| u8 * | gGfxPoolEnd |
| struct GfxPool * | gGfxPool |
| u8 | gControllerBits |
| s8 | gEepromProbe |
| struct MarioAnimation | D_80339D10 |
| struct MarioAnimation | gDemo |
| UNUSED s8 | filler80339D30 [0x80339DC0 - 0x80339D30] |
| void(* | D_8032C6A0 )(void) = NULL |
| struct Controller * | gPlayer1Controller = &gControllers[0] |
| struct Controller * | gPlayer2Controller = &gControllers[1] |
| struct Controller * | gPlayer3Controller = &gControllers[2] |
| struct DemoInput * | gCurrDemoInput = NULL |
| u16 | gDemoInputListID = 0 |
| struct DemoInput | gRecordedDemoInput = { 0 } |
| void adjust_analog_stick | ( | struct Controller * | controller | ) |
| OSMesgQueue D_80339CB8 |
| OSMesg D_80339CD0 |
| OSMesg D_80339CD4 |
| void* D_80339CF0 |
| void* D_80339CF4 |
| struct MarioAnimation D_80339D10 |
| u8 gControllerBits |
| OSContPad gControllerPads[4] |
| struct Controller gControllers[3] |
| OSContStatus gControllerStatuses[4] |
| struct MarioAnimation gDemo |
| u16 gDemoInputListID = 0 |
| Gfx* gDisplayListHead |
| s8 gEepromProbe |
| u32 gFrameBuffers[3] |
| struct VblankHandler gGameVblankHandler |
| OSMesgQueue gGameVblankQueue |
| u8* gGfxPoolEnd |
| struct Controller* gPlayer1Controller = &gControllers[0] |
| struct Controller* gPlayer2Controller = &gControllers[1] |
| struct Controller* gPlayer3Controller = &gControllers[2] |
| u32 zBufferPtr |
1.8.13