OpenEnroth 73e68f7
|
#include <GameConfig.h>
Classes | |
class | Audio |
class | CheatCommands |
class | Debug |
class | Gamepad |
class | Gameplay |
class | Graphics |
class | Keybindings |
class | Settings |
class | Window |
Public Types | |
using | Bool = ConfigEntry< bool > |
using | Int = ConfigEntry< int > |
using | Float = ConfigEntry< float > |
using | String = ConfigEntry< std::string > |
using | Key = ConfigEntry< PlatformKey > |
Public Member Functions | |
GameConfig () | |
~GameConfig () | |
Public Member Functions inherited from Config | |
Config ()=default | |
Config (const Config &other)=delete | |
Config (Config &&other)=delete | |
void | load (std::string_view path) |
void | save (std::string_view path) const |
void | load (InputStream *stream) |
void | save (OutputStream *stream) const |
void | reset () |
void | registerSection (ConfigSection *section) |
ConfigSection * | section (std::string_view name) const |
std::vector< ConfigSection * > | sections () const |
Public Attributes | |
Audio | audio {this} |
Debug | debug {this} |
Gameplay | gameplay {this } |
Gamepad | gamepad {this} |
Graphics | graphics {this} |
Keybindings | keybindings {this} |
Settings | settings {this} |
Window | window {this} |
CheatCommands | commands {this} |
using GameConfig::Bool = ConfigEntry<bool> |
using GameConfig::Float = ConfigEntry<float> |
using GameConfig::Int = ConfigEntry<int> |
using GameConfig::Key = ConfigEntry<PlatformKey> |
using GameConfig::String = ConfigEntry<std::string> |
|
default |
|
default |
Audio GameConfig::audio {this} |
CheatCommands GameConfig::commands {this} |
Debug GameConfig::debug {this} |
Gamepad GameConfig::gamepad {this} |
Gameplay GameConfig::gameplay {this } |
Graphics GameConfig::graphics {this} |
Keybindings GameConfig::keybindings {this} |
Settings GameConfig::settings {this} |
Window GameConfig::window {this} |