#include <ClientReloadAdaptor.h>
Static Public Member Functions | |
| static ClientReloadAdaptor * | instance () |
Protected Member Functions | |
| void | reloadLandscapeObjects () |
| void | showLandscapeInfo () |
| void | showLandscapeAimInfo () |
Static Protected Attributes | |
| static ClientReloadAdaptor * | instance_ = 0 |
Private Member Functions | |
| ClientReloadAdaptor () | |
| virtual | ~ClientReloadAdaptor () |
| ClientReloadAdaptor (const ClientReloadAdaptor &) | |
| const ClientReloadAdaptor & | operator= (const ClientReloadAdaptor &) |
Definition at line 24 of file ClientReloadAdaptor.h.
| ClientReloadAdaptor::ClientReloadAdaptor | ( | ) | [private] |
Definition at line 48 of file ClientReloadAdaptor.cpp.
References reloadLandscapeObjects(), showLandscapeAimInfo(), and showLandscapeInfo().
Referenced by instance().
| ClientReloadAdaptor::~ClientReloadAdaptor | ( | ) | [private, virtual] |
Definition at line 58 of file ClientReloadAdaptor.cpp.
| ClientReloadAdaptor::ClientReloadAdaptor | ( | const ClientReloadAdaptor & | ) | [private] |
| ClientReloadAdaptor * ClientReloadAdaptor::instance | ( | ) | [static] |
Definition at line 38 of file ClientReloadAdaptor.cpp.
References ClientReloadAdaptor(), and instance_.
Referenced by ClientNewGameHandler::actualProcessMessage().
| void ClientReloadAdaptor::reloadLandscapeObjects | ( | ) | [protected] |
Definition at line 63 of file ClientReloadAdaptor.cpp.
References LandscapeMusicManager::addMusics(), LandscapeSoundManager::addSounds(), LandscapeMaps::generateMaps(), LandscapeDefinitionCache::getDefinition(), LandscapeMaps::getDefinitions(), ScorchedContext::getLandscapeMaps(), ScorchedContext::getLandscapes(), LandscapeMusicManager::instance(), LandscapeSoundManager::instance(), ScorchedClient::instance(), ScorchedServer::instance(), ClientNewGameHandler::instance(), LandscapeDefinitions::readLandscapeDefinitions(), ClientNewGameHandler::removeTargets(), ServerNewGameState::removeTargets(), and LandscapeDefinitionCache::setDefinition().
Referenced by ClientReloadAdaptor().
| void ClientReloadAdaptor::showLandscapeInfo | ( | ) | [protected] |
Definition at line 96 of file ClientReloadAdaptor.cpp.
References S3D::formatStringBuffer(), LandscapeDefinitionCache::getDefinition(), LandscapeMaps::getDefinitions(), LandscapeDefinition::getDefn(), ScorchedContext::getLandscapeMaps(), LandscapeDefinition::getName(), LandscapeDefinition::getTex(), ScorchedServer::instance(), and Logger::log().
Referenced by ClientReloadAdaptor().
| void ClientReloadAdaptor::showLandscapeAimInfo | ( | ) | [protected] |
Definition at line 107 of file ClientReloadAdaptor.cpp.
References TargetRendererImplTankAIM::aimPosition_, S3D::formatStringBuffer(), ScorchedClient::instance(), and Logger::log().
Referenced by ClientReloadAdaptor().
| const ClientReloadAdaptor& ClientReloadAdaptor::operator= | ( | const ClientReloadAdaptor & | ) | [private] |
ClientReloadAdaptor * ClientReloadAdaptor::instance_ = 0 [static, protected] |
1.5.3