#include <Terrain.h>
|
| Terrain (CacheEntryPtr entry, Terrn2Def def) |
|
virtual | ~Terrain () override |
|
bool | initialize () |
|
void | dispose () |
|
|
std::string | getTerrainName () const |
|
std::string | getTerrainFileName () |
|
std::string | getTerrainFileResourceGroup () |
|
std::string | getGUID () const |
|
int | getCategoryID () const |
|
int | getVersion () const |
|
CacheEntryPtr | getCacheEntry () |
|
|
Terrn2Def & | GetDef () |
|
Ogre::Vector3 | getSpawnPos () |
|
float | getWaterHeight () const |
|
bool | isFlat () |
|
float | getPagedDetailFactor () const |
|
void | addSurveyMapEntity (const std::string &type, const std::string &filename, const std::string &resource_group, const std::string &caption, const Ogre::Vector3 &pos, float angle, int id) |
|
void | delSurveyMapEntities (int id) |
|
SurveyMapEntityVec & | getSurveyMapEntities () |
|
|
TerrainGeometryManager * | getGeometryManager () |
|
ProceduralManagerPtr | getProceduralManager () |
|
TerrainObjectManager * | getObjectManager () |
|
HydraxWater * | getHydraxManager () |
|
SkyManager * | getSkyManager () |
|
SkyXManager * | getSkyXManager () |
|
ShadowManager * | getShadowManager () |
|
TerrainEditor * | GetTerrainEditor () |
|
Collisions * | GetCollisions () |
|
IWater * | getWater () |
|
|
Ogre::Light * | getMainLight () |
|
int | getFarClip () const |
|
|
void | setGravity (float value) |
|
float | getGravity () const |
|
float | GetHeightAt (float x, float z) |
|
Ogre::Vector3 | GetNormalAt (float x, float y, float z) |
|
Ogre::Vector3 | getMaxTerrainSize () |
|
Ogre::AxisAlignedBox | getTerrainCollisionAAB () |
|
|
void | LoadTelepoints () |
|
void | LoadPredefinedActors () |
|
bool | HasPredefinedActors () |
|
| RefCountingObject () |
|
virtual | ~RefCountingObject () |
|
void | AddRef () |
|
void | Release () |
|
Definition at line 40 of file Terrain.h.
◆ Terrain()
◆ ~Terrain()
RoR::Terrain::~Terrain |
( |
| ) |
|
|
overridevirtual |
◆ addSurveyMapEntity()
void RoR::Terrain::addSurveyMapEntity |
( |
const std::string & |
type, |
|
|
const std::string & |
filename, |
|
|
const std::string & |
resource_group, |
|
|
const std::string & |
caption, |
|
|
const Ogre::Vector3 & |
pos, |
|
|
float |
angle, |
|
|
int |
id |
|
) |
| |
◆ delSurveyMapEntities()
void RoR::Terrain::delSurveyMapEntities |
( |
int |
id | ) |
|
◆ dispose()
void RoR::Terrain::dispose |
( |
| ) |
|
◆ fixCompositorClearColor()
void RoR::Terrain::fixCompositorClearColor |
( |
| ) |
|
|
private |
◆ getCacheEntry()
◆ getCategoryID()
int RoR::Terrain::getCategoryID |
( |
| ) |
const |
|
inline |
◆ GetCollisions()
◆ GetDef()
◆ getFarClip()
int RoR::Terrain::getFarClip |
( |
| ) |
const |
|
inline |
◆ getGeometryManager()
◆ getGravity()
float RoR::Terrain::getGravity |
( |
| ) |
const |
|
inline |
◆ getGUID()
std::string RoR::Terrain::getGUID |
( |
| ) |
const |
|
inline |
◆ GetHeightAt()
float RoR::Terrain::GetHeightAt |
( |
float |
x, |
|
|
float |
z |
|
) |
| |
◆ getHydraxManager()
◆ getMainLight()
Ogre::Light* RoR::Terrain::getMainLight |
( |
| ) |
|
|
inline |
◆ getMaxTerrainSize()
Ogre::Vector3 RoR::Terrain::getMaxTerrainSize |
( |
| ) |
|
◆ GetNormalAt()
Ogre::Vector3 RoR::Terrain::GetNormalAt |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ getObjectManager()
◆ getPagedDetailFactor()
float RoR::Terrain::getPagedDetailFactor |
( |
| ) |
const |
|
inline |
◆ getProceduralManager()
◆ getShadowManager()
◆ getSkyManager()
SkyManager * RoR::Terrain::getSkyManager |
( |
| ) |
|
◆ getSkyXManager()
◆ getSpawnPos()
Ogre::Vector3 RoR::Terrain::getSpawnPos |
( |
| ) |
|
|
inline |
◆ getSurveyMapEntities()
◆ getTerrainCollisionAAB()
Ogre::AxisAlignedBox RoR::Terrain::getTerrainCollisionAAB |
( |
| ) |
|
◆ GetTerrainEditor()
◆ getTerrainFileName()
std::string RoR::Terrain::getTerrainFileName |
( |
| ) |
|
◆ getTerrainFileResourceGroup()
std::string RoR::Terrain::getTerrainFileResourceGroup |
( |
| ) |
|
◆ getTerrainName()
std::string RoR::Terrain::getTerrainName |
( |
| ) |
const |
|
inline |
◆ getVersion()
int RoR::Terrain::getVersion |
( |
| ) |
const |
|
inline |
◆ getWater()
IWater* RoR::Terrain::getWater |
( |
| ) |
|
|
inline |
◆ getWaterHeight()
float RoR::Terrain::getWaterHeight |
( |
| ) |
const |
|
inline |
◆ HasPredefinedActors()
bool RoR::Terrain::HasPredefinedActors |
( |
| ) |
|
◆ initAiPresets()
void RoR::Terrain::initAiPresets |
( |
| ) |
|
|
private |
◆ initCamera()
void RoR::Terrain::initCamera |
( |
| ) |
|
|
private |
◆ initFog()
void RoR::Terrain::initFog |
( |
| ) |
|
|
private |
◆ initialize()
bool RoR::Terrain::initialize |
( |
| ) |
|
◆ initLight()
void RoR::Terrain::initLight |
( |
| ) |
|
|
private |
◆ initObjects()
void RoR::Terrain::initObjects |
( |
| ) |
|
|
private |
◆ initScripting()
void RoR::Terrain::initScripting |
( |
| ) |
|
|
private |
◆ initShadows()
void RoR::Terrain::initShadows |
( |
| ) |
|
|
private |
◆ initSkySubSystem()
void RoR::Terrain::initSkySubSystem |
( |
| ) |
|
|
private |
◆ initTerrainCollisions()
void RoR::Terrain::initTerrainCollisions |
( |
| ) |
|
|
private |
◆ initVegetation()
void RoR::Terrain::initVegetation |
( |
| ) |
|
|
private |
◆ initWater()
void RoR::Terrain::initWater |
( |
| ) |
|
|
private |
◆ isFlat()
bool RoR::Terrain::isFlat |
( |
| ) |
|
◆ LoadPredefinedActors()
void RoR::Terrain::LoadPredefinedActors |
( |
| ) |
|
◆ LoadTelepoints()
void RoR::Terrain::LoadTelepoints |
( |
| ) |
|
◆ loadTerrainObjects()
void RoR::Terrain::loadTerrainObjects |
( |
| ) |
|
|
private |
◆ setGravity()
void RoR::Terrain::setGravity |
( |
float |
value | ) |
|
◆ m_cache_entry
◆ m_collisions
◆ m_cur_gravity
float RoR::Terrain::m_cur_gravity |
|
private |
◆ m_def
◆ m_disposed
bool RoR::Terrain::m_disposed = false |
|
private |
◆ m_geometry_manager
◆ m_hydrax_water
◆ m_main_light
Ogre::Light* RoR::Terrain::m_main_light |
|
private |
◆ m_object_manager
◆ m_paged_detail_factor
float RoR::Terrain::m_paged_detail_factor |
|
private |
◆ m_shadow_manager
◆ m_sight_range
int RoR::Terrain::m_sight_range |
|
private |
◆ m_sky_manager
SkyManager* RoR::Terrain::m_sky_manager |
|
private |
◆ m_terrain_editor
◆ m_water
std::unique_ptr<IWater> RoR::Terrain::m_water |
|
private |
◆ SkyX_manager
◆ UNLIMITED_SIGHTRANGE
const int RoR::Terrain::UNLIMITED_SIGHTRANGE = 4999 |
|
static |
The documentation for this class was generated from the following files: