#include <gameoptions.h>
Public Types | |
| typedef map< ASCString, PanelData > | PanelDataContainer |
Public Member Functions | |
| CGameOptions () | |
| void | setDefaults () |
| void | setDefaultDirectories () |
| void | runTextIO (PropertyContainer &pc) |
| bool | isChanged () |
| void | setChanged (bool flag=true) |
| void | load (const ASCString &filename) |
| void | save (const ASCString &filename) |
| int | getSearchPathNum () |
| void | setSearchPath (int i, const ASCString &path) |
| void | addSearchPath (const ASCString &path) |
| ASCString | getSearchPath (int i) |
| bool | getPanelData (const ASCString &name, PanelData &data) |
| void | updatePanelData (const ASCString &name, PanelData data) |
| Password | getDefaultPassword () |
| Password | getDefaultSupervisorPassword () |
Static Public Member Functions | |
| static CGameOptions * | Instance () |
| returns the only Instance | |
Public Attributes | |
| int | version |
| bool | fastmove |
| the number of steps to perform a move: 0 -> 3 step; != 0 -> 2 steps | |
| int | movespeed |
| 1/100 sec for a unit to move from one field to the next | |
| bool | endturnquestion |
| question "do you want to end your turn" | |
| bool | units_gray_after_move |
| are units that cannot move but shoot displayed in gray ? | |
| int | mapzoom |
| the zoom of the map display in ASC | |
| int | mapzoomeditor |
| the zoom of the map display in the map editor | |
| int | attackspeed1 |
| first delay of attack display | |
| int | attackspeed2 |
| speed of moving bars in attack display | |
| int | attackspeed3 |
| second delay in attack display | |
| bool | forceWindowedMode |
| force ASC to run in windowed mode (and not fullscreen, which is default) | |
| bool | hardwareSurface |
| use screen buffer on the graphics card instead of main memory | |
| bool | hideMouseOnScreenUpdates |
| hides the mouse cursor when screen updates are performed | |
| bool | debugReplay |
| enables the option to review your own replay to find replay bugs | |
| bool | mapeditWindowedMode |
| force the mapeditor to run in fullscreen mode (and not windowed, which is default) | |
| int | xresolution |
| the horizontal resolution ASC uses | |
| int | yresolution |
| the vertical resolution ASC uses | |
| int | mapeditor_xresolution |
| the horizontal resolution the mapeditor uses | |
| int | mapeditor_yresolution |
| the vertical resolution the mapeditor uses | |
| bool | maped_modalSelectionWindow |
| bool | automaticTraining |
| are units automatically trained in training centers | |
| CGameOptions::Mouse | mouse |
| the mouse configuration. Mouse button are: bit 0 = left button ; bit 1 = right button ; bit 2 = center button | |
| CGameOptions::SoundSettings | sound |
| struct { | |
| bool fillResources | |
| bool fillAmmo | |
| } | unitProduction |
| bool | autoproduceammunition |
| produce required ammo upon refuelling | |
| int | replayspeed |
| int | panelColumns |
| bool | cacheASCGUI |
| bool | replayMovieMode |
| vector< ASCString > | visibleMapLayer |
| PanelDataContainer | panelData |
| ASCString | BI3directory |
| struct { | |
| ASCString hostname | |
| int port | |
| ASCString username | |
| } | pbemServer |
| ASCString | mailProgram |
| ASCString | graphicsDriver |
| ASCString | startupMap |
| ASCString | defaultPassword |
| ASCString | defaultSuperVisorPassword |
| struct { | |
| int framerate | |
| int quality | |
| } | video |
| int | searchPathNum |
| ASCString | searchPath [30] |
Static Public Attributes | |
| static const int | maxSearchPathNum = 30 |
Classes | |
| struct | Mouse |
| the mouse configuration. Mouse button are: bit 0 = left button ; bit 1 = right button ; bit 2 = center button More... | |
| struct | PanelData |
| struct | SoundSettings |
|
|
Definition at line 211 of file gameoptions.h. |
|
|
Definition at line 227 of file gameoptions.cpp. References setDefaults(). |
|
|
Definition at line 418 of file gameoptions.cpp. References searchPathNum, and setSearchPath(). |
|
|
Definition at line 430 of file gameoptions.cpp. References defaultPassword, and Password::setEncoded(). |
|
|
Definition at line 440 of file gameoptions.cpp. References defaultSuperVisorPassword, and Password::setEncoded(). |
|
||||||||||||
|
Definition at line 455 of file gameoptions.cpp. References panelData. |
|
|
Definition at line 423 of file gameoptions.cpp. References searchPath. |
|
|
Definition at line 408 of file gameoptions.cpp. References searchPathNum. |
|
|
|
Definition at line 249 of file gameoptions.h. |
|
|
Definition at line 71 of file gameoptions.cpp. References tnstream::reading, TextFormatParser::run(), and runTextIO(). |
|
|
|
Definition at line 83 of file gameoptions.cpp. References runTextIO(), and tnstream::writing. |
|
|
Definition at line 255 of file gameoptions.h. Referenced by setDefaults(), and updatePanelData(). |
|
|
Definition at line 318 of file gameoptions.cpp. References searchPath, and searchPathNum. Referenced by setDefaults(). |
|
|
||||||||||||
|
Definition at line 413 of file gameoptions.cpp. References searchPath. Referenced by addSearchPath(). |
|
||||||||||||
|
Definition at line 449 of file gameoptions.cpp. References panelData, and setChanged(). |
|
|
first delay of attack display
Definition at line 81 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
speed of moving bars in attack display
Definition at line 84 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
second delay in attack display
Definition at line 87 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
are units automatically trained in training centers
Definition at line 119 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
produce required ammo upon refuelling
Definition at line 188 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 217 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), and runTextIO(). |
|
|
Definition at line 198 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
enables the option to review your own replay to find replay bugs
Definition at line 99 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 230 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), getDefaultPassword(), and runTextIO(). |
|
|
Definition at line 231 of file gameoptions.h. Referenced by getDefaultSupervisorPassword(), and runTextIO(). |
|
|
question "do you want to end your turn"
Definition at line 66 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
the number of steps to perform a move: 0 -> 3 step; != 0 -> 2 steps
Definition at line 60 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 184 of file gameoptions.h. |
|
|
Definition at line 183 of file gameoptions.h. |
|
|
force ASC to run in windowed mode (and not fullscreen, which is default)
Definition at line 90 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 236 of file gameoptions.h. |
|
|
Definition at line 227 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
use screen buffer on the graphics card instead of main memory
Definition at line 93 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
hides the mouse cursor when screen updates are performed
Definition at line 96 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
Definition at line 220 of file gameoptions.h. |
|
|
Definition at line 225 of file gameoptions.h. Referenced by runTextIO(). |
|
|
Definition at line 116 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
the horizontal resolution the mapeditor uses
Definition at line 111 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
the vertical resolution the mapeditor uses
Definition at line 114 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
force the mapeditor to run in fullscreen mode (and not windowed, which is default)
Definition at line 102 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
the zoom of the map display in ASC
Definition at line 72 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
the zoom of the map display in the map editor
Definition at line 75 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
Definition at line 45 of file gameoptions.cpp. |
|
|
the mouse configuration. Mouse button are: bit 0 = left button ; bit 1 = right button ; bit 2 = center button
Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
1/100 sec for a unit to move from one field to the next
Definition at line 63 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 196 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 212 of file gameoptions.h. Referenced by getPanelData(), runTextIO(), and updatePanelData(). |
|
|
Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 221 of file gameoptions.h. |
|
|
Definition at line 237 of file gameoptions.h. |
|
|
Definition at line 200 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), and setDefaults(). |
|
|
Definition at line 193 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
Definition at line 242 of file gameoptions.h. Referenced by getSearchPath(), runTextIO(), setDefaultDirectories(), and setSearchPath(). |
|
|
Definition at line 241 of file gameoptions.h. Referenced by addSearchPath(), getSearchPathNum(), runTextIO(), and setDefaultDirectories(). |
|
|
Referenced by runTextIO(), and setDefaults(). |
|
|
Definition at line 229 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Referenced by runTextIO(), and setDefaults(). |
|
|
are units that cannot move but shoot displayed in gray ?
Definition at line 69 of file gameoptions.h. Referenced by EditGameOptions::EditGameOptions(), runTextIO(), and setDefaults(). |
|
|
Definition at line 222 of file gameoptions.h. |
|
|
Definition at line 57 of file gameoptions.h. |
|
|
Referenced by runTextIO(), and setDefaults(). |
|
|
Definition at line 202 of file gameoptions.h. Referenced by runTextIO(). |
|
|
the horizontal resolution ASC uses
Definition at line 105 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
|
|
the vertical resolution ASC uses
Definition at line 108 of file gameoptions.h. Referenced by runTextIO(), and setDefaults(). |
1.4.2