![]() |
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 "engine/behavior_script.h"#include "object_helpers.h"#include "audio/external.h"#include "print.h"#include "engine/surface_collision.h"#include "mario.h"#include "game.h"#include "main.h"#include "debug.h"#include "object_list_processor.h"#include "room.h"Macros | |
| #define | DEBUG_INFO_NOFLAGS (0 << 0) |
| #define | DEBUG_INFO_FLAG_DPRINT (1 << 0) |
| #define | DEBUG_INFO_FLAG_LSELECT (1 << 1) |
| #define | DEBUG_INFO_FLAG_ALL 0xFF |
| #define | DEBUG_PAGE_MIN DEBUG_PAGE_OBJECTINFO |
| #define | DEBUG_PAGE_MAX DEBUG_PAGE_ENEMYINFO |
Enumerations | |
| enum | DebugPrintStateInfo { DEBUG_PSTATE_DISABLED, DEBUG_PSTATE_X_CURSOR, DEBUG_PSTATE_Y_CURSOR, DEBUG_PSTATE_MIN_Y_CURSOR, DEBUG_PSTATE_MAX_X_CURSOR, DEBUG_PSTATE_LINE_Y_OFFSET } |
Variables | |
| s16 | gDebugPrintState1 [6] |
| s16 | gDebugPrintState2 [6] |
| u8 | bhvKoopaShell [] |
| u8 | bhvJumpingBox [] |
| u8 | bhvKoopaShellUnderwater [] |
| const char * | sDebugEffectStringInfo [] |
| const char * | sDebugEnemyStringInfo [] |
| s32 | sDebugInfoDPadMask = 0 |
| s32 | sDebugInfoDPadUpdID = 0 |
| s8 | sDebugLvSelectCheckFlag = FALSE |
| s8 | sDebugPage = DEBUG_PAGE_MIN |
| s8 | sNoExtraDebug = FALSE |
| s8 | sDebugStringArrPrinted = FALSE |
| s8 | sDebugSysCursor = 0 |
| s8 | sDebugInfoButtonSeqID = 0 |
| s16 | sDebugInfoButtonSeq [] = { U_CBUTTONS, L_CBUTTONS, D_CBUTTONS, R_CBUTTONS, -1 } |
| #define DEBUG_INFO_FLAG_ALL 0xFF |
| #define DEBUG_INFO_FLAG_DPRINT (1 << 0) |
| #define DEBUG_INFO_FLAG_LSELECT (1 << 1) |
| #define DEBUG_INFO_NOFLAGS (0 << 0) |
| #define DEBUG_PAGE_MAX DEBUG_PAGE_ENEMYINFO |
| #define DEBUG_PAGE_MIN DEBUG_PAGE_OBJECTINFO |
| enum DebugPrintStateInfo |
| void set_print_state_info | ( | s16 * | printState, |
| s16 | xCursor, | ||
| s16 | yCursor, | ||
| s16 | minYCursor, | ||
| s16 | maxXCursor, | ||
| s16 | lineYOffset | ||
| ) |
| u8 bhvJumpingBox[] |
| u8 bhvKoopaShell[] |
| u8 bhvKoopaShellUnderwater[] |
| s16 gDebugPrintState1[6] |
| s16 gDebugPrintState2[6] |
| s16 sDebugInfoButtonSeq[] = { U_CBUTTONS, L_CBUTTONS, D_CBUTTONS, R_CBUTTONS, -1 } |
| s8 sDebugInfoButtonSeqID = 0 |
| s32 sDebugInfoDPadMask = 0 |
| s32 sDebugInfoDPadUpdID = 0 |
| s8 sDebugPage = DEBUG_PAGE_MIN |
| s8 sDebugSysCursor = 0 |
1.8.13