Aolis Engine
0.1.0_alpha1
Adventure Game Engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
include
aolis
util
configuration.h
1
/*
2
* Configurations:
3
* This file determines the correct paramaters at which to run the game. I a pre-made configuration file exists it will read
4
* the data from there. If not it will load the default settings and save them to a new configuration file.
5
*/
6
7
#ifndef TOA_CONFIGURATION_H
8
#define TOA_CONFIGURATION_H
9
10
#include <string>
11
12
#include "xmlparser.h"
13
14
/* Location to store configuration file */
15
static
std::string configuration;
16
17
/* Data contained within the configuration */
18
static
std::string configuration_data;
19
20
/*
21
* A list of resolutions supported for gameplay
22
*
23
* It is not decided whether the list of resolutions will hard-coded are set by the operating system.
24
* Ideally the operating system will tell the at which resolutions it can be played.
25
*/
26
27
/* Resolutions available */
28
static
int
rescount;
29
static
char
** resolutions;
30
31
/* Check for fullscreen on startup */
32
static
bool
fullscreen;
33
34
/*
35
* Window will always be centered and non-resizable so leaving unconfigured
36
*/
37
38
/* Initialize the configuration settings */
39
void
initConfig ();
40
41
#endif
/* TOA_CONFIGURATION_H */
Generated on Mon Nov 3 2014 18:55:10 for Aolis Engine by
1.8.3.1