24 #ifndef SWORD2_CONSOLE_H 25 #define SWORD2_CONSOLE_H 27 #include "gui/debugger.h" 28 #include "sword2/debug.h" 35 void varSet(
int var,
int val);
37 bool _displayDebugText;
38 bool _displayWalkGrid;
39 bool _displayMouseMarker;
41 bool _displayPlayerMarker;
42 bool _displayTextNumbers;
48 int32 _showVar[MAX_SHOWVARS];
50 byte _debugTextBlocks[MAX_DEBUG_TEXTS];
52 void clearDebugTextBlocks();
53 void makeDebugTextBlock(
char *text, int16 x, int16 y);
55 void plotCrossHair(int16 x, int16 y, uint8 pen);
56 void drawRect(int16 x, int16 y, int16 x2, int16 y2, uint8 pen);
61 int16 _rectX1, _rectY1;
62 int16 _rectX2, _rectY2;
64 uint8 _draggingRectangle;
65 bool _definingRectangles;
69 int32 _speechScriptWaiting;
76 uint32 _graphNoFrames;
78 void buildDebugText();
79 void drawDebugGraphics();
82 void preEnter()
override;
83 void postEnter()
override;
89 bool Cmd_Mem(
int argc,
const char **argv);
90 bool Cmd_Tony(
int argc,
const char **argv);
91 bool Cmd_Res(
int argc,
const char **argv);
92 bool Cmd_ResList(
int argc,
const char **argv);
93 bool Cmd_Starts(
int argc,
const char **argv);
94 bool Cmd_Start(
int argc,
const char **argv);
95 bool Cmd_Info(
int argc,
const char **argv);
96 bool Cmd_WalkGrid(
int argc,
const char **argv);
97 bool Cmd_Mouse(
int argc,
const char **argv);
98 bool Cmd_Player(
int argc,
const char **argv);
99 bool Cmd_ResLook(
int argc,
const char **argv);
100 bool Cmd_CurrentInfo(
int argc,
const char **argv);
101 bool Cmd_RunList(
int argc,
const char **argv);
102 bool Cmd_Kill(
int argc,
const char **argv);
103 bool Cmd_Nuke(
int argc,
const char **argv);
104 bool Cmd_Var(
int argc,
const char **argv);
105 bool Cmd_Rect(
int argc,
const char **argv);
106 bool Cmd_Clear(
int argc,
const char **argv);
107 bool Cmd_DebugOn(
int argc,
const char **argv);
108 bool Cmd_DebugOff(
int argc,
const char **argv);
109 bool Cmd_SaveRest(
int argc,
const char **argv);
110 bool Cmd_TimeOn(
int argc,
const char **argv);
111 bool Cmd_TimeOff(
int argc,
const char **argv);
112 bool Cmd_Text(
int argc,
const char **argv);
113 bool Cmd_ShowVar(
int argc,
const char **argv);
114 bool Cmd_HideVar(
int argc,
const char **argv);
115 bool Cmd_Version(
int argc,
const char **argv);
116 bool Cmd_AnimTest(
int argc,
const char **argv);
117 bool Cmd_TextTest(
int argc,
const char **argv);
118 bool Cmd_LineTest(
int argc,
const char **argv);
119 bool Cmd_Events(
int argc,
const char **argv);
120 bool Cmd_Sfx(
int argc,
const char **argv);
121 bool Cmd_English(
int argc,
const char **argv);
122 bool Cmd_Finnish(
int argc,
const char **argv);
123 bool Cmd_Polish(
int argc,
const char **argv);
124 bool Cmd_FxQueue(
int argc,
const char **argv);
Definition: animation.h:37
Definition: debugger.h:41