#include <InfoMap.h>
Public Member Functions | |
| void | addAdapters () |
Static Public Member Functions | |
| static InfoMap * | instance () |
Protected Member Functions | |
| void | showHeightBands () |
| void | showGrid () |
Static Protected Attributes | |
| static InfoMap * | instance_ = 0 |
Private Member Functions | |
| InfoMap () | |
| virtual | ~InfoMap () |
Definition at line 25 of file InfoMap.h.
| InfoMap::InfoMap | ( | ) | [private] |
Definition at line 41 of file InfoMap.cpp.
| InfoMap::~InfoMap | ( | ) | [private, virtual] |
Definition at line 45 of file InfoMap.cpp.
| 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().
InfoMap * InfoMap::instance_ = 0 [static, protected] |
1.5.3