#include <MPGFrame.hh>
Definition at line 36 of file MPGFrame.hh.
Public Member Functions | |
MPGFrame () | |
Creates a new MPGFrame. | |
Private Types | |
enum | { BRINSTAR, KRAIDSLAIR, NORFAIR, RIDLEYSLAIR, TOURIAN } |
Private Member Functions | |
void | CreateControls () |
Creates the controls for this MPGFrame. | |
void | updateControls () |
Updates all the controls based on the current password data. | |
void | updatePasswordText (bool updateCtrl=true) |
Updates the text password when the password data has changed. | |
void | updateRawGameTime (wxUint32 value) |
Updates the raw game time bits. | |
void | updateRawMissiles (unsigned char value) |
Updates the raw missile bits. | |
void | updateRealTime () |
Updates the approximate real time label. | |
void | updateStartLocation () |
Updates the start location radio box control. | |
void | updateTextCtrlSizes () |
Updates the sizes for the text controls so they are wide enough. | |
void | onArmorChanged (wxCommandEvent &event) |
Called when Samus's armor is changed. | |
void | onBossChanged (wxCommandEvent &event) |
Called when a boss checkbox is changed. | |
void | onChecksumShift (wxCommandEvent &event) |
Called when a shift value from the checksum menu is selected. | |
void | onDoorChanged (wxCommandEvent &event) |
Called when a door checkbox is changed. | |
void | onEnergyTankChanged (wxCommandEvent &event) |
Called when an energy tank checkbox is changed. | |
void | onFileExit (wxCommandEvent &event) |
Called when exit is selected from the file menu. | |
void | onFixChecksum (wxCommandEvent &event) |
Called when the fix checksum button is pressed. | |
void | onGameSystem (wxCommandEvent &event) |
Called when NTSC or PAL is selected from the game menu. | |
void | onGameTimeChanged (wxCommandEvent &event) |
Called when the game time is changed. | |
void | onHelpAbout (wxCommandEvent &event) |
Called when about from the help menu is selected. | |
void | onItemChanged (wxCommandEvent &event) |
Called when an item checkbox is changed. | |
void | onMissileContainerChanged (wxCommandEvent &event) |
Called when a missile container checkbox is changed. | |
void | onMissilesTextChanged (wxCommandEvent &event) |
Called when the missile count text is changed. | |
void | onPasswordChanged (wxCommandEvent &event) |
Called when the metroid password is changed. | |
void | onPasswordDebugPassword (wxCommandEvent &event) |
Called when debug password from the password menu is selected. | |
void | onPasswordEnding (wxCommandEvent &event) |
Called when an ending is selected from the password menu. | |
void | onPasswordGiveBosses (wxCommandEvent &event) |
Called when bosses is selected from the password's give menu. | |
void | onPasswordGiveDoors (wxCommandEvent &event) |
Called when doors is selected from the password's give menu. | |
void | onPasswordGiveEnergyTanks (wxCommandEvent &event) |
Called when energy tanks is selected from the password's give menu. | |
void | onPasswordGiveItems (wxCommandEvent &event) |
Called when items is selected from the password's give menu. | |
void | onPasswordGiveMissiles (wxCommandEvent &event) |
Called when missiles is selected from the password's give menu. | |
void | onPasswordGiveMissileContainers (wxCommandEvent &event) |
Called when missile containers is selected from the password's give menu. | |
void | onPasswordGiveStatues (wxCommandEvent &event) |
Called when statues is selected from the password's give menu. | |
void | onPasswordGiveZebetites (wxCommandEvent &event) |
Called when zebetites is selected from the password's give menu. | |
void | onPasswordPerfectGame (wxCommandEvent &event) |
Called when perfect game from the password menu is selected. | |
void | onPasswordReset (wxCommandEvent &event) |
Called when reset from the password menu is selected. | |
void | onRawBitChanged (wxCommandEvent &event) |
Called when on of the bits in the raw bitlist is changed. | |
void | onShiftTextChanged (wxCommandEvent &event) |
Called when the shift text is changed. | |
void | onStartLocationChanged (wxCommandEvent &event) |
Called when the start location is changed. | |
void | onStatueChanged (wxCommandEvent &event) |
Called when a statue checkbox is changed. | |
void | onZebetiteChanged (wxCommandEvent &event) |
Called when a zebetite checkbox is changed. | |
Private Attributes | |
wxButton * | fixChecksumButton |
Password | password |
bool | ignoreTextEvent |
bool | pal |
Static Private Attributes | |
static const int | MAX_MISSILES = 255 |
|
Definition at line 45 of file MPGFrame.hh. |
|
Creates a new MPGFrame.
Definition at line 198 of file MPGFrame.cc. |
|
Creates the controls for this MPGFrame.
Definition at line 208 of file MPGFrame.cc. |
|
Called when Samus's armor is changed.
Definition at line 537 of file MPGFrame.cc. |
|
Called when a boss checkbox is changed.
Definition at line 547 of file MPGFrame.cc. |
|
Called when a shift value from the checksum menu is selected.
Definition at line 566 of file MPGFrame.cc. |
|
Called when a door checkbox is changed.
Definition at line 614 of file MPGFrame.cc. |
|
Called when an energy tank checkbox is changed.
Definition at line 665 of file MPGFrame.cc. |
|
Called when exit is selected from the file menu.
Definition at line 323 of file MPGFrame.hh. |
|
Called when the fix checksum button is pressed.
Definition at line 694 of file MPGFrame.cc. |
|
Called when NTSC or PAL is selected from the game menu.
Definition at line 702 of file MPGFrame.cc. |
|
Called when the game time is changed.
Definition at line 708 of file MPGFrame.cc. |
|
Called when about from the help menu is selected.
Definition at line 726 of file MPGFrame.cc. |
|
Called when an item checkbox is changed.
Definition at line 734 of file MPGFrame.cc. |
|
Called when a missile container checkbox is changed.
Definition at line 784 of file MPGFrame.cc. |
|
Called when the missile count text is changed.
Definition at line 839 of file MPGFrame.cc. |
|
Called when the metroid password is changed.
Definition at line 853 of file MPGFrame.cc. |
|
Called when debug password from the password menu is selected.
Definition at line 876 of file MPGFrame.cc. |
|
Called when an ending is selected from the password menu.
Definition at line 882 of file MPGFrame.cc. |
|
Called when bosses is selected from the password's give menu.
Definition at line 899 of file MPGFrame.cc. |
|
Called when doors is selected from the password's give menu.
Definition at line 908 of file MPGFrame.cc. |
|
Called when energy tanks is selected from the password's give menu.
Definition at line 937 of file MPGFrame.cc. |
|
Called when items is selected from the password's give menu.
Definition at line 954 of file MPGFrame.cc. |
|
Called when missile containers is selected from the password's give menu.
Definition at line 1017 of file MPGFrame.cc. |
|
Called when missiles is selected from the password's give menu.
Definition at line 978 of file MPGFrame.cc. |
|
Called when statues is selected from the password's give menu.
Definition at line 1047 of file MPGFrame.cc. |
|
Called when zebetites is selected from the password's give menu.
Definition at line 1055 of file MPGFrame.cc. |
|
Called when perfect game from the password menu is selected.
Definition at line 1066 of file MPGFrame.cc. |
|
Called when reset from the password menu is selected.
Definition at line 1113 of file MPGFrame.cc. |
|
Called when on of the bits in the raw bitlist is changed.
Definition at line 1126 of file MPGFrame.cc. |
|
Called when the shift text is changed.
Definition at line 1526 of file MPGFrame.cc. |
|
Called when the start location is changed.
Definition at line 1539 of file MPGFrame.cc. |
|
Called when a statue checkbox is changed.
Definition at line 1593 of file MPGFrame.cc. |
|
Called when a zebetite checkbox is changed.
Definition at line 1610 of file MPGFrame.cc. |
|
Updates all the controls based on the current password data.
Definition at line 229 of file MPGFrame.cc. |
|
Updates the text password when the password data has changed.
Definition at line 427 of file MPGFrame.cc. |
|
Updates the raw game time bits.
Definition at line 445 of file MPGFrame.cc. |
|
Updates the raw missile bits.
Definition at line 453 of file MPGFrame.cc. |
|
Updates the approximate real time label.
Definition at line 461 of file MPGFrame.cc. |
|
Updates the start location radio box control.
Definition at line 483 of file MPGFrame.cc. |
|
Updates the sizes for the text controls so they are wide enough.
Definition at line 513 of file MPGFrame.cc. |
|
Definition at line 41 of file MPGFrame.hh. |
|
Definition at line 43 of file MPGFrame.hh. |
|
Definition at line 49 of file MPGFrame.hh. |
|
Definition at line 43 of file MPGFrame.hh. |
|
Definition at line 42 of file MPGFrame.hh. |