Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
defaultsettings.cpp File Reference
#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"
+ Include dependency graph for defaultsettings.cpp:

Functions

static bool detect_touch ()
 
void set_default_settings ()
 initialize basic default settings
 

Function Documentation

◆ detect_touch()

static bool detect_touch ( )
static

Referenced by set_default_settings().

+ Here is the caller graph for this function:

◆ set_default_settings()

void set_default_settings ( )

initialize basic default settings

Parameters
settingspointer 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: