#include <MainFrame.hh>
Definition at line 39 of file MainFrame.hh.
Public Member Functions | |
| MainFrame () | |
| Constructor for a MainFrame. | |
| void | CreateControls () |
| Creates the controls used by this MainFrame. | |
Private Member Functions | |
| bool | isOpen () |
| Checks if an SRAM file is currently open. | |
| void | setOpen (bool open) |
| Sets whether an SRAM file is open or not. | |
| void | loadCharacterData (int member=0) |
| Loads the data for a particular member. | |
| void | loadGameData () |
| Loads the game data into the frame controls. | |
| void | load (wxString &filename) |
| Loads an SRAM file. | |
| void | fileOpen (wxCommandEvent &event) |
| Callback triggered when open is selected from the file menu. | |
| bool | close () |
| Closes the currently open SRAM file. | |
| void | fileClose (wxCommandEvent &event) |
| Callback triggered when close is selected from the file menu. | |
| bool | isValidEquipment () |
| Checks if all party members have valid equipment. | |
| bool | save (wxString &filename) |
| Saves the current SRAM to file. | |
| void | fileSave (wxCommandEvent &event) |
| Callback triggered when save is selected from the file menu. | |
| void | fileSaveAs (wxCommandEvent &event) |
| Callback triggered when "save as" is selected from the file menu. | |
| void | fileExit (wxCommandEvent &event) |
| Callback triggered when exit is selected from the file menu. | |
| void | windowClosing (wxCloseEvent &event) |
| Callback triggered when the window is being closed. | |
| void | memberChange (wxCommandEvent &event) |
| Callback triggered when one of the character menu items is selected. | |
| void | helpAbout (wxCommandEvent &event) |
| Callback triggered when about is selected from the help menu. | |
| void | goldChange (wxCommandEvent &event) |
| Callback triggered when the amount of gold is changed. | |
| void | itemQuantityChange (wxScrollEvent &event) |
| Callback triggered when an quantity item is changed. | |
| void | itemHaveChange (wxCommandEvent &event) |
| Callback triggered when an item is changed. | |
| void | nameChange (wxCommandEvent &event) |
| Callback when a member's name is changed. | |
| void | conditionChange (wxCommandEvent &event) |
| Callback triggered when class or condition is changed. | |
| void | statChange (wxCommandEvent &event) |
| Callback triggered when a stat change occurs. | |
| void | weaponChange (wxCommandEvent &event) |
| Callback triggered when a weapon change occurs. | |
| void | weaponEquippedChange (wxCommandEvent &event) |
| Callback triggered when an equipped weapon change occurs. | |
| void | armorChange (wxCommandEvent &event) |
| Callback triggered when an armor change occurs. | |
| void | armorEquippedChange (wxCommandEvent &event) |
| Callback triggered when an equipped armor change occurs. | |
| void | currentMagicChange (wxScrollEvent &event) |
| Callback triggered when the current magic level is changed. | |
| void | maxMagicChange (wxScrollEvent &event) |
| Callback triggered when the max magic level is changed. | |
| void | knownMagicChange (wxCommandEvent &event) |
| Callback triggered when the known magic is changed. | |
Private Attributes | |
| wxString | sramFile |
| char * | sram |
| SaveSlot * | game |
| int | member |
| bool | open |
| wxNotebook * | notebook |
| wxMenuItem * | fileCloseItem |
| wxMenuItem * | fileSaveItem |
| wxMenuItem * | fileSaveAsItem |
| wxMenuItem * | memberItems [4] |
| wxTextCtrl * | goldText |
| wxSlider * | healSlider |
| wxSlider * | pureSlider |
| wxSlider * | softSlider |
| wxSlider * | tentSlider |
| wxSlider * | cabinSlider |
| wxSlider * | houseSlider |
| wxCheckBox * | luteCheck |
| wxCheckBox * | crownCheck |
| wxCheckBox * | crystalCheck |
| wxCheckBox * | herbCheck |
| wxCheckBox * | keyCheck |
| wxCheckBox * | tntCheck |
| wxCheckBox * | adamentCheck |
| wxCheckBox * | slabCheck |
| wxCheckBox * | rubyCheck |
| wxCheckBox * | rodCheck |
| wxCheckBox * | floaterCheck |
| wxCheckBox * | chimeCheck |
| wxCheckBox * | tailCheck |
| wxCheckBox * | cubeCheck |
| wxCheckBox * | bottleCheck |
| wxCheckBox * | oxyaleCheck |
| wxCheckBox * | canoeCheck |
| wxCheckBox * | fireOrbCheck |
| wxCheckBox * | waterOrbCheck |
| wxCheckBox * | windOrbCheck |
| wxCheckBox * | earthOrbCheck |
| wxTextCtrl * | nameText |
| wxChoice * | classChoice |
| wxChoice * | conditionChoice |
| wxTextCtrl * | currentHPText |
| wxTextCtrl * | maxHPText |
| wxTextCtrl * | strengthText |
| wxTextCtrl * | agilityText |
| wxTextCtrl * | intelligenceText |
| wxTextCtrl * | vitalityText |
| wxTextCtrl * | luckText |
| wxTextCtrl * | experienceText |
| wxTextCtrl * | damageText |
| wxTextCtrl * | hitPercentText |
| wxChoice * | weaponChoice [4] |
| wxCheckBox * | weaponEquippedCheck [4] |
| wxChoice * | armorChoice [4] |
| wxCheckBox * | armorEquippedCheck [4] |
| wxSlider * | currentMagicSlider [8] |
| wxSlider * | maxMagicSlider [8] |
| wxChoice * | knownMagicChoice [8][3] |
| wxStatusBar * | statusbar |
Static Private Attributes | |
| const char * | ICON [] |
| XPM icon used for the Frame icon. | |
Friends | |
| class | FileDropTarget |
|
|
Constructor for a MainFrame.
|
|
|
Callback triggered when an armor change occurs.
Definition at line 939 of file MainFrame.cc. |
|
|
Callback triggered when an equipped armor change occurs.
Definition at line 962 of file MainFrame.cc. |
|
|
Closes the currently open SRAM file.
Definition at line 564 of file MainFrame.cc. |
|
|
Callback triggered when class or condition is changed.
Definition at line 848 of file MainFrame.cc. |
|
|
Creates the controls used by this MainFrame.
Definition at line 201 of file MainFrame.cc. |
|
|
Callback triggered when the current magic level is changed.
Definition at line 985 of file MainFrame.cc. |
|
|
Callback triggered when close is selected from the file menu.
Definition at line 595 of file MainFrame.cc. |
|
|
Callback triggered when exit is selected from the file menu.
Definition at line 711 of file MainFrame.cc. |
|
|
Callback triggered when open is selected from the file menu.
Definition at line 551 of file MainFrame.cc. |
|
|
Callback triggered when save is selected from the file menu.
Definition at line 694 of file MainFrame.cc. |
|
|
Callback triggered when "save as" is selected from the file menu.
Definition at line 698 of file MainFrame.cc. |
|
|
Callback triggered when the amount of gold is changed.
Definition at line 755 of file MainFrame.cc. |
|
|
Callback triggered when about is selected from the help menu.
Definition at line 746 of file MainFrame.cc. |
|
|
Checks if an SRAM file is currently open.
Definition at line 62 of file MainFrame.hh. |
|
|
Checks if all party members have valid equipment. Invalid equipment only refers to duplicate equipped items, not to invalid selections based on what a character's class can equip.
Definition at line 599 of file MainFrame.cc. |
|
|
Callback triggered when an item is changed.
Definition at line 786 of file MainFrame.cc. |
|
|
Callback triggered when an quantity item is changed.
Definition at line 763 of file MainFrame.cc. |
|
|
Callback triggered when the known magic is changed.
Definition at line 1019 of file MainFrame.cc. |
|
|
Loads an SRAM file.
Definition at line 500 of file MainFrame.cc. |
|
|
Loads the data for a particular member.
Definition at line 395 of file MainFrame.cc. |
|
|
Loads the game data into the frame controls.
Definition at line 459 of file MainFrame.cc. |
|
|
Callback triggered when the max magic level is changed.
Definition at line 1002 of file MainFrame.cc. |
|
|
Callback triggered when one of the character menu items is selected.
Definition at line 728 of file MainFrame.cc. |
|
|
Callback when a member's name is changed.
Definition at line 839 of file MainFrame.cc. |
|
|
Saves the current SRAM to file.
Definition at line 657 of file MainFrame.cc. |
|
|
Sets whether an SRAM file is open or not.
Definition at line 383 of file MainFrame.cc. |
|
|
Callback triggered when a stat change occurs.
Definition at line 862 of file MainFrame.cc. |
|
|
Callback triggered when a weapon change occurs.
Definition at line 893 of file MainFrame.cc. |
|
|
Callback triggered when an equipped weapon change occurs.
Definition at line 916 of file MainFrame.cc. |
|
|
Callback triggered when the window is being closed.
Definition at line 717 of file MainFrame.cc. |
|
|
Definition at line 51 of file MainFrame.hh. |
|
|
Definition at line 292 of file MainFrame.hh. |
|
|
Definition at line 315 of file MainFrame.hh. |
|
|
Definition at line 326 of file MainFrame.hh. |
|
|
Definition at line 327 of file MainFrame.hh. |
|
|
Definition at line 300 of file MainFrame.hh. |
|
|
Definition at line 283 of file MainFrame.hh. |
|
|
Definition at line 302 of file MainFrame.hh. |
|
|
Definition at line 297 of file MainFrame.hh. |
|
|
Definition at line 309 of file MainFrame.hh. |
|
|
Definition at line 310 of file MainFrame.hh. |
|
|
Definition at line 287 of file MainFrame.hh. |
|
|
Definition at line 288 of file MainFrame.hh. |
|
|
Definition at line 299 of file MainFrame.hh. |
|
|
Definition at line 312 of file MainFrame.hh. |
|
|
Definition at line 329 of file MainFrame.hh. |
|
|
Definition at line 320 of file MainFrame.hh. |
|
|
Definition at line 306 of file MainFrame.hh. |
|
|
Definition at line 319 of file MainFrame.hh. |
|
|
Definition at line 272 of file MainFrame.hh. |
|
|
Definition at line 274 of file MainFrame.hh. |
|
|
Definition at line 273 of file MainFrame.hh. |
|
|
Definition at line 303 of file MainFrame.hh. |
|
|
Definition at line 296 of file MainFrame.hh. |
|
|
Definition at line 265 of file MainFrame.hh. |
|
|
Definition at line 277 of file MainFrame.hh. |
|
|
Definition at line 279 of file MainFrame.hh. |
|
|
Definition at line 289 of file MainFrame.hh. |
|
|
Definition at line 321 of file MainFrame.hh. |
|
|
Definition at line 284 of file MainFrame.hh. |
|
|
Initial value: {
"16 16 4 1",
" c None",
"! c #24188C",
"# c #FCFCFC",
"$ c #5C94FC",
"!!!!!!!!!#!!!!!!",
"!!!!!!$$$#!!!!!!",
"!!!!$$#$###$#!#!",
"!!!$$$$$$#$$$!!!",
"!!$$$###$#$$$$!!",
"!!$$###$$#$$$$!!",
"!$$###$$$#$$$$$!",
"!$$##$$$$$$$$$$!",
"!$$#$$$$$$$$$$$!",
"!$$$$$$$$$$$$$$!",
"!!$$$$$$$$$$$$!!",
"!!$$$$$$$$$$$$!!",
"!#!$$$$$$$$$$!#!",
"#!#!$$$$$$$$!#!#",
"!###!!$$$$!!###!",
"!!!!##!!!!##!!!!"
}
Definition at line 40 of file MainFrame.cc. |
|
|
Definition at line 316 of file MainFrame.hh. |
|
|
Definition at line 290 of file MainFrame.hh. |
|
|
Definition at line 332 of file MainFrame.hh. |
|
|
Definition at line 318 of file MainFrame.hh. |
|
|
Definition at line 286 of file MainFrame.hh. |
|
|
Definition at line 313 of file MainFrame.hh. |
|
|
Definition at line 330 of file MainFrame.hh. |
|
|
Definition at line 266 of file MainFrame.hh. |
|
|
Definition at line 275 of file MainFrame.hh. |
|
|
Definition at line 308 of file MainFrame.hh. |
|
|
Definition at line 270 of file MainFrame.hh. |
|
|
Definition at line 268 of file MainFrame.hh. |
|
|
Definition at line 301 of file MainFrame.hh. |
|
|
Definition at line 280 of file MainFrame.hh. |
|
|
Definition at line 295 of file MainFrame.hh. |
|
|
Definition at line 294 of file MainFrame.hh. |
|
|
Definition at line 293 of file MainFrame.hh. |
|
|
Definition at line 281 of file MainFrame.hh. |
|
|
Definition at line 264 of file MainFrame.hh. |
|
|
Definition at line 263 of file MainFrame.hh. |
|
|
Definition at line 334 of file MainFrame.hh. |
|
|
Definition at line 314 of file MainFrame.hh. |
|
|
Definition at line 298 of file MainFrame.hh. |
|
|
Definition at line 282 of file MainFrame.hh. |
|
|
Definition at line 291 of file MainFrame.hh. |
|
|
Definition at line 317 of file MainFrame.hh. |
|
|
Definition at line 304 of file MainFrame.hh. |
|
|
Definition at line 323 of file MainFrame.hh. |
|
|
Definition at line 324 of file MainFrame.hh. |
|
|
Definition at line 305 of file MainFrame.hh. |
1.3.9.1