#include <Landscape.h>
Definition at line 36 of file Landscape.h.
| Landscape::Landscape | ( | ) | [private] |
Definition at line 69 of file Landscape.cpp.
References points_, savePlan(), sky_, smoke_, wall_, and water_.
| Landscape::~Landscape | ( | ) | [private, virtual] |
Definition at line 85 of file Landscape.cpp.
| Landscape * Landscape::instance | ( | ) | [static] |
Definition at line 60 of file Landscape.cpp.
References instance_.
Referenced by actualDrawLandReflection(), ClientNewGameHandler::actualProcessMessage(), InfoMap::addAdapters(), ImageModifier::addBitmap(), ImageModifier::addBitmapToLandscape(), ImageModifier::addCircleToLandscape(), DeformTextures::deformLandscape(), RenderTargets::draw(), MissileActionRenderer::draw(), SkyRoof::draw(), LandscapeStateObjectsHandler::draw(), LandscapeStateWaterHandler::draw(), LandscapeStateLandHandler::draw(), GLWWindView::draw(), GLWWeaponModel::draw(), GLWTankModel::draw(), SkyDome::drawBackdrop(), AnimatedBackdropDialog::drawBackground(), GLWPlanView::drawBuoys(), GLWWindView::drawDisplay(), CameraDialog::drawLandscape(), GLWWindView::drawScene(), drawShadows(), GLWPlanView::drawTexture(), VisibilityPatchGrid::drawWater(), Water2Renderer::drawWaterNoShaders(), Water2Renderer::drawWaterShaders(), Water2Renderer::generate(), LandSurround::generateList(), HelpButtonDialog::PerformanceMenu::getMenuToolTip(), ExplosionTextures::getScorchBitmap(), Explosion::init(), WallActionRenderer::init(), AnimatedBackdropDialog::init(), MovementMap::limitTexture(), SkyRoof::makeNormal(), TargetCamera::minHeightFunc(), MovementMap::movementTexture(), ClientStartGameHandler::processMessage(), ClientShotState::processMessage(), ComsSyncCheckMessage::readMessage(), TargetRendererImplTarget::render(), TargetRendererImplTank::render(), ParticleRendererQuads::renderParticle(), TankMenus::resetLandscape(), TankWeapon::setCurrentWeapon(), LandscapeSoundPositionWater::setPosition(), WaterVisibilityPatch::setVisible(), InfoMap::showGrid(), InfoMap::showHeightBands(), SkyFlash::simulate(), Napalm::simulate(), Explosion::simulate(), TargetRendererImplTank::simulate(), SmokeActionRenderer::simulate(), LandscapeStateLandHandler::simulate(), AnimatedBackdropDialog::simulate(), TankMovement::simulationMove(), and TankMenus::TankMenus().
| void Landscape::generate | ( | ProgressCounter * | counter = 0 |
) |
Definition at line 429 of file Landscape.cpp.
References InfoMap::addAdapters(), ImageModifier::addHeightToBitmap(), ImageModifier::addLightMapToBitmap(), LandscapeMusicManager::addMusics(), LandscapeSoundManager::addSounds(), ImageModifier::addTexturesToBitmap(), arenaMainTexture_, arenaSurroundTexture_, bitmapPlan_, bitmapPlanAlpha_, bitmapPlanAlphaAlpha_, GLShadowFrameBuffer::bufferValid(), GLTexture::create(), GLShadowFrameBuffer::create(), ImageFactory::createBlank(), PlacementShadowDefinition::Entry::definition_, LandscapeTex::detail, detailTexture_, DIALOG_ASSERT, S3D::dialogExit(), GLTexture::draw(), eDefault, LandscapeTexType::eTextureGenerate, LandscapeTex::fog, LandscapeTex::fogdensity, S3D::formatStringBuffer(), Water::generate(), Sky::generate(), LandscapePoints::generate(), ImageHandle::getBits(), S3D::getDataFile(), LandscapeMaps::getDefinitions(), LandscapeDefinitionCache::getDefn(), LandscapeMaps::getGroundMaps(), ImageHandle::getHeight(), ScorchedContext::getLandscapeMaps(), getMapTexSize(), getPlanTexSize(), Sun::getPosition(), Sky::getSun(), LandscapeDefinitionCache::getTex(), LandscapeTexType::getType(), ImageHandle::getWidth(), GL_CLAMP_TO_EDGE, GL_FOG_COLOR, GL_FOG_DENSITY, GL_NEAREST, GL_RGB, GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_UNSIGNED_BYTE, glFogf(), glFogfv(), glTexParameteri(), groundTexture_, GLStateExtension::hasHardwareShadows(), LandscapeMusicManager::instance(), LandscapeSoundManager::instance(), OptionsDisplay::instance(), InfoMap::instance(), ScorchedClient::instance(), landShader_, landTex1_, LANG_RESOURCE, ImageFactory::loadImageHandle(), LandscapeTex::magmasmall, magTexture_, mainMap_, ImageModifier::makeArenaBitmap(), ImageModifier::makeArenaSurroundBitmap(), ImageModifier::makeBitmapTransparent(), points_, PlacementShadowDefinition::Entry::position_, ImageModifier::redBitmap(), GLTexture::replace(), LandscapeTexTextureGenerate::rockside, LandscapeTexTextureGenerate::roof, roofTexture_, LandscapeTex::scorch, scorchMap_, ProgressCounter::setNewOp(), Sun::setPosition(), shadowFrameBuffer_, LandscapeTexTextureGenerate::shore, PlacementShadowDefinition::Entry::size_, sky_, LandscapeTex::skyambience, LandscapeTex::skydiffuse, LandscapeTex::skysunxy, LandscapeTex::skysunyz, splatMap_, splatMaskTexture1_, splatMaskTexture2_, splatMaskTextureBorder1_, splatMaskTextureBorder2_, splatTextures_, LandscapeTex::texture, LandscapeTexTextureGenerate::texture0, LandscapeTexTextureGenerate::texture1, LandscapeTexTextureGenerate::texture2, LandscapeTexTextureGenerate::texture3, texture_, textureType_, PlacementShadowDefinition::updateLandscapeTexture(), updatePlanATexture(), updatePlanTexture(), GraphicalLandscapeMap::updateWholeBuffer(), and water_.
Referenced by ClientNewGameHandler::actualProcessMessage(), and AnimatedBackdropDialog::init().
| void Landscape::recalculate | ( | ) |
Definition at line 120 of file Landscape.cpp.
References resetLandscape_, and resetLandscapeTimer_.
Referenced by Explosion::simulate().
| void Landscape::restoreLandscapeTexture | ( | ) |
Definition at line 989 of file Landscape.cpp.
References DIALOG_ASSERT, eDefault, mainMap_, GLTexture::replace(), texture_, and textureType_.
Referenced by InfoMap::addAdapters(), ClientStartGameHandler::processMessage(), ClientShotState::processMessage(), and TankWeapon::setCurrentWeapon().
| void Landscape::reset | ( | ProgressCounter * | counter = 0 |
) |
Definition at line 129 of file Landscape.cpp.
References changeCount_, CameraDialog::getCamera(), MainCamera::getTarget(), CameraDialog::instance(), MainCamera::instance(), and ScorchedClient::instance().
Referenced by ClientNewGameHandler::actualProcessMessage(), AnimatedBackdropDialog::init(), and TankMenus::resetLandscape().
| Smoke& Landscape::getSmoke | ( | ) | [inline] |
Definition at line 53 of file Landscape.h.
References smoke_.
Referenced by Explosion::init(), Napalm::simulate(), TargetRendererImplTank::simulate(), SmokeActionRenderer::simulate(), and TankMovement::simulationMove().
| ShadowMap & Landscape::getShadowMap | ( | ) |
Definition at line 1011 of file Landscape.cpp.
References cameraContexts_, GLCamera::getCurrentCamera(), MainCamera::instance(), and Landscape::CameraContext::shadowMap_.
Referenced by actualDrawLandTextured(), MissileActionRenderer::draw(), TargetRendererImplTarget::render(), TargetRendererImplTank::render(), and ParticleRendererQuads::renderParticle().
| Wall& Landscape::getWall | ( | ) | [inline] |
Definition at line 55 of file Landscape.h.
References wall_.
Referenced by WallActionRenderer::init().
| Sky& Landscape::getSky | ( | ) | [inline] |
Definition at line 56 of file Landscape.h.
References sky_.
Referenced by actualDrawLandReflection(), actualDrawLandShader(), RenderTargets::draw(), GLWWeaponModel::draw(), GLWTankModel::draw(), SkyDome::drawBackdrop(), GLWWindView::drawDisplay(), drawShadows(), VisibilityPatchGrid::drawWater(), Water2Renderer::drawWaterNoShaders(), LandSurround::generateList(), SkyRoof::makeNormal(), and SkyFlash::simulate().
| Water& Landscape::getWater | ( | ) | [inline] |
Definition at line 57 of file Landscape.h.
References water_.
Referenced by Explosion::init(), TargetCamera::minHeightFunc(), LandscapeSoundPositionWater::setPosition(), and WaterVisibilityPatch::setVisible().
| LandscapePoints& Landscape::getPoints | ( | ) | [inline] |
Definition at line 58 of file Landscape.h.
References points_.
Referenced by GLWPlanView::drawBuoys().
| Image& Landscape::getMainMap | ( | ) | [inline] |
Definition at line 61 of file Landscape.h.
References mainMap_.
Referenced by ImageModifier::addBitmap(), ImageModifier::addBitmapToLandscape(), ImageModifier::addCircleToLandscape(), DeformTextures::deformLandscape(), MovementMap::limitTexture(), MovementMap::movementTexture(), ComsSyncCheckMessage::readMessage(), InfoMap::showGrid(), and InfoMap::showHeightBands().
| Image& Landscape::getScorchMap | ( | ) | [inline] |
Definition at line 62 of file Landscape.h.
References scorchMap_.
Referenced by ExplosionTextures::getScorchBitmap().
| GLTexture& Landscape::getMainTexture | ( | ) | [inline] |
Definition at line 63 of file Landscape.h.
References texture_.
Referenced by ImageModifier::addBitmap(), DeformTextures::deformLandscape(), MovementMap::limitTexture(), MovementMap::movementTexture(), ComsSyncCheckMessage::readMessage(), InfoMap::showGrid(), and InfoMap::showHeightBands().
| GLTexture& Landscape::getMagTexture | ( | ) | [inline] |
Definition at line 64 of file Landscape.h.
References magTexture_.
Referenced by GLWWindView::drawScene().
| GLTexture& Landscape::getPlanATexture | ( | ) | [inline] |
Definition at line 65 of file Landscape.h.
References planAlphaTexture_.
Referenced by GLWPlanView::drawTexture().
| GLTexture& Landscape::getPlanTexture | ( | ) | [inline] |
Definition at line 66 of file Landscape.h.
References planTexture_.
Referenced by GLWWindView::drawScene().
| GLTexture& Landscape::getLandscapeTexture1 | ( | ) | [inline] |
| GLTexture& Landscape::getGroundTexture | ( | ) | [inline] |
| GLTexture& Landscape::getDetailTexture | ( | ) | [inline] |
| GLTexture& Landscape::getRoofTexture | ( | ) | [inline] |
| GLTexture& Landscape::getArenaMainTexture | ( | ) | [inline] |
| LandscapeTextureType Landscape::getTextureType | ( | ) | [inline] |
| void Landscape::setTextureType | ( | LandscapeTextureType | type | ) | [inline] |
Definition at line 74 of file Landscape.h.
References textureType_.
Referenced by MovementMap::limitTexture(), MovementMap::movementTexture(), ComsSyncCheckMessage::readMessage(), InfoMap::showGrid(), and InfoMap::showHeightBands().
| float* Landscape::getShadowTextureMatrix | ( | ) | [inline] |
| GLShadowFrameBuffer& Landscape::getShadowFrameBuffer | ( | ) | [inline] |
Definition at line 77 of file Landscape.h.
References shadowFrameBuffer_.
Referenced by Water2Renderer::drawWaterShaders().
| void Landscape::updatePlanTexture | ( | ) |
Definition at line 650 of file Landscape.cpp.
References ImageModifier::addWaterToBitmap(), bitmapPlan_, DIALOG_ASSERT, Water::getWaterBitmap(), Water::getWaterHeight(), Water::getWaterOn(), ScorchedClient::instance(), planTexture_, GLTexture::replace(), and water_.
Referenced by generate(), simulate(), and TankMenus::TankMenus().
| void Landscape::updatePlanATexture | ( | ) |
Definition at line 977 of file Landscape.cpp.
References bitmapPlan_, bitmapPlanAlpha_, bitmapPlanAlphaAlpha_, DIALOG_ASSERT, GLTexture::draw(), Water::getWaterHeight(), Water::getWaterOn(), GL_CLAMP, GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, glTexParameteri(), ScorchedClient::instance(), planAlphaTexture_, ImageModifier::removeWaterFromBitmap(), GLTexture::replace(), and water_.
Referenced by generate(), simulate(), and TankMenus::TankMenus().
| void Landscape::drawGraphicalShadowMap | ( | ) |
Definition at line 909 of file Landscape.cpp.
References colorDepthMap_, GLTexture::draw(), GL_MODELVIEW, GL_PROJECTION, GL_QUADS, GL_TEXTURE, glBegin(), glColor3f(), glEnd(), glLoadIdentity(), glMatrixMode(), glPopMatrix(), glPushMatrix(), glTexCoord2f(), glVertex2i(), and GLState::TEXTURE_ON.
Referenced by drawLand().
| void Landscape::drawGraphicalReflectionMap | ( | ) |
Definition at line 943 of file Landscape.cpp.
References GLTexture::draw(), Water::getReflectionTexture(), GL_MODELVIEW, GL_PROJECTION, GL_QUADS, GL_TEXTURE, glBegin(), glColor3f(), glEnd(), glLoadIdentity(), glMatrixMode(), glPopMatrix(), glPushMatrix(), glTexCoord2f(), glVertex2i(), GLState::TEXTURE_ON, and water_.
Referenced by drawLand().
| int Landscape::getPlanTexSize | ( | ) |
Definition at line 395 of file Landscape.cpp.
References OptionsDisplay::instance().
Referenced by generate().
| int Landscape::getMapTexSize | ( | ) |
Definition at line 412 of file Landscape.cpp.
References OptionsDisplay::instance().
Referenced by generate().
| unsigned int Landscape::getChangeCount | ( | ) | [inline] |
Definition at line 86 of file Landscape.h.
References changeCount_.
Referenced by GLWWindView::draw().
| void Landscape::drawTearDown | ( | ) |
Definition at line 285 of file Landscape.cpp.
References GL_FILL, GL_FOG, GL_FRONT, glDisable(), glPolygonMode(), and OptionsDisplay::instance().
Referenced by drawLand(), drawObjects(), and drawWater().
| void Landscape::drawSetup | ( | ) |
Definition at line 273 of file Landscape.cpp.
References GL_FOG, GL_FRONT, GL_LINE, glEnable(), glPolygonMode(), and OptionsDisplay::instance().
Referenced by drawLand(), drawObjects(), and drawWater().
| void Landscape::drawLand | ( | ) |
Definition at line 291 of file Landscape.cpp.
References actualDrawLandShader(), actualDrawLandTextured(), VisibilityPatchGrid::calculateVisibility(), TargetMovement::draw(), LandscapePoints::draw(), Sky::drawBackdrop(), drawGraphicalReflectionMap(), drawGraphicalShadowMap(), drawSetup(), drawTearDown(), GAMESTATE_PERF_COUNTER_END, GAMESTATE_PERF_COUNTER_START, ScorchedContext::getTargetMovement(), GLStateExtension::hasHardwareShadows(), OptionsDisplay::instance(), VisibilityPatchGrid::instance(), ScorchedClient::instance(), points_, and sky_.
Referenced by LandscapeStateLandHandler::draw(), AnimatedBackdropDialog::drawBackground(), and CameraDialog::drawLandscape().
| void Landscape::drawWater | ( | ) |
Definition at line 337 of file Landscape.cpp.
References actualDrawLandReflection(), Water::bindWaterReflection(), Water::draw(), Sky::drawBackdrop(), Sky::drawLayers(), drawSetup(), drawTearDown(), GAMESTATE_PERF_COUNTER_END, GAMESTATE_PERF_COUNTER_START, OptionsDisplay::getDrawWater(), OptionsDisplay::getNoWaterReflections(), Water::getWaterHeight(), Water::getWaterOn(), GL_BACK, GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, GL_FRONT, glClear(), glClearColor(), glCullFace(), glPopMatrix(), glPushMatrix(), glScalef(), glTranslatef(), GLStateExtension::hasFBO(), GLStateExtension::hasShaders(), ScorchedClient::instance(), OptionsDisplay::instance(), sky_, Water::unBindWaterReflection(), and water_.
Referenced by LandscapeStateWaterHandler::draw(), AnimatedBackdropDialog::drawBackground(), and CameraDialog::drawLandscape().
| void Landscape::drawObjects | ( | ) |
Definition at line 385 of file Landscape.cpp.
References Wall::draw(), Sky::drawLayers(), drawSetup(), drawTearDown(), sky_, and wall_.
Referenced by LandscapeStateObjectsHandler::draw(), AnimatedBackdropDialog::drawBackground(), and CameraDialog::drawLandscape().
| void Landscape::drawShadows | ( | ) |
Definition at line 143 of file Landscape.cpp.
References GLShadowFrameBuffer::bind(), colorDepthMap_, ImageFactory::createBlank(), GLState::DEPTH_ON, GLCamera::draw(), GLCameraFrustum::draw(), VisibilityPatchGrid::drawLand(), GAMESTATE_PERF_COUNTER_END, GAMESTATE_PERF_COUNTER_START, ImageHandle::getBits(), MainCamera::getCamera(), GLShadowFrameBuffer::getHeight(), ScorchedContext::getLandscapeMaps(), Sun::getPosition(), getSky(), Sky::getSun(), GLShadowFrameBuffer::getWidth(), GL_DEPTH_BUFFER_BIT, GL_DEPTH_COMPONENT, GL_FLOAT, GL_MODELVIEW, GL_MODELVIEW_MATRIX, GL_POLYGON_OFFSET_FILL, GL_PROJECTION, GL_PROJECTION_MATRIX, glClear(), glColorMask(), glDisable(), glEnable(), glGetFloatv(), glLoadIdentity(), glMatrixMode(), glPolygonOffset(), glReadPixels(), glViewport(), GLStateExtension::hasHardwareShadows(), MainCamera::instance(), RenderTargets::instance(), OptionsDisplay::instance(), VisibilityPatchGrid::instance(), GLCameraFrustum::instance(), instance(), ScorchedClient::instance(), lightModelMatrix_, lightProjMatrix_, Vector::Magnitude(), MAX, MIN, GLTexture::replace(), RenderTargets::shadowDraw(), shadowFrameBuffer_, GLState::TEXTURE_OFF, and GLShadowFrameBuffer::unBind().
Referenced by LandscapeStateLandHandler::draw(), and AnimatedBackdropDialog::drawBackground().
| void Landscape::simulate | ( | float | frameTime | ) |
Definition at line 89 of file Landscape.cpp.
References changeCount_, ScorchedContext::getLandscapeMaps(), LandscapeSoundManager::instance(), ScorchedClient::instance(), resetLandscape_, resetLandscapeTimer_, LandscapeSoundManager::simulate(), Wall::simulate(), Sky::simulate(), Water::simulate(), sky_, updatePlanATexture(), updatePlanTexture(), GraphicalLandscapeMap::updateWholeBuffer(), wall_, and water_.
Referenced by LandscapeStateLandHandler::simulate(), and AnimatedBackdropDialog::simulate().
| void Landscape::savePlan | ( | ) | [protected] |
Definition at line 997 of file Landscape.cpp.
References bitmapPlan_, S3D::formatStringBuffer(), S3D::getHomeFile(), and Image::writeToFile().
Referenced by Landscape().
| void Landscape::actualDrawLandTextured | ( | ) | [protected] |
Definition at line 662 of file Landscape.cpp.
References arenaMainTexture_, arenaSurroundTexture_, detailTexture_, GLTexture::draw(), VisibilityPatchGrid::drawLand(), VisibilityPatchGrid::drawLandLODLevels(), VisibilityPatchGrid::drawSurround(), GAMESTATE_PERF_COUNTER_END, GAMESTATE_PERF_COUNTER_START, MainCamera::getCameraSelected(), OptionsDisplay::getDetailTexture(), OptionsDisplay::getNoArenaMoveVisibility(), getShadowMap(), MainCamera::getShowArena(), GLStateExtension::getTextureUnits(), GL_COMBINE_ARB, GL_DECAL, GL_MODULATE, GL_RGB_SCALE_ARB, GL_TEXTURE0_ARB, GL_TEXTURE1_ARB, GL_TEXTURE2_ARB, GL_TEXTURE_2D, GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, glActiveTextureARB, glColor3f(), glDisable(), glEnable(), glTexEnvi(), groundTexture_, GLStateExtension::hasEnvCombine(), GLStateExtension::hasMultiTex(), VisibilityPatchGrid::instance(), ScorchedClient::instance(), MainCamera::instance(), OptionsDisplay::instance(), ShadowMap::setTexture(), texture_, and GLState::TEXTURE_OFF.
Referenced by drawLand().
| void Landscape::actualDrawLandReflection | ( | ) | [protected] |
Definition at line 756 of file Landscape.cpp.
References GLState::BLEND_ON, GLTexture::draw(), VisibilityPatchGrid::drawLand(), getSky(), Sky::getSun(), GL_AMBIENT, GL_DIFFUSE, GL_EMISSION, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glColor3f(), glMaterialf(), glMaterialfv(), VisibilityPatchGrid::instance(), instance(), OptionsDisplay::instance(), GLState::LIGHT1_ON, GLState::LIGHTING_ON, planAlphaTexture_, Sun::setLightPosition(), and GLState::TEXTURE_OFF.
Referenced by drawWater().
| void Landscape::actualDrawLandShader | ( | ) | [protected] |
Definition at line 829 of file Landscape.cpp.
References arenaMainTexture_, arenaSurroundTexture_, createShadowMatrix(), GLState::DEPTH_ON, detailTexture_, GLTexture::draw(), VisibilityPatchGrid::drawLand(), VisibilityPatchGrid::drawSurround(), GAMESTATE_PERF_COUNTER_END, GAMESTATE_PERF_COUNTER_START, MainCamera::getCameraSelected(), OptionsDisplay::getNoArenaMoveVisibility(), MainCamera::getShowArena(), getSky(), Sky::getSun(), GL_MODELVIEW, GL_TEXTURE, GL_TEXTURE0_ARB, GL_TEXTURE2_ARB, GL_TEXTURE_2D, glActiveTextureARB, glColor3f(), glEnable(), glLoadIdentity(), glMatrixMode(), groundTexture_, VisibilityPatchGrid::instance(), ScorchedClient::instance(), MainCamera::instance(), OptionsDisplay::instance(), landShader_, GLSLShaderSetup::set_gl_texture(), GLSLShaderSetup::set_uniform(), Sun::setLightPosition(), shadowFrameBuffer_, splatMaskTexture1_, splatMaskTexture2_, splatMaskTextureBorder1_, splatMaskTextureBorder2_, splatTextures_, texture_, GLState::TEXTURE_ON, GLSLShaderSetup::use(), and GLSLShaderSetup::use_fixed().
Referenced by drawLand().
| void Landscape::createShadowMatrix | ( | ) | [protected] |
Definition at line 784 of file Landscape.cpp.
References GL_MODELVIEW, GL_MODELVIEW_MATRIX, GL_TEXTURE, GL_TEXTURE_MATRIX, glGetFloatv(), glLoadMatrixf(), glMatrixMode(), glMultMatrixf(), GLStateExtension::hasHardwareShadows(), lightModelMatrix_, lightProjMatrix_, and shadowTextureMatrix_.
Referenced by actualDrawLandShader().
Landscape * Landscape::instance_ = 0 [static, protected] |
Wall* Landscape::wall_ [protected] |
Definition at line 101 of file Landscape.h.
Referenced by drawObjects(), getWall(), Landscape(), and simulate().
Sky* Landscape::sky_ [protected] |
Definition at line 102 of file Landscape.h.
Referenced by drawLand(), drawObjects(), drawWater(), generate(), getSky(), Landscape(), and simulate().
Smoke* Landscape::smoke_ [protected] |
Water* Landscape::water_ [protected] |
Definition at line 104 of file Landscape.h.
Referenced by drawGraphicalReflectionMap(), drawWater(), generate(), getWater(), Landscape(), simulate(), updatePlanATexture(), and updatePlanTexture().
LandscapeTextureType Landscape::textureType_ [protected] |
Definition at line 105 of file Landscape.h.
Referenced by generate(), getTextureType(), restoreLandscapeTexture(), and setTextureType().
LandscapePoints* Landscape::points_ [protected] |
Definition at line 106 of file Landscape.h.
Referenced by drawLand(), generate(), getPoints(), and Landscape().
GLTexture Landscape::texture_ [protected] |
Definition at line 109 of file Landscape.h.
Referenced by actualDrawLandShader(), actualDrawLandTextured(), generate(), getMainTexture(), and restoreLandscapeTexture().
GLTexture Landscape::magTexture_ [protected] |
GLTexture Landscape::planTexture_ [protected] |
Definition at line 111 of file Landscape.h.
Referenced by getPlanTexture(), and updatePlanTexture().
GLTexture Landscape::planAlphaTexture_ [protected] |
Definition at line 112 of file Landscape.h.
Referenced by actualDrawLandReflection(), getPlanATexture(), and updatePlanATexture().
GLTexture Landscape::detailTexture_ [protected] |
Definition at line 113 of file Landscape.h.
Referenced by actualDrawLandShader(), actualDrawLandTextured(), generate(), and getDetailTexture().
GLTexture Landscape::roofTexture_ [protected] |
GLTexture Landscape::landTex1_ [protected] |
GLTexture Landscape::groundTexture_ [protected] |
Definition at line 116 of file Landscape.h.
Referenced by actualDrawLandShader(), actualDrawLandTextured(), generate(), and getGroundTexture().
GLTexture Landscape::splatMaskTexture1_ [protected] |
GLTexture Landscape::splatMaskTexture2_ [protected] |
GLTexture Landscape::splatMaskTextureBorder1_ [protected] |
GLTexture Landscape::splatMaskTextureBorder2_ [protected] |
GLTexture Landscape::splatTextures_ [protected] |
GLTexture Landscape::arenaMainTexture_ [protected] |
Definition at line 122 of file Landscape.h.
Referenced by actualDrawLandShader(), actualDrawLandTextured(), generate(), and getArenaMainTexture().
GLTexture Landscape::arenaSurroundTexture_ [protected] |
Definition at line 123 of file Landscape.h.
Referenced by actualDrawLandShader(), actualDrawLandTextured(), and generate().
ImageHandle Landscape::splatMap_ [protected] |
ImageHandle Landscape::mainMap_ [protected] |
Definition at line 125 of file Landscape.h.
Referenced by generate(), getMainMap(), and restoreLandscapeTexture().
ImageHandle Landscape::scorchMap_ [protected] |
ImageHandle Landscape::bitmapPlanAlphaAlpha_ [protected] |
ImageHandle Landscape::bitmapPlanAlpha_ [protected] |
ImageHandle Landscape::bitmapPlan_ [protected] |
Definition at line 129 of file Landscape.h.
Referenced by generate(), savePlan(), updatePlanATexture(), and updatePlanTexture().
float Landscape::shadowTextureMatrix_[16] [protected] |
Definition at line 132 of file Landscape.h.
Referenced by createShadowMatrix(), and getShadowTextureMatrix().
float Landscape::lightModelMatrix_[16] [protected] |
float Landscape::lightProjMatrix_[16] [protected] |
GLShadowFrameBuffer Landscape::shadowFrameBuffer_ [protected] |
Definition at line 135 of file Landscape.h.
Referenced by actualDrawLandShader(), drawShadows(), generate(), and getShadowFrameBuffer().
GLSLShaderSetup* Landscape::landShader_ [protected] |
GLTexture Landscape::colorDepthMap_ [protected] |
Definition at line 137 of file Landscape.h.
Referenced by drawGraphicalShadowMap(), and drawShadows().
bool Landscape::resetLandscape_ [protected] |
float Landscape::resetLandscapeTimer_ [protected] |
unsigned int Landscape::changeCount_ [protected] |
Definition at line 142 of file Landscape.h.
Referenced by getChangeCount(), reset(), and simulate().
struct Landscape::CameraContext Landscape::cameraContexts_[2] [protected] |
Referenced by getShadowMap().
1.5.3