#include "settings.h"
#include "porting.h"
#include "filesys.h"
#include "config.h"
#include "constants.h"
#include "mapgen/mapgen.h"
#include "util/string.h"
#include "server.h"
Functions | |
static bool | detect_touch () |
void | set_default_settings () |
initialize basic default settings | |
|
static |
void set_default_settings | ( | ) |
initialize basic default settings
settings | pointer to settings |
References AC_DIGGING, AC_INTERACTION, AC_MOVEMENT, bool_to_cstr(), Settings::createLayer(), detect_touch(), DIR_DELIM, flagdesc_anticheat, porting::getDataPath(), porting::getDisplayDensity(), porting::getDisplaySize(), Mapgen::setDefaultSettings(), settings, SL_DEFAULTS, and TTF_DEFAULT_FONT_SIZE.
Referenced by init_common(), and TestSettings::testDefaults().