|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
24 #include <OgreColourValue.h>
25 #include <OgreDataStream.h>
26 #include <OgreVector3.h>
31 #ifdef DELETE // Windows hack: The `EventType::DELETE` name collides with `DELETE` from <winnt.h> which *MAY* be included at this point.
40 Ogre::Vector3 campos, Ogre::Vector3 dir, Ogre::Vector3 scal,
78 Ogre::Vector3
pos = Ogre::Vector3::ZERO;
102 Ogre::Vector3
pos = Ogre::Vector3::ZERO;
103 Ogre::Vector3
dir = Ogre::Vector3::ZERO;
107 Ogre::ColourValue
color = Ogre::ColourValue::Black;
112 Ogre::Vector3
pos = Ogre::Vector3::ZERO;
113 Ogre::Vector3
dir = Ogre::Vector3::ZERO;
115 Ogre::ColourValue
color = Ogre::ColourValue::Black;
149 std::shared_ptr<ODefFile>
Finalize();
Ogre::Vector3 cbox_aabb_min
void ProcessOgreStream(Ogre::DataStream *stream)
std::shared_ptr< ODefFile > m_def
std::list< ODefTexPrint > texture_prints
Section 'drawTextOnMeshTexture'.
std::shared_ptr< ODefFile > Finalize()
Passes ownership.
struct RoR::ODefParser::ODefParserContext m_ctx
Parser context.
CollisionEventFilter
Specified in terrain object (.ODEF) file, syntax: 'event <type> <filter>'.
std::string template_name
Ogre::Vector3 cbox_direction
std::string groundmodel_name
std::list< ODefCollisionBox > collision_boxes
CollisionEventFilter cbox_event_filter
struct RoR::ODefFile::ODefFileHeader header
std::string header_mesh_name
std::string instance_name
std::list< std::string > groundmodel_files
Ogre::Vector3 header_scale
float angle_outer
Degrees.
Core data structures for simulation; Everything affected by by either physics, network or user intera...
Ogre::Vector3 cbox_aabb_max
std::list< ODefCollisionMesh > collision_meshes
std::list< ODefAnimation > animations
std::list< ODefSpotlight > spotlights
std::list< ODefPointLight > point_lights
std::string cbox_groundmodel_name
Ogre::Vector3 cbox_rotation
bool ProcessLine(const char *line)
ODefCollisionBox(Ogre::Vector3 min, Ogre::Vector3 max, Ogre::Vector3 rot, Ogre::Vector3 campos, Ogre::Vector3 dir, Ogre::Vector3 scal, std::string ev_name, CollisionEventFilter ev_filter, bool is_rot, bool is_virt, bool forcecam)
std::list< ODefParticleSys > particle_systems
ODefCollisionMesh(std::string meshname, Ogre::Vector3 scal, std::string gmodelname)
std::string mat_name_generate
Section 'generateMaterialShaders'.
Ogre::Vector3 cbox_cam_pos
Section 'forcecamera'.
std::string cbox_event_name
std::list< std::string > sounds
std::vector< LocalizerType > localizers
bool ProcessCurrentLine()
std::string mat_name
Section 'setMeshMaterial'.
std::string cbox_mesh_name
CollisionEventFilter event_filter
float angle_inner
Degrees.