InfoMap Class Reference

#include <InfoMap.h>

List of all members.

Public Member Functions

void addAdapters ()

Static Public Member Functions

static InfoMapinstance ()

Protected Member Functions

void showHeightBands ()
void showGrid ()

Static Protected Attributes

static InfoMapinstance_ = 0

Private Member Functions

 InfoMap ()
virtual ~InfoMap ()


Detailed Description

Definition at line 25 of file InfoMap.h.


Constructor & Destructor Documentation

InfoMap::InfoMap (  )  [private]

Definition at line 41 of file InfoMap.cpp.

InfoMap::~InfoMap (  )  [private, virtual]

Definition at line 45 of file InfoMap.cpp.


Member Function Documentation

InfoMap * InfoMap::instance (  )  [static]

Definition at line 32 of file InfoMap.cpp.

References instance_.

Referenced by Landscape::generate().

void InfoMap::addAdapters (  ) 

Definition at line 49 of file InfoMap.cpp.

References Landscape::instance(), ClientParams::instance(), ScorchedClient::instance(), Landscape::restoreLandscapeTexture(), showGrid(), and showHeightBands().

Referenced by Landscape::generate().

void InfoMap::showHeightBands (  )  [protected]

Definition at line 71 of file InfoMap.cpp.

References ImageFactory::createBlank(), Landscape::eOther, fixed::fromFloat(), Image::getBits(), ImageHandle::getBits(), LandscapeMaps::getGroundMaps(), ImageHandle::getHeight(), Image::getHeight(), getHeight(), GroundMaps::getLandscapeHeight(), ScorchedContext::getLandscapeMaps(), GroundMaps::getLandscapeWidth(), Landscape::getMainMap(), Landscape::getMainTexture(), ImageHandle::getWidth(), Image::getWidth(), ScorchedClient::instance(), Landscape::instance(), GLTexture::replace(), and Landscape::setTextureType().

Referenced by addAdapters().

void InfoMap::showGrid (  )  [protected]

Definition at line 152 of file InfoMap.cpp.

References ImageFactory::createBlank(), Landscape::eOther, Image::getBits(), ImageHandle::getBits(), ImageHandle::getHeight(), getHeight(), Landscape::getMainMap(), Landscape::getMainTexture(), ImageHandle::getWidth(), Landscape::instance(), GLTexture::replace(), and Landscape::setTextureType().

Referenced by addAdapters().


Member Data Documentation

InfoMap * InfoMap::instance_ = 0 [static, protected]

Definition at line 33 of file InfoMap.h.

Referenced by instance().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:03 2009 for Scorched3D by  doxygen 1.5.3