Classes | |
class | FileIOException |
class | InvalidSRAMException |
class | Hack4u |
The main class. More... | |
class | SaveSlot |
A class representing a single game save slot. More... | |
class | SRAMFile |
class | FileDropTarget |
Class implementing a wxFileDropTarget for the MainFrame class. More... | |
class | MainFrame |
The main frame of the application. More... | |
Enumerations | |
enum | FileIOError { FIE_CANNOTOPEN, FIE_IOERROR } |
error codes that cause FileIOExceptions to be thrown More... | |
enum | InvalidSRAMError { ISE_NOSUCHFILE, ISE_IOERROR, ISE_BADCHECKSUM } |
enum | Character { MAGE, BARD, FIGHTER, DRUID, TINKER, PALADIN, RANGER, SHEPHERD } |
The eight characters. More... | |
enum | City { MOONGLOW, BRITAIN, JHELOM, YEW, MINOC, TRINSIC, SKARABRAE, MAGINCIA } |
The eight cities of virtue. More... | |
enum | Herb { ASH, GINSENG, GARLIC, SILKWEB, MOSS, PEARL, FUNGUS, MANROOT } |
The eight herbs (reagents). More... | |
enum | Magic { LIGHT, MISSILE, AWAKEN, CURE, WIND, HEAL, FIRE, EXIT, DISPEL, VIEW, PROTECT, ICE, BLINK, ENERGY, QUICK, INVALID1, SLEEP, REFLECT, NEGATE, INVALID2, DESTROY, JINX, SQUISH, GATE, TREMOR, LIFE, INVALID3, DEFEAT } |
The possible magic in the game. More... | |
enum | Moon { TRAMMEL, FELUCCA } |
The two moons of Ultima. More... | |
enum | PirateShip { SHIP1, SHIP2, SHIP3, SHIP4 } |
The capture pirate ships. More... | |
enum | StartLocation { MOONGLOW_INN = 0x5, BRITAIN_INN, JHELOM_INN, YEW_INN, MINOC_INN, TRINSIC_INN, SKARABRAE_INN, VESPER_INN = 0xE } |
The possible starting locations. More... | |
enum | Tool { TORCH, GEM, KEY, OIL, SEXTANT, SCALE, FLUTE, CANDLE, BOOK, BELL, WHEEL, HORN, SKULL, TRUTHKEY, COURAGEKEY, LOVEKEY } |
The tools. More... | |
enum | Virtue { HONESTY, COMPASSION, VALOR, JUSTICE, SACRIFICE, HONOR, SPIRITUALITY, HUMILITY } |
The eight virtues. More... | |
enum | Location { LMOONGLOW, LBRITAIN, LJHELOM, LYEW, LMINOC, LTRINSIC, LSKARABRAE, LMAGINCIA, LLYCAEUM, LEMPATHABBEY, LSERPENTSHOLD, LPAWS, LVESPER, LBUCCANEERSDEN, LCOVE } |
the possible locations for the location menu More... | |
Functions | |
const std::pair< int, int > | FOUND_BELL_OFFSET (0xD6, 1) |
const std::pair< int, int > | FOUND_BOOK_OFFSET (0xD6, 0) |
const std::pair< int, int > | FOUND_CANDLE_OFFSET (0xD5, 7) |
const std::pair< int, int > | FOUND_FLUTE_OFFSET (0xD5, 5) |
const std::pair< int, int > | FOUND_HORN_OFFSET (0xD6, 3) |
const std::pair< int, int > | FOUND_SCALE_OFFSET (0xD5, 4) |
const std::pair< int, int > | FOUND_SKULL_OFFSET (0xD6, 4) |
Variables | |
const std::pair< int, int > | FOUND_RUNES_OFFSET [] |
Found offsets for the eight runes. | |
const std::pair< int, int > | FOUND_STONES_OFFSET [] |
Found offsets for the eight stones. | |
const std::pair< int, int > | FOUND_BELL_OFFSET |
Found offset for the Bell of Courage. | |
const std::pair< int, int > | FOUND_BOOK_OFFSET |
Found offset for the Book of Truth. | |
const std::pair< int, int > | FOUND_CANDLE_OFFSET |
Found offset for the Candle of Love. | |
const std::pair< int, int > | FOUND_FLUTE_OFFSET |
Found offset for the Flute. | |
const std::pair< int, int > | FOUND_HORN_OFFSET |
Found offset for the Silver Horn. | |
const std::pair< int, int > | FOUND_SCALE_OFFSET |
Found offset for the Scale. | |
const std::pair< int, int > | FOUND_SKULL_OFFSET |
Found offset for Mondain's Skull. |
enum hack4u::Character |
enum hack4u::City |
enum hack4u::FileIOError |
error codes that cause FileIOExceptions to be thrown
Definition at line 32 of file FileIOException.hh.
enum hack4u::Herb |
Definition at line 31 of file InvalidSRAMException.hh.
enum hack4u::Location |
the possible locations for the location menu
LMOONGLOW | |
LBRITAIN | |
LJHELOM | |
LYEW | |
LMINOC | |
LTRINSIC | |
LSKARABRAE | |
LMAGINCIA | |
LLYCAEUM | |
LEMPATHABBEY | |
LSERPENTSHOLD | |
LPAWS | |
LVESPER | |
LBUCCANEERSDEN | |
LCOVE |
Definition at line 35 of file MainFrame.hh.
enum hack4u::Magic |
The possible magic in the game.
LIGHT | |
MISSILE | |
AWAKEN | |
CURE | |
WIND | |
HEAL | |
FIRE | |
EXIT | |
DISPEL | |
VIEW | |
PROTECT | |
ICE | |
BLINK | |
ENERGY | |
QUICK | |
INVALID1 | |
SLEEP | |
REFLECT | |
NEGATE | |
INVALID2 | |
DESTROY | |
JINX | |
SQUISH | |
GATE | |
TREMOR | |
LIFE | |
INVALID3 | |
DEFEAT |
Definition at line 154 of file ModelConstants.hh.
enum hack4u::Moon |
enum hack4u::PirateShip |
The possible starting locations.
MOONGLOW_INN | |
BRITAIN_INN | |
JHELOM_INN | |
YEW_INN | |
MINOC_INN | |
TRINSIC_INN | |
SKARABRAE_INN | |
VESPER_INN |
Definition at line 166 of file ModelConstants.hh.
enum hack4u::Tool |
The tools.
TORCH | |
GEM | |
KEY | |
OIL | |
SEXTANT | |
SCALE | |
FLUTE | |
CANDLE | |
BOOK | |
BELL | |
WHEEL | |
HORN | |
SKULL | |
TRUTHKEY | |
COURAGEKEY | |
LOVEKEY |
Definition at line 171 of file ModelConstants.hh.
enum hack4u::Virtue |
const std::pair<int, int> hack4u::FOUND_BELL_OFFSET | ( | 0xD6 | , | |
1 | ||||
) |
const std::pair<int, int> hack4u::FOUND_BOOK_OFFSET | ( | 0xD6 | , | |
0 | ||||
) |
const std::pair<int, int> hack4u::FOUND_CANDLE_OFFSET | ( | 0xD5 | , | |
7 | ||||
) |
const std::pair<int, int> hack4u::FOUND_FLUTE_OFFSET | ( | 0xD5 | , | |
5 | ||||
) |
const std::pair<int, int> hack4u::FOUND_HORN_OFFSET | ( | 0xD6 | , | |
3 | ||||
) |
const std::pair<int, int> hack4u::FOUND_SCALE_OFFSET | ( | 0xD5 | , | |
4 | ||||
) |
const std::pair<int, int> hack4u::FOUND_SKULL_OFFSET | ( | 0xD6 | , | |
4 | ||||
) |
const std::pair<int, int> hack4u::FOUND_BELL_OFFSET |
Found offset for the Bell of Courage.
const std::pair<int, int> hack4u::FOUND_BOOK_OFFSET |
Found offset for the Book of Truth.
const std::pair<int, int> hack4u::FOUND_CANDLE_OFFSET |
Found offset for the Candle of Love.
const std::pair<int, int> hack4u::FOUND_FLUTE_OFFSET |
Found offset for the Flute.
const std::pair<int, int> hack4u::FOUND_HORN_OFFSET |
Found offset for the Silver Horn.
const std::pair< int, int > hack4u::FOUND_RUNES_OFFSET |
Initial value:
{ std::pair<int, int>(0xD4, 4), std::pair<int, int>(0xD4, 5), std::pair<int, int>(0xD4, 6), std::pair<int, int>(0xD4, 7), std::pair<int, int>(0xD5, 0), std::pair<int, int>(0xD5, 1), std::pair<int, int>(0xD5, 2), std::pair<int, int>(0xD5, 3) }
Definition at line 36 of file SaveSlot.cc.
const std::pair<int, int> hack4u::FOUND_SCALE_OFFSET |
Found offset for the Scale.
const std::pair<int, int> hack4u::FOUND_SKULL_OFFSET |
Found offset for Mondain's Skull.
const std::pair< int, int > hack4u::FOUND_STONES_OFFSET |
Initial value:
{ std::pair<int, int>(0xD6, 7), std::pair<int, int>(0xD7, 0), std::pair<int, int>(0xD7, 1), std::pair<int, int>(0xD7, 2), std::pair<int, int>(0xD7, 3), std::pair<int, int>(0xD7, 4), std::pair<int, int>(0xD7, 5), std::pair<int, int>(0xD7, 6) }
Definition at line 43 of file SaveSlot.cc.