ManaPlus
Macros | Variables
client.cpp File Reference

(642df39)

#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
 
Clientclient = 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
 

Macro Definition Documentation

◆ ADDBUTTON

#define ADDBUTTON (   var,
  object 
)
Value:
var = object; \
x -= var->getWidth() + mButtonSpacing; \
var->setPosition(x, mButtonPadding); \
top->add(var);

Definition at line 529 of file client.cpp.

Variable Documentation

◆ client

Client* client = 0

Definition at line 117 of file client.cpp.

Referenced by ChangePincodeListener::action(), NewPincodeListener::action(), PincodeListener::action(), ErrorListener::action(), ConnectionDialog::action(), ChangePasswordDialog::action(), ChangeEmailDialog::action(), QuitDialog::action(), WorldSelectDialog::action(), RegisterDialog::action(), CharSelectDialog::action(), LoginDialog::action(), UpdaterWindow::action(), anonymous_namespace{client.cpp}::AccountListener::action(), anonymous_namespace{client.cpp}::LoginListener::action(), RegisterDialog::canSubmit(), LoginDialog::canSubmit(), Ea::LoginHandler::chooseServer(), RegisterDialog::close(), LoginDialog::close(), CharSelectDialog::close(), ServerDialog::close(), EAthena::GameHandler::connect(), TmwAthena::GameHandler::connect(), EAthena::LoginHandler::connect(), ServerDialog::connectToSelectedServer(), UpdaterWindow::enable(), TmwAthena::GeneralHandler::flushNetwork(), EAthena::GeneralHandler::flushNetwork(), Ea::LoginHandler::getRegistrationDetails(), EventsManager::handleActive(), EventsManager::handleCommonEvents(), EventsManager::handleEvents(), Dirs::initUpdatesDir(), ServerDialog::keyPressed(), UpdaterWindow::keyPressed(), mainGui(), PincodeManager::pinOk(), TmwAthena::CharServerRecv::processChangeMapServer(), EAthena::CharServerRecv::processChangeMapServer(), EAthena::CharServerRecv::processCharCharacters(), TmwAthena::CharServerRecv::processCharLogin(), EAthena::CharServerRecv::processCharLogin(), Ea::CharServerRecv::processCharLoginError(), TmwAthena::CharServerRecv::processCharMapInfo(), EAthena::CharServerRecv::processCharMapInfo(), TmwAthena::LoginRecv::processCharPasswordResponse(), EAthena::LoginRecv::processCharPasswordResponse(), Ea::GameRecv::processCharSwitchResponse(), TmwAthena::GeneralRecv::processConnectionProblem(), EAthena::GeneralRecv::processConnectionProblem(), TmwAthena::LoginRecv::processLoginData(), EAthena::LoginRecv::processLoginData(), Ea::LoginRecv::processLoginError(), EAthena::LoginRecv::processLoginError2(), TmwAthena::GameRecv::processMapLogin(), EAthena::GameRecv::processMapLogin(), EAthena::GeneralRecv::processMapNotFound(), PincodeManager::processPincodeStatus(), TmwAthena::LoginRecv::processServerVersion(), EAthena::LoginRecv::processServerVersion(), EAthena::LoginRecv::processUpdateHost2(), QuitDialog::QuitDialog(), WindowManager::resizeVideo(), Client::runValidate(), Game::slowLogic(), UpdaterWindow::updateProgress(), Game::~Game(), and Window::~Window().

◆ errorMessage

std::string errorMessage

◆ fpsManager

FPSmanager fpsManager

Definition at line 100 of file windowmanager.cpp.

Referenced by Client::gameExec(), and Client::gameInit().

◆ isSafeMode

bool isSafeMode = false

◆ itemIdLen

int itemIdLen = 2

Definition at line 129 of file client.cpp.

◆ mLastHost

unsigned int mLastHost = 0

Definition at line 135 of file client.cpp.

◆ mSearchHash

unsigned long mSearchHash = 0

Definition at line 136 of file client.cpp.

Referenced by ConnectionDialog::ConnectionDialog().

◆ packets_main

bool packets_main = true

Definition at line 130 of file client.cpp.

◆ packets_re

bool packets_re = false

Definition at line 131 of file client.cpp.

◆ packets_zero

bool packets_zero = false

Definition at line 132 of file client.cpp.

◆ packetsType

int packetsType = 0

Definition at line 128 of file client.cpp.

◆ packetVersion

int packetVersion = 0

Definition at line 124 of file client.cpp.

Referenced by Client::unloadData().

◆ packetVersionMain

int packetVersionMain = 0

Definition at line 125 of file client.cpp.

Referenced by Client::unloadData().

◆ packetVersionRe

int packetVersionRe = 0

Definition at line 126 of file client.cpp.

Referenced by Client::unloadData().

◆ packetVersionZero

int packetVersionZero = 0

Definition at line 127 of file client.cpp.

Referenced by Client::unloadData().

◆ runCounters

volatile bool runCounters

Definition at line 121 of file client.cpp.

Referenced by Client::initGraphics().

◆ serverVersion

int serverVersion = 0

Definition at line 123 of file client.cpp.

Referenced by Client::unloadData().

◆ start_time

time_t start_time

Definition at line 134 of file client.cpp.

Referenced by Client::gameInit().

◆ textures_count

int textures_count = 0

◆ tmwServerVersion

unsigned int tmwServerVersion = 0

Definition at line 133 of file client.cpp.

Referenced by Client::unloadData().

x
x
Definition: graphics_calcImageRect.hpp:72