24#include <OgreColourValue.h>
25#include <OgreDataStream.h>
26#include <OgreVector3.h>
40 Ogre::Vector3 campos, Ogre::Vector3 dir, Ogre::Vector3 scal,
42 bool is_rot,
bool is_virt,
bool forcecam):
80 Ogre::Vector3
pos = Ogre::Vector3::ZERO;
104 Ogre::Vector3
pos = Ogre::Vector3::ZERO;
105 Ogre::Vector3
dir = Ogre::Vector3::ZERO;
109 Ogre::ColourValue
color = Ogre::ColourValue::Black;
114 Ogre::Vector3
pos = Ogre::Vector3::ZERO;
115 Ogre::Vector3
dir = Ogre::Vector3::ZERO;
117 Ogre::ColourValue
color = Ogre::ColourValue::Black;
151 std::shared_ptr<ODefDocument>
Finalize();
178 std::shared_ptr<ODefDocument>
m_def;
Core data structures for simulation; Everything affected by by either physics, network or user intera...
bool ProcessCurrentLine()
struct RoR::ODefParser::ODefParserContext m_ctx
Parser context.
std::shared_ptr< ODefDocument > Finalize()
Passes ownership.
bool ProcessLine(const char *line)
void ProcessOgreStream(Ogre::DataStream *stream)
std::shared_ptr< ODefDocument > m_def
CollisionEventFilter
Specified in terrain object (.ODEF) file, syntax: 'event <type> <filter>'.
ODefCollisionBox(Ogre::Vector3 min, Ogre::Vector3 max, Ogre::Vector3 rot, Ogre::Vector3 campos, Ogre::Vector3 dir, Ogre::Vector3 scal, std::string reverb_preset_name, std::string ev_name, CollisionEventFilter ev_filter, bool is_rot, bool is_virt, bool forcecam)
CollisionEventFilter event_filter
std::string reverb_preset_name
std::string groundmodel_name
ODefCollisionMesh(std::string meshname, Ogre::Vector3 scal, std::string gmodelname)
std::list< ODefAnimation > animations
std::list< ODefParticleSys > particle_systems
std::list< ODefCollisionMesh > collision_meshes
struct RoR::ODefDocument::ODefDocumentHeader header
std::list< ODefTexPrint > texture_prints
Section 'drawTextOnMeshTexture'.
std::string mat_name
Section 'setMeshMaterial'.
std::list< std::string > sounds
std::list< ODefPointLight > point_lights
std::list< std::string > groundmodel_files
std::vector< LocalizerType > localizers
std::list< ODefSpotlight > spotlights
std::list< ODefCollisionBox > collision_boxes
std::string mat_name_generate
Section 'generateMaterialShaders'.
std::string header_mesh_name
Ogre::Vector3 cbox_rotation
Ogre::Vector3 cbox_cam_pos
Section 'forcecamera'.
Ogre::Vector3 cbox_aabb_max
Ogre::Vector3 cbox_aabb_min
std::string cbox_mesh_name
CollisionEventFilter cbox_event_filter
std::string cbox_reverb_preset_name
Ogre::Vector3 header_scale
std::string cbox_event_name
std::string cbox_groundmodel_name
Ogre::Vector3 cbox_direction
std::string instance_name
std::string template_name
float angle_outer
Degrees.
float angle_inner
Degrees.