Main Page | Namespace List | Class List | Directories | File List | Namespace Members | Class Members | File Members

smse::Frame Class Reference

#include <Frame.hh>

List of all members.


Detailed Description

The main application frame.

Definition at line 37 of file Frame.hh.

Public Member Functions

 Frame ()
 Creates a new Frame.

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 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 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 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 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
SRAMFilesram
bool ignoreTextEvents

Static Private Attributes

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 EYEDOORS = 5
 number of eye doors in the game
static const int METALDOORS = 39
 number of metal doors in the game


Constructor & Destructor Documentation

Frame::Frame  ) 
 

Creates a new Frame.

Definition at line 46 of file Frame.cc.


Member Function Documentation

bool Frame::close bool  save = false  )  [private]
 

Closes the current SRAMFile.

Parameters:
save true to save before closing; false otherwise.
Returns:
true if the file was closed; false otherwise.

Definition at line 73 of file Frame.cc.

void Frame::CreateControls  )  [private]
 

Creates the controls for this Frame.

Definition at line 60 of file Frame.cc.

void Frame::enableMenus  )  [private]
 

Enables or disables the menus according to the SRAMFile status.

Definition at line 89 of file Frame.cc.

void Frame::load int  game = 0  )  [private]
 

Loads save game data into the Frame controls.

Parameters:
game The game to load.

Definition at line 104 of file Frame.cc.

void Frame::loadBosses  )  [private]
 

Loads boss data into the controls.

Definition at line 132 of file Frame.cc.

void Frame::loadColorDoorsTab  )  [private]
 

Loads the game data into the controls on the Color Doors tab.

Definition at line 161 of file Frame.cc.

void Frame::loadControllerConfig  )  [private]
 

Loads the controller configuration into the controls.

Definition at line 167 of file Frame.cc.

void Frame::loadEnergy  )  [private]
 

Loads Samus' energy data into the controls.

Definition at line 187 of file Frame.cc.

void Frame::loadEnergyTanks  )  [private]
 

Loads energy tank data into the controls.

Definition at line 208 of file Frame.cc.

void Frame::loadEyeDoors  )  [private]
 

Loads eye door data into the controls.

Definition at line 242 of file Frame.cc.

void Frame::loadGameConfig  )  [private]
 

Loads the misc game configuration into the controls.

Definition at line 258 of file Frame.cc.

void Frame::loadGameStatus  )  [private]
 

Loads the misc game status into the controls.

Definition at line 270 of file Frame.cc.

void Frame::loadGameTab  )  [private]
 

Loads the game data into the controls on the Game tab.

Definition at line 280 of file Frame.cc.

void Frame::loadGameTime  )  [private]
 

Loads the game time into the controls.

Definition at line 292 of file Frame.cc.

void Frame::loadGreenDoors  )  [private]
 

Loads green door data into the controls.

Definition at line 307 of file Frame.cc.

void Frame::loadInventory  )  [private]
 

Loads Samus' inventory data into the controls.

Definition at line 368 of file Frame.cc.

void Frame::loadItems  )  [private]
 

Loads Samus' item data into the controls.

Definition at line 398 of file Frame.cc.

void Frame::loadItemsTab  )  [private]
 

Loads the game data into the controls on the Items tab.

Definition at line 479 of file Frame.cc.

void Frame::loadMaps  )  [private]
 

Loads area map data into the controls.

Definition at line 490 of file Frame.cc.

void Frame::loadMetalDoors  )  [private]
 

Loads metal door data into the controls.

Definition at line 508 of file Frame.cc.

void Frame::loadMiniBosses  )  [private]
 

Loads the miniboss data into the controls.

Definition at line 603 of file Frame.cc.

void Frame::loadMiscTab  )  [private]
 

Loads the game data into the controls on the Misc tab.

Definition at line 628 of file Frame.cc.

void Frame::loadMissilePacks  )  [private]
 

Loads missile pack data into the controls.

Definition at line 635 of file Frame.cc.

void Frame::loadPowerBombPacks  )  [private]
 

Loads power bomb pack data into the contols.

Definition at line 742 of file Frame.cc.

void Frame::loadRedDoors  )  [private]
 

Loads red door data into the controls.

Definition at line 775 of file Frame.cc.

void Frame::loadReserveTanks  )  [private]
 

Loads reserve tank data into the controls.

Definition at line 846 of file Frame.cc.

void Frame::loadSavePoint  )  [private]
 

Loads the save point data into the controls.

Definition at line 860 of file Frame.cc.

void Frame::loadSpecialDoorsTab  )  [private]
 

Loads the game data into the controls on the Special Doors tab.

Definition at line 898 of file Frame.cc.

void Frame::loadSuperMissilePacks  )  [private]
 

Loads super missile pack data into the controls.

Definition at line 903 of file Frame.cc.

void Frame::loadYellowDoors  )  [private]
 

Loads yellow door data into the controls.

Definition at line 938 of file Frame.cc.

void Frame::loadZebetites  )  [private]
 

Loads zebetite data into the controls.

Definition at line 975 of file Frame.cc.

void Frame::onBossChange wxCommandEvent &  event  )  [private]
 

Called when a boss control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1004 of file Frame.cc.

void Frame::onControllerChange wxCommandEvent &  event  )  [private]
 

Called when one of the controller configuration controls is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1033 of file Frame.cc.

void Frame::onEnergyChange wxCommandEvent &  event  )  [private]
 

Called when an energy control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1061 of file Frame.cc.

void Frame::onEnergyTankChange wxCommandEvent &  event  )  [private]
 

Called when an energy tank control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1103 of file Frame.cc.

void Frame::onEyeDoorChange wxCommandEvent &  event  )  [private]
 

Called when an eye door control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1154 of file Frame.cc.

void Frame::onFileClose wxCommandEvent &  event  )  [private]
 

Called when close from the file menu is selected.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1174 of file Frame.cc.

void smse::Frame::onFileCloseUpdate wxUpdateUIEvent &  event  )  [inline, private]
 

Called in idle time to update the close file menu item.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 718 of file Frame.hh.

void smse::Frame::onFileExit wxCommandEvent &  event  )  [inline, private]
 

Called when exit from the file menu is selected.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 720 of file Frame.hh.

void Frame::onFileOpen wxCommandEvent &  event  )  [private]
 

Called when open from the file menu is selected.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1193 of file Frame.cc.

void Frame::onFileSave wxCommandEvent &  event  )  [private]
 

Called when save from the file menu is selected.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1235 of file Frame.cc.

void Frame::onFileSaveAs wxCommandEvent &  event  )  [private]
 

Called when save as from the file menu is selected.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1242 of file Frame.cc.

void Frame::onFileSaveUpdate wxUpdateUIEvent &  event  )  [private]
 

Called in idle time to update the save and save as file menu items.

Parameters:
event The triggering wxUpdateUIEvent (unused).

Definition at line 1255 of file Frame.cc.

void Frame::onGame wxCommandEvent &  event  )  [private]
 

Called when a game is selected from the game menu.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1265 of file Frame.cc.

void Frame::onGameEnding wxCommandEvent &  event  )  [private]
 

Called when an ending from the game menu is selected.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1278 of file Frame.cc.

void smse::Frame::onGameEndingUpdate wxUpdateUIEvent &  event  )  [inline, private]
 

Called in idle time to update the ending submenu.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 721 of file Frame.hh.

void Frame::onGameGiveBosses wxCommandEvent &  event  )  [private]
 

Called when bosses is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1296 of file Frame.cc.

void Frame::onGameGiveEnergy wxCommandEvent &  event  )  [private]
 

Called when energy is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1317 of file Frame.cc.

void Frame::onGameGiveEnergyTanks wxCommandEvent &  event  )  [private]
 

Called when energy tanks is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1326 of file Frame.cc.

void Frame::onGameGiveEverything wxCommandEvent &  event  )  [private]
 

Called when everything is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1337 of file Frame.cc.

void Frame::onGameGiveEyeDoors wxCommandEvent &  event  )  [private]
 

Called when eye doors is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1410 of file Frame.cc.

void Frame::onGameGiveGreenDoors wxCommandEvent &  event  )  [private]
 

Called when green doors is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1421 of file Frame.cc.

void Frame::onGameGiveInventory wxCommandEvent &  event  )  [private]
 

Called when inventory is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1432 of file Frame.cc.

void Frame::onGameGiveItems wxCommandEvent &  event  )  [private]
 

Called when items is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1442 of file Frame.cc.

void Frame::onGameGiveMaps wxCommandEvent &  event  )  [private]
 

Called when maps is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1497 of file Frame.cc.

void Frame::onGameGiveMetalDoors wxCommandEvent &  event  )  [private]
 

Called when metal doors is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1511 of file Frame.cc.

void Frame::onGameGiveMiniBosses wxCommandEvent &  event  )  [private]
 

Called when mini-bosses is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1522 of file Frame.cc.

void Frame::onGameGiveMissilePacks wxCommandEvent &  event  )  [private]
 

Called when missile packs is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1535 of file Frame.cc.

void Frame::onGameGivePowerBombPacks wxCommandEvent &  event  )  [private]
 

Called when power bombs is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1546 of file Frame.cc.

void Frame::onGameGiveRedDoors wxCommandEvent &  event  )  [private]
 

Called when red doors is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1557 of file Frame.cc.

void Frame::onGameGiveReserveTanks wxCommandEvent &  event  )  [private]
 

Called when reserve tanks is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1568 of file Frame.cc.

void Frame::onGameGiveSuperMissilePacks wxCommandEvent &  event  )  [private]
 

Called when super missile packs is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1579 of file Frame.cc.

void smse::Frame::onGameGiveUpdate wxUpdateUIEvent &  event  )  [inline, private]
 

Called in idle time to update the give submenu.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 723 of file Frame.hh.

void Frame::onGameGiveYellowDoors wxCommandEvent &  event  )  [private]
 

Called when yellow doors is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1590 of file Frame.cc.

void Frame::onGameGiveZebetites wxCommandEvent &  event  )  [private]
 

Called when zebetites is selected rom the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1601 of file Frame.cc.

void Frame::onGameTimeChange wxCommandEvent &  event  )  [private]
 

Called when the game time control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1609 of file Frame.cc.

void Frame::onGameUpdate wxUpdateUIEvent &  event  )  [private]
 

Called in idle time to update the game menu items.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 1645 of file Frame.cc.

void Frame::onGreenDoorChange wxCommandEvent &  event  )  [private]
 

Called when a green door control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1668 of file Frame.cc.

void Frame::onHelpAbout wxCommandEvent &  event  )  [private]
 

Called when help from the about menu is selected.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1724 of file Frame.cc.

void Frame::onItemChange wxCommandEvent &  event  )  [private]
 

Called when an item control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1732 of file Frame.cc.

void Frame::onItemEquippedChange wxCommandEvent &  event  )  [private]
 

Called when an item equipped control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1784 of file Frame.cc.

void Frame::onItemEquippedUpdate wxUpdateUIEvent &  event  )  [private]
 

Called in idle time to update the equipped item controls.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 1830 of file Frame.cc.

void Frame::onMapChange wxCommandEvent &  event  )  [private]
 

Called when a map control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1883 of file Frame.cc.

void Frame::onMetalDoorChange wxCommandEvent &  event  )  [private]
 

Called when a metal door control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1905 of file Frame.cc.

void Frame::onMiniBossChange wxCommandEvent &  event  )  [private]
 

Called when a mini boss control is changed.

Definition at line 1993 of file Frame.cc.

void Frame::onMiscConfigChange wxCommandEvent &  event  )  [private]
 

Called when one of the misc game config controls is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2013 of file Frame.cc.

void Frame::onMiscStatChange wxCommandEvent &  event  )  [private]
 

Called when one of the misc game status controls is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2029 of file Frame.cc.

void Frame::onMissilePackChange wxCommandEvent &  event  )  [private]
 

Called when a missile pack control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2043 of file Frame.cc.

void Frame::onMissilesChange wxCommandEvent &  event  )  [private]
 

Called when the missiles text control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2188 of file Frame.cc.

void Frame::onMissilesSpinner wxSpinEvent &  event  )  [private]
 

Called when the missiles spin button control is changed.

Parameters:
event The triggering wxSpinEvent.

Definition at line 2158 of file Frame.cc.

void Frame::onNotebookUpdate wxUpdateUIEvent &  event  )  [private]
 

Called in idle time to update the notebook control.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 2218 of file Frame.cc.

void Frame::onPowerBombPackChange wxCommandEvent &  event  )  [private]
 

Called when a power bomb pack control is changed.

Parameters:
event The triggerging wxCommandEvent.

Definition at line 2231 of file Frame.cc.

void Frame::onPowerBombsChange wxCommandEvent &  event  )  [private]
 

Called when the power bombs text control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2304 of file Frame.cc.

void Frame::onPowerBombsSpinner wxSpinEvent &  event  )  [private]
 

Called when the power bombs spin button control is changed.

Parameters:
event The triggering wxSpinEvent.

Definition at line 2274 of file Frame.cc.

void Frame::onRedDoorChange wxCommandEvent &  event  )  [private]
 

Called when a red door control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2334 of file Frame.cc.

void Frame::onReserveTankChange wxCommandEvent &  event  )  [private]
 

Called when a reserve tank control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2404 of file Frame.cc.

void Frame::onSaveAreaChange wxCommandEvent &  event  )  [private]
 

Called when the save area control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2435 of file Frame.cc.

void Frame::onSavePointChange wxCommandEvent &  event  )  [private]
 

Called when a save point control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2445 of file Frame.cc.

void Frame::onSavePointUpdate wxUpdateUIEvent &  event  )  [private]
 

Called in idle time to update the save point controls.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 2471 of file Frame.cc.

void Frame::onStatueChange wxCommandEvent &  event  )  [private]
 

Called when a statue control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2525 of file Frame.cc.

void Frame::onStatueUpdate wxUpdateUIEvent &  event  )  [private]
 

Called in idle time to update the statue controls.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 2552 of file Frame.cc.

void Frame::onStatusBarTimer wxTimerEvent &  event  )  [private]
 

Called when the status bar timer goes off.

Parameters:
event The triggering wxTimerEvent (unused).

Definition at line 2577 of file Frame.cc.

void Frame::onSuperMissilePackChange wxCommandEvent &  event  )  [private]
 

Called when a super missile pack control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2581 of file Frame.cc.

void Frame::onSuperMissilesChange wxCommandEvent &  event  )  [private]
 

Called when the super missiles text control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2654 of file Frame.cc.

void Frame::onSuperMissilesSpinner wxSpinEvent &  event  )  [private]
 

Called when the super missiles spin button control is changed.

Parameters:
event The triggering wxSpinEvent.

Definition at line 2624 of file Frame.cc.

void Frame::onWindowClosing wxCloseEvent &  event  )  [private]
 

Called when this Frame is being closed.

Parameters:
event The triggering wxCloseEvent.

Definition at line 2684 of file Frame.cc.

void Frame::onYellowDoorChange wxCommandEvent &  event  )  [private]
 

Called when a yellow door control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2705 of file Frame.cc.

void Frame::onZebetitesChange wxCommandEvent &  event  )  [private]
 

Called when the zebetites control is changed.

Definition at line 2741 of file Frame.cc.

bool Frame::save const wxString &  filename = wxEmptyString  )  [private]
 

Saves the SRAMFile to disk.

Parameters:
filename The filename to save as.
Returns:
true if the SRAMFile was saved; false otherwise.

Definition at line 990 of file Frame.cc.


Member Data Documentation

const int smse::Frame::ETANKS = 14 [static, private]
 

number of energy tanks in the game

Definition at line 52 of file Frame.hh.

const int smse::Frame::EYEDOORS = 5 [static, private]
 

number of eye doors in the game

Definition at line 67 of file Frame.hh.

const int smse::Frame::GREENDOORS = 23 [static, private]
 

number of green doors in the game

Definition at line 61 of file Frame.hh.

bool smse::Frame::ignoreTextEvents [private]
 

Definition at line 74 of file Frame.hh.

const int smse::Frame::METALDOORS = 39 [static, private]
 

number of metal doors in the game

Definition at line 70 of file Frame.hh.

const int smse::Frame::MISSILE_PACKS = 46 [static, private]
 

number of missile packs in the game

Definition at line 43 of file Frame.hh.

const int smse::Frame::PBOMB_PACKS = 10 [static, private]
 

number of power bomb packs in the game

Definition at line 49 of file Frame.hh.

const int smse::Frame::REDDOORS = 30 [static, private]
 

number of red doors in the game

Definition at line 58 of file Frame.hh.

const int smse::Frame::RTANKS = 4 [static, private]
 

number of reserve tanks in the game

Definition at line 55 of file Frame.hh.

const int smse::Frame::SMISSILE_PACKS = 10 [static, private]
 

number of super missile packs in the game

Definition at line 46 of file Frame.hh.

SRAMFile* smse::Frame::sram [private]
 

Definition at line 73 of file Frame.hh.

wxTimer smse::Frame::timer [private]
 

Definition at line 72 of file Frame.hh.

const int smse::Frame::YELLOWDOORS = 13 [static, private]
 

number of yellow doors in the game

Definition at line 64 of file Frame.hh.


Generated on Thu Oct 13 02:25:06 2005 for Super Metroid SRAM Editor by  doxygen 1.4.2