lozsrame Namespace Reference


Detailed Description

namespace used by all the classes and members of lozsrame


Classes

class  InvalidSRAMFileException
 Exception thrown when SRAMFile is passed an invalid file. More...
class  SRAMFile
 A model of the SRAM data used by The Legend of Zelda. More...
class  MainWindow
 The main application window class. More...

Enumerations

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

Variables

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


Enumeration Type Documentation

enum lozsrame::isfe_error

The possible InvalidSRAMFileException error codes.

Enumerator:
ISFE_FILENOTFOUND 
ISFE_INVALIDSIZE 
ISFE_NOVALIDGAMES 

Definition at line 31 of file invalidsramfileexception.hh.

enum lozsrame::sf_arrow

the types of arrows

Enumerator:
ARROW_NONE 
ARROW_WOODEN 
ARROW_SILVER 

Definition at line 117 of file sramfile.hh.

enum lozsrame::sf_candle

the types of candles

Enumerator:
CANDLE_NONE 
CANDLE_BLUE 
CANDLE_RED 

Definition at line 122 of file sramfile.hh.

enum lozsrame::sf_item

the game items

Enumerator:
ITEM_BOW 
ITEM_WHISTLE 
ITEM_BAIT 
ITEM_WAND 
ITEM_RAFT 
ITEM_BOOK 
ITEM_LADDER 
ITEM_MAGICKEY 
ITEM_POWERBRACELET 
ITEM_BOOMERANG 
ITEM_MAGICBOOMERANG 
ITEM_MAGICSHIELD 

Definition at line 127 of file sramfile.hh.

enum lozsrame::sf_note

locations of the potion note

Enumerator:
NOTE_OLDMAN 
NOTE_LINK 
NOTE_OLDWOMAN 

Definition at line 134 of file sramfile.hh.

enum lozsrame::sf_potion

the types of potions

Enumerator:
POTION_NONE 
POTION_BLUE 
POTION_RED 

Definition at line 139 of file sramfile.hh.

enum lozsrame::sf_quest

the types of quests

Enumerator:
QUEST_FIRST 
QUEST_SECOND 

Definition at line 144 of file sramfile.hh.

enum lozsrame::sf_ring

the types of rings

Enumerator:
RING_NONE 
RING_BLUE 
RING_RED 

Definition at line 149 of file sramfile.hh.

enum lozsrame::sf_sword

the types of swords

Enumerator:
SWORD_NONE 
SWORD_WOODEN 
SWORD_WHITE 
SWORD_MASTER 

Definition at line 154 of file sramfile.hh.


Variable Documentation

const int lozsrame::ARROWS_OFFSET = 0x2

offset of the arrow data

Definition at line 33 of file sramfile.hh.

const int lozsrame::BOMBCAPACITY_OFFSET = 0x25

offset of link's bomb carrying capacity

Definition at line 36 of file sramfile.hh.

const int lozsrame::BOMBS_OFFSET = 0x1

offset of bomb count data

Definition at line 39 of file sramfile.hh.

const int lozsrame::CANDLE_OFFSET = 0x4

offset of the candle data

Definition at line 42 of file sramfile.hh.

const int lozsrame::CHECKSUM_OFFSET = 0x524

starting offset of the checksum data

Definition at line 45 of file sramfile.hh.

const int lozsrame::COMPASS9_OFFSET = 0x12

offset of the compass data for level 9

Definition at line 51 of file sramfile.hh.

const int lozsrame::COMPASS_OFFSET = 0x10

offset of the compass data

Definition at line 48 of file sramfile.hh.

const int lozsrame::HEARTCONTAINERS_OFFSET = 0x18

offset of the heart container data

Definition at line 54 of file sramfile.hh.

const int lozsrame::INVENTORY_DATA = 0x1A

starting offset of the inventory data

Definition at line 57 of file sramfile.hh.

const int lozsrame::INVENTORY_DATA_SIZE = 0x28

size of the inventory data

Definition at line 60 of file sramfile.hh.

const int lozsrame::KEYS_OFFSET = 0x17

offset of the keys

Definition at line 63 of file sramfile.hh.

const int lozsrame::MAP9_OFFSET = 0x13

offset of the level map data for level 9

Definition at line 75 of file sramfile.hh.

const int lozsrame::MAP_DATA = 0x92

starting offset of the map data

Definition at line 66 of file sramfile.hh.

const int lozsrame::MAP_DATA_SIZE = 0x180

size of the map data

Definition at line 69 of file sramfile.hh.

const int lozsrame::MAP_OFFSET = 0x11

offset of the level map data

Definition at line 72 of file sramfile.hh.

const int lozsrame::MISC_DATA = 0x512

starting offset of the misc data

Definition at line 78 of file sramfile.hh.

const int lozsrame::MISC_DATA_SIZE = 0x4

size of the misc data

Definition at line 81 of file sramfile.hh.

const int lozsrame::NAME_DATA = 0x2

starting offset of the name data

Definition at line 84 of file sramfile.hh.

const int lozsrame::NAME_DATA_SIZE = 0x8

size of the name data

Definition at line 87 of file sramfile.hh.

const int lozsrame::NOTE_OFFSET = 0xF

offset of the note data

Definition at line 90 of file sramfile.hh.

const int lozsrame::PLAYCOUNT_OFFSET = 0x6

offset of the play count

Definition at line 96 of file sramfile.hh.

const int lozsrame::POTION_OFFSET = 0x7

offset of the potion data

Definition at line 99 of file sramfile.hh.

const int lozsrame::QUEST_OFFSET = 0x9

offset of the quest data

Definition at line 93 of file sramfile.hh.

const int lozsrame::RING_OFFSET = 0xB

offset of the ring data

Definition at line 102 of file sramfile.hh.

const int lozsrame::RUPEES_OFFSET = 0x16

offset of the rupees

Definition at line 105 of file sramfile.hh.

const int lozsrame::SRAM_SIZE = 0x2000

size of the SRAM data

Definition at line 108 of file sramfile.hh.

const int lozsrame::SWORD_OFFSET = 0x0

offset of sword data

Definition at line 111 of file sramfile.hh.

const int lozsrame::TRIFORCE_OFFSET = 0x1A

offset of the triforce data

Definition at line 114 of file sramfile.hh.


Generated on Fri Feb 1 09:29:52 2008 for Legend of Zelda SRAM Editor by  doxygen 1.5.3