|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
32 #include <OgreVector3.h>
68 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);
Terrain(CacheEntryPtr entry, Terrn2Def def)
CacheEntryPtr m_cache_entry
void fixCompositorClearColor()
float getPagedDetailFactor() const
int getCategoryID() const
Ogre::Vector3 getMaxTerrainSize()
ShadowManager * getShadowManager()
std::string getTerrainFileResourceGroup()
TerrainObjectManager * getObjectManager()
SkyManager * getSkyManager()
static const int UNLIMITED_SIGHTRANGE
void setGravity(float value)
virtual ~Terrain() override
< TODO: Mixed gfx+physics (waves) - must be separated ~ only_a_ptr, 02/2018
TerrainEditor * GetTerrainEditor()
TerrainEditor m_terrain_editor
Ogre::AxisAlignedBox getTerrainCollisionAAB()
float m_paged_detail_factor
ShadowManager * m_shadow_manager
ProceduralManagerPtr getProceduralManager()
std::string getTerrainName() const
std::string getTerrainFileName()
float GetHeightAt(float x, float z)
Ogre::Vector3 GetNormalAt(float x, float y, float z)
float getWaterHeight() const
std::vector< SurveyMapEntity > SurveyMapEntityVec
Ogre::Light * m_main_light
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)
TerrainGeometryManager * m_geometry_manager
SurveyMapEntityVec & getSurveyMapEntities()
std::unique_ptr< IWater > m_water
TerrainGeometryManager * getGeometryManager()
Collisions * GetCollisions()
SkyManager * m_sky_manager
Central state/object manager and communications hub.
void LoadPredefinedActors()
TerrainObjectManager * m_object_manager
HydraxWater * getHydraxManager()
void initTerrainCollisions()
void loadTerrainObjects()
Ogre::Vector3 getSpawnPos()
SkyXManager * getSkyXManager()
CacheEntryPtr getCacheEntry()
std::string getGUID() const
SkyXManager * SkyX_manager
Ogre::Light * getMainLight()
Self reference-counting objects, as requred by AngelScript garbage collector.
void delSurveyMapEntities(int id)
Collisions * m_collisions
this class handles all interactions with the Ogre Terrain system
HydraxWater * m_hydrax_water
Minimalist editor mode; orig.
Ogre::Vector3 start_position
bool HasPredefinedActors()