RigsofRods
Soft-body Physics Simulation
|
Processes a RigDef::Document (parsed from 'truck' file format) into a simulated gameplay object (Actor). More...
#include <ActorSpawner.h>
Data Structures | |
struct | ActorMemoryRequirements |
struct | ActorSpawnState |
struct | CustomMaterial |
struct | Exception |
Public Types | |
enum | Message { Message::TYPE_INFO, Message::TYPE_WARNING, Message::TYPE_ERROR } |
Public Member Functions | |
Utility | |
ActorPtr | GetActor () |
ActorMemoryRequirements const & | GetMemoryRequirements () |
std::string | GetSubmeshGroundmodelName () |
Private Member Functions | |
Processing actor elements | |
void | ProcessAirbrake (RigDef::Airbrake &def) |
void | ProcessAnimator (RigDef::Animator &def) |
void | ProcessAntiLockBrakes (RigDef::AntiLockBrakes &def) |
void | ProcessAuthor (RigDef::Author &def) |
void | ProcessAxle (RigDef::Axle &def) |
void | ProcessBeam (RigDef::Beam &def) |
void | ProcessBrakes (RigDef::Brakes &def) |
void | ProcessCameraRail (RigDef::CameraRail &def) |
void | ProcessCamera (RigDef::Camera &def) |
void | ProcessCinecam (RigDef::Cinecam &def) |
void | ProcessCollisionBox (RigDef::CollisionBox &def) |
void | ProcessCollisionRange (RigDef::CollisionRange &def) |
void | ProcessCommand (RigDef::Command2 &def) |
void | ProcessContacter (RigDef::Node::Ref &node_ref) |
void | ProcessCruiseControl (RigDef::CruiseControl &def) |
void | ProcessDescription (Ogre::String const &line) |
void | ProcessEngine (RigDef::Engine &def) |
void | ProcessEngoption (RigDef::Engoption &def) |
void | ProcessEngturbo (RigDef::Engturbo &def) |
void | ProcessExhaust (RigDef::Exhaust &def) |
void | ProcessExtCamera (RigDef::ExtCamera &def) |
void | ProcessFixedNode (RigDef::Node::Ref node_ref) |
void | ProcessFlare2 (RigDef::Flare2 &def) |
void | ProcessFlare3 (RigDef::Flare3 &def) |
void | ProcessFlexbody (RigDef::Flexbody &def) |
void | ProcessFlexBodyWheel (RigDef::FlexBodyWheel &def) |
void | ProcessFusedrag (RigDef::Fusedrag &def) |
void | ProcessGlobals (RigDef::Globals &def) |
void | ProcessGuiSettings (RigDef::GuiSettings &def) |
void | ProcessHelp (RigDef::Help &def) |
void | ProcessHook (RigDef::Hook &def) |
void | ProcessHydro (RigDef::Hydro &def) |
void | ProcessInterAxle (RigDef::InterAxle &def) |
void | ProcessLockgroup (RigDef::Lockgroup &lockgroup) |
void | ProcessManagedMaterial (RigDef::ManagedMaterial &def) |
void | ProcessMeshWheel (RigDef::MeshWheel &def) |
void | ProcessMeshWheel2 (RigDef::MeshWheel2 &def) |
void | ProcessMinimass (RigDef::Minimass &def) |
void | ProcessNode (RigDef::Node &def) |
void | ProcessParticle (RigDef::Particle &def) |
void | ProcessPistonprop (RigDef::Pistonprop &def) |
void | ProcessProp (RigDef::Prop &def) |
Resource group override is used with addonparts. More... | |
void | ProcessRailGroup (RigDef::RailGroup &def) |
void | ProcessRopable (RigDef::Ropable &def) |
void | ProcessRope (RigDef::Rope &def) |
void | ProcessRotator (RigDef::Rotator &def) |
void | ProcessRotator2 (RigDef::Rotator2 &def) |
void | ProcessScrewprop (RigDef::Screwprop &def) |
void | ProcessShock (RigDef::Shock &def) |
void | ProcessShock2 (RigDef::Shock2 &def) |
void | ProcessShock3 (RigDef::Shock3 &def) |
void | ProcessSlidenode (RigDef::SlideNode &def) |
void | ProcessSoundSource (RigDef::SoundSource &def) |
void | ProcessSoundSource2 (RigDef::SoundSource2 &def) |
void | ProcessSpeedLimiter (RigDef::SpeedLimiter &def) |
void | ProcessSubmesh (RigDef::Submesh &def) |
void | ProcessTie (RigDef::Tie &def) |
void | ProcessTorqueCurve (RigDef::TorqueCurve &def) |
void | ProcessTractionControl (RigDef::TractionControl &def) |
void | ProcessTransferCase (RigDef::TransferCase &def) |
void | ProcessTrigger (RigDef::Trigger &def) |
void | ProcessTurbojet (RigDef::Turbojet &def) |
void | ProcessTurboprop2 (RigDef::Turboprop2 &def) |
void | ProcessWheelDetacher (RigDef::WheelDetacher &def) |
void | ProcessWheel (RigDef::Wheel &def) |
void | ProcessWheel2 (RigDef::Wheel2 &def) |
void | ProcessWing (RigDef::Wing &def) |
Actor building functions | |
void | BuildAeroEngine (NodeNum_t ref_node_index, NodeNum_t back_node_index, NodeNum_t blade_1_node_index, NodeNum_t blade_2_node_index, NodeNum_t blade_3_node_index, NodeNum_t blade_4_node_index, NodeNum_t couplenode_index, bool is_turboprops, Ogre::String const &airfoil, float power, float pitch) |
void | _ProcessSimpleInertia (RigDef::Inertia &def, RoR::SimpleInertia &obj) |
void | _ProcessKeyInertia (RigDef::Inertia &inertia, RigDef::Inertia &inertia_defaults, RoR::CmdKeyInertia &contract_key, RoR::CmdKeyInertia &extend_key) |
void | BuildWheelBeams (unsigned int num_rays, NodeNum_t base_node_index, node_t *axis_node_1, node_t *axis_node_2, float tyre_spring, float tyre_damping, float rim_spring, float rim_damping, std::shared_ptr< RigDef::BeamDefaults > beam_defaults, RigDef::Node::Ref const &rigidity_node_id, float max_extension=0.f) |
'wheels', 'meshwheels' More... | |
unsigned int | AddWheelBeam (node_t *node_1, node_t *node_2, float spring, float damping, std::shared_ptr< RigDef::BeamDefaults > beam_defaults, float max_contraction=-1.f, float max_extension=-1.f, BeamType type=BEAM_NORMAL) |
'wheels', 'meshwheels', 'meshwheels2' More... | |
void | BuildWheelObjectAndNodes (WheelID_t wheel_id, unsigned int num_rays, node_t *axis_node_1, node_t *axis_node_2, node_t *reference_arm_node, unsigned int reserve_nodes, unsigned int reserve_beams, float wheel_radius, RigDef::WheelPropulsion propulsion, RigDef::WheelBraking braking, std::shared_ptr< RigDef::NodeDefaults > node_defaults, float wheel_mass, float wheel_width=-1.f) |
Sets up wheel and builds nodes for sections 'wheels', 'meshwheels' and 'meshwheels2'. More... | |
std::pair< unsigned int, bool > | AddNode (RigDef::Node::Id &id) |
void | InitNode (node_t &node, Ogre::Vector3 const &position) |
void | InitNode (unsigned int node_index, Ogre::Vector3 const &position) |
void | InitNode (node_t &node, Ogre::Vector3 const &position, std::shared_ptr< RigDef::NodeDefaults > node_defaults) |
beam_t & | AddBeam (node_t &node_1, node_t &node_2, std::shared_ptr< RigDef::BeamDefaults > &defaults, int detacher_group) |
unsigned int | AddWheelRimBeam (RigDef::Wheel2 &wheel_2_def, node_t *node_1, node_t *node_2) |
unsigned int | AddTyreBeam (RigDef::Wheel2 &wheel_2_def, node_t *node_1, node_t *node_2) |
unsigned int | _SectionWheels2AddBeam (RigDef::Wheel2 &wheel_2_def, node_t *node_1, node_t *node_2) |
WheelID_t | AddWheel (RigDef::Wheel &wheel) |
WheelID_t | AddWheel2 (RigDef::Wheel2 &wheel_2_def) |
void | GetWheelAxisNodes (RigDef::BaseWheel &def, node_t *&out_node_1, node_t *&out_node_2) |
void | AddExhaust (NodeNum_t emitter_node_idx, NodeNum_t direction_node_idx) |
RailGroup * | CreateRail (std::vector< RigDef::Node::Range > &node_ranges) |
void | InitializeRig () |
void | FinalizeRig () |
Actor building utilities | |
void | CalcMemoryRequirements (ActorMemoryRequirements &req, RigDef::Document::Module *module_def) |
void | UpdateCollcabContacterNodes () |
wheel_t::BrakeCombo | TranslateBrakingDef (RigDef::WheelBraking def) |
void | WashCalculator () |
void | AdjustNodeBuoyancy (node_t &node, RigDef::Node &node_def, std::shared_ptr< RigDef::NodeDefaults > defaults) |
For user-defined nodes. More... | |
void | AdjustNodeBuoyancy (node_t &node, std::shared_ptr< RigDef::NodeDefaults > defaults) |
For generated nodes. More... | |
void | InitBeam (beam_t &beam, node_t *node_1, node_t *node_2) |
void | CalculateBeamLength (beam_t &beam) |
void | SetBeamStrength (beam_t &beam, float strength) |
void | SetBeamSpring (beam_t &beam, float spring) |
void | SetBeamDamping (beam_t &beam, float damping) |
void | SetBeamDeformationThreshold (beam_t &beam, std::shared_ptr< RigDef::BeamDefaults > beam_defaults) |
void | ValidateRotator (int id, int axis1, int axis2, NodeNum_t *nodes1, NodeNum_t *nodes2) |
std::string | ComposeName (const std::string &object, int number=-1) |
Creates name containing actor ID token, i.e. "Object#1 (filename.truck [Instance ID 1])". More... | |
bool | AssignWheelToAxle (int &_out_axle_wheel, node_t *axis_node_1, node_t *axis_node_2) |
Finds wheel with given axle nodes and returns it's index. More... | |
node_t & | GetFreeNode () |
beam_t & | GetFreeBeam () |
node_t & | GetAndInitFreeNode (Ogre::Vector3 const &position) |
beam_t & | GetAndInitFreeBeam (node_t &node_1, node_t &node_2) |
shock_t & | GetFreeShock () |
float | ComputeWingArea (Ogre::Vector3 const &ref, Ogre::Vector3 const &x, Ogre::Vector3 const &y, Ogre::Vector3 const &aref) |
bool | CollectNodesFromRanges (std::vector< RigDef::Node::Range > &node_ranges, std::vector< NodeNum_t > &out_node_indices) |
Parses list of node-ranges into list of individual nodes. More... | |
Traversal | |
node_t * | GetBeamNodePointer (RigDef::Node::Ref const &node_ref) |
NodeNum_t | FindNodeIndex (RigDef::Node::Ref &node_ref, bool silent=false) |
NodeNum_t | ResolveNodeRef (RigDef::Node::Ref const &node_ref) |
node_t * | GetNodePointer (RigDef::Node::Ref const &node_ref) |
node_t * | GetNodePointerOrThrow (RigDef::Node::Ref const &node_ref) |
beam_t & | GetBeam (unsigned int index) |
beam_t * | FindBeamInRig (NodeNum_t node_a, NodeNum_t node_b) |
NodeNum_t | GetNodeIndexOrThrow (RigDef::Node::Ref const &id) |
Visual setup | |
void | CreateBeamVisuals (beam_t const &beam, int beam_index, bool visible, std::shared_ptr< RigDef::BeamDefaults > const &beam_defaults, std::string material_override="") |
void | CreateWheelSkidmarks (WheelID_t wheel_index) |
void | FinalizeGfxSetup () |
Ogre::MaterialPtr | FindOrCreateCustomizedMaterial (const std::string &mat_lookup_name, const std::string &mat_lookup_rg) |
Ogre::MaterialPtr | CreateSimpleMaterial (Ogre::ColourValue color) |
Ogre::ParticleSystem * | CreateParticleSystem (std::string const &name, std::string const &template_name) |
RigDef::MaterialFlareBinding * | FindFlareBindingForMaterial (std::string const &material_name) |
Returns NULL if none found. More... | |
RigDef::VideoCamera * | FindVideoCameraByMaterial (std::string const &material_name) |
Returns NULL if none found. More... | |
void | CreateVideoCamera (RigDef::VideoCamera *def) |
void | CreateMirrorPropVideoCam (Ogre::MaterialPtr custom_mat, CustomMaterial::MirrorPropType type, Ogre::SceneNode *prop_scenenode) |
void | SetupNewEntity (Ogre::Entity *e, Ogre::ColourValue simple_color) |
Full texture and material setup. More... | |
Ogre::MaterialPtr | InstantiateManagedMaterial (Ogre::String const &rg_name, Ogre::String const &source_name, Ogre::String const &clone_name) |
void | CreateCabVisual () |
void | CreateMaterialFlare (int flare_index, Ogre::MaterialPtr mat) |
std::string | GetCurrentElementMediaRG () |
Where to load media from (the addonpart's bundle or vehicle's bundle?) More... | |
void | AssignManagedMaterialTexture (Ogre::TextureUnitState *tus, const std::string &mm_name, int media_id, const std::string &tex_name) |
Helper for ProcessManagedMaterial() More... | |
void | CreateWheelVisuals (WheelID_t wheel_id, NodeNum_t node_base_index, unsigned int def_num_rays, Ogre::String const &face_material_name, Ogre::String const &face_material_rg, Ogre::String const &band_material_name, Ogre::String const &band_material_rg, bool separate_rim, float rim_ratio=1.f) |
void | CreateFlexBodyWheelVisuals (WheelID_t wheel_id, NodeNum_t node_base_index, NodeNum_t axis_node_1, NodeNum_t axis_node_2, int num_rays, float radius, WheelSide side, std::string rim_mesh_name, std::string rim_mesh_rg, std::string tire_mesh_name, std::string tire_mesh_rg) |
void | CreateMeshWheelVisuals (WheelID_t wheel_id, NodeNum_t base_node_index, NodeNum_t axis_node_1_index, NodeNum_t axis_node_2_index, unsigned int num_rays, WheelSide side, Ogre::String mesh_name, Ogre::String mesh_rg, Ogre::String material_name, Ogre::String material_rg, float rim_radius) |
void | AddMessage (Message type, Ogre::String const &text) |
Maintenance. More... | |
void | SetCurrentKeyword (RigDef::Keyword keyword) |
void | HandleException () |
Static Private Member Functions | |
Audio setup | |
static void | AddSoundSource (ActorPtr const &vehicle, SoundScriptInstancePtr sound_script, NodeNum_t node_index, int type=-2) |
static void | AddSoundSourceInstance (ActorPtr const &vehicle, Ogre::String const &sound_script_name, int node_index, int type=-2) |
Private Attributes | |
Settings | |
ActorPtr | m_actor |
RigDef::DocumentPtr | m_file |
std::list< std::shared_ptr< RigDef::Document::Module > > | m_selected_modules |
Ogre::Vector3 | m_spawn_position |
bool | m_apply_simple_materials |
std::string | m_custom_resource_group |
bool | m_generate_wing_position_lights |
ActorMemoryRequirements | m_memory_requirements |
State | |
ActorSpawnState | m_state |
std::string | m_cab_material_name |
Original name defined in truckfile/globals. More... | |
std::string | m_help_material_name |
float | m_wing_area |
int | m_airplane_left_light |
int | m_airplane_right_light |
float | m_fuse_z_min |
float | m_fuse_z_max |
float | m_fuse_y_min |
float | m_fuse_y_max |
int | m_first_wing_index |
std::vector< CabTexcoord > | m_oldstyle_cab_texcoords |
std::vector< CabSubmesh > | m_oldstyle_cab_submeshes |
RigDef::Keyword | m_current_keyword = RigDef::Keyword::INVALID |
For error reports. More... | |
std::shared_ptr< RigDef::Document::Module > | m_current_module |
For resolving addonparts. More... | |
std::map< Ogre::String, unsigned int > | m_named_nodes |
Visuals | |
RoR::FlexFactory | m_flex_factory |
std::map< std::string, CustomMaterial > | m_material_substitutions |
Maps original material names (shared) to their actor-specific substitutes; There's 1 substitute per 1 material, regardless of user count. More... | |
std::map< std::string, Ogre::MaterialPtr > | m_managed_materials |
Ogre::MaterialPtr | m_managedmat_placeholder_template |
An 'error marker' material (bright magenta) to generate managedmaterial placeholders from. More... | |
Ogre::MaterialPtr | m_cab_trans_material |
Ogre::MaterialPtr | m_simple_material_base |
RoR::Renderdash * | m_oldstyle_renderdash |
CustomMaterial::MirrorPropType | m_curr_mirror_prop_type |
Ogre::SceneNode * | m_curr_mirror_prop_scenenode |
Ogre::SceneNode * | m_actor_grouping_scenenode = nullptr |
Topmost common parent; this isn't used for moving things, just helps developers inspect the scene graph. More... | |
Ogre::SceneNode * | m_wheels_parent_scenenode = nullptr |
this isn't used for moving/hiding things, just helps developers inspect the scene graph. More... | |
Ogre::SceneNode * | m_props_parent_scenenode = nullptr |
this isn't used for moving/hiding things, just helps developers inspect the scene graph. More... | |
Ogre::SceneNode * | m_flexbodies_parent_scenenode = nullptr |
this isn't used for moving/hiding things, just helps developers inspect the scene graph. More... | |
Ogre::SceneNode * | m_flares_parent_scenenode = nullptr |
this isn't used for moving/hiding things, just helps developers inspect the scene graph. More... | |
Ogre::SceneNode * | m_particles_parent_scenenode = nullptr |
this isn't used for moving/hiding things, just helps developers inspect the scene graph. More... | |
Friends | |
class | RoR::FlexFactory |
Processing | |
void | ConfigureSections (Ogre::String const §ionconfig, RigDef::DocumentPtr def) |
void | ConfigureAddonParts (TuneupDefPtr &tuneup_def) |
void | ConfigureAssetPacks (ActorPtr actor, RigDef::DocumentPtr def) |
void | ProcessNewActor (ActorPtr actor, ActorSpawnRequest rq, RigDef::DocumentPtr def) |
static void | SetupDefaultSoundSources (ActorPtr const &actor) |
Limit checks | |
bool | CheckParticleLimit (unsigned int count) |
bool | CheckAxleLimit (unsigned int count) |
bool | CheckSubmeshLimit (unsigned int count) |
bool | CheckTexcoordLimit (unsigned int count) |
bool | CheckCabLimit (unsigned int count) |
bool | CheckCameraRailLimit (unsigned int count) |
bool | CheckAeroEngineLimit (unsigned int count) |
bool | CheckScrewpropLimit (unsigned int count) |
static bool | CheckSoundScriptLimit (ActorPtr const &vehicle, unsigned int count) |
Processes a RigDef::Document (parsed from 'truck' file format) into a simulated gameplay object (Actor).
HISTORY:
Before v0.4.5, truckfiles were parsed&spawned on-the-fly: RoR's simulation used data structures with arrays of pre-defined sizes (i.e. MAX_NODES, MAX_BEAMS, MAX_* ...) and the spawner (class SerializedRig
) wrote directly into them while reading data from the truckfile. Gfx elements were also created immediately. As a result, the logic was chaotic: some features broke each other (most notably VideoCameras X MaterialFlares X SkinZips) and the sim. structs often contained parser context variables. Also, the whole system was extremely sensitive to order of definitions in truckfile - often [badly/not] documented, known only by forum/IRC users at the time.
Since v0.4.5, RoR has RigDef::Parser
which reads truckfile and emits instance of RigDef::Document
- all data from truckfile in memory. RigDef::Document
doesn't preserve the order of definitions, instead it's designed to resolve all order-dependent references to order-independent, see RigDef::SequentialImporter
(resources/rig_def_fileformat/RigDef_SequentialImporter.h) for more info. ActorSpawner
was created by carefully refactoring old SerializedRig
described above, so a lot of the dirty logic remained. Elements were still written into constant-size arrays.
PRESENT (06/2017):
RoR is being refactored to get rid of the MAX_[BEAMS/NODES/***] limits. Static arrays in rig_t
are replaced with pointers to dynamically allocated memory. Memory requirements are calculated upfront from RigDef::Document
.
CONVENTIONS:
Definition at line 70 of file ActorSpawner.h.
|
strong |
Enumerator | |
---|---|
TYPE_INFO | |
TYPE_WARNING | |
TYPE_ERROR |
Definition at line 88 of file ActorSpawner.h.
|
private |
Definition at line 3557 of file ActorSpawner.cpp.
|
private |
Definition at line 3532 of file ActorSpawner.cpp.
|
private |
Definition at line 5265 of file ActorSpawner.cpp.
|
private |
Definition at line 3872 of file ActorSpawner.cpp.
Definition at line 6018 of file ActorSpawner.cpp.
|
private |
Maintenance.
Definition at line 5754 of file ActorSpawner.cpp.
|
private |
Definition at line 5849 of file ActorSpawner.cpp.
|
staticprivate |
Definition at line 1186 of file ActorSpawner.cpp.
|
staticprivate |
Definition at line 1179 of file ActorSpawner.cpp.
|
private |
Definition at line 5253 of file ActorSpawner.cpp.
|
private |
Definition at line 4819 of file ActorSpawner.cpp.
|
private |
Definition at line 4882 of file ActorSpawner.cpp.
|
private |
'wheels', 'meshwheels', 'meshwheels2'
Definition at line 5217 of file ActorSpawner.cpp.
|
private |
Definition at line 5244 of file ActorSpawner.cpp.
|
private |
For user-defined nodes.
Definition at line 4751 of file ActorSpawner.cpp.
|
private |
For generated nodes.
Definition at line 4757 of file ActorSpawner.cpp.
|
private |
Helper for ProcessManagedMaterial()
Definition at line 7415 of file ActorSpawner.cpp.
|
private |
Finds wheel with given axle nodes and returns it's index.
_out_axle_wheel | Index of the found wheel. |
Definition at line 2637 of file ActorSpawner.cpp.
|
private |
Definition at line 773 of file ActorSpawner.cpp.
|
private |
'wheels', 'meshwheels'
Definition at line 4762 of file ActorSpawner.cpp.
|
private |
Sets up wheel and builds nodes for sections 'wheels', 'meshwheels' and 'meshwheels2'.
wheel_width | Width of the wheel (used in section 'wheels'). Use negative value to calculate width from axis beam. |
Definition at line 4668 of file ActorSpawner.cpp.
|
private |
Definition at line 154 of file ActorSpawner.cpp.
|
private |
|
private |
|
private |
Definition at line 6141 of file ActorSpawner.cpp.
|
private |
Definition at line 6190 of file ActorSpawner.cpp.
|
private |
Definition at line 6202 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 6226 of file ActorSpawner.cpp.
|
staticprivate |
|
private |
Definition at line 6153 of file ActorSpawner.cpp.
|
private |
Definition at line 6165 of file ActorSpawner.cpp.
|
private |
Parses list of node-ranges into list of individual nodes.
Definition at line 3063 of file ActorSpawner.cpp.
|
private |
Creates name containing actor ID token, i.e. "Object#1 (filename.truck [Instance ID 1])".
Definition at line 699 of file ActorSpawner.cpp.
|
private |
void ActorSpawner::ConfigureAddonParts | ( | TuneupDefPtr & | tuneup_def | ) |
Definition at line 109 of file ActorSpawner.cpp.
void ActorSpawner::ConfigureAssetPacks | ( | ActorPtr | actor, |
RigDef::DocumentPtr | def | ||
) |
Definition at line 143 of file ActorSpawner.cpp.
void ActorSpawner::ConfigureSections | ( | Ogre::String const & | sectionconfig, |
RigDef::DocumentPtr | def | ||
) |
Definition at line 90 of file ActorSpawner.cpp.
|
private |
Definition at line 5682 of file ActorSpawner.cpp.
|
private |
Definition at line 7263 of file ActorSpawner.cpp.
|
private |
Definition at line 5152 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 4620 of file ActorSpawner.cpp.
|
private |
Definition at line 7153 of file ActorSpawner.cpp.
|
private |
Definition at line 7247 of file ActorSpawner.cpp.
|
private |
Definition at line 3123 of file ActorSpawner.cpp.
|
private |
Definition at line 6707 of file ActorSpawner.cpp.
|
private |
Definition at line 7018 of file ActorSpawner.cpp.
|
private |
Definition at line 4875 of file ActorSpawner.cpp.
|
private |
rim_ratio | Percentual size of the rim. |
Definition at line 5104 of file ActorSpawner.cpp.
|
private |
Definition at line 6776 of file ActorSpawner.cpp.
|
private |
Definition at line 410 of file ActorSpawner.cpp.
Definition at line 3169 of file ActorSpawner.cpp.
|
private |
Returns NULL if none found.
Definition at line 6480 of file ActorSpawner.cpp.
|
private |
Definition at line 3051 of file ActorSpawner.cpp.
|
private |
Definition at line 6511 of file ActorSpawner.cpp.
|
private |
Returns NULL if none found.
Definition at line 6495 of file ActorSpawner.cpp.
|
inline |
Definition at line 6270 of file ActorSpawner.cpp.
|
private |
Definition at line 6278 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 5496 of file ActorSpawner.cpp.
|
private |
Where to load media from (the addonpart's bundle or vehicle's bundle?)
Definition at line 7400 of file ActorSpawner.cpp.
|
private |
|
private |
|
private |
|
inline |
|
private |
Definition at line 5464 of file ActorSpawner.cpp.
|
private |
Definition at line 5824 of file ActorSpawner.cpp.
|
private |
Definition at line 5837 of file ActorSpawner.cpp.
std::string ActorSpawner::GetSubmeshGroundmodelName | ( | ) |
|
private |
Definition at line 4481 of file ActorSpawner.cpp.
|
private |
Definition at line 5745 of file ActorSpawner.cpp.
|
private |
Definition at line 252 of file ActorSpawner.cpp.
|
private |
|
private |
|
private |
|
private |
Definition at line 2361 of file ActorSpawner.cpp.
|
private |
Definition at line 875 of file ActorSpawner.cpp.
|
private |
Definition at line 3714 of file ActorSpawner.cpp.
|
private |
Definition at line 5333 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 2653 of file ActorSpawner.cpp.
|
private |
Definition at line 5506 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 5476 of file ActorSpawner.cpp.
|
private |
Definition at line 1216 of file ActorSpawner.cpp.
|
private |
Definition at line 6052 of file ActorSpawner.cpp.
|
private |
Definition at line 2604 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 3613 of file ActorSpawner.cpp.
|
private |
Definition at line 3447 of file ActorSpawner.cpp.
|
private |
|
private |
|
private |
Definition at line 5417 of file ActorSpawner.cpp.
|
private |
Definition at line 5387 of file ActorSpawner.cpp.
|
private |
Definition at line 5375 of file ActorSpawner.cpp.
|
private |
Definition at line 1278 of file ActorSpawner.cpp.
|
private |
Definition at line 1231 of file ActorSpawner.cpp.
|
private |
Definition at line 1272 of file ActorSpawner.cpp.
|
private |
Definition at line 2126 of file ActorSpawner.cpp.
|
private |
Definition at line 2115 of file ActorSpawner.cpp.
|
private |
Definition at line 1516 of file ActorSpawner.cpp.
|
private |
Definition at line 4199 of file ActorSpawner.cpp.
|
private |
Definition at line 735 of file ActorSpawner.cpp.
|
private |
Definition at line 6101 of file ActorSpawner.cpp.
|
private |
Definition at line 1240 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 3187 of file ActorSpawner.cpp.
|
private |
Definition at line 3902 of file ActorSpawner.cpp.
|
private |
Definition at line 2719 of file ActorSpawner.cpp.
|
private |
Definition at line 3257 of file ActorSpawner.cpp.
|
private |
Definition at line 2375 of file ActorSpawner.cpp.
|
private |
Definition at line 4499 of file ActorSpawner.cpp.
|
private |
Definition at line 4555 of file ActorSpawner.cpp.
|
private |
void ActorSpawner::ProcessNewActor | ( | ActorPtr | actor, |
ActorSpawnRequest | rq, | ||
RigDef::DocumentPtr | def | ||
) |
Definition at line 59 of file ActorSpawnerFlow.cpp.
|
private |
Definition at line 5893 of file ActorSpawner.cpp.
|
private |
Definition at line 2857 of file ActorSpawner.cpp.
|
private |
Definition at line 854 of file ActorSpawner.cpp.
|
private |
Resource group override is used with addonparts.
Definition at line 1586 of file ActorSpawner.cpp.
|
private |
Definition at line 2971 of file ActorSpawner.cpp.
|
private |
Definition at line 2894 of file ActorSpawner.cpp.
|
private |
Definition at line 2944 of file ActorSpawner.cpp.
|
private |
Definition at line 3453 of file ActorSpawner.cpp.
|
private |
Definition at line 3489 of file ActorSpawner.cpp.
|
private |
Definition at line 717 of file ActorSpawner.cpp.
|
private |
Definition at line 4143 of file ActorSpawner.cpp.
|
private |
Definition at line 4062 of file ActorSpawner.cpp.
|
private |
Definition at line 3984 of file ActorSpawner.cpp.
|
private |
Definition at line 2978 of file ActorSpawner.cpp.
|
private |
Definition at line 1204 of file ActorSpawner.cpp.
|
private |
Definition at line 1162 of file ActorSpawner.cpp.
|
private |
|
private |
Definition at line 1334 of file ActorSpawner.cpp.
|
private |
Definition at line 2906 of file ActorSpawner.cpp.
|
private |
Definition at line 2832 of file ActorSpawner.cpp.
|
private |
Definition at line 5300 of file ActorSpawner.cpp.
|
private |
Definition at line 2776 of file ActorSpawner.cpp.
|
private |
Definition at line 3268 of file ActorSpawner.cpp.
|
private |
Definition at line 660 of file ActorSpawner.cpp.
|
private |
Definition at line 828 of file ActorSpawner.cpp.
|
private |
Definition at line 5281 of file ActorSpawner.cpp.
|
private |
Definition at line 5276 of file ActorSpawner.cpp.
|
private |
Definition at line 5286 of file ActorSpawner.cpp.
|
private |
Definition at line 920 of file ActorSpawner.cpp.
|
private |
Definition at line 5785 of file ActorSpawner.cpp.
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
|
static |
Definition at line 6295 of file ActorSpawner.cpp.
|
private |
Full texture and material setup.
Definition at line 6718 of file ActorSpawner.cpp.
|
private |
|
private |
|
private |
Definition at line 6923 of file ActorSpawner.cpp.
|
private |
Definition at line 619 of file ActorSpawner.cpp.
|
friend |
Definition at line 72 of file ActorSpawner.h.
|
private |
Definition at line 455 of file ActorSpawner.h.
|
private |
Topmost common parent; this isn't used for moving things, just helps developers inspect the scene graph.
Definition at line 498 of file ActorSpawner.h.
|
private |
Definition at line 472 of file ActorSpawner.h.
|
private |
Definition at line 473 of file ActorSpawner.h.
|
private |
Definition at line 460 of file ActorSpawner.h.
|
private |
Original name defined in truckfile/globals.
Definition at line 469 of file ActorSpawner.h.
|
private |
Definition at line 492 of file ActorSpawner.h.
|
private |
Definition at line 496 of file ActorSpawner.h.
|
private |
Definition at line 495 of file ActorSpawner.h.
|
private |
For error reports.
Definition at line 481 of file ActorSpawner.h.
|
private |
For resolving addonparts.
Definition at line 482 of file ActorSpawner.h.
|
private |
Definition at line 461 of file ActorSpawner.h.
|
private |
Definition at line 456 of file ActorSpawner.h.
|
private |
Definition at line 478 of file ActorSpawner.h.
|
private |
this isn't used for moving/hiding things, just helps developers inspect the scene graph.
Definition at line 502 of file ActorSpawner.h.
|
private |
Definition at line 488 of file ActorSpawner.h.
|
private |
this isn't used for moving/hiding things, just helps developers inspect the scene graph.
Definition at line 501 of file ActorSpawner.h.
|
private |
Definition at line 477 of file ActorSpawner.h.
|
private |
Definition at line 476 of file ActorSpawner.h.
|
private |
Definition at line 475 of file ActorSpawner.h.
|
private |
Definition at line 474 of file ActorSpawner.h.
|
private |
Definition at line 462 of file ActorSpawner.h.
|
private |
Definition at line 470 of file ActorSpawner.h.
|
private |
Definition at line 490 of file ActorSpawner.h.
|
private |
An 'error marker' material (bright magenta) to generate managedmaterial placeholders from.
Definition at line 491 of file ActorSpawner.h.
|
private |
Maps original material names (shared) to their actor-specific substitutes; There's 1 substitute per 1 material, regardless of user count.
Definition at line 489 of file ActorSpawner.h.
|
private |
Definition at line 463 of file ActorSpawner.h.
|
private |
Definition at line 483 of file ActorSpawner.h.
|
private |
Definition at line 480 of file ActorSpawner.h.
|
private |
Definition at line 479 of file ActorSpawner.h.
|
private |
Definition at line 494 of file ActorSpawner.h.
|
private |
this isn't used for moving/hiding things, just helps developers inspect the scene graph.
Definition at line 503 of file ActorSpawner.h.
|
private |
this isn't used for moving/hiding things, just helps developers inspect the scene graph.
Definition at line 500 of file ActorSpawner.h.
|
private |
Definition at line 458 of file ActorSpawner.h.
|
private |
Definition at line 493 of file ActorSpawner.h.
|
private |
Definition at line 459 of file ActorSpawner.h.
|
private |
Definition at line 468 of file ActorSpawner.h.
|
private |
this isn't used for moving/hiding things, just helps developers inspect the scene graph.
Definition at line 499 of file ActorSpawner.h.
|
private |
Definition at line 471 of file ActorSpawner.h.