summaryrefslogtreecommitdiff
path: root/src/debug/debug.inc.c
blob: 82f26be033d75c52873e81bb690d3187a8593e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#include <libultraship.h>
#include <debug.h>
#include "all_variables.h"

#if DVDL

extern s32 gGlobalTimer;

/**
 * Edit this to edit what displays on the screen while the DVDL is active.
 * The Size of the structure array is calculated at compile time.
 */
variableWatchAttributes gMainVariableWatchList[] = {
	{
		"Global Timer: ",
		&gGlobalTimer,
		sizeof(gGlobalTimer),
		DISPLAY_DECIMAL_NUMBER | DISPLAY_SIGNED_NUMBER,
		0, 0
	},
	{
		"Actors: ",
		&gNumActors,
		sizeof(gNumActors),
		DISPLAY_DECIMAL_NUMBER,
		0, 0
	},
	{
		"Player Type: ",
		&gPlayers[0].type,
		sizeof(gPlayerOne->type),
		DISPLAY_HEXIDECIMAL_NUMBER,
		0, 0
	},
	{
		"X ",
		&gPlayers[0].pos[0],
		sizeof(gPlayerOne->pos[0]),
		DISPLAY_FLOAT_NUMBER,
		0, 0
	},
	{
		"Y ",
		&gPlayers[0].pos[1],
		sizeof(gPlayerOne->pos[1]),
		DISPLAY_FLOAT_NUMBER,
		0, 0
	},
	{
		"Z ",
		&gPlayers[0].pos[2],
		sizeof(gPlayerOne->pos[2]),
		DISPLAY_FLOAT_NUMBER,
		0, 0
	},
	{
		"Torque 9C: ",
		&gPlayers[0].currentSpeed,
		sizeof(gPlayerOne->currentSpeed),
		DISPLAY_FLOAT_NUMBER,
		0, 0
	},
	{
		"Top Speed 214: ",
		&gPlayers[0].topSpeed,
		sizeof(gPlayerOne->topSpeed),
		DISPLAY_FLOAT_NUMBER,
		0, 0
	},
	{
		"Accel Offset C4: ",
		&gPlayers[0].slopeAccel,
		sizeof(gPlayerOne->slopeAccel),
		DISPLAY_SIGNED_NUMBER,
		0, 0
	},

};

#endif