#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 |
References detect_touch().
Referenced by detect_touch(), and set_default_settings().
| 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, porting::getDataPath(), porting::getDisplayDensity(), porting::getDisplaySize(), set_default_settings(), Settings::setDefault(), Mapgen::setDefaultSettings(), settings, SL_DEFAULTS, TEXTURE_FILTER_MIN_SIZE, and TTF_DEFAULT_FONT_SIZE.
Referenced by init_common(), set_default_settings(), and TestSettings::testDefaults().