#include <debugger_actions.h>
This is a secondary class inherited by the Debugger class that contains various support methods for implementing the different actions players can take in the game
◆ isDebuggerActive()
virtual bool Ultima::Ultima4::DebuggerActions::isDebuggerActive |
( |
| ) |
const |
|
protectedpure virtual |
◆ print()
virtual void Ultima::Ultima4::DebuggerActions::print |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
protectedpure virtual |
◆ printN()
virtual void Ultima::Ultima4::DebuggerActions::printN |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
protectedpure virtual |
◆ prompt()
virtual void Ultima::Ultima4::DebuggerActions::prompt |
( |
| ) |
|
|
protectedpure virtual |
◆ isCombat()
bool Ultima::Ultima4::DebuggerActions::isCombat |
( |
| ) |
const |
|
protected |
Returns true if combat is currently active
◆ getCombatFocus()
int Ultima::Ultima4::DebuggerActions::getCombatFocus |
( |
| ) |
const |
|
protected |
Returns currently focused character in combat mode
◆ summonCreature()
void Ultima::Ultima4::DebuggerActions::summonCreature |
( |
const Common::String & |
name | ) |
|
Summons a creature given by 'creatureName'. This can either be given as the creature's name, or the creature's id. Once it finds the creature to be summoned, it calls gameSpawnCreature() to spawn it.
◆ destroyAt()
bool Ultima::Ultima4::DebuggerActions::destroyAt |
( |
const Coords & |
coords | ) |
|
Destroy object at a given co-ordinate
◆ directionFromName()
Direction Ultima::Ultima4::DebuggerActions::directionFromName |
( |
const Common::String & |
dirStr | ) |
|
Returns a direction from a given string
◆ getChestTrapHandler()
bool Ultima::Ultima4::DebuggerActions::getChestTrapHandler |
( |
int |
player | ) |
|
Called by getChest() to handle possible traps on chests
◆ jimmyAt()
bool Ultima::Ultima4::DebuggerActions::jimmyAt |
( |
const Coords & |
coords | ) |
|
Attempts to jimmy a locked door at map coordinates x,y. The locked door is replaced by a permanent annotation of an unlocked door tile.
◆ mixReagentsForSpellU4()
bool Ultima::Ultima4::DebuggerActions::mixReagentsForSpellU4 |
( |
int |
spell | ) |
|
Prompts for spell reagents to mix in the traditional Ultima IV style.
◆ mixReagentsForSpellU5()
bool Ultima::Ultima4::DebuggerActions::mixReagentsForSpellU5 |
( |
int |
spell | ) |
|
Prompts for spell reagents to mix with an Ultima V-like menu.
◆ openAt()
bool Ultima::Ultima4::DebuggerActions::openAt |
( |
const Coords & |
coords | ) |
|
Attempts to open a door at map coordinates x,y. The door is replaced by a temporary annotation of a floor tile for 4 turns.
◆ talkAt()
bool Ultima::Ultima4::DebuggerActions::talkAt |
( |
const Coords & |
coords | ) |
|
Begins a conversation with the NPC at map coordinates x,y. If no NPC is present at that point, zero is returned.
The documentation for this class was generated from the following file: