sramfile.hh File Reference

#include <QString>
#include "exceptions/invalidsramfileexception.hh"

Go to the source code of this file.

Namespaces

namespace  lozsrame

Classes

class  lozsrame::SRAMFile
 A model of the SRAM data used by The Legend of Zelda. More...

Enumerations

enum  lozsrame::sf_arrow { lozsrame::ARROW_NONE, lozsrame::ARROW_WOODEN, lozsrame::ARROW_SILVER }
 the types of arrows More...
enum  lozsrame::sf_candle { lozsrame::CANDLE_NONE, lozsrame::CANDLE_BLUE, lozsrame::CANDLE_RED }
 the types of candles More...
enum  lozsrame::sf_item {
  lozsrame::ITEM_BOW = 3, lozsrame::ITEM_WHISTLE = 5, lozsrame::ITEM_BAIT, lozsrame::ITEM_WAND = 8,
  lozsrame::ITEM_RAFT, lozsrame::ITEM_BOOK, lozsrame::ITEM_LADDER = 12, lozsrame::ITEM_MAGICKEY,
  lozsrame::ITEM_POWERBRACELET, lozsrame::ITEM_BOOMERANG = 29, lozsrame::ITEM_MAGICBOOMERANG, lozsrame::ITEM_MAGICSHIELD
}
 the game items More...
enum  lozsrame::sf_note { lozsrame::NOTE_OLDMAN, lozsrame::NOTE_LINK, lozsrame::NOTE_OLDWOMAN }
 locations of the potion note More...
enum  lozsrame::sf_potion { lozsrame::POTION_NONE, lozsrame::POTION_BLUE, lozsrame::POTION_RED }
 the types of potions More...
enum  lozsrame::sf_quest { lozsrame::QUEST_FIRST, lozsrame::QUEST_SECOND }
 the types of quests More...
enum  lozsrame::sf_ring { lozsrame::RING_NONE, lozsrame::RING_BLUE, lozsrame::RING_RED }
 the types of rings More...
enum  lozsrame::sf_sword { lozsrame::SWORD_NONE, lozsrame::SWORD_WOODEN, lozsrame::SWORD_WHITE, lozsrame::SWORD_MASTER }
 the types of swords More...

Variables

const int lozsrame::ARROWS_OFFSET = 0x2
 offset of the arrow data
const int lozsrame::BOMBCAPACITY_OFFSET = 0x25
 offset of link's bomb carrying capacity
const int lozsrame::BOMBS_OFFSET = 0x1
 offset of bomb count data
const int lozsrame::CANDLE_OFFSET = 0x4
 offset of the candle data
const int lozsrame::CHECKSUM_OFFSET = 0x524
 starting offset of the checksum data
const int lozsrame::COMPASS_OFFSET = 0x10
 offset of the compass data
const int lozsrame::COMPASS9_OFFSET = 0x12
 offset of the compass data for level 9
const int lozsrame::HEARTCONTAINERS_OFFSET = 0x18
 offset of the heart container data
const int lozsrame::INVENTORY_DATA = 0x1A
 starting offset of the inventory data
const int lozsrame::INVENTORY_DATA_SIZE = 0x28
 size of the inventory data
const int lozsrame::KEYS_OFFSET = 0x17
 offset of the keys
const int lozsrame::MAP_DATA = 0x92
 starting offset of the map data
const int lozsrame::MAP_DATA_SIZE = 0x180
 size of the map data
const int lozsrame::MAP_OFFSET = 0x11
 offset of the level map data
const int lozsrame::MAP9_OFFSET = 0x13
 offset of the level map data for level 9
const int lozsrame::MISC_DATA = 0x512
 starting offset of the misc data
const int lozsrame::MISC_DATA_SIZE = 0x4
 size of the misc data
const int lozsrame::NAME_DATA = 0x2
 starting offset of the name data
const int lozsrame::NAME_DATA_SIZE = 0x8
 size of the name data
const int lozsrame::NOTE_OFFSET = 0xF
 offset of the note data
const int lozsrame::QUEST_OFFSET = 0x9
 offset of the quest data
const int lozsrame::PLAYCOUNT_OFFSET = 0x6
 offset of the play count
const int lozsrame::POTION_OFFSET = 0x7
 offset of the potion data
const int lozsrame::RING_OFFSET = 0xB
 offset of the ring data
const int lozsrame::RUPEES_OFFSET = 0x16
 offset of the rupees
const int lozsrame::SRAM_SIZE = 0x2000
 size of the SRAM data
const int lozsrame::SWORD_OFFSET = 0x0
 offset of sword data
const int lozsrame::TRIFORCE_OFFSET = 0x1A
 offset of the triforce data


Generated on Mon Dec 29 00:56:07 2008 for Legend of Zelda SRAM Editor by  doxygen 1.5.4