Global engine application settings class.
More...
#include <global_settings.h>
|
|
void | initJoysticks () |
| | Initialize all plugged joystics which are can be used in game.
|
| |
|
void | closeJoysticks () |
| | Deinitialize all initialized joysticks.
|
| |
|
void | load () |
| | Load settings from a config file.
|
| |
|
void | save () |
| | Save settings into config file.
|
| |
|
void | resetDefaults () |
| | Set all settings to default state.
|
| |
|
void | apply () |
| | Applies all changed preferences.
|
| |
| void | loadKeyMap (KeyMap &map, QSettings &set, QString grp) |
| | Load settings to specific control key map through opened config file inside specified INI-group. More...
|
| |
| void | saveKeyMap (KeyMap &map, QSettings &set, QString grp) |
| | Save settings from specific control keys map into opened config file into specified INI-group. More...
|
| |
| void | loadJoyCtrlMapID (KeyMap &map, QSettings &set, QString grp) |
| | Load settings to specific joysticks control map through opened config file inside specified INI-group. More...
|
| |
| void | saveJoyCtrlMapID (KeyMap &map, QSettings &set, QString grp) |
| | Save settings from specific joysticks control map into opened config file inside specified INI-group. More...
|
| |
| void | loadJoyCtrlMapType (KeyMap &map, QSettings &set, QString grp) |
| | Load settings to specific joysticks control types map through opened config file inside specified INI-group. More...
|
| |
| void | saveJoyCtrlMapType (KeyMap &map, QSettings &set, QString grp) |
| | Save settings from specific joysticks control types map into opened config file inside specified INI-group. More...
|
| |
| Controller * | openController (int player) |
| | Constructs controller class for specific player and return a pointer to it. More...
|
| |
|
void | loadJoystickSettings () |
| | Load all joystick control keys maps from engine configuration file.
|
| |
Global engine application settings class.
| void GlobalSettings::loadJoyCtrlMapID |
( |
KeyMap & |
map, |
|
|
QSettings & |
set, |
|
|
QString |
grp |
|
) |
| |
Load settings to specific joysticks control map through opened config file inside specified INI-group.
- Parameters
-
| map | Josytick control map structure which contains key ID's per each control key |
| set | Opened engine configuration file |
| grp | INI-group which contains saved control keys map |
| void GlobalSettings::loadJoyCtrlMapType |
( |
KeyMap & |
map, |
|
|
QSettings & |
set, |
|
|
QString |
grp |
|
) |
| |
Load settings to specific joysticks control types map through opened config file inside specified INI-group.
- Parameters
-
| map | Josytick control types map structure which contains key ID's per each control key |
| set | Opened engine configuration file |
| grp | INI-group which contains saved control keys map |
| void GlobalSettings::loadKeyMap |
( |
KeyMap & |
map, |
|
|
QSettings & |
set, |
|
|
QString |
grp |
|
) |
| |
Load settings to specific control key map through opened config file inside specified INI-group.
- Parameters
-
| map | Keyboard control map structure which contains key ID's per each control key |
| set | Opened engine configuration file |
| grp | INI-group which contains saved control keys map |
| Controller * GlobalSettings::openController |
( |
int |
player | ) |
|
Constructs controller class for specific player and return a pointer to it.
- Parameters
-
- Returns
- Pointer to constructed controller class (When you fininshed your works with it, delete it youself!)
| void GlobalSettings::saveJoyCtrlMapID |
( |
KeyMap & |
map, |
|
|
QSettings & |
set, |
|
|
QString |
grp |
|
) |
| |
Save settings from specific joysticks control map into opened config file inside specified INI-group.
- Parameters
-
| map | Josytick control map structure which contains key ID's per each control key |
| set | Opened engine configuration file |
| grp | INI-group which contains saved control keys map |
| void GlobalSettings::saveJoyCtrlMapType |
( |
KeyMap & |
map, |
|
|
QSettings & |
set, |
|
|
QString |
grp |
|
) |
| |
Save settings from specific joysticks control types map into opened config file inside specified INI-group.
- Parameters
-
| map | Josytick control types map structure which contains key ID's per each control key |
| set | Opened engine configuration file |
| grp | INI-group which contains saved control keys map |
| void GlobalSettings::saveKeyMap |
( |
KeyMap & |
map, |
|
|
QSettings & |
set, |
|
|
QString |
grp |
|
) |
| |
Save settings from specific control keys map into opened config file into specified INI-group.
- Parameters
-
| map | Keyboard control map structure which contains key ID's per each control key |
| set | Opened engine configuration file |
| grp | INI-group which contains saved control keys map |
The documentation for this class was generated from the following files: