xoreos
0.0.5
src
engines
kotor
gui
options
gameplay.h
Go to the documentation of this file.
1
/* xoreos - A reimplementation of BioWare's Aurora engine
2
*
3
* xoreos is the legal property of its developers, whose names
4
* can be found in the AUTHORS file distributed with this source
5
* distribution.
6
*
7
* xoreos is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 3
10
* of the License, or (at your option) any later version.
11
*
12
* xoreos is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with xoreos. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
25
#ifndef ENGINES_KOTOR_GUI_OPTIONS_GAMEPLAY_H
26
#define ENGINES_KOTOR_GUI_OPTIONS_GAMEPLAY_H
27
28
#include "
src/common/scopedptr.h
"
29
30
#include "
src/engines/kotor/gui/gui.h
"
31
32
namespace
Engines
{
33
34
namespace
KotOR {
35
36
class
OptionsGameplayMenu
:
public
GUI
{
37
public
:
38
OptionsGameplayMenu
(::
Engines::Console
*console = 0);
39
~OptionsGameplayMenu
();
40
41
virtual
void
show
();
42
43
protected
:
44
void
callbackActive
(
Widget
&widget);
45
46
private
:
47
int
_difficulty
;
48
bool
_autoLevelUp
;
49
bool
_mouseMove
;
50
bool
_autoSave
;
51
bool
_reverseMinigameY
;
52
bool
_combatMovement
;
53
54
Common::ScopedPtr<GUI>
_mousesettings
;
55
Common::ScopedPtr<GUI>
_keyboardconfiguration
;
56
57
void
setDefault
();
58
void
readConfig
();
59
void
displayConfig
();
60
61
void
updateDifficulty
(
int
difficulty);
62
63
void
adoptChanges
();
64
};
65
66
}
// End of namespace KotOR
67
68
}
// End of namespace Engines
69
70
#endif // ENGINES_KOTOR_GUI_OPTIONS_GAMEPLAY_H
Engines::KotOR::OptionsGameplayMenu::_reverseMinigameY
bool _reverseMinigameY
Definition:
gameplay.h:51
Engines::KotOR::OptionsGameplayMenu::readConfig
void readConfig()
Definition:
gameplay.cpp:153
Engines::KotOR::OptionsGameplayMenu::show
virtual void show()
Show the GUI.
Definition:
gameplay.cpp:67
Engines::KotOR::OptionsGameplayMenu::callbackActive
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
Definition:
gameplay.cpp:74
Engines::KotOR::OptionsGameplayMenu::_autoSave
bool _autoSave
Definition:
gameplay.h:50
Engines::KotOR::OptionsGameplayMenu::displayConfig
void displayConfig()
Definition:
gameplay.cpp:163
Engines::KotOR::OptionsGameplayMenu::_keyboardconfiguration
Common::ScopedPtr< GUI > _keyboardconfiguration
Definition:
gameplay.h:55
scopedptr.h
A simple scoped smart pointer template.
Engines::KotOR::OptionsGameplayMenu::_mouseMove
bool _mouseMove
Definition:
gameplay.h:49
Engines::KotOR::OptionsGameplayMenu::_combatMovement
bool _combatMovement
Definition:
gameplay.h:52
Engines
Definition:
console.cpp:69
Common::ScopedPtr
A scoped plain pointer, allowing pointer-y access and normal deletion.
Definition:
scopedptr.h:120
gui.h
A KotOR GUI.
Engines::KotOR::OptionsGameplayMenu::~OptionsGameplayMenu
~OptionsGameplayMenu()
Definition:
gameplay.cpp:64
Engines::Widget
A widget in a GUI.
Definition:
widget.h:40
Engines::KotOR::OptionsGameplayMenu::_difficulty
int _difficulty
Definition:
gameplay.h:47
Engines::KotOR::OptionsGameplayMenu::OptionsGameplayMenu
OptionsGameplayMenu(::Engines::Console *console=0)
Definition:
gameplay.cpp:42
Engines::KotOR::OptionsGameplayMenu::adoptChanges
void adoptChanges()
Definition:
gameplay.cpp:193
Engines::KotOR::OptionsGameplayMenu::updateDifficulty
void updateDifficulty(int difficulty)
Definition:
gameplay.cpp:173
Engines::KotOR::OptionsGameplayMenu
Definition:
gameplay.h:36
Engines::KotOR::GUI
A KotOR GUI.
Definition:
gui.h:57
Engines::KotOR::OptionsGameplayMenu::_autoLevelUp
bool _autoLevelUp
Definition:
gameplay.h:48
Engines::Console
Definition:
console.h:190
Engines::KotOR::OptionsGameplayMenu::_mousesettings
Common::ScopedPtr< GUI > _mousesettings
Definition:
gameplay.h:54
Engines::KotOR::OptionsGameplayMenu::setDefault
void setDefault()
Definition:
gameplay.cpp:143
Generated on Sun Nov 18 2018 15:13:40 for xoreos by
1.8.14