|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
138 Ogre::Vector3 pos, Ogre::Vector3 rot,
const char*
instance_name,
177 std::shared_ptr<TObjFile>
Finalize();
191 Ogre::Quaternion
CalcRotation(Ogre::Vector3
const& rot)
const;
bool ProcessLine(const char *line)
void ProcessProceduralLine()
void ProcessActorObject(const TObjEntry &object)
Ogre::Quaternion rotation
Ogre::Vector3 grid_position
TObj::SpecialObject special
char instance_name[TObj::STR_LEN]
bool m_in_procedural_road
char odef_name[TObj::STR_LEN]
char material_name[TObj::STR_LEN]
std::vector< TObjGrass > grass
bool ProcessCurrentLine()
std::shared_ptr< TObjFile > m_def
int m_cur_procedural_obj_start_line
char density_map[TObj::STR_LEN]
void ImportProceduralPoint(Ogre::Vector3 const &pos, Ogre::Vector3 const &rot, TObj::SpecialObject special)
bool ParseObjectLine(TObjEntry &object)
char density_map_filename[TObj::STR_LEN]
Ogre::Vector3 m_road2_last_rot
std::vector< ProceduralObjectPtr > proc_objects
char tree_mesh[TObj::STR_LEN]
std::vector< TObjVehicle > vehicles
ProceduralObjectPtr m_cur_procedural_obj
void ProcessRoadObject(const TObjEntry &object)
void ProcessOgreStream(Ogre::DataStream *stream)
std::vector< TObjTree > trees
Ogre::Vector3 m_road2_last_pos
char color_map_filename[TObj::STR_LEN]
Unified 'grass' and 'grass2'.
float m_default_rendering_distance
char color_map[TObj::STR_LEN]
std::shared_ptr< TObjFile > Finalize()
Passes ownership.
std::vector< TObjEntry > objects
Ogre::Quaternion CalcRotation(Ogre::Vector3 const &rot) const
void FlushProceduralObject()
const char * m_cur_line_trimmed
char collision_mesh[TObj::STR_LEN]