GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends
radix::Config Class Reference

Configuration class. More...

#include <external/RadixEngine/include/radix/env/Config.hpp>

Public Member Functions

 Config ()
 
void load ()
 
bool isLoaded ()
 
unsigned int getWidth ()
 
unsigned int getHeight ()
 
float getSensitivity ()
 
bool isFullscreen ()
 
int getAntialiasLevel ()
 
int getRecursionLevel ()
 
bool hasSound ()
 
bool hasVsync ()
 
bool isHidePortalsByClick ()
 
bool getCursorVisibility ()
 
bool getIgnoreGlVersion ()
 
LogLevel getLoglevel ()
 
std::string getMap ()
 
std::string getMapPath ()
 

Private Member Functions

void loadVideoSettings (Json json)
 
void loadSoundSettings (Json json)
 
void loadMouseSettings (Json json)
 
void loadLoglevelSettings (Json json)
 

Private Attributes

bool loaded
 
unsigned int width
 
unsigned int height
 
float sensitivity
 
int antialiasing
 
int recursivePortal
 
bool fullscreen
 
bool sound
 
bool vsync
 
bool hidePortalsByClick
 
bool cursorVisibility
 
bool ignoreGlVersion
 
LogLevel loglevel
 
std::string map
 
std::string mapPath
 

Friends

class ArgumentsParser
 

Detailed Description

Configuration class.

Load and represent the configuration

Constructor & Destructor Documentation

radix::Config::Config ( )

Member Function Documentation

int radix::Config::getAntialiasLevel ( )
inline
bool radix::Config::getCursorVisibility ( )
inline
unsigned int radix::Config::getHeight ( )
inline
bool radix::Config::getIgnoreGlVersion ( )
inline
LogLevel radix::Config::getLoglevel ( )
inline
std::string radix::Config::getMap ( )
inline
std::string radix::Config::getMapPath ( )
inline
int radix::Config::getRecursionLevel ( )
inline
float radix::Config::getSensitivity ( )
inline
unsigned int radix::Config::getWidth ( )
inline
bool radix::Config::hasSound ( )
inline
bool radix::Config::hasVsync ( )
inline
bool radix::Config::isFullscreen ( )
inline
bool radix::Config::isHidePortalsByClick ( )
inline
bool radix::Config::isLoaded ( )
void radix::Config::load ( )
void radix::Config::loadLoglevelSettings ( Json  json)
private
void radix::Config::loadMouseSettings ( Json  json)
private
void radix::Config::loadSoundSettings ( Json  json)
private
void radix::Config::loadVideoSettings ( Json  json)
private

Friends And Related Function Documentation

friend class ArgumentsParser
friend

Field Documentation

int radix::Config::antialiasing
private
bool radix::Config::cursorVisibility
private
bool radix::Config::fullscreen
private
unsigned int radix::Config::height
private
bool radix::Config::hidePortalsByClick
private
bool radix::Config::ignoreGlVersion
private
bool radix::Config::loaded
private
LogLevel radix::Config::loglevel
private
std::string radix::Config::map
private
std::string radix::Config::mapPath
private
int radix::Config::recursivePortal
private
float radix::Config::sensitivity
private
bool radix::Config::sound
private
bool radix::Config::vsync
private
unsigned int radix::Config::width
private

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