Adonthell 0.4
|
Adonthell's configuration. More...
Go to the source code of this file.
Classes | |
class | config |
This class contains the engine's configuration read either from the config file or from the command line. More... | |
Enumerations | |
enum | { PREFS_UNKNOWN = 0, PREFS_SCREEN_MODE = 1, PREFS_LANGUAGE = 2, PREFS_FONT = 3, PREFS_QUICK_LOAD = 4, PREFS_AUDIO_CHANNELS = 5, PREFS_AUDIO_RESOLUTION = 6, PREFS_AUDIO_SAMPLE_RATE = 7, PREFS_AUDIO_VOLUME = 8, PREFS_VERSION = 9, PREFS_NUM = 10, PREFS_STR = 11, PREFS_DOUBLE_SCREEN = 12 } |
Returncodes of the scanner for the different entries of the configuration file. More... | |
Functions | |
int | parse_adonthellrc (int &, string &) |
Start the lexical scanner to parse the config file, usually fount at ~/.adonthell/adonthellrc. | |
Variables | |
FILE * | prefsin |
The config file opened by the lexical scanner. |
Adonthell's configuration.
Definition in file prefs.h.
anonymous enum |
int parse_adonthellrc | ( | int & | , |
string & | |||
) |
Start the lexical scanner to parse the config file, usually fount at ~/.adonthell/adonthellrc.
FILE* prefsin |
The config file opened by the lexical scanner.