#include <configuration.h>
Public Member Functions | |
configuration (char *) | |
virtual | ~configuration () |
int | save (FILE *fd) |
int | load (FILE *fd) |
void | print (FILE *fd, char *indent="", int how_much=2) |
char * | getTypeName () |
bool | get_fullscreen () |
int | get_window_width () |
int | get_window_height () |
char * | get_game_mode_string () |
char * | get_config_fname () |
unsigned int | get_nearwp () |
unsigned int | get_nextwp () |
void | set_nearwp (unsigned int v) |
void | set_nextwp (unsigned int v) |
void | set_fullscreen (bool v) |
void | set_window_width (int v) |
void | set_window_height (int v) |
void | set_game_mode_string (char *v) |
configuration * | clone (int clone_flags) |
sgVec3 * | get_campos (int i) |
void | set_campos (int i, float vw, float xa, float za) |
Protected Member Functions | |
void | copy_from (configuration *other, int clone_flags) |
|
Definition at line 38 of file configuration.cpp. References BASE_WINDOW_HEIGHT, BASE_WINDOW_WIDTH, default_campos, DEFAULT_CONFIG_FILE, DEFAULT_FULLSCREEN, load(), MAX_CAMPOS, NEAR_WATER_POLYGONS, and NEXT_WATER_POLYGONS. |
|
Definition at line 158 of file configuration.cpp. References save(). |
|
Definition at line 188 of file configuration.cpp. |
|
Definition at line 173 of file configuration.cpp. References get_campos(), get_config_fname(), get_fullscreen(), get_game_mode_string(), get_nearwp(), get_nextwp(), get_window_height(), get_window_width(), and MAX_CAMPOS. |
|
Definition at line 210 of file configuration.cpp. Referenced by copy_from(), and get_camera_data(). |
|
Definition at line 202 of file configuration.cpp. Referenced by copy_from(). |
|
Definition at line 36 of file configuration.h. Referenced by MainMenu::_display_graph_config(), copy_from(), init_graphics_once(), and MainMenu::test_graph_settings(). |
|
Definition at line 199 of file configuration.cpp. Referenced by MainMenu::_display_graph_config(), copy_from(), and init_graphics_once(). |
|
Definition at line 41 of file configuration.h. Referenced by copy_from(). |
|
Definition at line 42 of file configuration.h. Referenced by copy_from(). |
|
Definition at line 38 of file configuration.h. Referenced by MainMenu::_display_graph_config(), MainMenu::apply_graph_settings(), copy_from(), and init_graphics_once(). |
|
Definition at line 37 of file configuration.h. Referenced by MainMenu::_display_graph_config(), MainMenu::apply_graph_settings(), copy_from(), and init_graphics_once(). |
|
Definition at line 34 of file configuration.h. |
|
Definition at line 66 of file configuration.cpp. References _ssgReadInt(), _ssgReadString(), _ssgReadUInt(), _ssgReadVec3(), and READ_CHAR. Referenced by configuration(). |
|
Definition at line 33 of file configuration.h. |
|
Definition at line 121 of file configuration.cpp. References _ssgWriteInt(), _ssgWriteString(), _ssgWriteUInt(), _ssgWriteVec3(), MAX_CAMPOS, and WRITE_CHAR. Referenced by ~configuration(). |
|
Definition at line 206 of file configuration.cpp. Referenced by keyfn(). |
|
Definition at line 45 of file configuration.h. Referenced by MainMenu::apply_graph_settings(). |
|
Definition at line 192 of file configuration.cpp. Referenced by MainMenu::apply_graph_settings(). |
|
Definition at line 43 of file configuration.h. |
|
Definition at line 44 of file configuration.h. |
|
Definition at line 47 of file configuration.h. Referenced by MainMenu::apply_graph_settings(). |
|
Definition at line 46 of file configuration.h. Referenced by MainMenu::apply_graph_settings(). |