![Logo](../../rorlogo.png) |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
29 #include <OgreResourceManager.h>
33 #include <unordered_set>
92 void Log(
const std::string& text);
99 std::shared_ptr<RigDef::Document::Module>
m_module;
void ResolveUnwantedAndTweakedElements(TuneupDefPtr &tuneup, CacheEntryPtr &addonpart_entry)
Evaluates 'addonpart_unwanted_*' elements, respecting 'protected_*' directives in the tuneup.
std::shared_ptr< RigDef::Document::Module > m_module
GenericDocumentPtr m_document
void ProcessUnwantedFlare()
void ProcessUnwantedExhaust()
GenericDocContextPtr m_context
void ProcessUnwantedManagedMat()
std::shared_ptr< RigDef::Document::Module > TransformToRigDefModule(CacheEntryPtr &addonpart_entry)
transforms the addonpart to RigDef::File::Module (fake 'section/end_section') used for spawning.
std::vector< AddonPartConflict > AddonPartConflictVec
void ProcessManagedMaterial()
CacheEntryPtr atc_addonpart2
void ProcessDirectiveSetManagedMaterialsOptions()
void ProcessUnwantedProp()
static void ResetUnwantedAndTweakedElements(TuneupDefPtr &tuneup)
static void RecordAddonpartConflicts(CacheEntryPtr addonpart1, CacheEntryPtr addonpart2, AddonPartConflictVec &conflicts)
CacheEntryPtr m_addonpart_entry
Central state/object manager and communications hub.
< Conflict between two addonparts tweaking the same element
static bool DoubleCheckForAddonpartConflict(ActorPtr target_actor, CacheEntryPtr addonpart_entry)
void Log(const std::string &text)
void ProcessTweakFlexbody()
static bool CheckForAddonpartConflict(CacheEntryPtr addonpart1, CacheEntryPtr addonpart2, AddonPartConflictVec &conflicts)
RigDef::ManagedMaterialsOptions m_managedmaterials_options
void ProcessUnwantedFlexbody()
AddonPartUtility(bool silent_mode=false)
NOTE: Modcache processes this format directly using RoR::GenericDocument, see RoR::CacheSystem::FillA...
CacheEntryPtr atc_addonpart1
Data structures representing 'truck' file format, see https://docs.rigsofrods.org/vehicle-creation/fi...
void ProcessTweakManagedMat()