#include <application_client.h>
Inherits Application.
Inheritance diagram for ApplicationClient:


Public Member Functions | |
| ApplicationClient () | |
| ~ApplicationClient () | |
| void | init () |
| Inicialization of application. | |
| void | run () |
| void | clean () |
| GFX & | getGFX () |
| SFX & | getSFX () |
| GameClient & | getGame () |
| virtual Game * | getGameCommon () |
| Get pointer to Game. | |
| Commander & | getCommander () |
| Provide access to the commander. | |
| InputManager & | getInputManager () |
| Provides access to InputManager. | |
| Console & | getConsole () |
| Provides access to Console. | |
Protected Attributes | |
| InputManager | mInputManager |
| GFX | mGFX |
| SFX | mSFX |
| GameClient | mGameClient |
| Console | mConsole |
| CommanderClient | mCommanderClient |
Private Member Functions | |
| ApplicationClient (ApplicationClient ©) | |
| Program killer - trap. | |
Definition at line 18 of file application_client.h.
|
|
Definition at line 20 of file application_client.cpp. References TIN. |
|
|
Definition at line 26 of file application_client.cpp. References TIN. |
|
|
Program killer - trap. From security reasons we don't allow anyone to create copy of Application since it is probably a mistake. Anyway calling this constructor will kill program.
Definition at line 31 of file application_client.cpp. References DIE(), LOGE, and TIN. Here is the call graph for this function: ![]() |
|
|
Implements Application. Definition at line 99 of file application_client.cpp. References GFX::clean(), SFX::clean(), Console::clean(), mConsole, mGFX, mSFX, Application::saveUserConfigFile(), and TIN. Here is the call graph for this function: ![]() |
|
|
Provide access to the commander. This may be used to push commands to commander anywhere from the code. Implements Application. Definition at line 155 of file application_client.cpp. References mCommanderClient. Referenced by Console::processCommand(), and GameClient::run(). |
|
|
Provides access to Console.
Definition at line 147 of file application_client.cpp. Referenced by CommanderClient::command_getvar(), CommanderClient::command_help(), CommanderClient::command_players(), CommanderClient::command_setvar(), and LayerGUI::render(). |
|
|
Definition at line 130 of file application_client.cpp. References mGameClient. Referenced by InputManager::checkSDLEvents(), CommanderClient::command_players(), CommanderClient::command_quit(), TaskRender::init(), LayerGame::initRefs(), and LayerGUI::render(). |
|
|
Get pointer to Game. If you are in client or server code use getGame() which return server or client version of Game so you have acces to more features :-) Please never retype this GameClient or GameServer.
Implements Application. Definition at line 135 of file application_client.cpp. References mGameClient. |
|
|
Definition at line 120 of file application_client.cpp. References mGFX. Referenced by Console::addConsoleMessage(), GameClient::getCamera(), TerrainGeoMipMap::TerrainBlock::getViewHRes(), TaskRender::init(), Messages::render(), Console::render(), Layer::setView(), TextureManager::TextureManager(), TaskRender::updateBegin(), and TaskRender::updateEnd(). |
|
|
Provides access to InputManager.
Definition at line 140 of file application_client.cpp. References mInputManager, and TIN. Referenced by Messages::clean(), Console::clean(), Messages::init(), Console::init(), Messages::keyDown(), Console::keyDown(), and GameClient::run(). |
|
|
Definition at line 125 of file application_client.cpp. References mSFX. |
|
|
Inicialization of application.
Implements Application. Definition at line 39 of file application_client.cpp. References TaskManager::add(), DIE(), g_log, g_settings, g_translator, Settings::getInt(), Singleton< T >::getRef(), Settings::getString(), Console::init(), SFX::init(), GFX::init(), Log::init(), Settings::isTrue(), Translator::loadFile(), Application::loadUserConfigFile(), locateFile(), LOGE, LOGI, mConsole, mGFX, mSFX, Application::mTaskManager, Log::set_loglevel(), and TIN. Here is the call graph for this function: ![]() |
|
|
Implements Application. Definition at line 84 of file application_client.cpp. References GameClient::clean(), GameClient::init(), Game::loadMap(), mGameClient, GameClient::run(), and TIN. Here is the call graph for this function: ![]() |
|
|
Definition at line 78 of file application_client.h. Referenced by getCommander(). |
|
|
Definition at line 76 of file application_client.h. Referenced by clean(), getConsole(), and init(). |
|
|
Definition at line 74 of file application_client.h. Referenced by getGame(), getGameCommon(), and run(). |
|
|
Definition at line 71 of file application_client.h. |
|
|
Definition at line 69 of file application_client.h. Referenced by getInputManager(). |
|
|
Definition at line 72 of file application_client.h. |
1.4.5