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.
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
SRAMFilesram
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


Constructor & Destructor Documentation

Frame::Frame (  ) 

Creates a new Frame.

Definition at line 46 of file Frame.cc.


Member Function Documentation

void Frame::CreateControls (  )  [private]

Creates the controls for this Frame.

Definition at line 63 of file Frame.cc.

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 76 of file Frame.cc.

void Frame::enableMenus (  )  [private]

Enables or disables the menus according to the SRAMFile status.

Definition at line 92 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 107 of file Frame.cc.

void Frame::loadBosses (  )  [private]

Loads boss data into the controls.

Definition at line 137 of file Frame.cc.

void Frame::loadColorDoorsTab (  )  [private]

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

Definition at line 166 of file Frame.cc.

void Frame::loadControllerConfig (  )  [private]

Loads the controller configuration into the controls.

Definition at line 172 of file Frame.cc.

void Frame::loadEnergy (  )  [private]

Loads Samus' energy data into the controls.

Definition at line 192 of file Frame.cc.

void Frame::loadEnergyTanks (  )  [private]

Loads energy tank data into the controls.

Definition at line 213 of file Frame.cc.

void Frame::loadEyeDoors (  )  [private]

Loads eye door data into the controls.

Definition at line 247 of file Frame.cc.

void Frame::loadGameConfig (  )  [private]

Loads the misc game configuration into the controls.

Definition at line 263 of file Frame.cc.

void Frame::loadGameStatus (  )  [private]

Loads the misc game status into the controls.

Definition at line 275 of file Frame.cc.

void Frame::loadGameTab (  )  [private]

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

Definition at line 285 of file Frame.cc.

void Frame::loadGameTime (  )  [private]

Loads the game time into the controls.

Definition at line 298 of file Frame.cc.

void Frame::loadGreenDoors (  )  [private]

Loads green door data into the controls.

Definition at line 313 of file Frame.cc.

void Frame::loadInventory (  )  [private]

Loads Samus' inventory data into the controls.

Definition at line 374 of file Frame.cc.

void Frame::loadItems (  )  [private]

Loads Samus' item data into the controls.

Definition at line 404 of file Frame.cc.

void Frame::loadItemsTab (  )  [private]

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

Definition at line 485 of file Frame.cc.

void Frame::loadMaps (  )  [private]

Loads area map data into the controls.

Definition at line 496 of file Frame.cc.

void Frame::loadMetalDoors (  )  [private]

Loads metal door data into the controls.

Definition at line 514 of file Frame.cc.

void Frame::loadMetroidRooms (  )  [private]

Loads the metroid room data into the controls.

Definition at line 611 of file Frame.cc.

void Frame::loadMiniBosses (  )  [private]

Loads the miniboss data into the controls.

Definition at line 625 of file Frame.cc.

void Frame::loadMiscTab (  )  [private]

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

Definition at line 650 of file Frame.cc.

void Frame::loadMissilePacks (  )  [private]

Loads missile pack data into the controls.

Definition at line 657 of file Frame.cc.

void Frame::loadPowerBombPacks (  )  [private]

Loads power bomb pack data into the contols.

Definition at line 764 of file Frame.cc.

void Frame::loadRedDoors (  )  [private]

Loads red door data into the controls.

Definition at line 797 of file Frame.cc.

void Frame::loadReserveTanks (  )  [private]

Loads reserve tank data into the controls.

Definition at line 868 of file Frame.cc.

void Frame::loadSavePoint (  )  [private]

Loads the save point data into the controls.

Definition at line 882 of file Frame.cc.

void Frame::loadSpecialDoorsTab (  )  [private]

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

Definition at line 920 of file Frame.cc.

void Frame::loadSuperMissilePacks (  )  [private]

Loads super missile pack data into the controls.

Definition at line 925 of file Frame.cc.

void Frame::loadYellowDoors (  )  [private]

Loads yellow door data into the controls.

Definition at line 960 of file Frame.cc.

void Frame::loadZebetites (  )  [private]

Loads zebetite data into the controls.

Definition at line 997 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 1037 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 1051 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 1080 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 1108 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 1150 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 1201 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 1221 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 796 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 799 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 1242 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 1265 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 1272 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 1285 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 1295 of file Frame.cc.

void Frame::onGameClear ( wxCommandEvent &  event  )  [private]

Called when one of the clear submenu items is selected.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1308 of file Frame.cc.

void Frame::onGameClearUpdate ( wxUpdateUIEvent &  event  )  [private]

Called in idle time to update the clear submenu.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 1371 of file Frame.cc.

void Frame::onGameCopy ( wxCommandEvent &  event  )  [private]

Called when one of the copy submenu items is selected.

Parameters:
event The triggering wxCommandEvent.

Definition at line 1386 of file Frame.cc.

void Frame::onGameCopyUpdate ( wxUpdateUIEvent &  event  )  [private]

Called in idle time to update the copy submenu.

Parameters:
event The triggering wxUpdateUIEvent.

Definition at line 1438 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 1453 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 801 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 1471 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 1492 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 1501 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 1512 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 1589 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 1600 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 1611 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 1621 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 1676 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 1690 of file Frame.cc.

void Frame::onGameGiveMetroidRooms ( wxCommandEvent &  event  )  [private]

Called when metroid rooms is selected from the give submenu.

Parameters:
event The triggering wxCommandEvent (unused).

Definition at line 1701 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 1713 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 1726 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 1737 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 1748 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 1759 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 1770 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 804 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 1781 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 1792 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 1800 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 1836 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 1859 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 1915 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 1923 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 1975 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 2021 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 2074 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 2096 of file Frame.cc.

void Frame::onMetroidRoomChange ( wxCommandEvent &  event  )  [private]

Called when a metroid room control is changed.

Parameters:
event The triggering wxCommandEvent.

Definition at line 2186 of file Frame.cc.

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

Called when a mini boss control is changed.

Definition at line 2204 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 2224 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 2240 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 2254 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 2369 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 2399 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 2429 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 2442 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 2485 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 2515 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 2545 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 2615 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 2646 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 2656 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 2682 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 2736 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 2763 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 2788 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 2792 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 2835 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 2865 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 2895 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 2916 of file Frame.cc.

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

Called when the zebetites control is changed.

Definition at line 2952 of file Frame.cc.

void Frame::open ( const wxString &  filename  ) 

Opens an SRAM file.

Parameters:
filename The filename to open.

Definition at line 1012 of file Frame.cc.


Friends And Related Function Documentation

friend class SRAMFileTarget [friend]

Definition at line 41 of file Frame.hh.


Member Data Documentation

const int smse::Frame::CLEAR_DELAY = 4000 [static, private]

time (ms) to wait before clearing the status bar

Definition at line 45 of file Frame.hh.

const int smse::Frame::C_SAVEPOINTS = 2 [static, private]

number of save points in Crateria

Definition at line 48 of file Frame.hh.

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

number of save points in Brinstar

Definition at line 51 of file Frame.hh.

const int smse::Frame::NF_SAVEPOINTS = 6 [static, private]

number of save points in Norfair

Definition at line 54 of file Frame.hh.

const int smse::Frame::WS_SAVEPOINTS = 1 [static, private]

number of save points in the Wrecked Ship

Definition at line 57 of file Frame.hh.

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

number of save points in Maridia

Definition at line 60 of file Frame.hh.

const int smse::Frame::T_SAVEPOINTS = 2 [static, private]

number of save points in Tourian

Definition at line 63 of file Frame.hh.

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

number of missile packs in the game

Definition at line 66 of file Frame.hh.

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

number of super missile packs in the game

Definition at line 69 of file Frame.hh.

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

number of power bomb packs in the game

Definition at line 72 of file Frame.hh.

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

number of energy tanks in the game

Definition at line 75 of file Frame.hh.

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

number of reserve tanks in the game

Definition at line 78 of file Frame.hh.

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

number of red doors in the game

Definition at line 81 of file Frame.hh.

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

number of green doors in the game

Definition at line 84 of file Frame.hh.

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

number of yellow doors in the game

Definition at line 87 of file Frame.hh.

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

number of metal doors in the game

Definition at line 90 of file Frame.hh.

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

number of eye doors in the game

Definition at line 93 of file Frame.hh.

wxTimer smse::Frame::timer [private]

Definition at line 95 of file Frame.hh.

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

Definition at line 96 of file Frame.hh.

int smse::Frame::game [private]

Definition at line 97 of file Frame.hh.

bool smse::Frame::ignoreTextEvents [private]

Definition at line 98 of file Frame.hh.


Generated on Thu Feb 22 21:33:33 2007 for Super Metroid SRAM Editor by  doxygen 1.5.1-p1