#include <ScorchedClient.h>

Public Member Functions | |
| MainLoop & | getMainLoop () |
| ScorchedContext & | getContext () |
| ParticleEngine & | getParticleEngine () |
Static Public Member Functions | |
| static ScorchedClient * | instance () |
Protected Attributes | |
| MainLoop * | mainLoop_ |
| ParticleEngine * | particleEngine_ |
Static Protected Attributes | |
| static ScorchedClient * | instance_ = 0 |
Private Member Functions | |
| ScorchedClient () | |
| virtual | ~ScorchedClient () |
Definition at line 28 of file ScorchedClient.h.
| ScorchedClient::ScorchedClient | ( | ) | [private] |
Definition at line 41 of file ScorchedClient.cpp.
References MainLoop::addMainLoop(), MainLoop::clear(), ScorchedContext::gameState, LandscapeMaps::getGroundMaps(), GroundMaps::getHeightMap(), ScorchedContext::getLandscapeMaps(), MainCamera::instance(), OptionsDisplay::instance(), mainLoop_, particleEngine_, and HeightMap::setGraphicalMap().
| ScorchedClient::~ScorchedClient | ( | ) | [private, virtual] |
Definition at line 62 of file ScorchedClient.cpp.
| ScorchedClient * ScorchedClient::instance | ( | ) | [static] |
Definition at line 32 of file ScorchedClient.cpp.
References instance_.
Referenced by Landscape::actualDrawLandShader(), Landscape::actualDrawLandTextured(), ClientNewGameHandler::actualProcessMessage(), InfoMap::addAdapters(), ImageModifier::addBorderToBitmap(), ClientWindowSetup::addCommonComponents(), OptionsDisplayConsole::addDisplayToConsole(), ScoreDialog::addLine(), RulesDialog::addMOTD(), LandscapeMusicManager::addMusics(), BuyAccessoryDialog::addPlayerFavorites(), InventoryDialog::addPlayerName(), BuyAccessoryDialog::addPlayerName(), InventoryDialog::addPlayerWeapons(), BuyAccessoryDialog::addPlayerWeapons(), BuyAccessoryDialog::addPlayerWeaponsBuy(), BuyAccessoryDialog::addPlayerWeaponsSell(), ShadowMap::addShadow(), Smoke::addSmoke(), LandscapeSoundManager::addSounds(), ClientState::addStandardComponents(), BuyAccessoryDialog::addTabs(), GLWToolTip::addToolTip(), addWallCollisionParticle(), AdminDialog::AdminDialog(), TankKeyboardControlUtil::autoAim(), GLWChannelText::buttonDown(), SkipDialog::buttonDown(), SkipAllDialog::buttonDown(), SaveDialog::buttonDown(), ResignDialog::buttonDown(), QuitDialog::buttonDown(), PlayerDialog::buttonDown(), GiftMoneyDialog::buttonDown(), BuyAccessoryDialog::buttonDown(), AutoDefenseDialog::buttonDown(), AdminDialog::buttonDown(), BuyAccessoryDialog::BuyAccessoryDialog(), ScoreDialog::calculateScores(), ClientConnectionAuthHandler::cancelAuth(), GLWChannelView::channelText(), GLWChannelText::channelValid(), TutorialConditionTankDead::checkCondition(), TutorialConditionFirstMove::checkCondition(), GLWToolTip::clearToolTip(), ClientAddPlayerHandler::ClientAddPlayerHandler(), ClientAdminResultHandler::ClientAdminResultHandler(), ClientChannelManager::ClientChannelManager(), ClientConnectionAcceptHandler::ClientConnectionAcceptHandler(), ClientConnectionAuthHandler::ClientConnectionAuthHandler(), ClientConnectionRejectHandler::ClientConnectionRejectHandler(), ClientDefenseHandler::ClientDefenseHandler(), ClientMessageHandler::clientDisconnected(), ClientMessageHandler::clientError(), ClientMain::clientEventLoop(), ClientFileHandler::ClientFileHandler(), ClientGameStateHandler::ClientGameStateHandler(), ClientGameStoppedHandler::ClientGameStoppedHandler(), ClientGiftMoneyHandler::ClientGiftMoneyHandler(), ClientInitializeHandler::ClientInitializeHandler(), ClientLinesHandler::ClientLinesHandler(), ClientMain::clientMain(), ClientNewGameHandler::ClientNewGameHandler(), ClientOperationHandler::ClientOperationHandler(), ClientPlayerStateHandler::ClientPlayerStateHandler(), ClientPlayerStatusHandler::ClientPlayerStatusHandler(), ClientRmPlayerHandler::ClientRmPlayerHandler(), ClientScoreHandler::ClientScoreHandler(), ClientShotState::ClientShotState(), ClientStartGameHandler::ClientStartGameHandler(), ClientStartTimerHandler::ClientStartTimerHandler(), ClientSyncCheckHandler::ClientSyncCheckHandler(), ConnectDialog::connected(), WaterWaves::constructLines(), TargetRendererImpl::createParticle(), GLWTankTracker::currentChanged(), GLWTankSlider::currentChanged(), DeformTextures::deformLandscape(), ScoreDialog::display(), RulesDialog::display(), QuitDialog::display(), PlayerDialog::display(), GiftMoneyDialog::display(), BuyAccessoryDialog::display(), AutoDefenseDialog::displayCurrent(), TargetSpace::draw(), WaterWaves::draw(), WaterMapPoints::draw(), Water2Renderer::draw(), RenderTracer::draw(), RenderTargets::draw(), NapalmRenderer::draw(), MissileActionRenderer::draw(), Sun::draw(), Wall::draw(), LandscapePoints::draw(), LandVisibilityPatch::draw(), SpeedChange::draw(), SoftwareMouse::draw(), GLWWeaponModel::draw(), GLWTankTracker::draw(), GLWTankViewer::draw(), GLWTankSlider::draw(), GLWTankModel::draw(), GLWSelectorPart::draw(), GLWSelector::draw(), GLWScorchedInfo::draw(), GLWPlanView::draw(), GLWDropDown::draw(), GLMenu::draw(), StartDialog::draw(), ScoreDialog::draw(), PlayerDialog::draw(), TargetRendererImplTank::drawArrow(), SkyDome::drawBackdrop(), Sky::drawBackdrop(), GLWPlanView::drawBuoys(), GLWChannelViewTextRenderer::drawCharacter(), RenderGeoms::drawCollisionBounds(), RenderGeoms::drawCollisionGeoms(), AdminDialog::drawColumn(), GLWWindView::drawDisplay(), TargetRendererImplTank::drawInfo(), Landscape::drawLand(), VisibilityPatchGrid::drawLand(), CameraDialog::drawLandscape(), Sky::drawLayers(), TargetRendererImplTank::drawLife(), GLWPlanView::drawLine(), GLWPlanView::drawLines(), LandVisibilityPatch::drawLODLevel(), GLWWindow::drawMaximizedWindow(), RulesDialog::drawRules(), GLWWindView::drawScene(), SkyRoof::drawSegment(), Landscape::drawShadows(), VisibilityPatchGrid::drawSurround(), GLWPlanView::drawTanks(), RenderGeoms::drawTargetSpace(), Wall::drawWall(), Landscape::drawWater(), VisibilityPatchGrid::drawWater(), TankKeyboardControl::enterState(), ConsoleMethods::exit(), Water::explosion(), ExplosionNukeRenderer::ExplosionNukeRenderer(), WaterWaves::findPoints(), AutoDefenseDialog::finished(), TankKeyboardControlUtil::fireShot(), WaterWaveDistance::generate(), WaterMapPoints::generate(), Water2Renderer::generate(), Water2::generate(), Water::generate(), Sun::generate(), SkyDome::generate(), LandscapePoints::generate(), Landscape::generate(), VisibilityPatchGrid::generate(), LandSurround::generateList(), Water2::generateTransparency(), WaterWaves::generateWaves(), PlayerDialog::getCurrentTeam(), TankMenus::AccessoryMenu::getEnabled(), TankMenus::PlayerMenu::getEnabled(), MainCamera::getEnabled(), getHeight(), LandscapeSoundPositionSet::getInitCount(), LandscapeSoundPositionSet::getInitData(), TargetCamera::getLandIntersect(), TankMenus::AccessoryMenu::getMenuItems(), HelpButtonDialog::PerformanceMenu::getMenuToolTip(), TargetRendererImplTank::getModel(), PlayerDialog::getNextPlayer(), getNumberOfPlayers(), GLWTankViewer::GLWTankViewer(), TankMenus::groupInfo(), Explosion::init(), WallActionRenderer::init(), ExplosionLaserBeamRenderer::init(), AnimatedBackdropDialog::init(), initClient(), initComs(), initComsHandlers(), ClientInitializeHandler::initialize(), ScorchedServer::instance(), GLWChannelText::itemSelected(), TankKeyboardControl::keyboardCheck(), TargetCamera::keyboardCheck(), MainCamera::keyboardCheck(), MovementMap::limitTexture(), BuyAccessoryDialog::loadFavorites(), ImageModifier::makeArenaBitmap(), ImageModifier::makeArenaSurroundBitmap(), SkyRoof::makeList(), SkyRoof::makeNormal(), TargetCamera::maxHeightFunc(), TankMenus::AccessoryMenu::menuSelection(), TankMenus::PlayerMenu::menuSelection(), TargetCamera::minHeightFunc(), Mouse::mouseDown(), GLWWeaponModel::mouseDown(), GLWSelector::mouseDown(), GLWScorchedInfo::mouseDown(), GLWPlanView::mouseDown(), GLMenu::mouseDown(), StartDialog::mouseDown(), TargetCamera::mouseDrag(), Mouse::mouseMove(), TargetCamera::mouseUp(), Mouse::mouseUp(), GLWTankFire::mouseUp(), TargetCamera::moveCamera(), MovementMap::movementTexture(), PlayerDialog::nextPlayer(), TankKeyboardControlUtil::nextWeapon(), ParticleEngine::normalizedSimulate(), PlayerDialog::PlayerDialog(), WindDialogToolTip::populate(), TankKeyboardControlUtil::prevWeapon(), ClientStartGameHandler::processMessage(), ClientShotState::processMessage(), ClientScoreHandler::processMessage(), ClientRmPlayerHandler::processMessage(), ClientPlayerStatusHandler::processMessage(), ClientNewGameHandler::processMessage(), ClientLinesHandler::processMessage(), ClientGiftMoneyHandler::processMessage(), ClientGameStoppedHandler::processMessage(), ClientFileHandler::processMessage(), ClientDefenseHandler::processMessage(), ClientConnectionAcceptHandler::processMessage(), ClientChannelManager::processMessage(), ClientAddPlayerHandler::processMessage(), GLWChannelText::processVisibleKey(), ProgressDialogSync::progressChange(), ComsSyncCheckMessage::readMessage(), ComsPlayerStateMessage::readMessage(), ComsNewGameMessage::readMessage(), ComsGameStateMessage::readMessage(), ComsConnectAcceptMessage::readMessage(), TargetParticleRenderer::recycleParticle(), ClientReloadAdaptor::reloadLandscapeObjects(), ClientNewGameHandler::removeTargets(), TargetRendererImplTank::render(), TargetRendererImplTank::render2D(), TargetParticleRenderer::renderParticle(), ParticleRendererQuads::renderParticle(), Landscape::reset(), TankKeyboardControlUtil::resign(), ClientSave::restoreClient(), BuyAccessoryDialog::saveFavorites(), GLWTankViewer::select(), ClientKeepAliveSender::send(), ClientWaitState::sendClientReady(), ClientKeepAliveSender::sendKeepAlive(), ClientChannelManager::sendText(), ComsMessageSender::sendToServer(), GLWChannelText::setChannelEntry(), TankWeapon::setCurrentWeapon(), Sun::setLightPosition(), LandVisibilityPatch::setLocation(), LandscapeSoundPositionGroup::setPosition(), LandscapeSoundPositionSet::setPosition(), Sun::setPosition(), SpeedChange::setSpeed(), ClientState::setupGameState(), ClientWindowSetup::setupGameWindows(), RenderTargets::shadowDraw(), InfoMap::showHeightBands(), TankMenus::showInventory(), TankWeaponTip::showItems(), TankParachutesTip::showItems(), TankShieldTip::showItems(), TankFuelTip::showItems(), ClientReloadAdaptor::showLandscapeAimInfo(), TankMenus::showTankDetails(), TankMenus::showTargetDetails(), Napalm::simulate(), RenderTargets::Renderer3D::simulate(), TeleportRenderer::simulate(), TalkRenderer::simulate(), MissileActionRenderer::simulate(), ExplosionRingRenderer::simulate(), ExplosionNukeRenderer::simulate(), SkyDome::simulate(), Sky::simulate(), Landscape::simulate(), TargetCamera::simulate(), SpeedChange::simulate(), MainCamera::simulate(), GLWPlanView::simulate(), SkipAllDialog::simulate(), ConnectDialog::simulate(), CameraDialog::simulate(), AnimatedBackdropDialog::simulate(), ClientProcessingLoop::simulate(), Napalm::simulateAddEdge(), TargetParticleRenderer::simulateParticle(), TankKeyboardControlUtil::skipShot(), TankMenus::TankMenus(), ConnectDialog::tryLocalConnection(), ConnectDialog::tryRemoteConnection(), TutorialDialog::TutorialDialog(), Landscape::updatePlanATexture(), Landscape::updatePlanTexture(), SkipAllDialog::windowInit(), InventoryDialog::windowInit(), and AutoDefenseDialog::windowInit().
| MainLoop& ScorchedClient::getMainLoop | ( | ) | [inline] |
Definition at line 33 of file ScorchedClient.h.
References mainLoop_.
Referenced by ClientNewGameHandler::actualProcessMessage(), QuitDialog::buttonDown(), ClientMain::clientEventLoop(), ClientMain::clientMain(), ConsoleMethods::exit(), AnimatedBackdropDialog::init(), StartDialog::mouseDown(), and ProgressDialogSync::progressChange().
| ScorchedContext& ScorchedClient::getContext | ( | ) | [inline] |
Definition at line 34 of file ScorchedClient.h.
Referenced by RenderGeoms::drawTargetSpace(), initComs(), TargetCamera::moveCamera(), ClientShotState::processMessage(), ComsPlayerStateMessage::readMessage(), and MainCamera::simulate().
| ParticleEngine& ScorchedClient::getParticleEngine | ( | ) | [inline] |
Definition at line 35 of file ScorchedClient.h.
References particleEngine_.
Referenced by TargetRendererImpl::createParticle(), CameraDialog::drawLandscape(), Explosion::init(), and AnimatedBackdropDialog::simulate().
ScorchedClient * ScorchedClient::instance_ = 0 [static, protected] |
MainLoop* ScorchedClient::mainLoop_ [protected] |
ParticleEngine* ScorchedClient::particleEngine_ [protected] |
Definition at line 40 of file ScorchedClient.h.
Referenced by getParticleEngine(), and ScorchedClient().
1.5.3