ManaPlus
|
#include "progs/dyecmd/client.h"
#include "configmanager.h"
#include "dirs.h"
#include "eventsmanager.h"
#include "graphicsmanager.h"
#include "main.h"
#include "settings.h"
#include "soundmanager.h"
#include "fs/virtfs/fs.h"
#include "fs/virtfs/tools.h"
#include "gui/dialogsmanager.h"
#include "gui/gui.h"
#include "gui/skin.h"
#include "gui/popupmanager.h"
#include "gui/windowmanager.h"
#include "gui/widgets/button.h"
#include "gui/widgets/createwidget.h"
#include "gui/widgets/desktop.h"
#include "gui/widgets/window.h"
#include "gui/widgets/windowcontainer.h"
#include "input/inputmanager.h"
#include "input/joystick.h"
#include "input/keyboardconfig.h"
#include "input/touch/touchmanager.h"
#include "resources/imagehelper.h"
#include "resources/dye/dyepalette.h"
#include "resources/resourcemanager/resourcemanager.h"
#include "utils/cpu.h"
#include "utils/delete2.h"
#include "utils/env.h"
#include "utils/fuzzer.h"
#include "utils/gettext.h"
#include "utils/gettexthelper.h"
#include "utils/mrand.h"
#include "utils/sdlcheckutils.h"
#include "utils/sdlhelper.h"
#include "utils/timer.h"
#include "utils/translation/translationmanager.h"
#include "configuration.h"
#include "net/ipc.h"
#include <SDL_framerate.h>
#include "debug.h"
Go to the source code of this file.
Macros | |
#define | ADDBUTTON(var, object) |
Variables | |
std::string | errorMessage |
Client * | client = 0 |
FPSmanager | fpsManager |
volatile bool | runCounters |
bool | isSafeMode = false |
int | serverVersion = 0 |
int | packetVersion = 0 |
int | packetVersionMain = 0 |
int | packetVersionRe = 0 |
int | packetVersionZero = 0 |
int | packetsType = 0 |
int | itemIdLen = 2 |
bool | packets_main = true |
bool | packets_re = false |
bool | packets_zero = false |
unsigned int | tmwServerVersion = 0 |
time_t | start_time |
unsigned int | mLastHost = 0 |
unsigned long | mSearchHash = 0 |
int | textures_count = 0 |
#define ADDBUTTON | ( | var, | |
object | |||
) |
Definition at line 530 of file client.cpp.
Client* client = 0 |
Definition at line 118 of file client.cpp.
Referenced by ChangeEmailDialog::action(), ChangePasswordDialog::action(), CharSelectDialog::action(), ConnectionDialog::action(), LoginDialog::action(), QuitDialog::action(), RegisterDialog::action(), UpdaterWindow::action(), WorldSelectDialog::action(), ChangePincodeListener::action(), ErrorListener::action(), NewPincodeListener::action(), PincodeListener::action(), anonymous_namespace{client.cpp}::AccountListener::action(), anonymous_namespace{client.cpp}::LoginListener::action(), LoginDialog::canSubmit(), RegisterDialog::canSubmit(), Ea::LoginHandler::chooseServer(), CharSelectDialog::close(), LoginDialog::close(), RegisterDialog::close(), ServerDialog::close(), EAthena::GameHandler::connect(), EAthena::LoginHandler::connect(), TmwAthena::GameHandler::connect(), ServerDialog::connectToSelectedServer(), UpdaterWindow::enable(), EAthena::GeneralHandler::flushNetwork(), TmwAthena::GeneralHandler::flushNetwork(), Ea::LoginHandler::getRegistrationDetails(), EventsManager::handleActive(), EventsManager::handleCommonEvents(), EventsManager::handleEvents(), Dirs::initUpdatesDir(), ServerDialog::keyPressed(), UpdaterWindow::keyPressed(), mainGui(), PincodeManager::pinOk(), EAthena::CharServerRecv::processChangeMapServer(), TmwAthena::CharServerRecv::processChangeMapServer(), EAthena::CharServerRecv::processCharCharacters(), EAthena::CharServerRecv::processCharLogin(), TmwAthena::CharServerRecv::processCharLogin(), Ea::CharServerRecv::processCharLoginError(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::CharServerRecv::processCharMapInfo(), EAthena::LoginRecv::processCharPasswordResponse(), TmwAthena::LoginRecv::processCharPasswordResponse(), Ea::GameRecv::processCharSwitchResponse(), EAthena::GeneralRecv::processConnectionProblem(), TmwAthena::GeneralRecv::processConnectionProblem(), EAthena::LoginRecv::processLoginData(), TmwAthena::LoginRecv::processLoginData(), Ea::LoginRecv::processLoginError(), EAthena::LoginRecv::processLoginError2(), EAthena::GameRecv::processMapLogin(), TmwAthena::GameRecv::processMapLogin(), EAthena::GeneralRecv::processMapNotFound(), PincodeManager::processPincodeStatus(), EAthena::LoginRecv::processServerVersion(), TmwAthena::LoginRecv::processServerVersion(), EAthena::LoginRecv::processUpdateHost2(), QuitDialog::QuitDialog(), WindowManager::resizeVideo(), Client::runValidate(), Game::slowLogic(), UpdaterWindow::updateProgress(), Game::~Game(), and Window::~Window().
std::string errorMessage |
Definition at line 116 of file client.cpp.
Referenced by EAthena::GeneralHandler::flushNetwork(), TmwAthena::GeneralHandler::flushNetwork(), Client::initSoundManager(), Dirs::initUpdatesDir(), Ea::CharServerRecv::processCharCreateFailed(), Ea::CharServerRecv::processCharLoginError(), EAthena::LoginRecv::processCharPasswordResponse(), TmwAthena::LoginRecv::processCharPasswordResponse(), EAthena::GeneralRecv::processConnectionProblem(), TmwAthena::GeneralRecv::processConnectionProblem(), Ea::LoginRecv::processLoginError(), EAthena::LoginRecv::processLoginError2(), EAthena::GeneralRecv::processMapNotFound(), Ea::Network::realConnect(), and Game::slowLogic().
|
extern |
Definition at line 101 of file windowmanager.cpp.
Referenced by Client::gameExec(), and Client::gameInit().
bool isSafeMode = false |
Definition at line 123 of file client.cpp.
Referenced by createGuiWindows(), ServerDialog::ServerDialog(), and ConfigManager::storeSafeParameters().
int itemIdLen = 2 |
Definition at line 130 of file client.cpp.
unsigned int mLastHost = 0 |
Definition at line 136 of file client.cpp.
unsigned long mSearchHash = 0 |
Definition at line 137 of file client.cpp.
Referenced by ConnectionDialog::ConnectionDialog().
bool packets_main = true |
Definition at line 131 of file client.cpp.
bool packets_re = false |
Definition at line 132 of file client.cpp.
bool packets_zero = false |
Definition at line 133 of file client.cpp.
int packetsType = 0 |
Definition at line 129 of file client.cpp.
int packetVersion = 0 |
Definition at line 125 of file client.cpp.
Referenced by Client::unloadData().
int packetVersionMain = 0 |
Definition at line 126 of file client.cpp.
Referenced by Client::unloadData().
int packetVersionRe = 0 |
Definition at line 127 of file client.cpp.
Referenced by Client::unloadData().
int packetVersionZero = 0 |
Definition at line 128 of file client.cpp.
Referenced by Client::unloadData().
volatile bool runCounters |
Definition at line 122 of file client.cpp.
Referenced by Client::initGraphics().
int serverVersion = 0 |
Definition at line 124 of file client.cpp.
Referenced by Client::unloadData().
time_t start_time |
Definition at line 135 of file client.cpp.
Referenced by Client::gameInit().
int textures_count = 0 |
Definition at line 138 of file client.cpp.
Referenced by Client::gameClear(), OpenGLImageHelper::glLoad(), SafeOpenGLImageHelper::glLoad(), and MapDebugTab::logic().
unsigned int tmwServerVersion = 0 |
Definition at line 134 of file client.cpp.
Referenced by Client::unloadData().