Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
settings.cpp File Reference
#include "settings.h"
#include "irrlichttypes_bloated.h"
#include "exceptions.h"
#include "threading/mutex_auto_lock.h"
#include "util/numeric.h"
#include "util/strfnd.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include "debug.h"
#include "log.h"
#include "util/serialize.h"
#include "filesys.h"
#include "noise.h"
#include <cctype>
#include <algorithm>
+ Include dependency graph for settings.cpp:

Variables

Settingsg_settings = nullptr
 
static SettingsHierarchy g_hierarchy
 
std::string g_settings_path
 

Variable Documentation

◆ g_hierarchy

◆ g_settings

Settings* g_settings = nullptr

Referenced by sound::ALExtensions::ALExtensions(), AsyncWorkerThread::AsyncWorkerThread(), Camera::Camera(), ChatBuffer::ChatBuffer(), Client::Client(), ClientMap::ClientMap(), Clouds::Clouds(), EmergeManager::EmergeManager(), EmergeScripting::EmergeScripting(), Environment::Environment(), FontEngine::FontEngine(), Game::Game(), GameGlobalShaderConstantSetter::GameGlobalShaderConstantSetter(), GUIChatConsole::GUIChatConsole(), GUIEngine::GUIEngine(), GUIFormSpecMenu::GUIFormSpecMenu(), GUIModalMenu::GUIModalMenu(), HTTPFetchOngoing::HTTPFetchOngoing(), Hud::Hud(), JoystickController::JoystickController(), MapBlockMesh::MapBlockMesh(), MeshUpdateManager::MeshUpdateManager(), MeshUpdateQueue::MeshUpdateQueue(), MeshUpdateWorkerThread::MeshUpdateWorkerThread(), Minimap::Minimap(), OffsetCameraStep::OffsetCameraStep(), PlayerSAO::PlayerSAO(), RemotePlayer::RemotePlayer(), RenderingEngine::RenderingEngine(), Server::Server(), ServerMap::ServerMap(), ServerScripting::ServerScripting(), ShaderSource::ShaderSource(), ShadowRenderer::ShadowRenderer(), Sky::Sky(), TextureSource::TextureSource(), TouchControls::TouchControls(), WieldMeshSceneNode::WieldMeshSceneNode(), ClientLauncher::~ClientLauncher(), ClientMap::~ClientMap(), Clouds::~Clouds(), FontEngine::~FontEngine(), Game::~Game(), GameGlobalShaderConstantSetter::~GameGlobalShaderConstantSetter(), GUIEngine::~GUIEngine(), Hud::~Hud(), RenderingEngine::~RenderingEngine(), Server::~Server(), Server::acceptAuth(), GUIKeyChangeMenu::acceptInput(), addPostProcessing(), ClientMediaDownloader::addRemoteServer(), SingleMediaDownloader::addRemoteServer(), addUpscaling(), ChatBackend::applySettings(), Server::AsyncRunStep(), RenderingEngine::autosaveScreensizeAndCo(), GUIFormSpecMenu::calculateImgsize(), checkModNameWhitelisted(), PlayerSAO::checkMovementCheat(), chooseVideoDriver(), ServerEnvironment::clearObjects(), ClientLauncher::config_guienv(), Game::connectToServer(), create3DStage(), create_default_layout(), createShadowRenderer(), Game::createSingleplayerServer(), Game::decreaseViewRange(), dedicated_server_loop(), PlayerSettings::deregisterSettingsCallback(), GUIEngine::downloadFile(), RenderingEngine::draw_load_screen(), Hud::drawBlockBounds(), Hud::drawHotbar(), drawItemStack(), Server::findSpawnPos(), game_configure_port(), ImageSource::generateImagePart(), ShaderSource::generateShader(), get_deprecated_handling_mode(), get_world_from_config(), RenderingEngine::getDisplayDensity(), getDownscaleFactor(), getKeySetting(), TouchInteraction::getMode(), RemoteClient::GetNextBlocks(), Server::getProtocolVersionMin(), Game::getServerContent(), getShaderPath(), getSmoothLightCombined(), Server::getStatusString(), getTextureDirs(), guiScalingCache(), guiScalingResizeCached(), Server::handleChat(), Game::handleClientEvent_SetSky(), Server::handleCommand_FirstSrp(), Server::handleCommand_Init(), Server::handleCommand_Init2(), Server::handleCommand_Interact(), Server::handleCommand_ModChannelJoin(), Server::handleCommand_ModChannelLeave(), Server::handleCommand_ModChannelMsg(), Game::handleDigging(), id_to_keycode(), Game::increaseViewRange(), GameUI::init(), Server::init(), ClientLauncher::init_args(), init_common(), ClientLauncher::init_input(), init_log_streams(), GameUI::initFlags(), FontEngine::initFont(), ModApiUtil::Initialize(), GenericCAO::initialize(), RenderingEngine::initialize(), ModApiUtil::InitializeAsync(), ModApiUtil::InitializeClient(), ClientMediaDownloader::initialStep(), Client::initLocalMapSaving(), Game::initSound(), ClientInterface::isUserLimitReached(), Java_net_minetest_minetest_GameActivity_saveSettings(), ModApiMainMenu::l_create_world(), ModApiMapgen::l_get_noiseparams(), ObjectRef::l_set_armor_groups(), LuaMinimap::l_show(), ClientLauncher::launch_game(), FpsControl::limit(), ServerMap::loadBlock(), loadGameConfAndInitWorld(), GUIEngine::loadMainMenuScript(), Client::loadMods(), main(), ClientLauncher::main_menu(), Client::makeScreenshot(), migrate_settings(), Game::nodePlacement(), GUIVolumeChange::OnEvent(), MyEventReceiver::OnEvent(), JoystickController::onJoystickConnect(), SettingsHierarchy::onLayerCreated(), SettingsHierarchy::onLayerRemoved(), MapBlock::onObjectsActivation(), ClientMap::onSettingChanged(), GameGlobalShaderConstantSetter::onSettingsChange(), Database_SQLite3::openDatabase(), GUIFormSpecMenu::parseSize(), ShadowRenderer::preInit(), Game::processKeyInput(), Game::processPlayerInteraction(), PlayerSAO::punch(), read_config_file(), PlayerSettings::readGlobalSettings(), MapgenParams::readParams(), Hud::readScalingSetting(), Clouds::readSettings(), FontEngine::readSettings(), Game::readSettings(), TextureSettings::readSettings(), GUIFormSpecMenu::regenerateGui(), GUIKeyChangeMenu::regenerateGui(), GUIVolumeChange::regenerateGui(), PlayerSettings::registerSettingsCallback(), ClientMap::renderMapShadows(), Address::Resolve(), ModConfiguration::resolveDependencies(), ClientLauncher::run(), Game::run(), GUIEngine::run(), run_dedicated_server(), TestSAO::runTests(), TestSocket::runTests(), MapBlock::saveStaticObject(), Server::SendActiveObjectRemoveAdd(), Server::SendAddParticleSpawner(), ServerList::sendAnnounce(), Server::SendBlockNoLock(), Server::SendBlocks(), Client::sendChatMessage(), Server::sendMediaAnnouncement(), Server::SendMovement(), Server::SendSpawnParticle(), Minimap::setMinimapShape(), GUIScrollBar::setPosInterpolated(), RenderingEngine::settingChangedCallback(), Game::shouldShowTouchControls(), Game::showPauseMenu(), sound_volume_control(), SingleMediaDownloader::startRemoteMediaTransfer(), ClientMediaDownloader::startRemoteMediaTransfers(), Game::startup(), Client::step(), ClientEnvironment::step(), Game::step(), GenericCAO::step(), ParticleSpawner::step(), Server::step(), ServerEnvironment::step(), TestConnection::testConnectSendReceive(), TestSocket::testIPv4Socket(), TestAddress::testResolve(), Game::toggleAutoforward(), Game::toggleCinematic(), Game::toggleFast(), Game::toggleFog(), Game::toggleFreeMove(), Game::toggleMinimap(), Minimap::toggleMinimapShape(), Game::toggleNoClip(), Game::togglePitchMove(), ServerMap::transformLiquids(), TouchControls::translateEvent(), Camera::update(), MeshUpdateManager::updateBlock(), Clouds::updateMesh(), Game::updatePointedThing(), Game::updateProfilers(), GenericCAO::updateTextures(), and Camera::updateViewingRange().

◆ g_settings_path