#include <stdio.h>
#include <errno.h>
#include <string.h>
#include "ssgLocal.h"
#include "configuration.h"
Go to the source code of this file.
Namespaces | |
namespace | std |
Defines | |
#define | NEAR_WATER_POLYGONS 15000 |
#define | NEXT_WATER_POLYGONS 5000 |
#define | BASE_WINDOW_WIDTH 640 |
#define | BASE_WINDOW_HEIGHT 480 |
#define | DEFAULT_FULLSCREEN FALSE |
#define | DEFAULT_CONFIG_FILE "config" |
#define | WRITE_CHAR(c, fd) |
#define | READ_CHAR(c, fd) |
Variables | |
float | default_campos [MAX_CAMPOS *3] |
|
Definition at line 15 of file configuration.cpp. Referenced by configuration::configuration(). |
|
Definition at line 14 of file configuration.cpp. Referenced by configuration::configuration(). |
|
Definition at line 18 of file configuration.cpp. Referenced by configuration::configuration(). |
|
Definition at line 16 of file configuration.cpp. Referenced by configuration::configuration(). |
|
Definition at line 11 of file configuration.cpp. Referenced by configuration::configuration(). |
|
Definition at line 12 of file configuration.cpp. Referenced by configuration::configuration(). |
|
Value: { \ char temp; \ fread((void*)&temp, sizeof(char), 1, fd); \ if (temp != *c) \ fprintf(stderr, "error: got a %c while expecting %c in config\n", c, temp); \ } Definition at line 24 of file configuration.cpp. Referenced by configuration::load(). |
|
Value: { \ fwrite((const void*)c, sizeof(char), 1, fd); \ } Definition at line 20 of file configuration.cpp. Referenced by configuration::save(). |
|
Initial value: { 10.0f, 180.0f, 20.0f, 20.0f, 90.0f, 40.0f, 25.0f, 265.0f, 12.0f, 60.0f, 75.0f, 5.0f } Definition at line 31 of file configuration.cpp. Referenced by configuration::configuration(). |