ManaPlus
|
#include <settings.h>
Public Member Functions | |
Settings () | |
void | init () |
Definition at line 37 of file settings.h.
|
inline |
Definition at line 40 of file settings.h.
void Settings::init | ( | ) |
Definition at line 34 of file settings.cpp.
References config, Configuration::getBoolValue(), showButtonIcons, UserAgent::update(), and uselonglivesprites.
unsigned int Settings::attackType |
Definition at line 138 of file settings.h.
Referenced by LocalPlayer::attack2(), Game::checkKeys(), LocalPlayer::fixAttackTarget(), GameModifiers::init(), GameModifiers::resetModifiers(), LocalPlayer::setDestination(), and Game::updateHistory().
unsigned int Settings::attackWeaponType |
Definition at line 137 of file settings.h.
Referenced by LocalPlayer::changeEquipmentBeforeAttack(), GameModifiers::init(), and GameModifiers::resetModifiers().
bool Settings::awayMode |
Definition at line 158 of file settings.h.
Referenced by AwayListener::action(), ChatWindow::addToAwayLog(), Game::adjustPerfomance(), LocalPlayer::afkRespond(), GameModifiers::changeAwayMode(), EventsManager::handleActive(), Game::handleInput(), GameModifiers::init(), Ea::PlayerRecv::processPlayerClientCommand(), LocalPlayer::slowLogic(), InputManager::updateConditionMask(), Game::updateFrameRate(), and LocalPlayer::updateStatus().
unsigned int Settings::cameraMode |
Definition at line 144 of file settings.h.
Referenced by Viewport::moveCameraRelative(), Viewport::moveCameraToActor(), Viewport::moveCameraToPosition(), Game::moveInDirection(), GameModifiers::resetModifiers(), NpcDialog::restoreCamera(), Viewport::returnCamera(), NpcDialog::saveCamera(), and PopupMenu::showMapPopup().
std::string Settings::configDir |
Definition at line 111 of file settings.h.
Referenced by ConfigManager::backupConfig(), TestMain::initConfig(), Dirs::initConfigDir(), ConfigManager::initConfiguration(), ConfigManager::initServerConfig(), and TestMain::writeConfig().
unsigned int Settings::crazyMoveState |
Definition at line 145 of file settings.h.
Referenced by GameModifiers::changeCrazyMoveType(), CrazyMoves::crazyMove3(), CrazyMoves::crazyMove4(), CrazyMoves::crazyMove5(), CrazyMoves::crazyMove6(), CrazyMoves::crazyMove7(), CrazyMoves::crazyMove9(), CrazyMoves::crazyMoveA(), CrazyMoves::crazyMoveAd(), CrazyMoves::crazyMoveAe(), CrazyMoves::crazyMoveAm(), CrazyMoves::crazyMoveAo(), and CrazyMoves::crazyMoveAs().
unsigned int Settings::crazyMoveType |
Definition at line 134 of file settings.h.
Referenced by GameModifiers::changeCrazyMoveType(), CrazyMoves::crazyMove(), GameModifiers::getCrazyMoveTypeString(), GameModifiers::init(), and GameModifiers::resetModifiers().
bool Settings::disableGameModifiers |
Definition at line 157 of file settings.h.
Referenced by GameModifiers::changeGameModifiers(), GameModifiers::init(), GameModifiers::resetModifiers(), InputManager::updateConditionMask(), and StatusWindow::updateStatusBar().
bool Settings::disableLoggingInGame |
Definition at line 161 of file settings.h.
Referenced by Logger::assertLog(), Game::Game(), Logger::log(), Logger::log1(), Logger::log_r(), and Game::~Game().
EmoteTypeT Settings::emoteType |
Definition at line 152 of file settings.h.
Referenced by EmoteShortcut::useEmote().
bool Settings::enableNewMailSystem |
Definition at line 165 of file settings.h.
Referenced by ItemAmountWindow::finish(), and ItemContainer::mouseReleased().
bool Settings::enableRemoteCommands |
Definition at line 162 of file settings.h.
Referenced by Setup_Players::apply(), Ea::PlayerRecv::processPlayerClientCommand(), and Client::stateConnectServer1().
bool Settings::fixDeadAnimation |
Definition at line 160 of file settings.h.
Referenced by Client::initFeatures(), and SpriteDef::load().
unsigned int Settings::fixedInventorySize |
Definition at line 148 of file settings.h.
Referenced by EAthena::InventoryRecv::processInventoryExpansionInfo(), and PlayerInfo::stateChange().
unsigned int Settings::followMode |
Definition at line 136 of file settings.h.
Referenced by LocalPlayer::followMoveTo(), LocalPlayer::imitateDirection(), GameModifiers::init(), and GameModifiers::resetModifiers().
std::string Settings::gmCharCommandSymbol |
Definition at line 126 of file settings.h.
Referenced by Gm::runCharCommand().
std::string Settings::gmCommandSymbol |
Definition at line 125 of file settings.h.
Referenced by Gm::runCharCommand(), and Gm::runCommand().
float Settings::guiAlpha |
Definition at line 131 of file settings.h.
Referenced by GuiTable::draw(), ItemShortcutContainer::draw(), PlayerBox::draw(), ShopListBox::draw(), SpellShortcutContainer::draw(), TextPreview::draw(), VirtShortcutContainer::draw(), EmoteShortcutContainer::draw(), EmoteShortcutContainer::EmoteShortcutContainer(), Client::optionChanged(), GuiTable::safeDraw(), ItemShortcutContainer::safeDraw(), SpellShortcutContainer::safeDraw(), VirtShortcutContainer::safeDraw(), EmoteShortcutContainer::safeDraw(), Minimap::setMap(), ShortcutContainer::ShortcutContainer(), Button::updateAlpha(), CheckBox::updateAlpha(), DropDown::updateAlpha(), ListBox::updateAlpha(), ProgressBar::updateAlpha(), RadioButton::updateAlpha(), ScrollArea::updateAlpha(), SkillRectangleListBox::updateAlpha(), Slider::updateAlpha(), Tab::updateAlpha(), TextField::updateAlpha(), and Skin::updateAlpha().
unsigned int Settings::imitationMode |
Definition at line 143 of file settings.h.
Referenced by LocalPlayer::imitateOutfit(), GameModifiers::init(), and GameModifiers::resetModifiers().
KeyboardFocusT Settings::inputFocused |
Definition at line 155 of file settings.h.
Referenced by ChatTab::chatLog(), EventsManager::handleActive(), Joystick::logic(), Game::updateFrameRate(), and Joystick::validate().
bool Settings::limitFps |
Definition at line 154 of file settings.h.
Referenced by Client::gameExec(), Client::gameInit(), WindowManager::getFramerate(), Client::optionChanged(), and WindowManager::setFramerate().
std::string Settings::linkCommandSymbol |
Definition at line 127 of file settings.h.
Referenced by ItemLinkHandler::handleLink().
std::string Settings::localDataDir |
Definition at line 112 of file settings.h.
Referenced by Client::gameExec(), Client::gameInit(), Dirs::initConfigDir(), Dirs::initLocalDataDir(), Dirs::initTempDir(), Dirs::initUpdatesDir(), Client::loadData(), TestMain::readValue(), TestLauncher::TestLauncher(), TestMain::TestMain(), and Client::unloadData().
std::string Settings::logFileName |
Definition at line 122 of file settings.h.
Referenced by Client::gameInit().
std::string Settings::login |
Definition at line 108 of file settings.h.
Referenced by Client::stateConnectServer1(), and WindowManager::updateTitle().
unsigned int Settings::magicAttackType |
Definition at line 141 of file settings.h.
Referenced by GameModifiers::init(), LocalPlayer::magicAttack(), and GameModifiers::resetModifiers().
MapTypeT Settings::mapDrawType |
Definition at line 151 of file settings.h.
Referenced by GameModifiers::init(), and GameModifiers::resetModifiers().
bool Settings::mouseFocused |
Definition at line 156 of file settings.h.
Referenced by ChatTab::chatLog(), Gui::draw(), EventsManager::handleActive(), and Game::updateFrameRate().
unsigned int Settings::moveToTargetType |
Definition at line 135 of file settings.h.
Referenced by ActorManager::findNearestLivingBeing(), LocalPlayer::fixAttackTarget(), GameModifiers::init(), LocalPlayer::moveToTarget(), and GameModifiers::resetModifiers().
unsigned int Settings::moveType |
Definition at line 133 of file settings.h.
Referenced by GameModifiers::changeMoveType(), GameModifiers::resetModifiers(), LocalPlayer::setDestination(), and LocalPlayer::specialMove().
std::string Settings::npcsDir |
Definition at line 120 of file settings.h.
Referenced by Dirs::initUsersDir(), Being::loadComment(), and Being::saveComment().
std::string Settings::oldUpdates |
Definition at line 109 of file settings.h.
Referenced by DialogsManager::createUpdaterWindow(), and Client::unloadData().
std::string Settings::onlineListUrl |
Definition at line 116 of file settings.h.
Referenced by WhoIsOnline::downloadThread(), and Client::stateConnectServer1().
Options Settings::options |
Definition at line 130 of file settings.h.
Referenced by GraphicsManager::createRenderers(), Client::gameExec(), Client::gameInit(), Dirs::initConfigDir(), ConfigManager::initConfiguration(), GraphicsManager::initGraphics(), Dirs::initLocalDataDir(), Dirs::initRootDir(), Dirs::initScreenshotDir(), WindowManager::initTitle(), Client::loadData(), mainGui(), Dirs::mountDataDir(), parseOptions(), Gui::setUseCustomCursor(), Client::stateConnectServer1(), ConfigManager::storeSafeParameters(), Client::unloadData(), Dirs::updateDataPath(), updateEnv(), GraphicsManager::updateTextureFormat(), and Client::~Client().
unsigned int Settings::overweightPercent |
Definition at line 147 of file settings.h.
Referenced by DialogsManager::attributeChanged(), and EAthena::InventoryRecv::processOverWeightPercent().
bool Settings::persistentIp |
Definition at line 153 of file settings.h.
Referenced by WorldSelectDialog::action(), ServerDialog::connectToSelectedServer(), EAthena::CharServerRecv::processChangeMapServer(), TmwAthena::CharServerRecv::processChangeMapServer(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::CharServerRecv::processCharMapInfo(), and Client::stateConnectServer1().
unsigned int Settings::pickUpType |
Definition at line 140 of file settings.h.
Referenced by GameModifiers::init(), LocalPlayer::pickUp(), LocalPlayer::pickUpItems(), and GameModifiers::resetModifiers().
int Settings::playerBadgeAtRightOffset |
Definition at line 150 of file settings.h.
Referenced by Being::updateBadgesPosition().
int Settings::playerNameOffset |
Definition at line 149 of file settings.h.
Referenced by Being::updateBadgesPosition(), and Being::updateCoords().
bool Settings::pseudoAwayMode |
Definition at line 159 of file settings.h.
Referenced by Ea::PlayerRecv::processPlayerClientCommand(), LocalPlayer::setPseudoAway(), LocalPlayer::slowLogic(), and LocalPlayer::updateStatus().
unsigned int Settings::pvpAttackType |
Definition at line 142 of file settings.h.
Referenced by LocalPlayer::checAttackPermissions(), ActorManager::findNearestPvpPlayer(), GameModifiers::init(), and GameModifiers::resetModifiers().
unsigned int Settings::quickDropCounter |
Definition at line 139 of file settings.h.
Referenced by DropShortcut::dropFirst(), DropShortcut::dropItems(), GameModifiers::getQuickDropCounterString(), GameModifiers::init(), GameModifiers::resetModifiers(), and GameModifiers::setQuickDropCounter().
std::string Settings::rootDir |
Definition at line 123 of file settings.h.
Referenced by Dirs::initRootDir().
std::string Settings::screenshotDir |
Definition at line 115 of file settings.h.
Referenced by Dirs::initScreenshotDir(), and Game::saveScreenshot().
std::string Settings::serverConfigDir |
Definition at line 117 of file settings.h.
Referenced by Map::getUserMapDirectory(), PacketLimiter::initPacketLimiter(), ConfigManager::initServerConfig(), ChatWindow::initTradeFilter(), Client::initTradeFilter(), Dirs::initUsersDir(), ChatWindow::loadCustomList(), ShopWindow::loadList(), and ShopWindow::saveList().
std::string Settings::serverName |
Definition at line 114 of file settings.h.
Referenced by Game::addWatermark(), Ea::LoginHandler::chooseServer(), Net::Download::Download(), Dirs::initUpdatesDir(), Client::isTmw(), EAthena::CharServerRecv::processChangeMapServer(), TmwAthena::CharServerRecv::processChangeMapServer(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::CharServerRecv::processCharMapInfo(), Game::saveScreenshot(), Client::stateConnectServer1(), and WindowManager::updateTitle().
bool Settings::showButtonIcons |
Definition at line 166 of file settings.h.
Referenced by WindowMenu::addButton(), init(), and WindowMenu::WindowMenu().
std::string Settings::supportUrl |
Definition at line 121 of file settings.h.
Referenced by ErrorListener::action(), ServerDialog::connectToSelectedServer(), DialogsManager::openErrorDialog(), BrowserBoxTools::replaceVars(), Client::stateConnectServer1(), and Client::unloadData().
unsigned int Settings::targetingType |
Definition at line 146 of file settings.h.
Referenced by GameModifiers::init(), and GameModifiers::resetModifiers().
std::string Settings::tempDir |
Definition at line 113 of file settings.h.
Referenced by Dirs::initTempDir().
unsigned int Settings::textureSize |
Definition at line 132 of file settings.h.
Referenced by GraphicsManager::initGraphics(), and AtlasManager::loadTextureAtlas().
bool Settings::unknownSkillsAutoTab |
Definition at line 164 of file settings.h.
Referenced by SkillDialog::addSkill().
std::string Settings::updateHost |
Definition at line 107 of file settings.h.
Referenced by DialogsManager::createUpdaterWindow(), and Dirs::initUpdatesDir().
std::vector<std::string> Settings::updateMirrors |
Definition at line 129 of file settings.h.
Referenced by ServerDialog::connectToSelectedServer(), UpdaterWindow::download(), Client::stateConnectServer1(), and UpdaterWindow::UpdaterWindow().
std::string Settings::updatesDir |
Definition at line 110 of file settings.h.
Referenced by Client::gameExec(), Dirs::initUpdatesDir(), Client::loadData(), and Client::unloadData().
bool Settings::uselonglivesprites |
Definition at line 163 of file settings.h.
Referenced by init(), and anonymous_namespace{spritedefloader.cpp}::SpriteDefLoader::load().
std::string Settings::userAgent |
Definition at line 128 of file settings.h.
Referenced by WhoIsOnline::downloadThread(), Net::Download::downloadThread(), and UserAgent::update().
std::string Settings::usersDir |
Definition at line 118 of file settings.h.
Referenced by Dirs::initUsersDir(), Being::loadComment(), Being::saveComment(), and ActorManager::updateNameId().
std::string Settings::usersIdDir |
Definition at line 119 of file settings.h.
Referenced by Dirs::initUsersDir(), and ActorManager::updateNameId().
std::string Settings::windowCaption |
Definition at line 124 of file settings.h.
Referenced by WindowManager::initTitle(), WindowManager::newChatMessage(), WindowManager::setIsMinimized(), and WindowManager::updateTitle().