Mario Kart 64
Loading...
Searching...
No Matches
debug.inc.c
Go to the documentation of this file.
1#include <ultra64.h>
2#include <debug.h>
3#include "all_variables.h"
4
5#if DVDL
6
7extern s32 gGlobalTimer;
8
13variableWatchAttributes gMainVariableWatchList[] = {
14 { "Global Timer: ", &gGlobalTimer, sizeof(gGlobalTimer), DISPLAY_DECIMAL_NUMBER | DISPLAY_SIGNED_NUMBER, 0, 0 },
15 { "Actors: ", &gNumActors, sizeof(gNumActors), DISPLAY_DECIMAL_NUMBER, 0, 0 },
16 { "Player Type: ", &gPlayers[0].type, sizeof(gPlayerOne->type), DISPLAY_HEXIDECIMAL_NUMBER, 0, 0 },
17 { "X ", &gPlayers[0].pos[0], sizeof(gPlayerOne->pos[0]), DISPLAY_FLOAT_NUMBER, 0, 0 },
18 { "Y ", &gPlayers[0].pos[1], sizeof(gPlayerOne->pos[1]), DISPLAY_FLOAT_NUMBER, 0, 0 },
19 { "Z ", &gPlayers[0].pos[2], sizeof(gPlayerOne->pos[2]), DISPLAY_FLOAT_NUMBER, 0, 0 },
20 { "Torque 9C: ", &gPlayers[0].currentSpeed, sizeof(gPlayerOne->currentSpeed), DISPLAY_FLOAT_NUMBER, 0, 0 },
21 { "Top Speed 214: ", &gPlayers[0].topSpeed, sizeof(gPlayerOne->topSpeed), DISPLAY_FLOAT_NUMBER, 0, 0 },
22 { "Accel Offset C4: ", &gPlayers[0].slopeAccel, sizeof(gPlayerOne->slopeAccel), DISPLAY_SIGNED_NUMBER, 0, 0 },
23
24};
25
26#endif
Player * gPlayerOne
Definition main.c:72
s32 gGlobalTimer
Definition main.c:185
Player gPlayers[NUM_PLAYERS]
Definition main.c:71
u16 gNumActors
Definition main.c:110
f32 currentSpeed
Definition common_structs.h:286
s16 slopeAccel
Definition common_structs.h:301
u16 type
Definition common_structs.h:250
f32 topSpeed
Definition common_structs.h:336
Vec3f pos
Definition common_structs.h:259
signed int s32
Definition ultratypes.h:15