|
HoverRace
2.0
|
#include <limits.h>#include <stdlib.h>#include <iomanip>#include <string>#include <sstream>#include <exception>#include <sys/types.h>#include <pwd.h>#include <unistd.h>#include <boost/algorithm/string.hpp>#include <boost/filesystem/convenience.hpp>#include <boost/filesystem/fstream.hpp>#include <boost/filesystem/path.hpp>#include <boost/uuid/uuid.hpp>#include <boost/uuid/string_generator.hpp>#include <SDL2/SDL_keycode.h>#include "yaml/Emitter.h"#include "yaml/MapNode.h"#include "yaml/ScalarNode.h"#include "yaml/SeqNode.h"#include "yaml/Parser.h"#include "../Control/Controller.h"#include "../Parcel/Bundle.h"#include "../Parcel/ResBundle.h"#include "../Parcel/TrackBundle.h"#include "../Player/ProfileExn.h"#include "Locale.h"#include "Log.h"#include "Str.h"#include "Config.h"
Include dependency graph for Config.cpp:Namespaces | |
| HoverRace | |
| HoverRace::Util | |
Macros | |
| #define | CONFIG_FILENAME "config.yml" |
| #define | DEFAULT_MAIN_SERVER "www.hoverrace.com/imr/rl.php" |
| #define | DEFAULT_UPDATE_SERVER "www.hoverrace.com/updates/updates.php" |
| #define | DIRSEP "/" |
| #define | EMIT_VAR(emitter, name) |
| #define | OLD_MAIN_SERVER "66.197.183.245/~sirbrock/imr/rl.php" |
| #define | PREREL_CONFIG_FILENAME "config-testing.yml" |
| #define | READ_BOOL(root, name) root->ReadBool(#name, name) |
| #define | READ_DOUBLE(root, name, min, max) root->ReadDouble(#name, name, min, max) |
| #define | READ_FLOAT(root, name, min, max) root->ReadFloat(#name, name, min, max) |
| #define | READ_INT(root, name, min, max) root->ReadInt(#name, name, min, max) |
| #define | READ_PATH(root, name) root->ReadPath(#name, name) |
| #define | READ_STRING(root, name) root->ReadString(#name, name) |
| #define CONFIG_FILENAME "config.yml" |
| #define DEFAULT_MAIN_SERVER "www.hoverrace.com/imr/rl.php" |
| #define DEFAULT_UPDATE_SERVER "www.hoverrace.com/updates/updates.php" |
| #define DIRSEP "/" |
| #define EMIT_VAR | ( | emitter, | |
| name | |||
| ) |
| #define OLD_MAIN_SERVER "66.197.183.245/~sirbrock/imr/rl.php" |
| #define PREREL_CONFIG_FILENAME "config-testing.yml" |
| #define READ_BOOL | ( | root, | |
| name | |||
| ) | root->ReadBool(#name, name) |
| #define READ_DOUBLE | ( | root, | |
| name, | |||
| min, | |||
| max | |||
| ) | root->ReadDouble(#name, name, min, max) |
| #define READ_FLOAT | ( | root, | |
| name, | |||
| min, | |||
| max | |||
| ) | root->ReadFloat(#name, name, min, max) |
| #define READ_INT | ( | root, | |
| name, | |||
| min, | |||
| max | |||
| ) | root->ReadInt(#name, name, min, max) |
| #define READ_PATH | ( | root, | |
| name | |||
| ) | root->ReadPath(#name, name) |
| #define READ_STRING | ( | root, | |
| name | |||
| ) | root->ReadString(#name, name) |
1.8.11