Game configuration class.
More...
#include <Configuration.h>
Game configuration class.
- Todo:
Refactor the Configuration class.
Implement all the possible resolutions the game will "want".
| unsigned int Configuration::getCameraDistanceHeight |
( |
) | |
|
|
static |
- Returns
- cameraDistanceHeight
| unsigned int Configuration::getCameraDistanceWidth |
( |
) | |
|
|
static |
- Returns
- cameraDistanceWidth
| unsigned int Configuration::getLogicalRenderSize |
( |
) | |
|
|
static |
| uint32_t Configuration::getMaxFramerate |
( |
) | |
|
|
static |
| unsigned int Configuration::getResolutionHeight |
( |
) | |
|
|
static |
| unsigned int Configuration::getResolutionWidth |
( |
) | |
|
|
static |
| unsigned int Configuration::getScreenHeight |
( |
) | |
|
|
static |
- Returns
- The current screen height.
| unsigned int Configuration::getScreenWidth |
( |
) | |
|
|
static |
- Returns
- The current screen width.
| std::string Configuration::getWindowTitle |
( |
) | |
|
|
static |
| void Configuration::initialize |
( |
) | |
|
|
static |
Initializes all the attributes.
- Todo:
- Make sure recieved ints are not negative.
| unsigned int Configuration::cameraDistanceHeight = 0 |
|
staticprivate |
The height distance of the camera.
| unsigned int Configuration::cameraDistanceWidth = 0 |
|
staticprivate |
The width distance of the camera.
| unsigned int Configuration::logicalRenderSize = 0 |
|
staticprivate |
The size of the logical rendering.
| uint32_t Configuration::maxFramerate = 0 |
|
staticprivate |
The game's max framerate.
| const unsigned int Configuration::resolutionHeight = 108 |
|
staticprivate |
The game's height resolution.
(10)
| const unsigned int Configuration::resolutionWidth = 192 |
|
staticprivate |
The game's width resolution.
(16)
| unsigned int Configuration::screenHeight = 0 |
|
staticprivate |
| unsigned int Configuration::screenWidth = 0 |
|
staticprivate |
| std::string Configuration::windowTitle = "" |
|
staticprivate |
The documentation for this class was generated from the following files:
- /home/caio/Git/Dauphine/include/Configuration.h
- /home/caio/Git/Dauphine/src/Configuration.cpp