22 #ifndef ULTIMA4_CORE_DEBUGGER_H 23 #define ULTIMA4_CORE_DEBUGGER_H 25 #include "ultima/ultima4/core/coords.h" 26 #include "ultima/ultima4/core/types.h" 27 #include "ultima/ultima4/core/debugger_actions.h" 28 #include "ultima/shared/engine/debugger.h" 38 MapTile _horse, _ship, _balloon;
53 bool handleCommand(
int argc,
const char **argv,
bool &keepRunning)
override;
59 void print(
const char *fmt, ...)
override;
65 void printN(
const char *fmt, ...)
override;
88 bool cmdMove(
int argc,
const char **argv);
93 bool cmdAttack(
int argc,
const char **argv);
98 bool cmdBoard(
int argc,
const char **argv);
103 bool cmdCastSpell(
int argc,
const char **argv);
108 bool cmdClimb(
int argc,
const char **argv);
113 bool cmdDescend(
int argc,
const char **argv);
118 bool cmdEnter(
int argc,
const char **argv);
123 bool cmdExit(
int argc,
const char **argv);
128 bool cmdFire(
int argc,
const char **argv);
133 bool cmdGetChest(
int argc,
const char **argv);
138 bool cmdCamp(
int argc,
const char **argv);
143 bool cmdIgnite(
int argc,
const char **argv);
148 bool cmdInteract(
int argc,
const char **argv);
153 bool cmdJimmy(
int argc,
const char **argv);
158 bool cmdLocate(
int argc,
const char **argv);
163 bool cmdMixReagents(
int argc,
const char **argv);
169 bool cmdNewOrder(
int argc,
const char **argv);
174 bool cmdOpenDoor(
int argc,
const char **argv);
179 bool cmdParty(
int argc,
const char **argv);
184 bool cmdPass(
int argc,
const char **argv);
189 bool cmdPeer(
int argc,
const char **argv);
194 bool cmdQuitAndSave(
int argc,
const char **argv);
200 bool cmdReadyWeapon(
int argc,
const char **argv);
205 bool cmdSearch(
int argc,
const char **argv);
210 bool cmdSpeed(
int argc,
const char **argv);
215 bool cmdCombatSpeed(
int argc,
const char **argv);
221 bool cmdStats(
int argc,
const char **argv);
226 bool cmdTalk(
int argc,
const char **argv);
231 bool cmdUse(
int argc,
const char **argv);
236 bool cmdWearArmor(
int argc,
const char **argv);
241 bool cmdYell(
int argc,
const char **argv);
246 bool cmd3d(
int argc,
const char **argv);
251 bool cmdAbyss(
int argc,
const char **argv);
256 bool cmdCollisions(
int argc,
const char **argv);
261 bool cmdCompanions(
int argc,
const char **argv);
266 bool cmdCombat(
int argc,
const char **argv);
271 bool cmdDestroy(
int argc,
const char **argv);
276 bool cmdDestroyCreatures(
int argc,
const char **argv);
281 bool cmdDungeon(
int argc,
const char **argv);
286 bool cmdFlee(
int argc,
const char **argv);
291 bool cmdEquipment(
int argc,
const char **argv);
296 bool cmdFullStats(
int argc,
const char **argv);
301 bool cmdHunger(
int argc,
const char **argv);
306 bool cmdGate(
int argc,
const char **argv);
311 bool cmdGoto(
int argc,
const char **argv);
316 bool cmdLorddBritish(
int argc,
const char **argv);
321 bool cmdKarma(
int argc,
const char **argv);
326 bool cmdItems(
int argc,
const char **argv);
331 bool cmdLeave(
int argc,
const char **argv);
336 bool cmdLocation(
int argc,
const char **argv);
341 bool cmdMixtures(
int argc,
const char **argv);
346 bool cmdMoon(
int argc,
const char **argv);
351 bool cmdOpacity(
int argc,
const char **argv);
356 bool cmdOverhead(
int argc,
const char **argv);
361 bool cmdReagents(
int argc,
const char **argv);
366 bool cmdSummon(
int argc,
const char **argv);
371 bool cmdTorch(
int argc,
const char **argv);
376 bool cmdTransport(
int argc,
const char **argv);
381 bool cmdUp(
int argc,
const char **argv);
386 bool cmdDown(
int argc,
const char **argv);
391 bool cmdVirtue(
int argc,
const char **argv);
396 bool cmdWind(
int argc,
const char **argv);
401 bool cmdListTriggers(
int argc,
const char **argv);
403 bool _collisionOverride;
void getChest(int player=-2)
void printN(const char *fmt,...) override
bool isDebuggerActive() const override
Definition: debugger.h:44
Definition: debugger.h:36
Direction getDirection(int argc, const char **argv)
bool handleCommand(int argc, const char **argv, bool &keepRunning) override
Definition: detection.h:27
Definition: map_tile.h:34
bool isActive() const
Definition: debugger.h:75
Definition: debugger.h:36
void print(const char *fmt,...) override
Definition: debugger_actions.h:38
void dontEndTurn()
Definition: debugger.h:81