|
Public Member Functions |
| Frame () |
| Creates a new Frame.
|
void | open (const wxString &filename) |
| Opens an SRAM file.
|
Private Member Functions |
void | CreateControls () |
| Creates the controls for this Frame.
|
bool | close (bool save=false) |
| Closes the current SRAMFile.
|
void | enableMenus () |
| Enables or disables the menus according to the SRAMFile status.
|
void | load (int game=0) |
| Loads save game data into the Frame controls.
|
void | loadBosses () |
| Loads boss data into the controls.
|
void | loadColorDoorsTab () |
| Loads the game data into the controls on the Color Doors tab.
|
void | loadControllerConfig () |
| Loads the controller configuration into the controls.
|
void | loadEnergy () |
| Loads Samus' energy data into the controls.
|
void | loadEnergyTanks () |
| Loads energy tank data into the controls.
|
void | loadEyeDoors () |
| Loads eye door data into the controls.
|
void | loadGameConfig () |
| Loads the misc game configuration into the controls.
|
void | loadGameStatus () |
| Loads the misc game status into the controls.
|
void | loadGameTab () |
| Loads the game data into the controls on the Game tab.
|
void | loadGameTime () |
| Loads the game time into the controls.
|
void | loadGreenDoors () |
| Loads green door data into the controls.
|
void | loadInventory () |
| Loads Samus' inventory data into the controls.
|
void | loadItems () |
| Loads Samus' item data into the controls.
|
void | loadItemsTab () |
| Loads the game data into the controls on the Items tab.
|
void | loadMaps () |
| Loads area map data into the controls.
|
void | loadMetalDoors () |
| Loads metal door data into the controls.
|
void | loadMetroidRooms () |
| Loads the metroid room data into the controls.
|
void | loadMiniBosses () |
| Loads the miniboss data into the controls.
|
void | loadMiscTab () |
| Loads the game data into the controls on the Misc tab.
|
void | loadMissilePacks () |
| Loads missile pack data into the controls.
|
void | loadPowerBombPacks () |
| Loads power bomb pack data into the contols.
|
void | loadRedDoors () |
| Loads red door data into the controls.
|
void | loadReserveTanks () |
| Loads reserve tank data into the controls.
|
void | loadSavePoint () |
| Loads the save point data into the controls.
|
void | loadSpecialDoorsTab () |
| Loads the game data into the controls on the Special Doors tab.
|
void | loadSuperMissilePacks () |
| Loads super missile pack data into the controls.
|
void | loadYellowDoors () |
| Loads yellow door data into the controls.
|
void | loadZebetites () |
| Loads zebetite data into the controls.
|
bool | save (const wxString &filename=wxEmptyString) |
| Saves the SRAMFile to disk.
|
void | onBossChange (wxCommandEvent &event) |
| Called when a boss control is changed.
|
void | onControllerChange (wxCommandEvent &event) |
| Called when one of the controller configuration controls is changed.
|
void | onEnergyChange (wxCommandEvent &event) |
| Called when an energy control is changed.
|
void | onEnergyTankChange (wxCommandEvent &event) |
| Called when an energy tank control is changed.
|
void | onEyeDoorChange (wxCommandEvent &event) |
| Called when an eye door control is changed.
|
void | onFileClose (wxCommandEvent &event) |
| Called when close from the file menu is selected.
|
void | onFileCloseUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the close file menu item.
|
void | onFileExit (wxCommandEvent &event) |
| Called when exit from the file menu is selected.
|
void | onFileOpen (wxCommandEvent &event) |
| Called when open from the file menu is selected.
|
void | onFileSave (wxCommandEvent &event) |
| Called when save from the file menu is selected.
|
void | onFileSaveAs (wxCommandEvent &event) |
| Called when save as from the file menu is selected.
|
void | onFileSaveUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the save and save as file menu items.
|
void | onGame (wxCommandEvent &event) |
| Called when a game is selected from the game menu.
|
void | onGameClear (wxCommandEvent &event) |
| Called when one of the clear submenu items is selected.
|
void | onGameClearUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the clear submenu.
|
void | onGameCopy (wxCommandEvent &event) |
| Called when one of the copy submenu items is selected.
|
void | onGameCopyUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the copy submenu.
|
void | onGameEnding (wxCommandEvent &event) |
| Called when an ending from the game menu is selected.
|
void | onGameEndingUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the ending submenu.
|
void | onGameGiveBosses (wxCommandEvent &event) |
| Called when bosses is selected from the give submenu.
|
void | onGameGiveEnergy (wxCommandEvent &event) |
| Called when energy is selected from the give submenu.
|
void | onGameGiveEnergyTanks (wxCommandEvent &event) |
| Called when energy tanks is selected from the give submenu.
|
void | onGameGiveEverything (wxCommandEvent &event) |
| Called when everything is selected from the give submenu.
|
void | onGameGiveEyeDoors (wxCommandEvent &event) |
| Called when eye doors is selected from the give submenu.
|
void | onGameGiveGreenDoors (wxCommandEvent &event) |
| Called when green doors is selected from the give submenu.
|
void | onGameGiveInventory (wxCommandEvent &event) |
| Called when inventory is selected from the give submenu.
|
void | onGameGiveItems (wxCommandEvent &event) |
| Called when items is selected from the give submenu.
|
void | onGameGiveMaps (wxCommandEvent &event) |
| Called when maps is selected from the give submenu.
|
void | onGameGiveMetalDoors (wxCommandEvent &event) |
| Called when metal doors is selected from the give submenu.
|
void | onGameGiveMetroidRooms (wxCommandEvent &event) |
| Called when metroid rooms is selected from the give submenu.
|
void | onGameGiveMiniBosses (wxCommandEvent &event) |
| Called when mini-bosses is selected from the give submenu.
|
void | onGameGiveMissilePacks (wxCommandEvent &event) |
| Called when missile packs is selected from the give submenu.
|
void | onGameGivePowerBombPacks (wxCommandEvent &event) |
| Called when power bombs is selected from the give submenu.
|
void | onGameGiveRedDoors (wxCommandEvent &event) |
| Called when red doors is selected from the give submenu.
|
void | onGameGiveReserveTanks (wxCommandEvent &event) |
| Called when reserve tanks is selected from the give submenu.
|
void | onGameGiveSuperMissilePacks (wxCommandEvent &event) |
| Called when super missile packs is selected from the give submenu.
|
void | onGameGiveUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the give submenu.
|
void | onGameGiveYellowDoors (wxCommandEvent &event) |
| Called when yellow doors is selected from the give submenu.
|
void | onGameGiveZebetites (wxCommandEvent &event) |
| Called when zebetites is selected rom the give submenu.
|
void | onGameTimeChange (wxCommandEvent &event) |
| Called when the game time control is changed.
|
void | onGameUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the game menu items.
|
void | onGreenDoorChange (wxCommandEvent &event) |
| Called when a green door control is changed.
|
void | onHelpAbout (wxCommandEvent &event) |
| Called when help from the about menu is selected.
|
void | onItemChange (wxCommandEvent &event) |
| Called when an item control is changed.
|
void | onItemEquippedChange (wxCommandEvent &event) |
| Called when an item equipped control is changed.
|
void | onItemEquippedUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the equipped item controls.
|
void | onMapChange (wxCommandEvent &event) |
| Called when a map control is changed.
|
void | onMetalDoorChange (wxCommandEvent &event) |
| Called when a metal door control is changed.
|
void | onMetroidRoomChange (wxCommandEvent &event) |
| Called when a metroid room control is changed.
|
void | onMiniBossChange (wxCommandEvent &event) |
| Called when a mini boss control is changed.
|
void | onMiscConfigChange (wxCommandEvent &event) |
| Called when one of the misc game config controls is changed.
|
void | onMiscStatChange (wxCommandEvent &event) |
| Called when one of the misc game status controls is changed.
|
void | onMissilePackChange (wxCommandEvent &event) |
| Called when a missile pack control is changed.
|
void | onMissilesSpinner (wxSpinEvent &event) |
| Called when the missiles spin button control is changed.
|
void | onMissilesChange (wxCommandEvent &event) |
| Called when the missiles text control is changed.
|
void | onNotebookUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the notebook control.
|
void | onPowerBombPackChange (wxCommandEvent &event) |
| Called when a power bomb pack control is changed.
|
void | onPowerBombsSpinner (wxSpinEvent &event) |
| Called when the power bombs spin button control is changed.
|
void | onPowerBombsChange (wxCommandEvent &event) |
| Called when the power bombs text control is changed.
|
void | onRedDoorChange (wxCommandEvent &event) |
| Called when a red door control is changed.
|
void | onReserveTankChange (wxCommandEvent &event) |
| Called when a reserve tank control is changed.
|
void | onSaveAreaChange (wxCommandEvent &event) |
| Called when the save area control is changed.
|
void | onSavePointChange (wxCommandEvent &event) |
| Called when a save point control is changed.
|
void | onSavePointUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the save point controls.
|
void | onStatueChange (wxCommandEvent &event) |
| Called when a statue control is changed.
|
void | onStatueUpdate (wxUpdateUIEvent &event) |
| Called in idle time to update the statue controls.
|
void | onStatusBarTimer (wxTimerEvent &event) |
| Called when the status bar timer goes off.
|
void | onSuperMissilePackChange (wxCommandEvent &event) |
| Called when a super missile pack control is changed.
|
void | onSuperMissilesSpinner (wxSpinEvent &event) |
| Called when the super missiles spin button control is changed.
|
void | onSuperMissilesChange (wxCommandEvent &event) |
| Called when the super missiles text control is changed.
|
void | onWindowClosing (wxCloseEvent &event) |
| Called when this Frame is being closed.
|
void | onYellowDoorChange (wxCommandEvent &event) |
| Called when a yellow door control is changed.
|
void | onZebetitesChange (wxCommandEvent &event) |
| Called when the zebetites control is changed.
|
Private Attributes |
wxTimer | timer |
SRAMFile * | sram |
int | game |
bool | ignoreTextEvents |
Static Private Attributes |
static const int | CLEAR_DELAY = 4000 |
| time (ms) to wait before clearing the status bar
|
static const int | C_SAVEPOINTS = 2 |
| number of save points in Crateria
|
static const int | BS_SAVEPOINTS = 5 |
| number of save points in Brinstar
|
static const int | NF_SAVEPOINTS = 6 |
| number of save points in Norfair
|
static const int | WS_SAVEPOINTS = 1 |
| number of save points in the Wrecked Ship
|
static const int | M_SAVEPOINTS = 4 |
| number of save points in Maridia
|
static const int | T_SAVEPOINTS = 2 |
| number of save points in Tourian
|
static const int | MISSILE_PACKS = 46 |
| number of missile packs in the game
|
static const int | SMISSILE_PACKS = 10 |
| number of super missile packs in the game
|
static const int | PBOMB_PACKS = 10 |
| number of power bomb packs in the game
|
static const int | ETANKS = 14 |
| number of energy tanks in the game
|
static const int | RTANKS = 4 |
| number of reserve tanks in the game
|
static const int | REDDOORS = 30 |
| number of red doors in the game
|
static const int | GREENDOORS = 23 |
| number of green doors in the game
|
static const int | YELLOWDOORS = 13 |
| number of yellow doors in the game
|
static const int | METALDOORS = 40 |
| number of metal doors in the game
|
static const int | EYEDOORS = 5 |
| number of eye doors in the game
|
Friends |
class | SRAMFileTarget |