Central state/object manager and communications hub.
Self reference-counting objects, as requred by AngelScript garbage collector.
Minimalist editor mode; orig.
void ClearSelectedObject()
void WriteSeparateOutputFile()
Writes 'editor_out.log' to 'config' directory - original solution, still used for zipped terrains.
void UpdateInputEvents(float dt)
TerrainEditorObjectID_t GetSelectedObjectID() const
void SetSelectedObjectByID(TerrainEditorObjectID_t id)
std::string m_last_object_name
const TerrainEditorObjectPtr & FetchSelectedObject()
TerrainEditorObjectID_t m_selected_object_id
int m_rotation_axis
0=X, 1=Y, 2=Z
static const TerrainEditorObjectPtr TERRAINEDITOROBJECTPTR_NULL
void WriteEditsToTobjFiles()
Updates existing TOBJ files - new solution, only for projects (unzipped terrains).
Represents an instance of static terrain object (.ODEF file format)
ActorInstanceID_t getActorInstanceId()
std::string const & getType()
Ogre::Vector3 const & getPosition()
std::vector< int > static_collision_tris
ActorInstanceID_t actor_instance_id
void setSpecialObjectType(TObjSpecialObject type)
Ogre::Vector3 initial_position
void setActorInstanceId(ActorInstanceID_t instance_id)
std::string const & getName()
Ogre::Vector3 initial_rotation
TObjSpecialObject special_object_type
void setPosition(Ogre::Vector3 const &pos)
std::string instance_name
std::string const & getInstanceName()
Ogre::SceneNode * static_object_node
std::string tobj_comments
void setRotation(Ogre::Vector3 const &rot)
std::vector< int > static_collision_boxes
TObjSpecialObject getSpecialObjectType()
std::string type
Accepts "-" as placeholder, otherwise a surveymap icon is registered.
Ogre::Vector3 const & getRotation()
int ActorInstanceID_t
Unique sequentially generated ID of an actor in session. Use ActorManager::GetActorById()
int TerrainEditorObjectID_t
Offset into RoR::TerrainObjectManager::m_editor_objects, use RoR::TERRAINEDITOROBJECTID_INVALID as em...
static const ActorInstanceID_t ACTORINSTANCEID_INVALID
static const TerrainEditorObjectID_t TERRAINEDITOROBJECTID_INVALID