RigsofRods
Soft-body Physics Simulation
|
#include <TuneupFileFormat.h>
Public Member Functions | |
TuneupDefPtr | clone () |
void | reset () |
Protection helpers | |
bool | isPropProtected (PropID_t propid) |
bool | isFlexbodyProtected (FlexbodyID_t flexbodyid) |
bool | isWheelProtected (int wheelid) const |
bool | isNodeProtected (NodeNum_t nodenum) const |
Unwanted-state helpers | |
bool | isPropUnwanted (PropID_t propid) |
bool | isFlexbodyUnwanted (FlexbodyID_t flexbodyid) |
Forced-state helpers | |
bool | isPropForceRemoved (PropID_t propid) |
bool | isFlexbodyForceRemoved (FlexbodyID_t flexbodyid) |
bool | isWheelSideForced (WheelID_t wheelid, WheelSide &out_val) const |
Public Member Functions inherited from RefCountingObject< TuneupDef > | |
RefCountingObject () | |
virtual | ~RefCountingObject () |
void | AddRef () |
void | Release () |
Data Fields | |
General info | |
std::string | name |
std::string | guid |
std::string | thumbnail |
std::string | description |
std::string | author_name |
int | author_id = -1 |
CacheCategoryId | category_id = CID_None |
Addonparts and extracted data | |
std::set< std::string > | use_addonparts |
Addonpart filenames. More... | |
std::map< NodeNum_t, TuneupNodeTweak > | node_tweaks |
Node position overrides via 'addonpart_tweak_node'. More... | |
std::map< WheelID_t, TuneupWheelTweak > | wheel_tweaks |
Mesh name and radius overrides via 'addonpart_tweak_wheel'. More... | |
std::map< PropID_t, TuneupPropTweak > | prop_tweaks |
Mesh name(s), offset and rotation overrides via 'addonpart_tweak_prop'. More... | |
std::map< FlexbodyID_t, TuneupFlexbodyTweak > | flexbody_tweaks |
Mesh name, offset and rotation overrides via 'addonpart_tweak_flexbody'. More... | |
std::set< PropID_t > | unwanted_props |
'addonpart_unwanted_prop' directives. More... | |
std::set< FlexbodyID_t > | unwanted_flexbodies |
'addonpart_unwanted_flexbody' directives. More... | |
UI-controlled forced changes (override addonparts) | |
std::set< PropID_t > | force_remove_props |
UI overrides. More... | |
std::set< FlexbodyID_t > | force_remove_flexbodies |
UI overrides. More... | |
std::map< WheelID_t, WheelSide > | force_wheel_sides |
UI overrides. More... | |
UI-controlled protection from addonpart tweaks | |
std::set< NodeNum_t > | protected_nodes |
Nodes that cannot be altered via 'addonpart_tweak_node'. More... | |
std::set< WheelID_t > | protected_wheels |
Wheels that cannot be altered via 'addonpart_tweak_wheel'. More... | |
std::set< PropID_t > | protected_props |
Props which cannot be altered via 'addonpart_tweak_prop' or 'addonpart_remove_prop' directive. More... | |
std::set< FlexbodyID_t > | protected_flexbodies |
Flexbodies which cannot be removed via 'addonpart_tweak_flexbody' or 'addonpart_remove_flexbody' directive. More... | |
Data Fields inherited from RefCountingObject< TuneupDef > | |
int | m_refcount |
std::mutex | m_refcount_mtx |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountingObject< TuneupDef > | |
static void | RegisterRefCountingObject (AS_NAMESPACE_QUALIFIER asIScriptEngine *engine, const char *name) |
Definition at line 82 of file TuneupFileFormat.h.
TuneupDefPtr TuneupDef::clone | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 130 of file TuneupFileFormat.h.
|
inline |
|
inline |
|
inline |
|
inline |
void TuneupDef::reset | ( | ) |
Definition at line 78 of file TuneupFileFormat.cpp.
int RoR::TuneupDef::author_id = -1 |
Definition at line 91 of file TuneupFileFormat.h.
std::string RoR::TuneupDef::author_name |
Definition at line 90 of file TuneupFileFormat.h.
CacheCategoryId RoR::TuneupDef::category_id = CID_None |
Definition at line 92 of file TuneupFileFormat.h.
std::string RoR::TuneupDef::description |
Definition at line 89 of file TuneupFileFormat.h.
std::map<FlexbodyID_t, TuneupFlexbodyTweak> RoR::TuneupDef::flexbody_tweaks |
Mesh name, offset and rotation overrides via 'addonpart_tweak_flexbody'.
Definition at line 102 of file TuneupFileFormat.h.
std::set<FlexbodyID_t> RoR::TuneupDef::force_remove_flexbodies |
UI overrides.
Definition at line 110 of file TuneupFileFormat.h.
UI overrides.
Definition at line 109 of file TuneupFileFormat.h.
UI overrides.
Definition at line 111 of file TuneupFileFormat.h.
std::string RoR::TuneupDef::guid |
Definition at line 87 of file TuneupFileFormat.h.
std::string RoR::TuneupDef::name |
Definition at line 86 of file TuneupFileFormat.h.
std::map<NodeNum_t, TuneupNodeTweak> RoR::TuneupDef::node_tweaks |
Node position overrides via 'addonpart_tweak_node'.
Definition at line 99 of file TuneupFileFormat.h.
std::map<PropID_t, TuneupPropTweak> RoR::TuneupDef::prop_tweaks |
Mesh name(s), offset and rotation overrides via 'addonpart_tweak_prop'.
Definition at line 101 of file TuneupFileFormat.h.
std::set<FlexbodyID_t> RoR::TuneupDef::protected_flexbodies |
Flexbodies which cannot be removed via 'addonpart_tweak_flexbody' or 'addonpart_remove_flexbody' directive.
Definition at line 119 of file TuneupFileFormat.h.
Nodes that cannot be altered via 'addonpart_tweak_node'.
Definition at line 116 of file TuneupFileFormat.h.
Props which cannot be altered via 'addonpart_tweak_prop' or 'addonpart_remove_prop' directive.
Definition at line 118 of file TuneupFileFormat.h.
Wheels that cannot be altered via 'addonpart_tweak_wheel'.
Definition at line 117 of file TuneupFileFormat.h.
std::string RoR::TuneupDef::thumbnail |
Definition at line 88 of file TuneupFileFormat.h.
std::set<FlexbodyID_t> RoR::TuneupDef::unwanted_flexbodies |
'addonpart_unwanted_flexbody' directives.
Definition at line 104 of file TuneupFileFormat.h.
'addonpart_unwanted_prop' directives.
Definition at line 103 of file TuneupFileFormat.h.
std::set<std::string> RoR::TuneupDef::use_addonparts |
Addonpart filenames.
Definition at line 97 of file TuneupFileFormat.h.
std::map<WheelID_t, TuneupWheelTweak> RoR::TuneupDef::wheel_tweaks |
Mesh name and radius overrides via 'addonpart_tweak_wheel'.
Definition at line 100 of file TuneupFileFormat.h.