#include <TerrainObjectManager.h>
|
| TerrainObjectManager (Terrain *terrainManager) |
|
| ~TerrainObjectManager () |
|
std::vector< EditorObject > & | GetEditorObjects () |
|
void | LoadTObjFile (Ogre::String filename) |
|
bool | LoadTerrainObject (const Ogre::String &name, const Ogre::Vector3 &pos, const Ogre::Vector3 &rot, const Ogre::String &instancename, const Ogre::String &type, float rendering_distance=0, bool enable_collisions=true, int scripthandler=-1, bool uniquifyMaterial=false) |
|
bool | LoadTerrainScript (const Ogre::String &filename) |
|
void | MoveObjectVisuals (const Ogre::String &instancename, const Ogre::Vector3 &pos) |
|
void | unloadObject (const Ogre::String &instancename) |
|
void | LoadTelepoints () |
|
void | LoadPredefinedActors () |
|
bool | HasPredefinedActors () |
|
bool | UpdateTerrainObjects (float dt) |
|
void | ProcessTree (float yawfrom, float yawto, float scalefrom, float scaleto, char *ColorMap, char *DensityMap, char *treemesh, char *treeCollmesh, float gridspacing, float highdens, int minDist, int maxDist, int mapsizex, int mapsizez) |
|
void | ProcessGrass (float SwaySpeed, float SwayLength, float SwayDistribution, float Density, float minx, float miny, float minH, float maxx, float maxy, float maxH, char *grassmat, char *colorMapFilename, char *densityMapFilename, int growtechnique, int techn, int range, int mapsizex, int mapsizez) |
|
std::vector< localizer_t > | GetLocalizers () |
|
ProceduralManagerPtr & | getProceduralManager () |
|
Ogre::SceneNode * | getGroupingSceneNode () |
|
Definition at line 49 of file TerrainObjectManager.h.
◆ TerrainObjectManager()
TerrainObjectManager::TerrainObjectManager |
( |
Terrain * |
terrainManager | ) |
|
◆ ~TerrainObjectManager()
TerrainObjectManager::~TerrainObjectManager |
( |
| ) |
|
◆ FetchODef()
ODefFile * TerrainObjectManager::FetchODef |
( |
std::string const & |
odef_name | ) |
|
|
protected |
◆ GetEditorObjects()
std::vector<EditorObject>& RoR::TerrainObjectManager::GetEditorObjects |
( |
| ) |
|
|
inline |
◆ getGroupingSceneNode()
Ogre::SceneNode * TerrainObjectManager::getGroupingSceneNode |
( |
| ) |
|
◆ GetLocalizers()
std::vector<localizer_t> RoR::TerrainObjectManager::GetLocalizers |
( |
| ) |
|
|
inline |
◆ getProceduralManager()
◆ HasPredefinedActors()
bool RoR::TerrainObjectManager::HasPredefinedActors |
( |
| ) |
|
|
inline |
◆ LoadPredefinedActors()
void TerrainObjectManager::LoadPredefinedActors |
( |
| ) |
|
◆ LoadTelepoints()
void TerrainObjectManager::LoadTelepoints |
( |
| ) |
|
◆ LoadTerrainObject()
bool TerrainObjectManager::LoadTerrainObject |
( |
const Ogre::String & |
name, |
|
|
const Ogre::Vector3 & |
pos, |
|
|
const Ogre::Vector3 & |
rot, |
|
|
const Ogre::String & |
instancename, |
|
|
const Ogre::String & |
type, |
|
|
float |
rendering_distance = 0 , |
|
|
bool |
enable_collisions = true , |
|
|
int |
scripthandler = -1 , |
|
|
bool |
uniquifyMaterial = false |
|
) |
| |
◆ LoadTerrainScript()
bool TerrainObjectManager::LoadTerrainScript |
( |
const Ogre::String & |
filename | ) |
|
◆ LoadTObjFile()
void TerrainObjectManager::LoadTObjFile |
( |
Ogre::String |
filename | ) |
|
◆ MoveObjectVisuals()
void TerrainObjectManager::MoveObjectVisuals |
( |
const Ogre::String & |
instancename, |
|
|
const Ogre::Vector3 & |
pos |
|
) |
| |
◆ ProcessGrass()
void TerrainObjectManager::ProcessGrass |
( |
float |
SwaySpeed, |
|
|
float |
SwayLength, |
|
|
float |
SwayDistribution, |
|
|
float |
Density, |
|
|
float |
minx, |
|
|
float |
miny, |
|
|
float |
minH, |
|
|
float |
maxx, |
|
|
float |
maxy, |
|
|
float |
maxH, |
|
|
char * |
grassmat, |
|
|
char * |
colorMapFilename, |
|
|
char * |
densityMapFilename, |
|
|
int |
growtechnique, |
|
|
int |
techn, |
|
|
int |
range, |
|
|
int |
mapsizex, |
|
|
int |
mapsizez |
|
) |
| |
◆ ProcessODefCollisionBoxes()
◆ ProcessTree()
void TerrainObjectManager::ProcessTree |
( |
float |
yawfrom, |
|
|
float |
yawto, |
|
|
float |
scalefrom, |
|
|
float |
scaleto, |
|
|
char * |
ColorMap, |
|
|
char * |
DensityMap, |
|
|
char * |
treemesh, |
|
|
char * |
treeCollmesh, |
|
|
float |
gridspacing, |
|
|
float |
highdens, |
|
|
int |
minDist, |
|
|
int |
maxDist, |
|
|
int |
mapsizex, |
|
|
int |
mapsizez |
|
) |
| |
◆ unloadObject()
void TerrainObjectManager::unloadObject |
( |
const Ogre::String & |
instancename | ) |
|
◆ UpdateAnimatedObjects()
bool TerrainObjectManager::UpdateAnimatedObjects |
( |
float |
dt | ) |
|
|
protected |
◆ UpdateTerrainObjects()
bool TerrainObjectManager::UpdateTerrainObjects |
( |
float |
dt | ) |
|
◆ Terrain
◆ localizers
std::vector<localizer_t> RoR::TerrainObjectManager::localizers |
|
protected |
◆ m_angelscript_grouping_node
Ogre::SceneNode* RoR::TerrainObjectManager::m_angelscript_grouping_node = nullptr |
|
protected |
◆ m_animated_objects
std::vector<AnimatedObject> RoR::TerrainObjectManager::m_animated_objects |
|
protected |
◆ m_editor_objects
std::vector<EditorObject> RoR::TerrainObjectManager::m_editor_objects |
|
protected |
◆ m_entity_counter
int RoR::TerrainObjectManager::m_entity_counter = 0 |
|
protected |
◆ m_map_entities
◆ m_mesh_objects
std::vector<MeshObject*> RoR::TerrainObjectManager::m_mesh_objects |
|
protected |
◆ m_odef_cache
std::unordered_map<std::string, std::shared_ptr<RoR::ODefFile> > RoR::TerrainObjectManager::m_odef_cache |
|
protected |
◆ m_predefined_actors
std::vector<PredefinedActor> RoR::TerrainObjectManager::m_predefined_actors |
|
protected |
◆ m_procedural_manager
◆ m_static_objects
std::map<std::string, StaticObject> RoR::TerrainObjectManager::m_static_objects |
|
protected |
◆ m_terrn2_grouping_node
Ogre::SceneNode* RoR::TerrainObjectManager::m_terrn2_grouping_node = nullptr |
|
protected |
◆ m_tobj_grouping_node
Ogre::SceneNode* RoR::TerrainObjectManager::m_tobj_grouping_node = nullptr |
|
protected |
◆ terrainManager
Terrain* RoR::TerrainObjectManager::terrainManager |
|
protected |
The documentation for this class was generated from the following files: