 |
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<ODefDocument>
Finalize();
175 std::shared_ptr<ODefDocument>
m_def;
Ogre::Vector3 cbox_aabb_min
std::list< ODefSpotlight > spotlights
void ProcessOgreStream(Ogre::DataStream *stream)
struct RoR::ODefParser::ODefParserContext m_ctx
Parser context.
std::string mat_name
Section 'setMeshMaterial'.
CollisionEventFilter
Specified in terrain object (.ODEF) file, syntax: 'event <type> <filter>'.
std::string template_name
Ogre::Vector3 cbox_direction
std::list< std::string > groundmodel_files
std::string groundmodel_name
CollisionEventFilter cbox_event_filter
std::string header_mesh_name
std::string instance_name
std::list< ODefAnimation > animations
std::list< ODefCollisionBox > collision_boxes
std::list< ODefCollisionMesh > collision_meshes
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< std::string > sounds
std::shared_ptr< ODefDocument > Finalize()
Passes ownership.
std::string mat_name_generate
Section 'generateMaterialShaders'.
std::shared_ptr< ODefDocument > m_def
std::string cbox_groundmodel_name
std::list< ODefPointLight > point_lights
std::vector< LocalizerType > localizers
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)
ODefCollisionMesh(std::string meshname, Ogre::Vector3 scal, std::string gmodelname)
Ogre::Vector3 cbox_cam_pos
Section 'forcecamera'.
std::string cbox_event_name
std::list< ODefTexPrint > texture_prints
Section 'drawTextOnMeshTexture'.
struct RoR::ODefDocument::ODefDocumentHeader header
std::list< ODefParticleSys > particle_systems
bool ProcessCurrentLine()
std::string cbox_mesh_name
CollisionEventFilter event_filter
float angle_inner
Degrees.