OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
GameConfig Class Reference

#include <GameConfig.h>

Inheritance diagram for GameConfig:
Config

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)
 
ConfigSectionsection (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}
 

Member Typedef Documentation

◆ Bool

◆ Float

◆ Int

◆ Key

◆ String

using GameConfig::String = ConfigEntry<std::string>

Constructor & Destructor Documentation

◆ GameConfig()

GameConfig::GameConfig ( )
default

◆ ~GameConfig()

GameConfig::~GameConfig ( )
default

Member Data Documentation

◆ audio

Audio GameConfig::audio {this}

◆ commands

CheatCommands GameConfig::commands {this}

◆ debug

Debug GameConfig::debug {this}

◆ gamepad

Gamepad GameConfig::gamepad {this}

◆ gameplay

Gameplay GameConfig::gameplay {this }

◆ graphics

Graphics GameConfig::graphics {this}

◆ keybindings

Keybindings GameConfig::keybindings {this}

◆ settings

Settings GameConfig::settings {this}

◆ window

Window GameConfig::window {this}

The documentation for this class was generated from the following files: