RigsofRods
Soft-body Physics Simulation
TerrainClass.h
Go to the documentation of this file.
1 
2 namespace Script2Game {
3 
17 {
18 public:
21 
25  string getTerrainName();
26 
30  string getTerrainFileName();
31 
36 
40  string getGUID();
41 
45  int getVersion();
46 
48 
51 
55  bool isFlat();
56 
58 
61 
65  vector3 getSpawnPos();
66 
77  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);
78 
83  void delSurveyMapEntities(int id);
84 
86 
89 
91 
93 };
94 
97 
98 } //namespace Script2Game
Script2Game::TerrainClass::delSurveyMapEntities
void delSurveyMapEntities(int id)
Removes all survey map icons with the given ID.
Script2Game::TerrainClass
Binding of RoR::Terrain; represents a loaded terrain.
Definition: TerrainClass.h:16
Script2Game::TerrainClass::getSpawnPos
vector3 getSpawnPos()
Script2Game::TerrainClass::getGUID
string getGUID()
Script2Game::TerrainClass::getTerrainFileName
string getTerrainFileName()
Script2Game
Pseudo-namespace; it doesn't exist in code or script runtime, only in this documentation.
Definition: BeamClass.h:2
Script2Game::ProceduralManagerClass
Binding of RoR::ProceduralManager; generates dynamic roads for terrain.
Definition: ProceduralManagerClass.h:16
Script2Game::TerrainClass::getTerrainName
string getTerrainName()
Script2Game::TerrainClass::getTerrainFileResourceGroup
string getTerrainFileResourceGroup()
Script2Game::TerrainClass::isFlat
bool isFlat()
Script2Game::TerrainClass::getVersion
int getVersion()
Script2Game::TerrainClass::addSurveyMapEntity
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)
Adds an icon with description to survey map (minimap).
Script2Game::TerrainClass::getProceduralManager
ProceduralManagerClass getProceduralManager()