ManaPlus
Macros | Variables
configuration.cpp File Reference

(986a3bf)

#include "configuration.h"
#include "variabledata.h"
#include "fs/files.h"
#include "fs/paths.h"
#include "fs/virtfs/fs.h"
#include "listeners/configlistener.h"
#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/foreach.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define GETLOG()
 

Variables

Configuration config
 
Configuration serverConfig
 
Configuration features
 
Configuration branding
 
Configuration paths
 
const std::string unusedKeys []
 

Macro Definition Documentation

◆ GETLOG

#define GETLOG ( )

Definition at line 49 of file configuration.cpp.

Variable Documentation

◆ branding

Configuration branding

◆ config

Configuration config

Definition at line 52 of file configuration.cpp.

Referenced by ChangeDisplay::action(), Setup_Video::action(), BuyDialog::action(), ChatWindow::action(), DidYouKnowWindow::action(), QuitDialog::action(), SetupWindow::action(), SkillDialog::action(), ActorManager::ActorManager(), ChatWindow::addChannelTab(), UserPalette::addColor(), Net::Download::addProxy(), Game::addWatermark(), ChatWindow::addWhisper(), ChatWindow::addWhisperTab(), Game::adjustPerfomance(), ChatWindow::adjustTabSize(), LocalPlayer::afkRespond(), Setup_Audio::apply(), Setup_Joystick::apply(), Setup_Misc::apply(), Setup_Theme::apply(), Setup_Video::apply(), applyEffectByOption(), applyEffectByOption1(), WindowManager::applyGamma(), WindowManager::applyGrabMode(), WindowManager::applyKeyRepeat(), WindowManager::applyScale(), WindowManager::applyVSync(), DialogsManager::attributeChanged(), ChatWindow::attributeChanged(), AvatarListBox::AvatarListBox(), BattleTab::BattleTab(), Setup_Theme::cancel(), Setup_Video::cancel(), GameModifiers::changeGameModifiers(), GameModifiers::changeMode(), CharacterViewNormal::CharacterViewNormal(), CharCreateDialog::CharCreateDialog(), CharSelectDialog::CharSelectDialog(), Ea::ChatHandler::ChatHandler(), ChatWindow::chatInput(), ChatTab::chatLog(), ChatTab::ChatTab(), ChatWindow::ChatWindow(), ConfigManager::checkConfigVersion(), PlayerRelationsManager::checkName(), Ea::LoginHandler::chooseServer(), Ea::ChatHandler::clear(), TradeWindow::completeTrade(), ServerDialog::connectToSelectedServer(), CrazyMoves::crazyMoveA(), createGuiWindows(), GraphicsManager::createRenderers(), Game::createScreenshot(), NpcDialog::createSkinControls(), Ea::PartyRecv::createTab(), EAthena::ClanRecv::createTab(), GuildManager::createTab(), GraphicsManager::detectGraphics(), GraphicsManager::detectPixelSize(), GraphicsManager::detectVideoSettings(), ServerDialog::downloadServerList(), EmulateGuildTab::EmulateGuildTab(), EquipmentWindow::EquipmentWindow(), TouchManager::executeAction(), ActorManager::findNearestLivingBeing(), Joystick::finishCalibration(), LocalPlayer::fixAttackTarget(), ChatInput::focusLost(), Game::Game(), Client::gameClear(), Client::gameInit(), SetupItem::getConfig(), getLang(), getLangShort(), getLangSimple(), MobileOpenGLScreenshotHelper::getScreenshot(), OpenGLScreenshotHelper::getScreenshot(), GuildTab::GuildTab(), EventsManager::handleActive(), WhoIsOnline::handleLink(), EventsManager::init(), GameModifiers::init(), BuyDialog::init(), Joystick::init(), KeyboardConfig::init(), TouchManager::init(), Settings::init(), SoundManager::init(), Client::initConfigListeners(), ConfigManager::initConfiguration(), GraphicsManager::initGraphics(), Client::initGraphics(), Map::initializeParticleEffects(), GraphicsManager::initOpenGLFunctions(), Dirs::initScreenshotDir(), Client::initSoundManager(), Dirs::initUpdatesDir(), InventoryWindow::InventoryWindow(), MiniStatusWindow::loadBars(), WindowMenu::loadButtons(), ServerDialog::loadCustomServers(), DidYouKnowWindow::loadData(), Net::loadIgnorePackets(), WhoIsOnline::loadList(), WhoIsOnline::loadWebList(), Window::loadWindowState(), LocalPlayer::LocalPlayer(), UpdaterWindow::logic(), Map::Map(), MapLayer::MapLayer(), Minimap::Minimap(), ServerDialog::needUpdateServers(), NpcDialog::NpcDialog(), Joystick::open(), DialogsManager::openErrorDialog(), ActorManager::optionChanged(), EventsManager::optionChanged(), WindowMenu::optionChanged(), ChatWindow::optionChanged(), Minimap::optionChanged(), NpcDialog::optionChanged(), WhoIsOnline::optionChanged(), GuiConfigListener::optionChanged(), Viewport::optionChanged(), Client::optionChanged(), Being::optionChanged(), LocalPlayer::optionChanged(), AvatarListBox::optionChanged(), EmulateGuildTab::optionChanged(), GuildTab::optionChanged(), PartyTab::optionChanged(), TouchManager::optionChanged(), Map::optionChanged(), MapLayer::optionChanged(), SoundManager::optionChanged(), ChatWindow::parseGlobalsFilter(), ChatWindow::parseHighlights(), PartyTab::PartyTab(), LocalPlayer::pickedUp(), SoundManager::playGuiSound(), NpcDialog::postInit(), SetupWindow::postInit(), SocialWindow::postInit(), WhoIsOnline::postInit(), Being::postInit(), Gui::postInit(), MobileOpenGLScreenshotHelper::prepare(), OpenGLScreenshotHelper::prepare(), Theme::prepareThemePath(), Ea::BeingRecv::processBeingRemove(), EAthena::CharServerRecv::processChangeMapServer(), TmwAthena::CharServerRecv::processChangeMapServer(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::CharServerRecv::processCharMapInfo(), EAthena::GuildRecv::processGuildPositionInfo(), EAthena::LoginRecv::processLoginData(), TmwAthena::LoginRecv::processLoginData(), Ea::ChatRecv::processMVPEffect(), EAthena::PlayerRecv::processOnlineList(), TmwAthena::PlayerRecv::processOnlineList(), ShopWindow::processRequest(), ChatInput::processVisible(), TmwAthena::ChatRecv::processWhisperContinue(), MapReader::readTileset(), Map::reduce(), TmwAthena::BuySellHandler::requestBuyList(), TmwAthena::BuySellHandler::requestSellList(), Being::reReadConfig(), Game::resetAdjustLevel(), GameModifiers::resetModifiers(), WindowManager::resizeVideo(), InputManager::retrieve(), MiniStatusWindow::saveBars(), WindowMenu::saveButtons(), ServerDialog::saveCustomServers(), ChatTab::saveToLogFile(), Window::saveWindowState(), TmwAthena::BuySellHandler::sendBuyRequest(), ShopWindow::sendMessage(), TmwAthena::BuySellHandler::sendSellRequest(), ServerDialog::ServerDialog(), LocalPlayer::setAfkMessage(), Desktop::setBestFittingWallpaper(), setLangEnv(), Minimap::setMap(), TradeWindow::setMoney(), Graphics::setOpenGLMode(), GameModifiers::setQuickDropCounter(), ChatLogger::setServerName(), Setup_Input::Setup_Input(), Setup_Joystick::Setup_Joystick(), Setup_Perfomance::Setup_Perfomance(), Setup_Theme::Setup_Theme(), Setup_Video::Setup_Video(), ParticleEngine::setupEngine(), GraphicsManager::setVideoMode(), ShopWindow::ShopWindow(), PopupMenu::showDropPopup(), ChatWindow::showGMTab(), PopupMenu::showItemPopup(), Being::showName(), PopupMenu::showPopup(), EventsManager::shutdown(), TouchManager::shutdown(), SoundManager::shutdown(), Game::slowLogic(), Client::stateConnectServer1(), InputManager::store(), ConfigManager::storeSafeParameters(), InventoryWindow::storeSortOrder(), SoundManager::testAudio(), Text::Text(), Theme::Theme(), ActorManager::updateBadges(), GraphicsManager::updateDebugLog(), updateEnv(), Gui::updateFonts(), Game::updateFrameRate(), SocialNavigationTab::updateList(), GraphicsManager::updateTextureCompressionFormat(), GraphicsManager::updateTextureFormat(), ItemShortcut::useItem(), Viewport::Viewport(), WindowMenu::WindowMenu(), ActorManager::~ActorManager(), AvatarListBox::~AvatarListBox(), Being::~Being(), ChatWindow::~ChatWindow(), EmulateGuildTab::~EmulateGuildTab(), Game::~Game(), Gui::~Gui(), GuildTab::~GuildTab(), LocalPlayer::~LocalPlayer(), Map::~Map(), MapLayer::~MapLayer(), Minimap::~Minimap(), NpcDialog::~NpcDialog(), PartyTab::~PartyTab(), Theme::~Theme(), UserPalette::~UserPalette(), Viewport::~Viewport(), WhoIsOnline::~WhoIsOnline(), and WindowMenu::~WindowMenu().

◆ features

Configuration features

◆ paths

Definition at line 56 of file configuration.cpp.

Referenced by Being::addEffect(), SkillDialog::addSkill(), Game::changeMap(), EffectManager::EffectManager(), EquipmentWindow::fillBoxes(), Client::gameExec(), Client::gameInit(), Being::getDefaultEffectId(), SkillDialog::getDefaultSkillIcon(), ShadersManager::getGles2Program(), Being::getHitEffect(), StatusEffect::getIcon(), Item::getImage(), ShadersManager::getSimpleProgram(), Being::handleSkill(), Being::handleSkillCasting(), SpriteDef::includeSprite(), BeingInfo::init(), initDefaultWallpaperPaths(), Client::initFeatures(), AvatarDB::load(), CharDB::load(), ClanDb::load(), ColorDB::load(), CommandsDB::load(), DeadDB::load(), ElementalDb::load(), EmoteDB::load(), GroupDb::load(), HomunculusDB::load(), HorseDB::load(), ItemDB::load(), ItemFieldDb::load(), ItemOptionDb::load(), LanguageDb::load(), MapDB::load(), MercenaryDB::load(), ModDB::load(), MonsterDB::load(), NetworkDb::load(), NPCDB::load(), NpcDialogDB::load(), PETDB::load(), QuestDb::load(), SkillUnitDb::load(), SoundDB::load(), StatDb::load(), StatusEffectDB::load(), TextDb::load(), UnitsDb::load(), SpriteDef::load(), Client::loadData(), loadDB(), MapReader::loadEmptyAtlas(), DidYouKnowWindow::loadFile(), HelpWindow::loadFile(), TextCommand::loadImage(), loadMusic(), PaletteDB::loadPalette(), SkillDialog::loadSkillData(), SkillDialog::loadSkills(), EmoteDB::loadSpecialXmlFile(), HelpWindow::loadTags(), ClanDb::loadXmlFile(), DeadDB::loadXmlFile(), ElementalDb::loadXmlFile(), EmoteDB::loadXmlFile(), GroupDb::loadXmlFile(), HomunculusDB::loadXmlFile(), HorseDB::loadXmlFile(), MercenaryDB::loadXmlFile(), MonsterDB::loadXmlFile(), NPCDB::loadXmlFile(), PETDB::loadXmlFile(), SkillUnitDb::loadXmlFile(), StatusEffectDB::loadXmlFile(), UnitsDb::loadXmlFile(), ItemDB::loadXmlFile(), NpcDialog::parseListItems(), SkillDialog::playCastingDstTileEffect(), SoundManager::playGuiSfx(), SkillDialog::playRemoveEffect(), SoundManager::playSfx(), SkillDialog::playUpdateEffect(), EquipmentWindow::prepareSlotNames(), MapDB::readAtlas(), BeingCommon::readObjectNodes(), Being::reReadConfig(), Being::setGender(), TmwAthena::setGm(), Being::setHairTempSprite(), SkillData::setIcon(), Item::setId(), ItemPopup::setItem(), Being::setLanguageId(), Minimap::setMap(), Being::setSpiritBalls(), Being::setSpriteCards(), Being::setSpriteColor(), Being::setSpriteColorId(), Being::setSpriteId(), Being::setTempSprite(), ActorSprite::setupSpriteDisplay(), CutInWindow::show(), Being::showAwayBadge(), Being::showClanBadge(), Being::showGmBadge(), ChatWindow::showGMTab(), Being::showGuildBadge(), Being::showInactiveBadge(), Being::showNameBadge(), Being::showPartyBadge(), Being::showShopBadge(), Being::showTeamBadge(), and MapReader::updateMusic().

◆ serverConfig

Configuration serverConfig

◆ unusedKeys

const std::string unusedKeys[]

Definition at line 58 of file configuration.cpp.

Referenced by Configuration::removeOldKeys().