RigsofRods  2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
RigDef_File.h
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2024 Petr Ohlidal
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
40 #pragma once
41 
42 #include "Application.h"
43 #include "BitFlags.h"
44 #include "RigDef_Node.h"
45 #include "SimConstants.h"
46 
47 #include <list>
48 #include <memory>
49 #include <vector>
50 #include <string>
51 #include <OgreString.h>
52 #include <OgreVector3.h>
53 #include <OgreStringConverter.h>
54 
55 namespace RigDef {
56 
57 extern const char* ROOT_MODULE_NAME;
58 
59 // --------------------------------
60 // Enums which only carry value
61 
62 enum class SpecialProp
63 {
64  NONE,
73  BEACON,
74  REDBEACON,
75  LIGHTBAR,
76 };
77 
79 {
80  INVALID,
85 };
86 
87 // --------------------------------
88 // Enums which specify option letters/numbers and also carry value
89 
90 enum class EngineType
91 {
92  c_CAR = 'c',
93  e_ECAR = 'e',
94  t_TRUCK = 't',
95 };
96 
97 enum class DifferentialType: char
98 {
99  o_OPEN = 'o',
100  l_LOCKED = 'l',
101  s_SPLIT = 's',
102  v_VISCOUS = 'v'
103 };
104 
105 typedef std::vector<DifferentialType> DifferentialTypeVec;
106 
107 enum class MinimassOption: char
108 {
109  n_DUMMY = 'n',
110  l_SKIP_LOADED = 'l'
111 };
112 
113 enum class WingControlSurface: char
114 {
115  n_NONE = 'n',
116  a_RIGHT_AILERON = 'a',
117  b_LEFT_AILERON = 'b',
118  f_FLAP = 'f',
119  e_ELEVATOR = 'e',
120  r_RUDDER = 'r',
123  c_RIGHT_ELEVON = 'c',
124  d_LEFT_ELEVON = 'd',
125  g_RIGHT_FLAPERON = 'g',
126  h_LEFT_FLAPERON = 'h',
127  U_RIGHT_HAND_TAILERON = 'U',
128  V_LEFT_HAND_TAILERON = 'V',
129  i_RIGHT_RUDDERVATOR = 'i',
130  j_LEFT_RUDDERVATOR = 'j',
131 };
132 
133 // --------------------------------
134 // Enums which only specify flag letters, values are carried by bit masks
135 
136 enum class TieOption: char
137 {
138  n_DUMMY = 'n',
139  v_DUMMY = 'v',
140  i_INVISIBLE = 'i',
141  s_NO_SELF_LOCK = 's',
142 };
143 
144 enum class CabOption: char
145 {
146  n_DUMMY = 'n',
147  c_CONTACT = 'c',
148  b_BUOYANT = 'b',
149  p_10xTOUGHER = 'p',
150  u_INVULNERABLE = 'u',
151  s_BUOYANT_NO_DRAG = 's',
152  r_BUOYANT_ONLY_DRAG = 'r',
153  D_CONTACT_BUOYANT = 'D',
154  F_10xTOUGHER_BUOYANT = 'F',
156 };
157 
158 enum class TriggerOption: char
159 {
160  i_INVISIBLE = 'i',
161  c_COMMAND_STYLE = 'c',
162  x_START_DISABLED = 'x',
163  b_KEY_BLOCKER = 'b',
164  B_TRIGGER_BLOCKER = 'B',
165  A_INV_TRIGGER_BLOCKER = 'A',
166  s_CMD_NUM_SWITCH = 's',
167  h_UNLOCKS_HOOK_GROUP = 'h',
168  H_LOCKS_HOOK_GROUP = 'H',
169  t_CONTINUOUS = 't',
170  E_ENGINE_TRIGGER = 'E',
171 };
172 
173 enum class BeamOption: char
174 {
175  v_DUMMY = 'v',
176  i_INVISIBLE = 'i',
177  r_ROPE = 'r',
178  s_SUPPORT = 's',
179 };
180 
181 enum class HydroOption: char
182 {
183  n_INPUT_NORMAL = 'n',
184  j_INVISIBLE = 'j',
186  // Useful for trucks
188  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
189  a_INPUT_AILERON = 'a',
190  r_INPUT_RUDDER = 'r',
191  e_INPUT_ELEVATOR = 'e',
198 };
199 
200 enum class ShockOption: char
201 {
202  n_DUMMY = 'n',
203  v_DUMMY = 'v',
204  i_INVISIBLE = 'i',
205  L_ACTIVE_LEFT = 'L',
206  R_ACTIVE_RIGHT = 'R',
207  m_METRIC = 'm',
208 };
209 
210 enum class Shock2Option: char
211 {
212  n_DUMMY = 'n',
213  v_DUMMY = 'v',
214  i_INVISIBLE = 'i',
215  s_SOFT_BUMP_BOUNDS = 's',
216  m_METRIC = 'm',
217  M_ABSOLUTE_METRIC = 'M',
218 };
219 
220 enum class Shock3Option: char
221 {
222  n_DUMMY = 'n',
223  v_DUMMY = 'v',
224  i_INVISIBLE = 'i',
225  m_METRIC = 'm',
226  M_ABSOLUTE_METRIC = 'M',
227 };
228 
229 enum class NodeOption: char
230 {
231  n_DUMMY = 'n',
232  m_NO_MOUSE_GRAB = 'm',
233  f_NO_SPARKS = 'f',
234  x_EXHAUST_POINT = 'x',
235  y_EXHAUST_DIRECTION = 'y',
236  c_NO_GROUND_CONTACT = 'c',
237  h_HOOK_POINT = 'h',
238  e_TERRAIN_EDIT_POINT = 'e',
239  b_EXTRA_BUOYANCY = 'b',
240  p_NO_PARTICLES = 'p',
241  L_LOG = 'L',
242  l_LOAD_WEIGHT = 'l',
243 };
244 
245 // --------------------------------
246 // Shared/helper rig definition data
247 
248 struct AeroAnimator // used by Animator
249 {
250  static const BitMask_t OPTION_THROTTLE = BITMASK(1);
251  static const BitMask_t OPTION_RPM = BITMASK(2);
252  static const BitMask_t OPTION_TORQUE = BITMASK(3);
253  static const BitMask_t OPTION_PITCH = BITMASK(4);
254  static const BitMask_t OPTION_STATUS = BITMASK(5);
255 
257  unsigned int engine_idx = 0u;
258 };
259 
260 struct Assetpack
261 {
262  std::string filename;
263 };
264 
265 struct BaseWheel
266 {
267  float width = 0.f;
268  unsigned int num_rays = 0u;
274  float mass = 0.f;
275  std::shared_ptr<NodeDefaults> node_defaults;
276  std::shared_ptr<BeamDefaults> beam_defaults;
277 };
278 
279 struct BaseMeshWheel: public BaseWheel // common to 'meshwheels' and 'meshwheels2'
280 {
282  Ogre::String mesh_name;
283  Ogre::String material_name;
284  float rim_radius = 0.f;
285  float tyre_radius = 0.f;
286  float spring;
287  float damping;
288 };
289 
290 struct BaseWheel2: public BaseWheel // common to 'wheels2' and 'flexbodywheels'
291 {
292  float rim_radius = 0.f;
293  float tyre_radius = 0.f;
294  float tyre_springiness = 0.f;
295  float tyre_damping = 0.f;
296 };
297 
298 struct Inertia
299 {
303  {}
304 
307  Ogre::String start_function;
308  Ogre::String stop_function;
309 };
310 
311 struct DocComment
312 {
313  std::string comment_text;
314  // The item following after the comment.
316  int commented_datapos = -1;
317 };
318 
319 // --------------------------------
320 // Rig definition data for individual elements
321 
322 struct Airbrake
323 {
324  Airbrake();
325 
330  Ogre::Vector3 offset;
331  float width;
332  float height;
334  float texcoord_x1;
335  float texcoord_x2;
336  float texcoord_y1;
337  float texcoord_y2;
339 };
340 
341 struct Animation
342 {
343  struct MotorSource
344  {
345  // > aeroengines
347  static const BitMask_t SOURCE_AERO_RPM = BITMASK(2);
351  // > forward gears (hack...)
353 
355  unsigned int motor = 0;
356  };
357 
358  // Source flags
365  static const BitMask64_t SOURCE_FLAP = BITMASK64( 7);
367  static const BitMask64_t SOURCE_ROLL = BITMASK64( 9);
368  static const BitMask64_t SOURCE_PITCH = BITMASK64(10);
369  static const BitMask64_t SOURCE_BRAKES = BITMASK64(11);
370  static const BitMask64_t SOURCE_ACCEL = BITMASK64(12);
371  static const BitMask64_t SOURCE_CLUTCH = BITMASK64(13);
372  static const BitMask64_t SOURCE_SPEEDO = BITMASK64(14);
373  static const BitMask64_t SOURCE_TACHO = BITMASK64(15);
374  static const BitMask64_t SOURCE_TURBO = BITMASK64(16);
380  static const BitMask64_t SOURCE_TORQUE = BITMASK64(22);
390  static const BitMask64_t SOURCE_EVENT = BITMASK64(32);
396 
397  // Mode flags
398  static const BitMask_t MODE_ROTATION_X = BITMASK(1);
399  static const BitMask_t MODE_ROTATION_Y = BITMASK(2);
400  static const BitMask_t MODE_ROTATION_Z = BITMASK(3);
401  static const BitMask_t MODE_OFFSET_X = BITMASK(4);
402  static const BitMask_t MODE_OFFSET_Y = BITMASK(5);
403  static const BitMask_t MODE_OFFSET_Z = BITMASK(6);
405  static const BitMask_t MODE_NO_FLIP = BITMASK(8);
406  static const BitMask_t MODE_BOUNCE = BITMASK(9);
407  static const BitMask_t MODE_EVENT_LOCK = BITMASK(10);
408 
409  float ratio = 0.f;
410  float lower_limit = -1.f;
411  float upper_limit = -1.f;
413  std::list<MotorSource> motor_sources;
415  Ogre::String event_name;
416  Ogre::String dash_link_name;
417 
418  void AddMotorSource(BitMask_t source, unsigned int motor);
419 };
420 
421 struct Animator
422 {
423  static const BitMask_t OPTION_VISIBLE = BITMASK( 1);
424  static const BitMask_t OPTION_INVISIBLE = BITMASK( 2);
425  static const BitMask_t OPTION_AIRSPEED = BITMASK( 3);
431  static const BitMask_t OPTION_FLAP = BITMASK( 9);
432  static const BitMask_t OPTION_AIR_BRAKE = BITMASK(10);
433  static const BitMask_t OPTION_ROLL = BITMASK(11);
434  static const BitMask_t OPTION_PITCH = BITMASK(12);
435  static const BitMask_t OPTION_BRAKES = BITMASK(13);
436  static const BitMask_t OPTION_ACCEL = BITMASK(14);
437  static const BitMask_t OPTION_CLUTCH = BITMASK(15);
438  static const BitMask_t OPTION_SPEEDO = BITMASK(16);
439  static const BitMask_t OPTION_TACHO = BITMASK(17);
440  static const BitMask_t OPTION_TURBO = BITMASK(18);
441  static const BitMask_t OPTION_PARKING = BITMASK(19);
446  static const BitMask_t OPTION_TORQUE = BITMASK(24);
447  static const BitMask_t OPTION_DIFFLOCK = BITMASK(25);
451  static const BitMask_t OPTION_LONG_LIMIT = BITMASK(29);
452 
454  float lenghtening_factor = 0.f;
456  float short_limit = 0.f;
457  float long_limit = 0.f;
459  std::shared_ptr<Inertia> inertia_defaults;
460  std::shared_ptr<BeamDefaults> beam_defaults;
461  int detacher_group = 0;
462 };
463 
465 {
466  AntiLockBrakes();
467 
469  unsigned int min_speed;
474 };
475 
476 struct Author
477 {
478  Ogre::String type;
479  unsigned int forum_account_id = 0;
480  Ogre::String name;
481  Ogre::String email;
482  bool _has_forum_account = false;
483 };
484 
485 struct Axle
486 {
489 };
490 
491 struct Beam
492 {
494  static const BitMask_t OPTION_r_ROPE = BITMASK(2);
495  static const BitMask_t OPTION_s_SUPPORT = BITMASK(3);
496 
501  int detacher_group = 0;
502  std::shared_ptr<BeamDefaults> defaults;
503 };
504 
506 {
508  springiness(1),
509  damping_constant(1),
512  {}
513 
514  float springiness;
518 };
519 
521 {
522  BeamDefaults(): // NOTE: -1.f is 'empty value'; replaced by constant in parser.
523  springiness(-1.f),
524  damping_constant(-1.f),
525  deformation_threshold(-1.f),
526  visual_beam_diameter(-1.f),
527  beam_material_name("tracks/beam"),
528  breaking_threshold(-1.f),
531  _is_user_defined(false)
532  {}
533 
535  {
536  return springiness * scale.springiness;
537  }
538 
540  {
542  }
543 
545  {
547  }
548 
549  inline float GetScaledDeformThreshold() const
550  {
552  }
553 
554  float springiness;
559  Ogre::String beam_material_name;
565 };
566 
567 struct Brakes
568 {
569  float default_braking_force = 30000.f;
570  float parking_brake_force = -1.f;
571 };
572 
573 struct Cab
574 {
575  static const BitMask_t OPTION_c_CONTACT = BITMASK(1);
576  static const BitMask_t OPTION_b_BUOYANT = BITMASK(2);
584 
587 };
588 
589 struct Camera
590 {
594 };
595 
597 {
598  std::vector<Node::Ref> nodes;
599 };
600 
602 {
604 };
605 
606 struct Cinecam
607 {
608  Ogre::Vector3 position = Ogre::Vector3::ZERO;
610  float spring = 8000.f;
611  float damping = 800.f;
612  float node_mass = 20.f;
613  std::shared_ptr<BeamDefaults> beam_defaults;
614  std::shared_ptr<NodeDefaults> node_defaults;
615 };
616 
618 {
619  std::vector<Node::Ref> nodes;
620 };
621 
623 {
625 };
626 
627 struct Command2 // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
628 {
630  float shorten_rate = 0.f;
631  float lengthen_rate = 0.f;
632  float max_contraction = 0.f;
633  float max_extension = 0.f;
636  Ogre::String description;
638  float affect_engine = 1.f;
639  bool needs_engine = true;
640  bool plays_sound = true;
641  std::shared_ptr<BeamDefaults> beam_defaults;
642  std::shared_ptr<Inertia> inertia_defaults;
643  int detacher_group = 0;
644 
645  bool option_i_invisible = false;
646  bool option_r_rope = false;
647  bool option_c_auto_center = false;
648  bool option_f_not_faster = false;
649  bool option_p_1press = false;
651 };
652 
654 {
655  float min_speed = 0.f;
656  int autobrake = 0;
657 };
658 
660 {
662 };
663 
665 {
666  std::string skin_name;
667 };
668 
669 struct Engine
670 {
671  float shift_down_rpm = 0.f;
672  float shift_up_rpm = 0.f;
673  float torque = 0.f;
674  float global_gear_ratio = 0.f;
675  float reverse_gear_ratio = 0.f;
676  float neutral_gear_ratio = 0.f;
677  std::vector<float> gear_ratios;
678 };
679 
680 struct Engoption
681 {
682  float inertia = 10.f;
684  float clutch_force = -1.f;
685  float shift_time = -1.f;
686  float clutch_time = -1.f;
687  float post_shift_time = -1.f;
688  float idle_rpm = -1.f;
689  float stall_rpm = -1.f;
690  float max_idle_mixture = -1.f;
691  float min_idle_mixture = -1.f;
692  float braking_torque = -1.f;
693 };
694 
695 struct Engturbo
696 {
697  Engturbo();
698 
699  int version;
701  int nturbos;
702  float param1;
703  float param2;
704  float param3;
705  float param4;
706  float param5;
707  float param6;
708  float param7;
709  float param8;
710  float param9;
711  float param10;
712  float param11;
713 };
714 
715 struct Exhaust
716 {
719  Ogre::String particle_name;
720 };
721 
722 struct ExtCamera
723 {
726 };
727 
729 {
730  int version = -1;
731 };
732 
733 struct Fileinfo
734 {
735  Ogre::String unique_id;
736  int category_id = -1;
737  int file_version = 0;
738 };
739 
740 struct Flare2 // Used for both 'flares' and 'flares2' sections
741 {
745  Ogre::Vector3 offset = Ogre::Vector3(0, 0, 1); // Section 'flares(1)' has offset.z hardcoded to 1
747  int control_number = -1;
748  std::string dashboard_link;
750  float size = -1.f;
751  Ogre::String material_name;
752 };
753 
754 struct Flare3: public Flare2
755 {
756  std::shared_ptr<Inertia> inertia_defaults;
757 };
758 
760 {
762  int control_number = -1;
763 };
764 
766 struct Forvert
767 {
771  int vert_index{ 0 };
772  int line_number{ 0 }; // If multiple verts are given on single 'forvert' line, multiple `Forvert` entries are inserted.
773 };
774 
775 struct Flexbody
776 {
780  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
781  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
782  Ogre::String mesh_name;
783  std::list<Animation> animations;
784  std::vector<Node::Range> node_list_to_import;
785  std::vector<Node::Ref> node_list;
786  std::vector<Forvert> forvert;
788 };
789 
790 struct FlexBodyWheel: public BaseWheel2
791 {
793  float rim_springiness = 0.f;
794  float rim_damping = 0.f;
795  Ogre::String rim_mesh_name;
796  Ogre::String tyre_mesh_name;
797 };
798 
799 struct Fusedrag
800 {
801  Fusedrag();
802 
803  bool autocalc;
807  Ogre::String airfoil_name;
809 };
810 
811 struct Globals
812 {
813  float dry_mass = 0;
814  float cargo_mass = 0;
815  Ogre::String material_name;
816 };
817 
818 struct Guid
819 {
820  std::string guid;
821 };
822 
824 {
825  std::string key;
826  std::string value;
827 };
828 
829 struct Help
830 {
831  std::string material;
832 };
833 
834 struct Hook
835 {
836  Hook();
837 
846  bool flag_self_lock :1;
847  bool flag_auto_lock :1;
849  bool flag_no_rope :1;
850  bool flag_visible :1;
851 };
852 
853 struct Hydro
854 {
856  // Useful for trucks:
858  // Useful for planes: These can be used to control flight surfaces, or to create a thrust vectoring system.
868  // Generic steering input
870 
872  float lenghtening_factor = 0.f;
875  std::shared_ptr<Inertia> inertia_defaults;
876  std::shared_ptr<BeamDefaults> beam_defaults;
877  int detacher_group = 0;
878 };
879 
880 struct InterAxle
881 {
882  int a1 = 0;
883  int a2 = 0;
885 };
886 
887 struct Lockgroup
888 {
889  // TODO remove these, use SimConstants.h
890  static const int LOCKGROUP_DEFAULT = -1;
891  static const int LOCKGROUP_NOLOCK = 9999;
892 
893  int number = 0;
894  std::vector<Node::Ref> nodes;
895 };
896 
898 {
899  bool double_sided = false;
900 };
901 
903 {
904  Ogre::String name;
907  Ogre::String diffuse_map;
908  Ogre::String damaged_diffuse_map;
909  Ogre::String specular_map;
910 
911  static const char* TypeToStr(ManagedMaterialType type);
912 };
913 
915 {
916  unsigned int flare_number = 0;
917  Ogre::String material_name;
918 };
919 
920 struct Minimass
921 {
924 };
925 
926 struct MeshWheel: public BaseMeshWheel
927 {};
928 
929 struct MeshWheel2: public BaseMeshWheel
930 {};
931 
933 {
934  NodeDefaults();
935 
936  float load_weight;
937  float friction;
938  float volume;
939  float surface;
940  unsigned int options;
941 };
942 
943 struct Particle
944 {
947  Ogre::String particle_system_name;
948 };
949 
951 {
956  float turbine_power_kW = 0.f;
957  float pitch = 0;
958  Ogre::String airfoil;
959 };
960 
961 struct Prop
962 {
964  {
966  offset(Ogre::Vector3::ZERO), // Default depends on right/left-hand dashboard placement
967  rotation_angle(160.f),
968  _offset_is_set(false),
969  mesh_name("dirwheel.mesh")
970  {}
971 
972  Ogre::Vector3 offset;
975  Ogre::String mesh_name;
976  };
977 
979  {
981  color(1.0, 0.5, 0.0),
982  flare_material_name("tracks/beaconflare")
983  {}
984 
985  Ogre::String flare_material_name;
986  Ogre::ColourValue color;
987  };
988 
992  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
993  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
994  Ogre::String mesh_name;
995  std::list<Animation> animations;
1000 };
1001 
1003 {
1004  unsigned int id = 0;
1005  std::vector<Node::Range> node_list;
1006 };
1007 
1008 struct Ropable
1009 {
1011  int group = -1; // = value not set
1012  bool has_multilock = false;
1013 };
1014 
1015 struct Rope
1016 {
1019  bool invisible = false;
1020  std::shared_ptr<BeamDefaults> beam_defaults;
1022 };
1023 
1024 struct Rotator
1025 {
1029  float rate = 0.f;
1030  unsigned int spin_left_key = 0;
1031  unsigned int spin_right_key = 0;
1033  std::shared_ptr<Inertia> inertia_defaults;
1034  float engine_coupling = 1.f;
1035  bool needs_engine = false;
1036 };
1037 
1038 struct Rotator2: public Rotator
1039 {
1040  float rotating_force = 10000000.f;
1041  float tolerance = 0.f;
1042  Ogre::String description;
1043 };
1044 
1046 {
1050  float power = 0.f;
1051 };
1052 
1053 struct Script
1054 {
1055  std::string filename;
1056 };
1057 
1059 {
1060  int shadow_mode = 0;
1061 };
1062 
1063 struct Shock
1064 {
1068  static const BitMask_t OPTION_m_METRIC = BITMASK(4);
1069 
1071  float spring_rate = 0.f;
1072  float damping = 0.f;
1073  float short_bound = 0.f;
1074  float long_bound = 0.f;
1075  float precompression = 1.f;
1077  std::shared_ptr<BeamDefaults> beam_defaults;
1079 };
1080 
1081 struct Shock2
1082 {
1083  Shock2();
1084 
1086  static const BitMask_t OPTION_s_SOFT_BUMP_BOUNDS = BITMASK(2); // soft bump boundaries, use when shocks reach limiters too often and "jumprebound" (default is hard bump boundaries)
1087  static const BitMask_t OPTION_m_METRIC = BITMASK(3); // metric values for shortbound/longbound applying to the length of the beam.
1088  static const BitMask_t OPTION_M_ABSOLUTE_METRIC = BITMASK(4); // Absolute metric values for shortbound/longbound, settings apply without regarding to the original length of the beam.(Use with caution, check ror.log for errors)
1089 
1091  float spring_in;
1092  float damp_in;
1095  float spring_out;
1096  float damp_out;
1099  float short_bound;
1100  float long_bound;
1103  std::shared_ptr<BeamDefaults> beam_defaults;
1105 };
1106 
1107 struct Shock3
1108 {
1109  Shock3();
1110 
1112  static const BitMask_t OPTION_m_METRIC = BITMASK(2); // metric values for shortbound/longbound applying to the length of the beam.
1113  static const BitMask_t OPTION_M_ABSOLUTE_METRIC = BITMASK(3); // Absolute metric values for shortbound/longbound, settings apply without regarding to the original length of the beam.(Use with caution, check ror.log for errors)
1114 
1116  float spring_in;
1117  float damp_in;
1118  float spring_out;
1119  float damp_out;
1126  float short_bound;
1127  float long_bound;
1130  std::shared_ptr<BeamDefaults> beam_defaults;
1132 };
1133 
1135 {
1138 };
1139 
1141 {
1146 
1148  std::vector<Node::Range> rail_node_ranges;
1150 
1151  // Optional args
1152  float spring_rate=0.f; bool _spring_rate_set=false;
1153  float break_force=0.f; bool _break_force_set=false;
1154  float tolerance=0.f; bool _tolerance_set=false;
1155  float attachment_rate=0.f; bool _attachment_rate_set=false;
1156  int railgroup_id=-1; bool _railgroup_id_set=false;
1157  float max_attach_dist=0.f; bool _max_attach_dist_set=false;
1158 };
1159 
1161 {
1163  Ogre::String sound_script_name;
1164 };
1165 
1167 {
1168  static const int MODE_ALWAYS = -2;
1169  static const int MODE_EXTERIOR = -1;
1170 
1172 };
1173 
1175 {
1176  float max_speed = 0.f;
1177  bool is_enabled = false;
1178 };
1179 
1180 struct Texcoord; // needed by Submesh
1181 
1182 struct Submesh
1183 {
1184  bool backmesh = false;
1185  std::vector<Texcoord> texcoords;
1186  std::vector<Cab> cab_triangles;
1187 };
1188 
1189 struct Texcoord
1190 {
1192  float u = 0.f;
1193  float v = 0.f;
1194 };
1195 
1196 struct Tie
1197 {
1200 
1202  float max_reach_length = 0.f;
1203  float auto_shorten_rate = 0.f;
1204  float min_length = 0.f;
1205  float max_length = 0.f;
1207  float max_stress = 100000.0f;
1208  std::shared_ptr<BeamDefaults> beam_defaults;
1210  int group = -1;
1211 };
1212 
1214 {
1215  struct Sample
1216  {
1218  power(0),
1219  torque_percent(0)
1220  {}
1221 
1222  float power;
1224  };
1225 
1226  std::vector<Sample> samples;
1227  Ogre::String predefined_func_name;
1228 };
1229 
1231 {
1232  TractionControl();
1233 
1235  float wheel_slip;
1236  float fade_speed;
1241 };
1242 
1244 {
1245  int a1 = 0;
1246  int a2 = -1;
1247  bool has_2wd = true;
1248  bool has_2wd_lo = false;
1249  std::vector<float> gear_ratios = {1.0f};
1250 };
1251 
1252 struct Trigger
1253 {
1265 
1270  float boundary_timer = 1.f;
1271  std::shared_ptr<BeamDefaults> beam_defaults;
1275 };
1276 
1277 struct Turbojet
1278 {
1282  int is_reversable = 0;
1283  float dry_thrust = 0.f;
1284  float wet_thrust = 0.f;
1285  float front_diameter = 0.f;
1286  float back_diameter = 0.f;
1287  float nozzle_length = 0.f;
1288 };
1289 
1290 struct Turboprop2 // Section TURBOPROPS, TURBOPROPS2
1291 {
1295  float turbine_power_kW = 0.f;
1296  Ogre::String airfoil;
1298 };
1299 
1301 {
1307  Ogre::Vector3 offset = Ogre::Vector3::ZERO;
1308  Ogre::Vector3 rotation = Ogre::Vector3::ZERO;
1309  float field_of_view = 0.f;
1310  unsigned int texture_width = 0u;
1311  unsigned int texture_height = 0u;
1312  float min_clip_distance = 0.f;
1313  float max_clip_distance = 0.f;
1315  int camera_mode = 0;
1316  Ogre::String material_name;
1317  Ogre::String camera_name;
1318 };
1319 
1320 struct Wheel: public BaseWheel
1321 {
1322  float radius = 0.f;
1323  float springiness = 0.f;
1324  float damping = 0.f;
1325  Ogre::String face_material_name = "tracks/wheelface";
1326  Ogre::String band_material_name = "tracks/wheelband1";
1327 };
1328 
1329 struct Wheel2: public BaseWheel2
1330 {
1331  float rim_springiness = 0.f;
1332  float rim_damping = 0.f;
1333  Ogre::String face_material_name = "tracks/wheelface";
1334  Ogre::String band_material_name = "tracks/wheelband1";
1335 };
1336 
1338 {
1339  int wheel_id = 0;
1341 };
1342 
1343 struct Wing
1344 {
1346  float tex_coords[8] = {};
1348  float chord_point = -1.f;
1349  float min_deflection = -1.f;
1350  float max_deflection = -1.f;
1351  Ogre::String airfoil;
1352  float efficacy_coef = 1.f; // So-called 'liftcoef'.
1353 };
1354 
1355 // --------------------------------
1356 // The document
1357 
1358 struct Document
1359 {
1360  struct Module // represents 'section/end_section'. Also use by 'addonparts' system.
1361  {
1362  Module(Ogre::String const & name);
1363 
1364  Ogre::String name;
1366 
1367  std::vector<Airbrake> airbrakes;
1368  std::vector<Animator> animators;
1369  std::vector<AntiLockBrakes> antilockbrakes;
1370  std::vector<Assetpack> assetpacks;
1371  std::vector<Author> author;
1372  std::vector<Axle> axles;
1373  std::vector<Beam> beams;
1374  std::vector<Brakes> brakes;
1375  std::vector<Camera> cameras;
1376  std::vector<CameraRail> camerarail;
1377  std::vector<CollisionBox> collisionboxes;
1378  std::vector<Cinecam> cinecam;
1379  std::vector<Command2> commands2; // 'commands' are auto-imported as 'commands2' (only 1 extra argument)
1380  std::vector<CruiseControl> cruisecontrol;
1381  std::vector<Node::Ref> contacters;
1382  std::vector<DefaultSkin> default_skin;
1383  std::vector<Ogre::String> description;
1384  std::vector<Engine> engine;
1385  std::vector<Engoption> engoption;
1386  std::vector<Engturbo> engturbo;
1387  std::vector<Exhaust> exhausts;
1388  std::vector<ExtCamera> extcamera;
1389  std::vector<FileFormatVersion> fileformatversion;
1390  std::vector<Node::Ref> fixes;
1391  std::vector<Fileinfo> fileinfo;
1392  std::vector<Flare2> flares2; // 'flares' are auto-imported as 'flares2' (only 1 extra argument)
1393  std::vector<Flare3> flares3;
1394  std::vector<FlaregroupNoImport> flaregroups_no_import;
1395  std::vector<Flexbody> flexbodies;
1396  std::vector<FlexBodyWheel> flexbodywheels;
1397  std::vector<Fusedrag> fusedrag;
1398  std::vector<Globals> globals;
1399  std::vector<Guid> guid;
1400  std::vector<GuiSettings> guisettings;
1401  std::vector<Help> help;
1402  std::vector<Hook> hooks;
1403  std::vector<Hydro> hydros;
1404  std::vector<InterAxle> interaxles;
1405  std::vector<Lockgroup> lockgroups;
1406  std::vector<ManagedMaterial> managedmaterials;
1407  std::vector<MaterialFlareBinding> materialflarebindings;
1408  std::vector<MeshWheel> meshwheels;
1409  std::vector<MeshWheel2> meshwheels2;
1410  std::vector<Minimass> minimass;
1411  std::vector<Node> nodes; /* Nodes and Nodes2 are unified in this parser */
1412  std::vector<Particle> particles;
1413  std::vector<Pistonprop> pistonprops;
1414  std::vector<Prop> props;
1415  std::vector<RailGroup> railgroups;
1416  std::vector<Ropable> ropables;
1417  std::vector<Rope> ropes;
1418  std::vector<Rotator> rotators;
1419  std::vector<Rotator2> rotators2;
1420  std::vector<Screwprop> screwprops;
1421  std::vector<Script> scripts;
1422  std::vector<Shock> shocks;
1423  std::vector<Shock2> shocks2;
1424  std::vector<Shock3> shocks3;
1425  std::vector<CollisionRange> set_collision_range;
1426  std::vector<SkeletonSettings> set_skeleton_settings;
1427  std::vector<SlideNode> slidenodes;
1428  std::vector<SoundSource> soundsources;
1429  std::vector<SoundSource2> soundsources2;
1430  std::vector<SpeedLimiter> speedlimiter;
1431  std::vector<Ogre::String> submesh_groundmodel;
1432  std::vector<Submesh> submeshes;
1433  std::vector<Tie> ties;
1434  std::vector<TorqueCurve> torquecurve;
1435  std::vector<TractionControl> tractioncontrol;
1436  std::vector<TransferCase> transfercase;
1437  std::vector<Trigger> triggers;
1438  std::vector<Turbojet> turbojets;
1439  std::vector<Turboprop2> turboprops2;
1440  std::vector<VideoCamera> videocameras;
1441  std::vector<WheelDetacher> wheeldetachers;
1442  std::vector<Wheel> wheels;
1443  std::vector<Wheel2> wheels2;
1444  std::vector<Wing> wings;
1445 
1446  // Metadata
1451  std::vector<DocComment> _comments;
1452  };
1453 
1454  Document();
1455 
1459  bool rollon;
1463  bool rescuer;
1465  Ogre::String name;
1466 
1467  // File hash
1468  std::string hash;
1469 
1470  // Vehicle modules (caled 'sections' in truckfile doc)
1471  std::shared_ptr<Module> root_module;
1472  std::map< Ogre::String, std::shared_ptr<Module> > user_modules;
1473 
1474 };
1475 
1476 } // namespace RigDef
RigDef::DefaultMinimass::min_mass_Kg
float min_mass_Kg
minimum node mass in Kg
Definition: RigDef_File.h:661
RigDef::Hydro::OPTION_u_INPUT_AILERON_ELEVATOR
static const BitMask_t OPTION_u_INPUT_AILERON_ELEVATOR
Definition: RigDef_File.h:862
RigDef::BeamDefaultsScale::BeamDefaultsScale
BeamDefaultsScale()
Definition: RigDef_File.h:507
RigDef::Animation::SOURCE_EVENT
static const BitMask64_t SOURCE_EVENT
Definition: RigDef_File.h:390
RigDef::Document::Module::scripts
std::vector< Script > scripts
Definition: RigDef_File.h:1421
RigDef::NodeOption::p_NO_PARTICLES
@ p_NO_PARTICLES
RigDef::Command2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:641
RigDef::Document::Module::globals
std::vector< Globals > globals
Definition: RigDef_File.h:1398
RigDef::InterAxle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:884
RigDef::Engine::shift_up_rpm
float shift_up_rpm
Definition: RigDef_File.h:672
RigDef::Document::Module::set_collision_range
std::vector< CollisionRange > set_collision_range
Definition: RigDef_File.h:1425
RigDef::HydroOption::e_INPUT_ELEVATOR
@ e_INPUT_ELEVATOR
RigDef::SpecialProp::AERO_PROP_SPIN
@ AERO_PROP_SPIN
RigDef::Document::Module::engturbo
std::vector< Engturbo > engturbo
Definition: RigDef_File.h:1386
RigDef::BeamOption::r_ROPE
@ r_ROPE
RigDef::Shock2::spring_out
float spring_out
spring value applied when shock extending
Definition: RigDef_File.h:1095
RigDef::Animation::SOURCE_ANGLE_OF_ATTACK
static const BitMask64_t SOURCE_ANGLE_OF_ATTACK
Definition: RigDef_File.h:364
RigDef::Trigger::OPTION_c_COMMAND_STYLE
static const BitMask_t OPTION_c_COMMAND_STYLE
Definition: RigDef_File.h:1255
RigDef::Animator::OPTION_PITCH
static const BitMask_t OPTION_PITCH
Definition: RigDef_File.h:434
RigDef::Hydro::OPTION_e_INPUT_ELEVATOR
static const BitMask_t OPTION_e_INPUT_ELEVATOR
Definition: RigDef_File.h:861
RigDef::FlexBodyWheel::rim_springiness
float rim_springiness
Definition: RigDef_File.h:793
RigDef::Shock3::Shock3
Shock3()
Definition: RigDef_File.cpp:126
RigDef::Shock3::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1130
RoR::FlareType::NONE
@ NONE
RoR::WheelBraking
WheelBraking
Definition: Application.h:521
RigDef::SpecialProp::DRIVER_SEAT
@ DRIVER_SEAT
RigDef::Airbrake::texcoord_x1
float texcoord_x1
Definition: RigDef_File.h:334
RigDef::SlideNode::CONSTRAINT_ATTACH_FOREIGN
static const BitMask_t CONSTRAINT_ATTACH_FOREIGN
Definition: RigDef_File.h:1143
RigDef::Animator::OPTION_DIFFLOCK
static const BitMask_t OPTION_DIFFLOCK
Definition: RigDef_File.h:447
RigDef::SlideNode::constraint_flags
BitMask_t constraint_flags
Definition: RigDef_File.h:1149
RigDef::Animation::SOURCE_FLAP
static const BitMask64_t SOURCE_FLAP
Definition: RigDef_File.h:365
RigDef::Engoption::min_idle_mixture
float min_idle_mixture
Definition: RigDef_File.h:691
RoR::WheelSide
WheelSide
Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation.
Definition: Application.h:542
RigDef::Animation::SOURCE_VERTICAL_VELOCITY
static const BitMask64_t SOURCE_VERTICAL_VELOCITY
Definition: RigDef_File.h:360
RigDef::Wing::tex_coords
float tex_coords[8]
Definition: RigDef_File.h:1346
RigDef::DocComment
< Represents a comment (line starting with ';' or '//') that can be anywhere in the file.
Definition: RigDef_File.h:311
RigDef::Trigger::OPTION_A_INV_TRIGGER_BLOCKER
static const BitMask_t OPTION_A_INV_TRIGGER_BLOCKER
Definition: RigDef_File.h:1259
RigDef::MinimassOption
MinimassOption
Definition: RigDef_File.h:107
RigDef::MaterialFlareBinding::material_name
Ogre::String material_name
Definition: RigDef_File.h:917
RigDef::Shock3::damp_out_fast
float damp_out_fast
Damping value applied when shock is commpressing faster than split out velocity.
Definition: RigDef_File.h:1125
RigDef::Prop::DashboardSpecial::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:972
RigDef::Document::Module::flares3
std::vector< Flare3 > flares3
Definition: RigDef_File.h:1393
RigDef::Shock2Option::s_SOFT_BUMP_BOUNDS
@ s_SOFT_BUMP_BOUNDS
soft bump boundaries, use when shocks reach limiters too often and "jumprebound" (default is hard bum...
RigDef::Animation::MotorSource
Definition: RigDef_File.h:343
RigDef::VideoCamera::left_node
Node::Ref left_node
Definition: RigDef_File.h:1303
RigDef::Beam::extension_break_limit
float extension_break_limit
Definition: RigDef_File.h:499
RigDef::NodeOption::b_EXTRA_BUOYANCY
@ b_EXTRA_BUOYANCY
RigDef::Turboprop2::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:1294
RigDef::Cab::OPTION_p_10xTOUGHER
static const BitMask_t OPTION_p_10xTOUGHER
Definition: RigDef_File.h:577
RigDef::BaseWheel2::rim_radius
float rim_radius
Definition: RigDef_File.h:292
RigDef::Fusedrag::Fusedrag
Fusedrag()
Definition: RigDef_File.cpp:80
RigDef::Wheel
Definition: RigDef_File.h:1320
RigDef::CameraRail::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:598
RigDef::BeamDefaults::GetScaledSpringiness
float GetScaledSpringiness()
Definition: RigDef_File.h:534
RigDef::SlideNode::_railgroup_id_set
bool _railgroup_id_set
Definition: RigDef_File.h:1156
RigDef::GuiSettings
Definition: RigDef_File.h:823
RigDef::Document::Module::_hint_beams_end_linenumber
int _hint_beams_end_linenumber
Definition: RigDef_File.h:1450
RigDef::Document::Module::screwprops
std::vector< Screwprop > screwprops
Definition: RigDef_File.h:1420
RigDef::SlideNode::tolerance
float tolerance
Definition: RigDef_File.h:1154
RigDef::Turboprop2::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:1293
BEAM_SKELETON_DIAMETER
static const float BEAM_SKELETON_DIAMETER
Definition: SimConstants.h:57
RigDef::Animation::MotorSource::SOURCE_AERO_TORQUE
static const BitMask_t SOURCE_AERO_TORQUE
Definition: RigDef_File.h:348
RigDef::DocComment::comment_text
std::string comment_text
May contain multiple lines separated by ' ' - MUST contain leading ';' or '//' at each line!
Definition: RigDef_File.h:313
RigDef::Rope::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1020
RigDef::Flexbody::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:787
RigDef::ExtCamera::node
Node::Ref node
Definition: RigDef_File.h:725
RigDef::InterAxle::a2
int a2
Definition: RigDef_File.h:883
RigDef::Node::Ref
Legacy parser resolved references on-the-fly and the condition to check named nodes was "are there an...
Definition: RigDef_Node.h:77
RigDef::Command2::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:642
RigDef::Hydro::inertia
Inertia inertia
Definition: RigDef_File.h:874
RigDef::Command2::option_f_not_faster
bool option_f_not_faster
Definition: RigDef_File.h:648
RigDef::Prop
Definition: RigDef_File.h:961
RigDef::WheelDetacher::wheel_id
int wheel_id
Definition: RigDef_File.h:1339
RigDef::BeamDefaultsScale::breaking_threshold_constant
float breaking_threshold_constant
Definition: RigDef_File.h:517
RigDef::NodeDefaults::options
unsigned int options
Bit flags.
Definition: RigDef_File.h:940
RigDef::Tie::group
int group
Definition: RigDef_File.h:1210
RigDef::Animator::OPTION_SHIFT_BACK_FORTH
static const BitMask_t OPTION_SHIFT_BACK_FORTH
Definition: RigDef_File.h:443
RigDef::TractionControl::fade_speed
float fade_speed
Definition: RigDef_File.h:1236
RigDef::Document::Module::hooks
std::vector< Hook > hooks
Definition: RigDef_File.h:1402
RigDef::Hydro::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:875
RigDef::Prop::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:992
RigDef::Camera::left_node
Node::Ref left_node
Definition: RigDef_File.h:593
RigDef::Animation::SOURCE_AUTOSHIFTERLIN
static const BitMask64_t SOURCE_AUTOSHIFTERLIN
Definition: RigDef_File.h:393
RigDef::Engine::neutral_gear_ratio
float neutral_gear_ratio
Definition: RigDef_File.h:676
RigDef::Brakes::default_braking_force
float default_braking_force
Definition: RigDef_File.h:569
RigDef::Command2::option_o_1press_center
bool option_o_1press_center
Definition: RigDef_File.h:650
RigDef::SpecialProp
SpecialProp
Definition: RigDef_File.h:62
RigDef::Flexbody::forvert
std::vector< Forvert > forvert
Definition: RigDef_File.h:786
RigDef::Animation::MotorSource::SOURCE_AERO_PITCH
static const BitMask_t SOURCE_AERO_PITCH
Definition: RigDef_File.h:349
RigDef::Cinecam::position
Ogre::Vector3 position
Definition: RigDef_File.h:608
RigDef::Document::Module::fusedrag
std::vector< Fusedrag > fusedrag
Definition: RigDef_File.h:1397
RigDef::Document::Module::brakes
std::vector< Brakes > brakes
Definition: RigDef_File.h:1374
RigDef::Cinecam::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:614
RigDef::FlaregroupNoImport::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:762
RigDef::VideoCamera::min_clip_distance
float min_clip_distance
Definition: RigDef_File.h:1312
RigDef::Animation::lower_limit
float lower_limit
Definition: RigDef_File.h:410
RigDef::Wing::control_surface
WingControlSurface control_surface
Definition: RigDef_File.h:1347
RigDef::Rotator::needs_engine
bool needs_engine
Definition: RigDef_File.h:1035
RigDef::Shock2::OPTION_s_SOFT_BUMP_BOUNDS
static const BitMask_t OPTION_s_SOFT_BUMP_BOUNDS
Definition: RigDef_File.h:1086
RigDef::CollisionRange
Definition: RigDef_File.h:622
RigDef::ManagedMaterial::diffuse_map
Ogre::String diffuse_map
Definition: RigDef_File.h:907
RigDef::Hook::option_hookgroup
int option_hookgroup
Definition: RigDef_File.h:842
RigDef::TractionControl::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:1239
RigDef::Animation::MotorSource::motor
unsigned int motor
Definition: RigDef_File.h:355
RigDef::Inertia::start_function
Ogre::String start_function
Definition: RigDef_File.h:307
RigDef::Engturbo
Definition: RigDef_File.h:695
RigDef::VideoCamera::texture_width
unsigned int texture_width
Definition: RigDef_File.h:1310
RigDef::Flare2::type
RoR::FlareType type
Definition: RigDef_File.h:746
RigDef::Animator::long_limit
float long_limit
Definition: RigDef_File.h:457
RoR::VCAM_ROLE_INVALID
@ VCAM_ROLE_INVALID
Definition: Application.h:606
RigDef::Author
Definition: RigDef_File.h:476
RigDef::Engoption::post_shift_time
float post_shift_time
Seconds.
Definition: RigDef_File.h:687
RigDef::Shock::OPTION_R_ACTIVE_RIGHT
static const BitMask_t OPTION_R_ACTIVE_RIGHT
Definition: RigDef_File.h:1067
RigDef::Animation::MotorSource::SOURCE_AERO_RPM
static const BitMask_t SOURCE_AERO_RPM
Definition: RigDef_File.h:347
RigDef::ManagedMaterialType::MESH_STANDARD
@ MESH_STANDARD
RigDef::Shock::long_bound
float long_bound
Maximum extension. The longest length a shock can be, as a proportion of its original length....
Definition: RigDef_File.h:1074
RigDef_Node.h
RigDef::Document::Module::_comments
std::vector< DocComment > _comments
Definition: RigDef_File.h:1451
RigDef::Document::rescuer
bool rescuer
Definition: RigDef_File.h:1463
RigDef::NodeDefaults::surface
float surface
Definition: RigDef_File.h:939
RigDef::SoundSource2::mode
int mode
A special constant or cinecam index.
Definition: RigDef_File.h:1171
RigDef::Airbrake::texcoord_y1
float texcoord_y1
Definition: RigDef_File.h:336
RigDef::SoundSource2::MODE_ALWAYS
static const int MODE_ALWAYS
Definition: RigDef_File.h:1168
RigDef::Animator::OPTION_SEQUENTIAL_SHIFT
static const BitMask_t OPTION_SEQUENTIAL_SHIFT
Definition: RigDef_File.h:444
RigDef::Engoption::shift_time
float shift_time
Seconds.
Definition: RigDef_File.h:685
RigDef::Animation
Definition: RigDef_File.h:341
RigDef::AntiLockBrakes::attr_no_dashboard
bool attr_no_dashboard
Definition: RigDef_File.h:472
RigDef::Document::Module::wheels
std::vector< Wheel > wheels
Definition: RigDef_File.h:1442
RigDef::Command2::max_extension
float max_extension
Definition: RigDef_File.h:633
RigDef::Animator::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:453
RigDef::Animator::OPTION_ALTIMETER_1K
static const BitMask_t OPTION_ALTIMETER_1K
Definition: RigDef_File.h:429
RigDef::HydroOption::y_INPUT_InvAILERON_RUDDER
@ y_INPUT_InvAILERON_RUDDER
RigDef::Engine::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:677
RigDef::Tie::auto_shorten_rate
float auto_shorten_rate
Definition: RigDef_File.h:1203
RigDef::MaterialFlareBinding::flare_number
unsigned int flare_number
Definition: RigDef_File.h:916
RigDef::Tie::min_length
float min_length
Definition: RigDef_File.h:1204
RigDef::Turboprop2::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1296
RigDef::Flare3
Definition: RigDef_File.h:754
RigDef::Prop::DashboardSpecial::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:975
RigDef::FlaregroupNoImport::type
RoR::FlareType type
Definition: RigDef_File.h:761
RigDef::SkeletonSettings
Definition: RigDef_File.h:1134
RigDef::SpeedLimiter::is_enabled
bool is_enabled
Definition: RigDef_File.h:1177
RigDef::Engine::global_gear_ratio
float global_gear_ratio
Definition: RigDef_File.h:674
RigDef::Prop::camera_settings
CameraSettings camera_settings
Definition: RigDef_File.h:996
RigDef::Document::Module::pistonprops
std::vector< Pistonprop > pistonprops
Definition: RigDef_File.h:1413
RigDef::Texcoord::node
Node::Ref node
Definition: RigDef_File.h:1191
RigDef::Shock3::split_vel_out
float split_vel_out
Split velocity in (m/s) - threshold for slow / fast damping during extension.
Definition: RigDef_File.h:1124
RigDef::RailGroup
Definition: RigDef_File.h:1002
RigDef::TriggerOption::s_CMD_NUM_SWITCH
@ s_CMD_NUM_SWITCH
switch that exchanges cmdshort/cmdshort for all triggers with the same commandnumbers,...
RigDef::Document::Module::lockgroups
std::vector< Lockgroup > lockgroups
Definition: RigDef_File.h:1405
RigDef::HydroOption::a_INPUT_AILERON
@ a_INPUT_AILERON
RigDef::Animator::OPTION_SHIFT_LEFT_RIGHT
static const BitMask_t OPTION_SHIFT_LEFT_RIGHT
Definition: RigDef_File.h:442
RigDef::VideoCamera::camera_mode
int camera_mode
Definition: RigDef_File.h:1315
RigDef::SpecialProp::AERO_PROP_BLADE
@ AERO_PROP_BLADE
RigDef::Animation::MODE_BOUNCE
static const BitMask_t MODE_BOUNCE
Definition: RigDef_File.h:406
RigDef::Hook::flag_auto_lock
bool flag_auto_lock
Definition: RigDef_File.h:847
RigDef::Engturbo::param3
float param3
Definition: RigDef_File.h:704
RigDef::Document::Module::shocks2
std::vector< Shock2 > shocks2
Definition: RigDef_File.h:1423
RigDef::Animation::SOURCE_TACHO
static const BitMask64_t SOURCE_TACHO
Definition: RigDef_File.h:373
RigDef::Document::Module::commands2
std::vector< Command2 > commands2
Definition: RigDef_File.h:1379
RigDef::Fusedrag::approximate_width
float approximate_width
Definition: RigDef_File.h:806
RigDef::Assetpack::filename
std::string filename
Definition: RigDef_File.h:262
RigDef::AeroAnimator::OPTION_PITCH
static const BitMask_t OPTION_PITCH
Definition: RigDef_File.h:253
RigDef::Command2::detacher_group
int detacher_group
Definition: RigDef_File.h:643
RigDef::Prop::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:993
RigDef::Fusedrag::autocalc
bool autocalc
Definition: RigDef_File.h:803
RigDef::NodeDefaults::volume
float volume
Definition: RigDef_File.h:938
RigDef::Engturbo::version
int version
Definition: RigDef_File.h:699
RigDef::ManagedMaterial::damaged_diffuse_map
Ogre::String damaged_diffuse_map
Definition: RigDef_File.h:908
RigDef::Engoption::type
EngineType type
Definition: RigDef_File.h:683
RigDef::Animator::OPTION_CLUTCH
static const BitMask_t OPTION_CLUTCH
Definition: RigDef_File.h:437
RigDef::Rotator::rate
float rate
Definition: RigDef_File.h:1029
RigDef::SoundSource2::MODE_EXTERIOR
static const int MODE_EXTERIOR
Definition: RigDef_File.h:1169
RigDef::Document::hash
std::string hash
Definition: RigDef_File.h:1468
RigDef::Document::Module::wings
std::vector< Wing > wings
Definition: RigDef_File.h:1444
RigDef::Wheel::radius
float radius
Definition: RigDef_File.h:1322
RigDef::BeamDefaults::deformation_threshold
float deformation_threshold
Definition: RigDef_File.h:556
RigDef::Screwprop::back_node
Node::Ref back_node
Definition: RigDef_File.h:1048
RigDef::NodeOption::e_TERRAIN_EDIT_POINT
@ e_TERRAIN_EDIT_POINT
RigDef::Animator::OPTION_FLAP
static const BitMask_t OPTION_FLAP
Definition: RigDef_File.h:431
RigDef::Particle::particle_system_name
Ogre::String particle_system_name
Definition: RigDef_File.h:947
RigDef::Camera
Definition: RigDef_File.h:589
RigDef::Hydro
Definition: RigDef_File.h:853
RigDef::Shock::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1077
RoR::WheelBraking::NONE
@ NONE
= no footbrake, no handbrake, no direction control – wheel is unbraked
RigDef::SlideNode::CONSTRAINT_ATTACH_SELF
static const BitMask_t CONSTRAINT_ATTACH_SELF
Definition: RigDef_File.h:1144
RigDef::CollisionBox
Definition: RigDef_File.h:617
RigDef::SlideNode::break_force
float break_force
Definition: RigDef_File.h:1153
RigDef::Animator::OPTION_ANGLE_OF_ATTACK
static const BitMask_t OPTION_ANGLE_OF_ATTACK
Definition: RigDef_File.h:430
RigDef::Animation::SOURCE_PARKING
static const BitMask64_t SOURCE_PARKING
Definition: RigDef_File.h:375
RigDef::Command2::shorten_rate
float shorten_rate
Definition: RigDef_File.h:630
RigDef::Ropable
Definition: RigDef_File.h:1008
RigDef::Trigger::longbound_trigger_action
int longbound_trigger_action
Definition: RigDef_File.h:1274
RigDef::ShockOption::R_ACTIVE_RIGHT
@ R_ACTIVE_RIGHT
RigDef::Animation::AddMotorSource
void AddMotorSource(BitMask_t source, unsigned int motor)
Definition: RigDef_File.cpp:154
RigDef::SlideNode::attachment_rate
float attachment_rate
Definition: RigDef_File.h:1155
RigDef::BaseMeshWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:281
RigDef::Document::forward_commands
bool forward_commands
Definition: RigDef_File.h:1460
RigDef::SoundSource::node
Node::Ref node
Definition: RigDef_File.h:1162
RigDef::Animation::SOURCE_BOAT_RUDDER
static const BitMask64_t SOURCE_BOAT_RUDDER
Definition: RigDef_File.h:383
RigDef::Wing::chord_point
float chord_point
Definition: RigDef_File.h:1348
RigDef::Shock2::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1091
RigDef::BaseWheel::width
float width
Definition: RigDef_File.h:267
RigDef::Document::Module::_hint_beams_start_linenumber
int _hint_beams_start_linenumber
Definition: RigDef_File.h:1449
RigDef::Flexbody::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:781
RigDef::Airbrake
Definition: RigDef_File.h:322
SimConstants.h
RigDef::Document::Module::cruisecontrol
std::vector< CruiseControl > cruisecontrol
Definition: RigDef_File.h:1380
RigDef::NodeOption::x_EXHAUST_POINT
@ x_EXHAUST_POINT
RigDef::Document::Module::ropes
std::vector< Rope > ropes
Definition: RigDef_File.h:1417
RigDef::Flexbody::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:780
RigDef::Tie::options
BitMask_t options
Definition: RigDef_File.h:1206
RigDef::Animator::OPTION_AIR_BRAKE
static const BitMask_t OPTION_AIR_BRAKE
Definition: RigDef_File.h:432
RigDef::Flare2
Definition: RigDef_File.h:740
RigDef::WingControlSurface::n_NONE
@ n_NONE
RigDef::Help
Definition: RigDef_File.h:829
RigDef::Shock::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1068
RigDef::BeamOption
BeamOption
Definition: RigDef_File.h:173
RigDef::DifferentialType
DifferentialType
Definition: RigDef_File.h:97
RigDef::Shock::OPTION_L_ACTIVE_LEFT
static const BitMask_t OPTION_L_ACTIVE_LEFT
Definition: RigDef_File.h:1066
RigDef::SlideNode::rail_node_ranges
std::vector< Node::Range > rail_node_ranges
Definition: RigDef_File.h:1148
RigDef::DocComment::commented_keyword
RigDef::Keyword commented_keyword
Definition: RigDef_File.h:315
RigDef::GuiSettings::key
std::string key
Definition: RigDef_File.h:825
RigDef::Animation::SOURCE_PITCH
static const BitMask64_t SOURCE_PITCH
Definition: RigDef_File.h:368
RoR::WheelSide::INVALID
@ INVALID
RigDef::Document::Module::help
std::vector< Help > help
Definition: RigDef_File.h:1401
RigDef::BeamOption::s_SUPPORT
@ s_SUPPORT
RigDef::Cinecam::spring
float spring
Definition: RigDef_File.h:610
RigDef::Document::Module::airbrakes
std::vector< Airbrake > airbrakes
Definition: RigDef_File.h:1367
RigDef::Animation::MotorSource::SOURCE_AERO_STATUS
static const BitMask_t SOURCE_AERO_STATUS
Definition: RigDef_File.h:350
RigDef::Animator::OPTION_BOAT_THROTTLE
static const BitMask_t OPTION_BOAT_THROTTLE
Definition: RigDef_File.h:449
RigDef::AeroAnimator
Definition: RigDef_File.h:248
RigDef::Trigger
Definition: RigDef_File.h:1252
RigDef::CollisionBox::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:619
RigDef::Shock3::precompression
float precompression
Changes compression or extension of the suspension when the truck spawns. This can be used to "level"...
Definition: RigDef_File.h:1128
RigDef::Document::Module::nodes
std::vector< Node > nodes
Definition: RigDef_File.h:1411
RigDef::Airbrake::lift_coefficient
float lift_coefficient
Definition: RigDef_File.h:338
RigDef::TieOption
TieOption
Definition: RigDef_File.h:136
RigDef::Engturbo::param8
float param8
Definition: RigDef_File.h:709
RigDef::BeamDefaults::springiness
float springiness
Definition: RigDef_File.h:554
RigDef::Hydro::OPTION_n_INPUT_NORMAL
static const BitMask_t OPTION_n_INPUT_NORMAL
Definition: RigDef_File.h:869
RigDef::Command2::description
Ogre::String description
Definition: RigDef_File.h:636
RigDef::TriggerOption
TriggerOption
Definition: RigDef_File.h:158
RigDef::Document::Module::assetpacks
std::vector< Assetpack > assetpacks
Definition: RigDef_File.h:1370
RigDef::Shock3Option::m_METRIC
@ m_METRIC
metric values for shortbound/longbound applying to the length of the beam.
RigDef::NodeOption::L_LOG
@ L_LOG
RigDef::Flare2::node_axis_y
Node::Ref node_axis_y
Definition: RigDef_File.h:744
RigDef::Animation::SOURCE_ALTIMETER_10K
static const BitMask64_t SOURCE_ALTIMETER_10K
Definition: RigDef_File.h:362
RigDef::Pistonprop
Definition: RigDef_File.h:950
RigDef::TieOption::s_NO_SELF_LOCK
@ s_NO_SELF_LOCK
RigDef::Trigger::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1266
RigDef::Axle::wheels
Node::Ref wheels[2][2]
Definition: RigDef_File.h:487
RigDef::Shock3Option::n_DUMMY
@ n_DUMMY
RigDef::Rotator::spin_right_key
unsigned int spin_right_key
Definition: RigDef_File.h:1031
RigDef::Document::rollon
bool rollon
Definition: RigDef_File.h:1459
RigDef::Screwprop::power
float power
Definition: RigDef_File.h:1050
RigDef::BeamDefaults
Definition: RigDef_File.h:520
RigDef::Flare2::blink_delay_milis
int blink_delay_milis
Definition: RigDef_File.h:749
RigDef::Document::Module::slidenodes
std::vector< SlideNode > slidenodes
Definition: RigDef_File.h:1427
RigDef::BaseWheel::propulsion
RoR::WheelPropulsion propulsion
Definition: RigDef_File.h:272
RigDef::Document::Module
Definition: RigDef_File.h:1360
RigDef::Cab::OPTION_u_INVULNERABLE
static const BitMask_t OPTION_u_INVULNERABLE
Definition: RigDef_File.h:578
RigDef::Flexbody::animations
std::list< Animation > animations
Definition: RigDef_File.h:783
RigDef::EngineType::e_ECAR
@ e_ECAR
RigDef::Shock3Option
Shock3Option
Definition: RigDef_File.h:220
RigDef::Shock::detacher_group
int detacher_group
Definition: RigDef_File.h:1078
RigDef::TriggerOption::c_COMMAND_STYLE
@ c_COMMAND_STYLE
trigger is set with commandstyle boundaries instead of shocksytle
RigDef::FlaregroupNoImport
Definition: RigDef_File.h:759
BEAM_PLASTIC_COEF_DEFAULT
static const float BEAM_PLASTIC_COEF_DEFAULT
Definition: SimConstants.h:63
RigDef::VideoCamera::rotation
Ogre::Vector3 rotation
Definition: RigDef_File.h:1308
RigDef::Airbrake::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:328
RigDef::FlexBodyWheel
Definition: RigDef_File.h:790
RigDef::Turboprop2::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:1295
RigDef::SlideNode::_spring_rate_set
bool _spring_rate_set
Definition: RigDef_File.h:1152
RigDef::Tie::detacher_group
int detacher_group
Definition: RigDef_File.h:1209
RigDef::TriggerOption::B_TRIGGER_BLOCKER
@ B_TRIGGER_BLOCKER
Blocker that enable/disable other triggers.
RigDef::Engturbo::param6
float param6
Definition: RigDef_File.h:707
RigDef::Animator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:446
RigDef::Particle
Definition: RigDef_File.h:943
RigDef::ManagedMaterialType::MESH_TRANSPARENT
@ MESH_TRANSPARENT
RigDef::Engine::shift_down_rpm
float shift_down_rpm
Definition: RigDef_File.h:671
RigDef::CabOption::b_BUOYANT
@ b_BUOYANT
RigDef::AntiLockBrakes::AntiLockBrakes
AntiLockBrakes()
Definition: RigDef_File.cpp:55
RigDef::Texcoord::v
float v
Definition: RigDef_File.h:1193
RigDef::Animation::MODE_EVENT_LOCK
static const BitMask_t MODE_EVENT_LOCK
Definition: RigDef_File.h:407
RigDef::NodeDefaults::friction
float friction
Definition: RigDef_File.h:937
RigDef::Animator::OPTION_SPEEDO
static const BitMask_t OPTION_SPEEDO
Definition: RigDef_File.h:438
RigDef::CameraRail
Definition: RigDef_File.h:596
RigDef::Animator::detacher_group
int detacher_group
Definition: RigDef_File.h:461
RigDef::CabOption::D_CONTACT_BUOYANT
@ D_CONTACT_BUOYANT
RigDef::Document::Module::axles
std::vector< Axle > axles
Definition: RigDef_File.h:1372
RigDef::ShadowOptions
Definition: RigDef_File.h:1058
RigDef::Engoption::braking_torque
float braking_torque
Definition: RigDef_File.h:692
RigDef::SkeletonSettings::beam_thickness_meters
float beam_thickness_meters
Definition: RigDef_File.h:1137
BITMASK
#define BITMASK(OFFSET)
Definition: BitFlags.h:10
RigDef::Shock3Option::v_DUMMY
@ v_DUMMY
RigDef::Flexbody::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:777
RigDef::BeamDefaults::breaking_threshold
float breaking_threshold
Definition: RigDef_File.h:557
RigDef::ManagedMaterialType
ManagedMaterialType
Definition: RigDef_File.h:78
RigDef::Document::Module::author
std::vector< Author > author
Definition: RigDef_File.h:1371
RigDef::Animator::OPTION_BRAKES
static const BitMask_t OPTION_BRAKES
Definition: RigDef_File.h:435
RigDef::Animator::short_limit
float short_limit
Definition: RigDef_File.h:456
RigDef::Animation::SOURCE_SHIFTERLIN
static const BitMask64_t SOURCE_SHIFTERLIN
Definition: RigDef_File.h:379
RigDef::SlideNode::_tolerance_set
bool _tolerance_set
Definition: RigDef_File.h:1154
RigDef::TriggerOption::t_CONTINUOUS
@ t_CONTINUOUS
this trigger sends values between 0 and 1
RigDef::Wheel::damping
float damping
Definition: RigDef_File.h:1324
RigDef::Animation::SOURCE_AIR_RUDDER
static const BitMask64_t SOURCE_AIR_RUDDER
Definition: RigDef_File.h:388
RigDef::Shock2::long_bound
float long_bound
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1100
RigDef::WingControlSurface
WingControlSurface
Definition: RigDef_File.h:113
RigDef::TractionControl::TractionControl
TractionControl()
Definition: RigDef_File.cpp:144
RigDef::Document::Module::origin_addonpart
RoR::CacheEntryPtr origin_addonpart
Addon parts are spawned as fake Modules, resources must be loaded from this group.
Definition: RigDef_File.h:1365
RigDef::BeamDefaults::_is_plastic_deform_coef_user_defined
bool _is_plastic_deform_coef_user_defined
Definition: RigDef_File.h:562
RigDef::Rotator::axis_nodes
Node::Ref axis_nodes[2]
Definition: RigDef_File.h:1026
RigDef::Trigger::options
BitMask_t options
Definition: RigDef_File.h:1269
RigDef::BeamDefaultsScale
Definition: RigDef_File.h:505
RigDef::Animation::SOURCE_AIRSPEED
static const BitMask64_t SOURCE_AIRSPEED
Definition: RigDef_File.h:359
RigDef::NodeDefaults
Definition: RigDef_File.h:932
RigDef::Hook
Definition: RigDef_File.h:834
RigDef::Hydro::options
BitMask_t options
Definition: RigDef_File.h:873
RefCountingObjectPtr< CacheEntry >
RigDef::WingControlSurface::j_LEFT_RUDDERVATOR
@ j_LEFT_RUDDERVATOR
RigDef::WingControlSurface::a_RIGHT_AILERON
@ a_RIGHT_AILERON
RigDef::HydroOption::u_INPUT_AILERON_ELEVATOR
@ u_INPUT_AILERON_ELEVATOR
RigDef::Pistonprop::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:958
RigDef::Document::Module::submeshes
std::vector< Submesh > submeshes
Definition: RigDef_File.h:1432
RigDef::Trigger::OPTION_B_TRIGGER_BLOCKER
static const BitMask_t OPTION_B_TRIGGER_BLOCKER
Definition: RigDef_File.h:1258
RigDef::AntiLockBrakes
Definition: RigDef_File.h:464
RigDef::InterAxle::a1
int a1
Definition: RigDef_File.h:882
RigDef::Tie::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1208
RigDef::Document::Module::guisettings
std::vector< GuiSettings > guisettings
Definition: RigDef_File.h:1400
RigDef::Document::Module::_hint_nodes12_end_linenumber
int _hint_nodes12_end_linenumber
Definition: RigDef_File.h:1448
RigDef::Animation::SOURCE_ELEVATOR
static const BitMask64_t SOURCE_ELEVATOR
Definition: RigDef_File.h:387
RigDef::TorqueCurve::Sample
Definition: RigDef_File.h:1215
RigDef::Ropable::has_multilock
bool has_multilock
Definition: RigDef_File.h:1012
RigDef::Ropable::node
Node::Ref node
Definition: RigDef_File.h:1010
RigDef::TractionControl::pulse_per_sec
float pulse_per_sec
Definition: RigDef_File.h:1237
RigDef::TorqueCurve::predefined_func_name
Ogre::String predefined_func_name
Definition: RigDef_File.h:1227
RigDef::Command2::extend_key
RoR::CommandkeyID_t extend_key
Definition: RigDef_File.h:635
RigDef::Animation::SOURCE_ROLL
static const BitMask64_t SOURCE_ROLL
Definition: RigDef_File.h:367
RigDef::Animation::MotorSource::SOURCE_GEAR_FORWARD
static const BitMask_t SOURCE_GEAR_FORWARD
Definition: RigDef_File.h:352
RigDef::Animator::OPTION_INVISIBLE
static const BitMask_t OPTION_INVISIBLE
Definition: RigDef_File.h:424
RigDef::Shock3::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1117
RigDef::Shock2::damp_out
float damp_out
damping value applied when shock extending
Definition: RigDef_File.h:1096
RigDef::TriggerOption::x_START_DISABLED
@ x_START_DISABLED
this trigger is disabled on startup, default is enabled
RigDef::Engoption::clutch_time
float clutch_time
Seconds.
Definition: RigDef_File.h:686
RigDef::Shock3::spring_out
float spring_out
Spring value applied when shock extending.
Definition: RigDef_File.h:1118
RigDef::Brakes
Definition: RigDef_File.h:567
RigDef::Command2
Definition: RigDef_File.h:627
RigDef::Tie::max_stress
float max_stress
Definition: RigDef_File.h:1207
RigDef::ShockOption::L_ACTIVE_LEFT
@ L_ACTIVE_LEFT
RigDef::SlideNode::max_attach_dist
float max_attach_dist
Definition: RigDef_File.h:1157
RigDef::Engturbo::param9
float param9
Definition: RigDef_File.h:710
RigDef::Animation::MODE_ROTATION_Y
static const BitMask_t MODE_ROTATION_Y
Definition: RigDef_File.h:399
RigDef::SoundSource2
Definition: RigDef_File.h:1166
RigDef::CabOption
CabOption
Definition: RigDef_File.h:144
RigDef::AeroAnimator::OPTION_RPM
static const BitMask_t OPTION_RPM
Definition: RigDef_File.h:251
RigDef::Document::disable_default_sounds
bool disable_default_sounds
Definition: RigDef_File.h:1464
RigDef::TriggerOption::i_INVISIBLE
@ i_INVISIBLE
invisible
RigDef::Particle::emitter_node
Node::Ref emitter_node
Definition: RigDef_File.h:945
RigDef::Author::name
Ogre::String name
Definition: RigDef_File.h:480
RigDef::Animation::SOURCE_AILERON
static const BitMask64_t SOURCE_AILERON
Definition: RigDef_File.h:386
RigDef::Hydro::OPTION_g_INPUT_ELEVATOR_RUDDER
static const BitMask_t OPTION_g_INPUT_ELEVATOR_RUDDER
Definition: RigDef_File.h:866
RigDef::Command2::option_r_rope
bool option_r_rope
Definition: RigDef_File.h:646
RigDef::VideoCamera::camera_role
RoR::VideoCamRole camera_role
Definition: RigDef_File.h:1314
RigDef::BaseMeshWheel::rim_radius
float rim_radius
Definition: RigDef_File.h:284
RigDef::FlexBodyWheel::tyre_mesh_name
Ogre::String tyre_mesh_name
Definition: RigDef_File.h:796
RigDef::Fileinfo
Definition: RigDef_File.h:733
RigDef::Document::Module::meshwheels2
std::vector< MeshWheel2 > meshwheels2
Definition: RigDef_File.h:1409
RigDef::CabOption::S_INVULNERABLE_BUOYANT
@ S_INVULNERABLE_BUOYANT
RigDef::Shock::short_bound
float short_bound
Maximum contraction. The shortest length the shock can be, as a proportion of its original length....
Definition: RigDef_File.h:1073
RigDef::Document::Module::set_skeleton_settings
std::vector< SkeletonSettings > set_skeleton_settings
Definition: RigDef_File.h:1426
RigDef::Shock2::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1087
RigDef::BeamDefaults::damping_constant
float damping_constant
Definition: RigDef_File.h:555
RigDef::BaseMeshWheel::spring
float spring
Definition: RigDef_File.h:286
RigDef::VideoCamera::alt_reference_node
Node::Ref alt_reference_node
Definition: RigDef_File.h:1305
RigDef::AeroAnimator::flags
BitMask_t flags
Definition: RigDef_File.h:256
RigDef::Shock::spring_rate
float spring_rate
The 'stiffness' of the shock. The higher the value, the less the shock will move for a given bump.
Definition: RigDef_File.h:1071
RigDef::Fileinfo::unique_id
Ogre::String unique_id
Definition: RigDef_File.h:735
RigDef::Engoption::max_idle_mixture
float max_idle_mixture
Definition: RigDef_File.h:690
RigDef::TieOption::v_DUMMY
@ v_DUMMY
RigDef::Shock3Option::M_ABSOLUTE_METRIC
@ M_ABSOLUTE_METRIC
Absolute metric values for shortbound/longbound, settings apply without regarding to the original len...
RigDef::ShockOption::v_DUMMY
@ v_DUMMY
RigDef::EngineType::c_CAR
@ c_CAR
RigDef::BeamDefaults::_enable_advanced_deformation
bool _enable_advanced_deformation
Informs whether "enable_advanced_deformation" directive preceded these defaults.
Definition: RigDef_File.h:561
RigDef::Document::Module::turbojets
std::vector< Turbojet > turbojets
Definition: RigDef_File.h:1438
RigDef::Command2::option_p_1press
bool option_p_1press
Definition: RigDef_File.h:649
RigDef::Document::Module::ties
std::vector< Tie > ties
Definition: RigDef_File.h:1433
RigDef::Command2::inertia
Inertia inertia
Definition: RigDef_File.h:637
RigDef::ManagedMaterial::type
ManagedMaterialType type
Definition: RigDef_File.h:905
RigDef::Animation::MODE_AUTO_ANIMATE
static const BitMask_t MODE_AUTO_ANIMATE
Definition: RigDef_File.h:404
RigDef::Command2::plays_sound
bool plays_sound
Definition: RigDef_File.h:640
RigDef::ManagedMaterial::options
ManagedMaterialsOptions options
Definition: RigDef_File.h:906
RigDef::ManagedMaterial::name
Ogre::String name
Definition: RigDef_File.h:904
RigDef::Prop::special
SpecialProp special
Definition: RigDef_File.h:997
RoR::CommandkeyID_t
int CommandkeyID_t
Index into Actor::ar_commandkeys (BEWARE: indexed 1-MAX_COMMANDKEYS, 0 is invalid value,...
Definition: ForwardDeclarations.h:82
RigDef::ManagedMaterialType::FLEXMESH_STANDARD
@ FLEXMESH_STANDARD
RigDef::Screwprop::top_node
Node::Ref top_node
Definition: RigDef_File.h:1049
RigDef::Document::import_commands
bool import_commands
Definition: RigDef_File.h:1461
RigDef::AntiLockBrakes::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:473
RigDef::Flare2::material_name
Ogre::String material_name
Definition: RigDef_File.h:751
RigDef::Wheel2::rim_damping
float rim_damping
Definition: RigDef_File.h:1332
RigDef::BaseWheel::mass
float mass
Definition: RigDef_File.h:274
RigDef::AeroAnimator::OPTION_TORQUE
static const BitMask_t OPTION_TORQUE
Definition: RigDef_File.h:252
RigDef::Camera::back_node
Node::Ref back_node
Definition: RigDef_File.h:592
RigDef::NodeOption::y_EXHAUST_DIRECTION
@ y_EXHAUST_DIRECTION
RigDef::Document::Module::contacters
std::vector< Node::Ref > contacters
Definition: RigDef_File.h:1381
RigDef::Forvert::node_x
Node::Ref node_x
Definition: RigDef_File.h:769
RigDef::Document::Module::cinecam
std::vector< Cinecam > cinecam
Definition: RigDef_File.h:1378
RigDef::Pistonprop::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:955
DEFAULT_MINIMASS
static const float DEFAULT_MINIMASS
minimum node mass in Kg
Definition: SimConstants.h:54
RigDef::ManagedMaterialType::INVALID
@ INVALID
RigDef::Flare2::dashboard_link
std::string dashboard_link
Only 'd' type flares.
Definition: RigDef_File.h:748
RigDef::Document::Module::wheels2
std::vector< Wheel2 > wheels2
Definition: RigDef_File.h:1443
RigDef::Engoption
Definition: RigDef_File.h:680
RigDef::Shock2::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1085
RigDef::Animator::OPTION_LONG_LIMIT
static const BitMask_t OPTION_LONG_LIMIT
Definition: RigDef_File.h:451
BitFlags.h
Bit operations.
RigDef::Turbojet::front_node
Node::Ref front_node
Definition: RigDef_File.h:1279
RigDef::Trigger::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1254
RigDef::Turbojet::back_diameter
float back_diameter
Definition: RigDef_File.h:1286
RigDef::Beam::_has_extension_break_limit
bool _has_extension_break_limit
Definition: RigDef_File.h:500
RigDef::Animation::SOURCE_BOAT_THROTTLE
static const BitMask64_t SOURCE_BOAT_THROTTLE
Definition: RigDef_File.h:384
RigDef::CruiseControl::min_speed
float min_speed
Definition: RigDef_File.h:655
RigDef::Author::_has_forum_account
bool _has_forum_account
Definition: RigDef_File.h:482
RigDef::Turboprop2::couple_node
Node::Ref couple_node
Definition: RigDef_File.h:1297
RigDef::AntiLockBrakes::min_speed
unsigned int min_speed
Definition: RigDef_File.h:469
RigDef::Animator::OPTION_ACCEL
static const BitMask_t OPTION_ACCEL
Definition: RigDef_File.h:436
RigDef::BaseWheel::braking
RoR::WheelBraking braking
Definition: RigDef_File.h:271
RigDef::VideoCamera::texture_height
unsigned int texture_height
Definition: RigDef_File.h:1311
RigDef::SlideNode::spring_rate
float spring_rate
Definition: RigDef_File.h:1152
RigDef::Globals::dry_mass
float dry_mass
Definition: RigDef_File.h:813
RigDef::Document::Module::transfercase
std::vector< TransferCase > transfercase
Definition: RigDef_File.h:1436
RigDef::Wheel2::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1334
RigDef::Shock2
Definition: RigDef_File.h:1081
RigDef::Animation::SOURCE_DIFFLOCK
static const BitMask64_t SOURCE_DIFFLOCK
Definition: RigDef_File.h:382
RigDef::Animation::SOURCE_AIR_BRAKE
static const BitMask64_t SOURCE_AIR_BRAKE
Definition: RigDef_File.h:366
RigDef::NodeOption::c_NO_GROUND_CONTACT
@ c_NO_GROUND_CONTACT
RigDef::BaseWheel::num_rays
unsigned int num_rays
Definition: RigDef_File.h:268
RigDef::Shock2::OPTION_M_ABSOLUTE_METRIC
static const BitMask_t OPTION_M_ABSOLUTE_METRIC
Definition: RigDef_File.h:1088
RigDef::WingControlSurface::e_ELEVATOR
@ e_ELEVATOR
RoR::ExtCameraMode
ExtCameraMode
Definition: Application.h:551
RigDef::Inertia::stop_delay_factor
float stop_delay_factor
Definition: RigDef_File.h:306
RigDef::WingControlSurface::U_RIGHT_HAND_TAILERON
@ U_RIGHT_HAND_TAILERON
RigDef::DefaultMinimass
Definition: RigDef_File.h:659
RigDef::Document::Module::rotators2
std::vector< Rotator2 > rotators2
Definition: RigDef_File.h:1419
RigDef::Pistonprop::axis_node
Node::Ref axis_node
Definition: RigDef_File.h:953
RigDef::BaseWheel::rigidity_node
Node::Ref rigidity_node
Definition: RigDef_File.h:270
RigDef::Document::Module::description
std::vector< Ogre::String > description
Definition: RigDef_File.h:1383
RigDef::Forvert
Manually specified (vert => node) bindings for flexbody deformation (overrides 'forset').
Definition: RigDef_File.h:766
RigDef::Hydro::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:871
RigDef::FileFormatVersion
Definition: RigDef_File.h:728
RigDef
Definition: Application.cpp:703
RigDef::NodeOption
NodeOption
Definition: RigDef_File.h:229
RigDef::Prop::BeaconSpecial
Definition: RigDef_File.h:978
RigDef::Trigger::OPTION_x_START_DISABLED
static const BitMask_t OPTION_x_START_DISABLED
Definition: RigDef_File.h:1256
RigDef::BeamDefaults::BeamDefaults
BeamDefaults()
Definition: RigDef_File.h:522
RigDef::Wheel2
Definition: RigDef_File.h:1329
RigDef::CruiseControl::autobrake
int autobrake
Definition: RigDef_File.h:656
RigDef::BeamDefaults::GetScaledDeformThreshold
float GetScaledDeformThreshold() const
Definition: RigDef_File.h:549
RigDef::NodeOption::h_HOOK_POINT
@ h_HOOK_POINT
RigDef::Hydro::OPTION_a_INPUT_AILERON
static const BitMask_t OPTION_a_INPUT_AILERON
Definition: RigDef_File.h:859
RigDef::DifferentialType::o_OPEN
@ o_OPEN
RigDef::TractionControl
Definition: RigDef_File.h:1230
RigDef::Animation::MODE_OFFSET_Z
static const BitMask_t MODE_OFFSET_Z
Definition: RigDef_File.h:403
RigDef::Document::enable_advanced_deformation
bool enable_advanced_deformation
Definition: RigDef_File.h:1457
RigDef::BeamDefaults::GetScaledBreakingThreshold
float GetScaledBreakingThreshold()
Definition: RigDef_File.h:544
RigDef::SlideNode::slide_node
Node::Ref slide_node
Definition: RigDef_File.h:1147
RigDef::Rotator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:1033
RigDef::Help::material
std::string material
Definition: RigDef_File.h:831
RigDef::Document::Module::animators
std::vector< Animator > animators
Definition: RigDef_File.h:1368
RigDef::Wing::max_deflection
float max_deflection
Definition: RigDef_File.h:1350
RigDef::Document::Module::turboprops2
std::vector< Turboprop2 > turboprops2
Definition: RigDef_File.h:1439
RigDef::Cab::OPTION_c_CONTACT
static const BitMask_t OPTION_c_CONTACT
Definition: RigDef_File.h:575
RigDef::VideoCamera::alt_orientation_node
Node::Ref alt_orientation_node
Definition: RigDef_File.h:1306
RigDef::VideoCamera::bottom_node
Node::Ref bottom_node
Definition: RigDef_File.h:1304
RigDef::Engine::torque
float torque
Definition: RigDef_File.h:673
RigDef::Document::Module::triggers
std::vector< Trigger > triggers
Definition: RigDef_File.h:1437
RigDef::Document::Module::Module
Module(Ogre::String const &name)
Definition: RigDef_File.cpp:174
RigDef::Flare2::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:742
RigDef::Trigger::detacher_group
int detacher_group
Definition: RigDef_File.h:1272
RigDef::Tie::max_length
float max_length
Definition: RigDef_File.h:1205
RigDef::Shock2Option
Shock2Option
Definition: RigDef_File.h:210
RigDef::Guid::guid
std::string guid
Definition: RigDef_File.h:820
RigDef::ManagedMaterial::specular_map
Ogre::String specular_map
Definition: RigDef_File.h:909
RigDef::Cinecam
Definition: RigDef_File.h:606
RigDef::Lockgroup::LOCKGROUP_NOLOCK
static const int LOCKGROUP_NOLOCK
Definition: RigDef_File.h:891
RigDef::Engturbo::Engturbo
Engturbo()
Definition: RigDef_File.cpp:64
RigDef::NodeOption::l_LOAD_WEIGHT
@ l_LOAD_WEIGHT
RigDef::Flare2::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:745
RigDef::Fileinfo::file_version
int file_version
Definition: RigDef_File.h:737
RigDef::Animator::OPTION_ALTIMETER_10K
static const BitMask_t OPTION_ALTIMETER_10K
Definition: RigDef_File.h:428
RigDef::Keyword::INVALID
@ INVALID
RigDef::Airbrake::Airbrake
Airbrake()
Definition: RigDef_File.cpp:43
RigDef::SlideNode::railgroup_id
int railgroup_id
Definition: RigDef_File.h:1156
RigDef::CameraSettings
Definition: RigDef_File.h:601
RigDef::AeroAnimator::OPTION_STATUS
static const BitMask_t OPTION_STATUS
Definition: RigDef_File.h:254
RigDef::Shock2::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1099
RigDef::Prop::DashboardSpecial
Definition: RigDef_File.h:963
RigDef::FlexBodyWheel::rim_mesh_name
Ogre::String rim_mesh_name
Definition: RigDef_File.h:795
RigDef::Animator::OPTION_ROLL
static const BitMask_t OPTION_ROLL
Definition: RigDef_File.h:433
RigDef::Airbrake::height
float height
Definition: RigDef_File.h:332
RigDef::Shock3::spring_in
float spring_in
Spring value applied when the shock is compressing.
Definition: RigDef_File.h:1116
RigDef::Shock2::precompression
float precompression
Changes compression or extension of the suspension when the truck spawns. This can be used to "level"...
Definition: RigDef_File.h:1101
RigDef::Tie::max_reach_length
float max_reach_length
Definition: RigDef_File.h:1202
RigDef::Prop::DashboardSpecial::_offset_is_set
bool _offset_is_set
Definition: RigDef_File.h:973
RigDef::Document::Module::minimass
std::vector< Minimass > minimass
Definition: RigDef_File.h:1410
RigDef::Animation::MODE_OFFSET_X
static const BitMask_t MODE_OFFSET_X
Definition: RigDef_File.h:401
RigDef::Animator::OPTION_BOAT_RUDDER
static const BitMask_t OPTION_BOAT_RUDDER
Definition: RigDef_File.h:448
RigDef::Document
Definition: RigDef_File.h:1358
RigDef::Wing::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:1345
RigDef::Engturbo::param11
float param11
Definition: RigDef_File.h:712
RigDef::Airbrake::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:326
RigDef::Animation::MODE_ROTATION_Z
static const BitMask_t MODE_ROTATION_Z
Definition: RigDef_File.h:400
RigDef::Engturbo::param1
float param1
Definition: RigDef_File.h:702
RigDef::DocComment::commented_datapos
int commented_datapos
Position in the data vector for the given keyword.
Definition: RigDef_File.h:316
RigDef::AeroAnimator::OPTION_THROTTLE
static const BitMask_t OPTION_THROTTLE
Definition: RigDef_File.h:250
RigDef::Document::Module::extcamera
std::vector< ExtCamera > extcamera
Definition: RigDef_File.h:1388
RigDef::MinimassOption::n_DUMMY
@ n_DUMMY
RigDef::Hydro::OPTION_v_INPUT_InvAILERON_ELEVATOR
static const BitMask_t OPTION_v_INPUT_InvAILERON_ELEVATOR
Definition: RigDef_File.h:863
RigDef::TorqueCurve::samples
std::vector< Sample > samples
Definition: RigDef_File.h:1226
RigDef::Flexbody::node_list_to_import
std::vector< Node::Range > node_list_to_import
Definition: RigDef_File.h:784
RigDef::Guid
Definition: RigDef_File.h:818
RigDef::WingControlSurface::V_LEFT_HAND_TAILERON
@ V_LEFT_HAND_TAILERON
RigDef::MeshWheel
Definition: RigDef_File.h:926
RigDef::Animation::SOURCE_STEERING_WHEEL
static const BitMask64_t SOURCE_STEERING_WHEEL
Definition: RigDef_File.h:385
RigDef::Animator::OPTION_TURBO
static const BitMask_t OPTION_TURBO
Definition: RigDef_File.h:440
RigDef::ManagedMaterial
Definition: RigDef_File.h:902
RigDef::Prop::DashboardSpecial::DashboardSpecial
DashboardSpecial()
Definition: RigDef_File.h:965
RigDef::TransferCase::a1
int a1
Definition: RigDef_File.h:1245
RigDef::Document::Module::rotators
std::vector< Rotator > rotators
Definition: RigDef_File.h:1418
RigDef::Airbrake::aditional_node
Node::Ref aditional_node
Definition: RigDef_File.h:329
RigDef::ShockOption::n_DUMMY
@ n_DUMMY
RigDef::BeamDefaults::scale
BeamDefaultsScale scale
Definition: RigDef_File.h:564
RigDef::InterAxle
Definition: RigDef_File.h:880
RigDef::WingControlSurface::c_RIGHT_ELEVON
@ c_RIGHT_ELEVON
RigDef::BaseWheel
Definition: RigDef_File.h:265
RigDef::NodeOption::n_DUMMY
@ n_DUMMY
RigDef::Prop::BeaconSpecial::BeaconSpecial
BeaconSpecial()
Definition: RigDef_File.h:980
RigDef::Shock2::progress_factor_spring_out
float progress_factor_spring_out
Progression factor springout, 0 = disabled, 1...x as multipliers, example:maximum springrate == sprin...
Definition: RigDef_File.h:1097
RigDef::Engoption::clutch_force
float clutch_force
Definition: RigDef_File.h:684
RigDef::Trigger::expansion_trigger_limit
float expansion_trigger_limit
Definition: RigDef_File.h:1268
RigDef::TriggerOption::A_INV_TRIGGER_BLOCKER
@ A_INV_TRIGGER_BLOCKER
Blocker that enable/disable other triggers, reversed activation method (inverted Blocker style,...
RigDef::DifferentialType::v_VISCOUS
@ v_VISCOUS
Application.h
Central state/object manager and communications hub.
RigDef::Shock3::long_bound
float long_bound
Maximum extension limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1127
RigDef::SlideNode::_break_force_set
bool _break_force_set
Definition: RigDef_File.h:1153
RigDef::Turbojet::wet_thrust
float wet_thrust
Definition: RigDef_File.h:1284
RigDef::Animator::flags
BitMask_t flags
Definition: RigDef_File.h:455
RoR::FlareType
FlareType
Definition: Application.h:500
RigDef::Flexbody::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:782
RigDef::TorqueCurve::Sample::torque_percent
float torque_percent
Definition: RigDef_File.h:1223
RigDef::Screwprop::prop_node
Node::Ref prop_node
Definition: RigDef_File.h:1047
RigDef::AntiLockBrakes::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:471
RigDef::Engturbo::param4
float param4
Definition: RigDef_File.h:705
RigDef::DefaultSkin
Definition: RigDef_File.h:664
RigDef::Animation::SOURCE_SHIFT_LEFT_RIGHT
static const BitMask64_t SOURCE_SHIFT_LEFT_RIGHT
Definition: RigDef_File.h:376
RigDef::Shock3::detacher_group
int detacher_group
Definition: RigDef_File.h:1131
RigDef::Engturbo::param2
float param2
Definition: RigDef_File.h:703
RigDef::TransferCase::gear_ratios
std::vector< float > gear_ratios
Definition: RigDef_File.h:1249
RigDef::Flare3::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:756
RigDef::Submesh
Definition: RigDef_File.h:1182
RigDef::Shock3::damp_in_fast
float damp_in_fast
Damping value applied when shock is commpressing faster than split in velocity.
Definition: RigDef_File.h:1122
RigDef::NodeOption::m_NO_MOUSE_GRAB
@ m_NO_MOUSE_GRAB
RigDef::Shock3::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1115
RigDef::Document::Module::flares2
std::vector< Flare2 > flares2
Definition: RigDef_File.h:1392
RigDef::Hook::flag_no_disable
bool flag_no_disable
Definition: RigDef_File.h:848
RigDef::Animation::ratio
float ratio
Definition: RigDef_File.h:409
RigDef::Airbrake::max_inclination_angle
float max_inclination_angle
Definition: RigDef_File.h:333
RigDef::Wing::min_deflection
float min_deflection
Definition: RigDef_File.h:1349
RigDef::Inertia
Definition: RigDef_File.h:298
RigDef::Animator::aero_animator
AeroAnimator aero_animator
Definition: RigDef_File.h:458
RigDef::Trigger::OPTION_s_CMD_NUM_SWITCH
static const BitMask_t OPTION_s_CMD_NUM_SWITCH
Definition: RigDef_File.h:1260
RigDef::Animation::mode
BitMask_t mode
Definition: RigDef_File.h:414
RigDef::Animation::SOURCE_HEADING
static const BitMask64_t SOURCE_HEADING
Definition: RigDef_File.h:381
RigDef::Axle::options
DifferentialTypeVec options
Order matters!
Definition: RigDef_File.h:488
RigDef::BaseMeshWheel::damping
float damping
Definition: RigDef_File.h:287
RigDef::Document::Module::shocks
std::vector< Shock > shocks
Definition: RigDef_File.h:1422
RigDef::Shock
Definition: RigDef_File.h:1063
RigDef::Command2::lengthen_rate
float lengthen_rate
Definition: RigDef_File.h:631
RigDef::BaseMeshWheel
Definition: RigDef_File.h:279
RigDef::TorqueCurve::Sample::Sample
Sample()
Definition: RigDef_File.h:1217
RigDef::TorqueCurve::Sample::power
float power
Definition: RigDef_File.h:1222
RigDef::Shock2::progress_factor_spring_in
float progress_factor_spring_in
Progression factor for springin. A value of 0 disables this option. 1...x as multipliers,...
Definition: RigDef_File.h:1093
RigDef::Document::Module::cameras
std::vector< Camera > cameras
Definition: RigDef_File.h:1375
RigDef::Document::hide_in_chooser
bool hide_in_chooser
Definition: RigDef_File.h:1456
RigDef::Trigger::shortbound_trigger_action
int shortbound_trigger_action
Definition: RigDef_File.h:1273
RigDef::Hydro::OPTION_y_INPUT_InvAILERON_RUDDER
static const BitMask_t OPTION_y_INPUT_InvAILERON_RUDDER
Definition: RigDef_File.h:865
RigDef::Shock2Option::m_METRIC
@ m_METRIC
metric values for shortbound/longbound applying to the length of the beam.
RigDef::Animation::SOURCE_PERMANENT
static const BitMask64_t SOURCE_PERMANENT
Definition: RigDef_File.h:389
RigDef::Beam::OPTION_s_SUPPORT
static const BitMask_t OPTION_s_SUPPORT
Definition: RigDef_File.h:495
RigDef::Rotator::engine_coupling
float engine_coupling
Definition: RigDef_File.h:1034
RigDef::Hook::option_hook_range
float option_hook_range
Definition: RigDef_File.h:839
RigDef::Hydro::detacher_group
int detacher_group
Definition: RigDef_File.h:877
RigDef::BeamDefaults::visual_beam_diameter
float visual_beam_diameter
Definition: RigDef_File.h:558
RigDef::WingControlSurface::d_LEFT_ELEVON
@ d_LEFT_ELEVON
RigDef::BaseWheel2::tyre_damping
float tyre_damping
Definition: RigDef_File.h:295
RigDef::SpecialProp::MIRROR_LEFT
@ MIRROR_LEFT
RigDef::Shock3::options
BitMask_t options
Definition: RigDef_File.h:1129
RigDef::ManagedMaterial::TypeToStr
static const char * TypeToStr(ManagedMaterialType type)
Definition: RigDef_File.cpp:162
RigDef::Engturbo::param5
float param5
Definition: RigDef_File.h:706
RigDef::MinimassOption::l_SKIP_LOADED
@ l_SKIP_LOADED
Only apply minimum mass to nodes without "L" option.
RigDef::HydroOption::g_INPUT_ELEVATOR_RUDDER
@ g_INPUT_ELEVATOR_RUDDER
RigDef::Forvert::vert_index
int vert_index
Definition: RigDef_File.h:771
RigDef::Trigger::OPTION_b_KEY_BLOCKER
static const BitMask_t OPTION_b_KEY_BLOCKER
Definition: RigDef_File.h:1257
RigDef::Animator::OPTION_AIRSPEED
static const BitMask_t OPTION_AIRSPEED
Definition: RigDef_File.h:425
RigDef::SpecialProp::BEACON
@ BEACON
RigDef::Engoption::stall_rpm
float stall_rpm
Definition: RigDef_File.h:689
RigDef::Cab
Definition: RigDef_File.h:573
RigDef::Engturbo::tinertiaFactor
float tinertiaFactor
Definition: RigDef_File.h:700
RigDef::MaterialFlareBinding
Definition: RigDef_File.h:914
RigDef::TriggerOption::b_KEY_BLOCKER
@ b_KEY_BLOCKER
Set the CommandKeys that are set in a commandkeyblocker or trigger to blocked on startup,...
RigDef::Beam::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:493
RigDef::Animation::SOURCE_ALTIMETER_1K
static const BitMask64_t SOURCE_ALTIMETER_1K
Definition: RigDef_File.h:363
RigDef::Prop::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:994
RigDef::HydroOption::r_INPUT_RUDDER
@ r_INPUT_RUDDER
RigDef::VideoCamera::field_of_view
float field_of_view
Definition: RigDef_File.h:1309
RigDef::Document::Module::engine
std::vector< Engine > engine
Definition: RigDef_File.h:1384
RigDef::Rope::invisible
bool invisible
Definition: RigDef_File.h:1019
RigDef::SpeedLimiter
Definition: RigDef_File.h:1174
RigDef::Beam::defaults
std::shared_ptr< BeamDefaults > defaults
Definition: RigDef_File.h:502
RigDef::Lockgroup
Definition: RigDef_File.h:887
RigDef::Hook::option_max_force
float option_max_force
Definition: RigDef_File.h:841
RigDef::BaseWheel2::tyre_springiness
float tyre_springiness
Definition: RigDef_File.h:294
RigDef::Document::Module::name
Ogre::String name
Definition: RigDef_File.h:1364
RigDef::Flare2::node_axis_x
Node::Ref node_axis_x
Definition: RigDef_File.h:743
RigDef::Animator
Definition: RigDef_File.h:421
RigDef::Document::Module::exhausts
std::vector< Exhaust > exhausts
Definition: RigDef_File.h:1387
RigDef::ShockOption::m_METRIC
@ m_METRIC
RigDef::FileFormatVersion::version
int version
Definition: RigDef_File.h:730
RigDef::Turbojet::front_diameter
float front_diameter
Definition: RigDef_File.h:1285
RigDef::Wheel2::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1333
RigDef::SpeedLimiter::max_speed
float max_speed
Definition: RigDef_File.h:1176
RigDef::TriggerOption::H_LOCKS_HOOK_GROUP
@ H_LOCKS_HOOK_GROUP
RigDef::Forvert::node_ref
Node::Ref node_ref
Definition: RigDef_File.h:768
RigDef::DefaultSkin::skin_name
std::string skin_name
Definition: RigDef_File.h:666
RigDef::Brakes::parking_brake_force
float parking_brake_force
Definition: RigDef_File.h:570
RigDef::NodeDefaults::load_weight
float load_weight
Definition: RigDef_File.h:936
RigDef::Author::email
Ogre::String email
Definition: RigDef_File.h:481
RigDef::Rope::end_node
Node::Ref end_node
Definition: RigDef_File.h:1018
RigDef::Flexbody
Definition: RigDef_File.h:775
RigDef::Document::Module::railgroups
std::vector< RailGroup > railgroups
Definition: RigDef_File.h:1415
RigDef::Hook::option_min_range_meters
float option_min_range_meters
Definition: RigDef_File.h:845
RigDef::SpecialProp::DASHBOARD_RIGHT
@ DASHBOARD_RIGHT
RigDef::Engturbo::param10
float param10
Definition: RigDef_File.h:711
RigDef::Command2::option_i_invisible
bool option_i_invisible
Definition: RigDef_File.h:645
RigDef::Trigger::OPTION_h_UNLOCKS_HOOK_GROUP
static const BitMask_t OPTION_h_UNLOCKS_HOOK_GROUP
Definition: RigDef_File.h:1261
RigDef::VideoCamera
Definition: RigDef_File.h:1300
RigDef::Cab::OPTION_D_CONTACT_BUOYANT
static const BitMask_t OPTION_D_CONTACT_BUOYANT
Definition: RigDef_File.h:581
RigDef::TriggerOption::h_UNLOCKS_HOOK_GROUP
@ h_UNLOCKS_HOOK_GROUP
RigDef::Shock2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1090
RigDef::TransferCase
Definition: RigDef_File.h:1243
RigDef::Rotator::inertia
Inertia inertia
Definition: RigDef_File.h:1032
RigDef::Trigger::OPTION_t_CONTINUOUS
static const BitMask_t OPTION_t_CONTINUOUS
Definition: RigDef_File.h:1263
RigDef::BeamDefaults::_is_user_defined
bool _is_user_defined
Informs whether these data were read from "set_beam_defaults" directive or filled in by the parser on...
Definition: RigDef_File.h:563
RoR::ExtCameraMode::CLASSIC
@ CLASSIC
RigDef::FlexBodyWheel::side
RoR::WheelSide side
Definition: RigDef_File.h:792
RigDef::Submesh::texcoords
std::vector< Texcoord > texcoords
Definition: RigDef_File.h:1185
RigDef::Animation::SOURCE_GEAR_NEUTRAL
static const BitMask64_t SOURCE_GEAR_NEUTRAL
Definition: RigDef_File.h:394
RigDef::Animation::SOURCE_ACCEL
static const BitMask64_t SOURCE_ACCEL
Definition: RigDef_File.h:370
RigDef::Wing::airfoil
Ogre::String airfoil
Definition: RigDef_File.h:1351
RigDef::HydroOption::n_INPUT_NORMAL
@ n_INPUT_NORMAL
RigDef::Submesh::cab_triangles
std::vector< Cab > cab_triangles
Definition: RigDef_File.h:1186
RigDef::Animator::OPTION_VISIBLE
static const BitMask_t OPTION_VISIBLE
Definition: RigDef_File.h:423
RigDef::Shock::precompression
float precompression
Changes compression or extension of the suspension when the truck spawns. This can be used to "level"...
Definition: RigDef_File.h:1075
RigDef::Shock2::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1103
RigDef::Turboprop2
Definition: RigDef_File.h:1290
RigDef::TractionControl::wheel_slip
float wheel_slip
Definition: RigDef_File.h:1235
RigDef::Cinecam::node_mass
float node_mass
Definition: RigDef_File.h:612
RigDef::Document::Module::props
std::vector< Prop > props
Definition: RigDef_File.h:1414
RigDef::Inertia::start_delay_factor
float start_delay_factor
Definition: RigDef_File.h:305
RigDef::Prop::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:991
RigDef::TractionControl::attr_is_on
bool attr_is_on
Definition: RigDef_File.h:1238
RigDef::Fusedrag::front_node
Node::Ref front_node
Definition: RigDef_File.h:804
RigDef::SpecialProp::DRIVER_SEAT_2
@ DRIVER_SEAT_2
RigDef::Cab::OPTION_s_BUOYANT_NO_DRAG
static const BitMask_t OPTION_s_BUOYANT_NO_DRAG
Definition: RigDef_File.h:579
RigDef::BaseMeshWheel::tyre_radius
float tyre_radius
Definition: RigDef_File.h:285
RigDef::Script
Definition: RigDef_File.h:1053
RigDef::Minimass::global_min_mass_Kg
float global_min_mass_Kg
minimum node mass in Kg - only effective where DefaultMinimass was not set.
Definition: RigDef_File.h:922
RigDef::VideoCamera::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:1307
RigDef::Hydro::OPTION_s_DISABLE_ON_HIGH_SPEED
static const BitMask_t OPTION_s_DISABLE_ON_HIGH_SPEED
Definition: RigDef_File.h:857
RigDef::Engine::reverse_gear_ratio
float reverse_gear_ratio
Definition: RigDef_File.h:675
RigDef::Document::Module::fileinfo
std::vector< Fileinfo > fileinfo
Definition: RigDef_File.h:1391
RigDef::Trigger::OPTION_E_ENGINE_TRIGGER
static const BitMask_t OPTION_E_ENGINE_TRIGGER
Definition: RigDef_File.h:1264
RigDef::BeamDefaultsScale::deformation_threshold_constant
float deformation_threshold_constant
Definition: RigDef_File.h:516
RigDef::Inertia::Inertia
Inertia()
Definition: RigDef_File.h:300
RigDef::ManagedMaterialsOptions::double_sided
bool double_sided
Definition: RigDef_File.h:899
RigDef::Engturbo::nturbos
int nturbos
Definition: RigDef_File.h:701
RigDef::Animation::SOURCE_TURBO
static const BitMask64_t SOURCE_TURBO
Definition: RigDef_File.h:374
RigDef::Exhaust::direction_node
Node::Ref direction_node
Definition: RigDef_File.h:718
RigDef::Rotator::rotating_plate_nodes
Node::Ref rotating_plate_nodes[4]
Definition: RigDef_File.h:1028
RigDef::NodeDefaults::NodeDefaults
NodeDefaults()
Definition: RigDef_File.cpp:102
RigDef::Script::filename
std::string filename
Definition: RigDef_File.h:1055
RigDef::Globals::material_name
Ogre::String material_name
Definition: RigDef_File.h:815
RigDef::CabOption::r_BUOYANT_ONLY_DRAG
@ r_BUOYANT_ONLY_DRAG
RigDef::Flexbody::node_list
std::vector< Node::Ref > node_list
Definition: RigDef_File.h:785
RoR::CAMERA_MODE_ALWAYS_VISIBLE
static CameraMode_t CAMERA_MODE_ALWAYS_VISIBLE
Definition: Application.h:565
RigDef::Document::Module::shocks3
std::vector< Shock3 > shocks3
Definition: RigDef_File.h:1424
RigDef::Document::Module::default_skin
std::vector< DefaultSkin > default_skin
Definition: RigDef_File.h:1382
RigDef::Document::Module::submesh_groundmodel
std::vector< Ogre::String > submesh_groundmodel
Definition: RigDef_File.h:1431
RigDef::SkeletonSettings::visibility_range_meters
float visibility_range_meters
Definition: RigDef_File.h:1136
RigDef::EngineType::t_TRUCK
@ t_TRUCK
RigDef::HydroOption::j_INVISIBLE
@ j_INVISIBLE
RigDef::Exhaust::particle_name
Ogre::String particle_name
Definition: RigDef_File.h:719
RigDef::Exhaust::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:717
RigDef::Shock2Option::v_DUMMY
@ v_DUMMY
RigDef::Tie
Definition: RigDef_File.h:1196
RigDef::SlideNode::CONSTRAINT_ATTACH_NONE
static const BitMask_t CONSTRAINT_ATTACH_NONE
Definition: RigDef_File.h:1145
RigDef::Animator::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:460
RigDef::Animator::OPTION_ALTIMETER_100K
static const BitMask_t OPTION_ALTIMETER_100K
Definition: RigDef_File.h:427
RigDef::Hydro::OPTION_h_INPUT_InvELEVATOR_RUDDER
static const BitMask_t OPTION_h_INPUT_InvELEVATOR_RUDDER
Definition: RigDef_File.h:867
RigDef::Flare2::size
float size
Definition: RigDef_File.h:750
RoR::VideoCamRole
VideoCamRole
Definition: Application.h:590
RigDef::WheelDetacher
Definition: RigDef_File.h:1337
RigDef::Document::Module::flexbodywheels
std::vector< FlexBodyWheel > flexbodywheels
Definition: RigDef_File.h:1396
RigDef::ManagedMaterialType::FLEXMESH_TRANSPARENT
@ FLEXMESH_TRANSPARENT
RigDef::Document::Module::materialflarebindings
std::vector< MaterialFlareBinding > materialflarebindings
Definition: RigDef_File.h:1407
RigDef::BeamDefaults::plastic_deform_coef
float plastic_deform_coef
Definition: RigDef_File.h:560
RigDef::Rotator2::tolerance
float tolerance
Definition: RigDef_File.h:1041
RigDef::Rotator
Definition: RigDef_File.h:1024
RigDef::WingControlSurface::f_FLAP
@ f_FLAP
RigDef::Turbojet::side_node
Node::Ref side_node
Definition: RigDef_File.h:1281
RigDef::Animation::MotorSource::SOURCE_AERO_THROTTLE
static const BitMask_t SOURCE_AERO_THROTTLE
Definition: RigDef_File.h:346
RigDef::Document::Document
Document()
Definition: RigDef_File.cpp:178
RigDef::Minimass::option
MinimassOption option
Definition: RigDef_File.h:923
RigDef::TransferCase::has_2wd
bool has_2wd
Definition: RigDef_File.h:1247
RigDef::NodeOption::f_NO_SPARKS
@ f_NO_SPARKS
RigDef::Fusedrag
Definition: RigDef_File.h:799
RigDef::Trigger::boundary_timer
float boundary_timer
Definition: RigDef_File.h:1270
RigDef::Animation::SOURCE_BRAKES
static const BitMask64_t SOURCE_BRAKES
Definition: RigDef_File.h:369
RigDef::DifferentialType::s_SPLIT
@ s_SPLIT
RigDef::Globals::cargo_mass
float cargo_mass
Definition: RigDef_File.h:814
RigDef::Document::Module::videocameras
std::vector< VideoCamera > videocameras
Definition: RigDef_File.h:1440
RigDef::Wheel::springiness
float springiness
Definition: RigDef_File.h:1323
RigDef::BaseWheel2
Definition: RigDef_File.h:290
RigDef::Airbrake::texcoord_y2
float texcoord_y2
Definition: RigDef_File.h:337
RigDef::Engine
Definition: RigDef_File.h:669
RigDef::Trigger::contraction_trigger_limit
float contraction_trigger_limit
Definition: RigDef_File.h:1267
RigDef::TriggerOption::E_ENGINE_TRIGGER
@ E_ENGINE_TRIGGER
this trigger is used to control an engine
RigDef::Texcoord
Definition: RigDef_File.h:1189
RigDef::Document::lockgroup_default_nolock
bool lockgroup_default_nolock
Definition: RigDef_File.h:1462
RigDef::Author::type
Ogre::String type
Definition: RigDef_File.h:478
RigDef::Shock3::split_vel_in
float split_vel_in
Split velocity in (m/s) - threshold for slow / fast damping during compression.
Definition: RigDef_File.h:1121
RigDef::WingControlSurface::g_RIGHT_FLAPERON
@ g_RIGHT_FLAPERON
RigDef::Beam::detacher_group
int detacher_group
Definition: RigDef_File.h:501
RigDef::TractionControl::attr_no_toggle
bool attr_no_toggle
Definition: RigDef_File.h:1240
RigDef::Wheel::band_material_name
Ogre::String band_material_name
Definition: RigDef_File.h:1326
RigDef::Document::user_modules
std::map< Ogre::String, std::shared_ptr< Module > > user_modules
Definition: RigDef_File.h:1472
RigDef::Turbojet::dry_thrust
float dry_thrust
Definition: RigDef_File.h:1283
RigDef::Beam::options
BitMask_t options
Definition: RigDef_File.h:498
RigDef::Document::Module::antilockbrakes
std::vector< AntiLockBrakes > antilockbrakes
Definition: RigDef_File.h:1369
RigDef::HydroOption
HydroOption
Definition: RigDef_File.h:181
RigDef::Hydro::OPTION_j_INVISIBLE
static const BitMask_t OPTION_j_INVISIBLE
Definition: RigDef_File.h:855
RigDef::Texcoord::u
float u
Definition: RigDef_File.h:1192
RigDef::Camera::center_node
Node::Ref center_node
Definition: RigDef_File.h:591
RigDef::Animation::source
BitMask64_t source
Definition: RigDef_File.h:412
RigDef::FlexBodyWheel::rim_damping
float rim_damping
Definition: RigDef_File.h:794
RigDef::Shock3::short_bound
float short_bound
Maximum contraction limit, in percentage ( 1.00 = 100% )
Definition: RigDef_File.h:1126
RigDef::CabOption::s_BUOYANT_NO_DRAG
@ s_BUOYANT_NO_DRAG
RigDef::Engturbo::param7
float param7
Definition: RigDef_File.h:708
RigDef::Engoption::idle_rpm
float idle_rpm
Definition: RigDef_File.h:688
RigDef::AeroAnimator::engine_idx
unsigned int engine_idx
Definition: RigDef_File.h:257
RigDef::BaseWheel2::tyre_radius
float tyre_radius
Definition: RigDef_File.h:293
RigDef::Shock2::progress_factor_damp_in
float progress_factor_damp_in
Progression factor for dampin. 0 = disabled, 1...x as multipliers, example:maximum dampingrate == spr...
Definition: RigDef_File.h:1094
RigDef::Animator::inertia_defaults
std::shared_ptr< Inertia > inertia_defaults
Definition: RigDef_File.h:459
RigDef::Shock3::OPTION_M_ABSOLUTE_METRIC
static const BitMask_t OPTION_M_ABSOLUTE_METRIC
Definition: RigDef_File.h:1113
RigDef::BeamDefaultsScale::springiness
float springiness
Definition: RigDef_File.h:514
RigDef::BaseWheel::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:276
RigDef::SpecialProp::REDBEACON
@ REDBEACON
RigDef::Rotator2
Definition: RigDef_File.h:1038
RigDef::Shock::options
BitMask_t options
Definition: RigDef_File.h:1076
RigDef::DifferentialType::l_LOCKED
@ l_LOCKED
RigDef::Command2::affect_engine
float affect_engine
Definition: RigDef_File.h:638
RigDef::Shock2::detacher_group
int detacher_group
Definition: RigDef_File.h:1104
RigDef::Lockgroup::LOCKGROUP_DEFAULT
static const int LOCKGROUP_DEFAULT
Definition: RigDef_File.h:890
RigDef::Author::forum_account_id
unsigned int forum_account_id
Definition: RigDef_File.h:479
RigDef::Document::slide_nodes_connect_instantly
bool slide_nodes_connect_instantly
Definition: RigDef_File.h:1458
RigDef::BaseMeshWheel::mesh_name
Ogre::String mesh_name
Definition: RigDef_File.h:282
RigDef::Forvert::line_number
int line_number
Definition: RigDef_File.h:772
RigDef::SlideNode::CONSTRAINT_ATTACH_ALL
static const BitMask_t CONSTRAINT_ATTACH_ALL
Definition: RigDef_File.h:1142
RigDef::Shock3
Definition: RigDef_File.h:1107
RigDef::Exhaust
Definition: RigDef_File.h:715
RigDef::Document::Module::flexbodies
std::vector< Flexbody > flexbodies
Definition: RigDef_File.h:1395
RigDef::Airbrake::width
float width
Definition: RigDef_File.h:331
RigDef::Command2::contract_key
RoR::CommandkeyID_t contract_key
Definition: RigDef_File.h:634
RigDef::Animation::MODE_ROTATION_X
static const BitMask_t MODE_ROTATION_X
Definition: RigDef_File.h:398
RigDef::Document::Module::hydros
std::vector< Hydro > hydros
Definition: RigDef_File.h:1403
RigDef::VideoCamera::max_clip_distance
float max_clip_distance
Definition: RigDef_File.h:1313
RigDef::CabOption::u_INVULNERABLE
@ u_INVULNERABLE
RigDef::Document::Module::ropables
std::vector< Ropable > ropables
Definition: RigDef_File.h:1416
BITMASK64
#define BITMASK64(OFFSET)
Definition: BitFlags.h:11
RigDef::HydroOption::s_DISABLE_ON_HIGH_SPEED
@ s_DISABLE_ON_HIGH_SPEED
RigDef::Animation::motor_sources
std::list< MotorSource > motor_sources
Definition: RigDef_File.h:413
RigDef::Document::Module::managedmaterials
std::vector< ManagedMaterial > managedmaterials
Definition: RigDef_File.h:1406
RigDef::Prop::special_prop_dashboard
DashboardSpecial special_prop_dashboard
Definition: RigDef_File.h:999
RigDef::Animation::SOURCE_DASHBOARD
static const BitMask64_t SOURCE_DASHBOARD
Definition: RigDef_File.h:391
RigDef::Animation::SOURCE_GEAR_REVERSE
static const BitMask64_t SOURCE_GEAR_REVERSE
Definition: RigDef_File.h:395
RigDef::SpecialProp::DASHBOARD_LEFT
@ DASHBOARD_LEFT
RigDef::CollisionRange::node_collision_range
float node_collision_range
Definition: RigDef_File.h:624
RigDef::Pistonprop::blade_tip_nodes
Node::Ref blade_tip_nodes[4]
Definition: RigDef_File.h:954
RigDef::Beam::OPTION_r_ROPE
static const BitMask_t OPTION_r_ROPE
Definition: RigDef_File.h:494
RigDef::Animation::SOURCE_CLUTCH
static const BitMask64_t SOURCE_CLUTCH
Definition: RigDef_File.h:371
RigDef::Animation::MODE_OFFSET_Y
static const BitMask_t MODE_OFFSET_Y
Definition: RigDef_File.h:402
RigDef::Fusedrag::airfoil_name
Ogre::String airfoil_name
Definition: RigDef_File.h:807
RigDef::BeamDefaultsScale::damping_constant
float damping_constant
Definition: RigDef_File.h:515
RigDef::Animation::SOURCE_SIGNALSTALK
static const BitMask64_t SOURCE_SIGNALSTALK
Definition: RigDef_File.h:392
RigDef::Cab::OPTION_F_10xTOUGHER_BUOYANT
static const BitMask_t OPTION_F_10xTOUGHER_BUOYANT
Definition: RigDef_File.h:582
RigDef::Flare2::control_number
int control_number
Only 'u' type flares.
Definition: RigDef_File.h:747
RigDef::Document::Module::_hint_nodes12_start_linenumber
int _hint_nodes12_start_linenumber
Definition: RigDef_File.h:1447
RigDef::Turbojet::nozzle_length
float nozzle_length
Definition: RigDef_File.h:1287
RigDef::Shock2::damp_in
float damp_in
Damping value applied when the shock is compressing.
Definition: RigDef_File.h:1092
RigDef::Lockgroup::nodes
std::vector< Node::Ref > nodes
Definition: RigDef_File.h:894
RigDef::Tie::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1198
BitMask_t
uint32_t BitMask_t
Definition: BitFlags.h:7
RigDef::Axle
Definition: RigDef_File.h:485
RigDef::Shock2::options
BitMask_t options
Definition: RigDef_File.h:1102
RigDef::BeamOption::v_DUMMY
@ v_DUMMY
RigDef::Fusedrag::area_coefficient
float area_coefficient
Definition: RigDef_File.h:808
RigDef::SlideNode::_attachment_rate_set
bool _attachment_rate_set
Definition: RigDef_File.h:1155
RoR::WheelPropulsion::NONE
@ NONE
Ogre
Definition: ExtinguishableFireAffector.cpp:35
RigDef::Document::Module::collisionboxes
std::vector< CollisionBox > collisionboxes
Definition: RigDef_File.h:1377
RigDef::Shock::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:1070
RigDef::HydroOption::x_INPUT_AILERON_RUDDER
@ x_INPUT_AILERON_RUDDER
RigDef::ShockOption
ShockOption
Definition: RigDef_File.h:200
RigDef::Cinecam::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:613
RigDef::Tie::root_node
Node::Ref root_node
Definition: RigDef_File.h:1201
RigDef::WingControlSurface::b_LEFT_AILERON
@ b_LEFT_AILERON
RigDef::TransferCase::has_2wd_lo
bool has_2wd_lo
Definition: RigDef_File.h:1248
RigDef::EngineType
EngineType
Definition: RigDef_File.h:90
RigDef::Lockgroup::number
int number
Definition: RigDef_File.h:893
RigDef::WingControlSurface::S_RIGHT_HAND_STABILATOR
@ S_RIGHT_HAND_STABILATOR
RigDef::Cab::OPTION_r_BUOYANT_ONLY_DRAG
static const BitMask_t OPTION_r_BUOYANT_ONLY_DRAG
Definition: RigDef_File.h:580
RigDef::BaseWheel::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:269
RigDef::VideoCamera::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1302
RigDef::TieOption::n_DUMMY
@ n_DUMMY
RigDef::Document::root_module
std::shared_ptr< Module > root_module
Required to exist. shared_ptr is used for unified handling with other modules.
Definition: RigDef_File.h:1471
RigDef::Document::Module::flaregroups_no_import
std::vector< FlaregroupNoImport > flaregroups_no_import
Definition: RigDef_File.h:1394
RigDef::SoundSource
Definition: RigDef_File.h:1160
RigDef::RailGroup::node_list
std::vector< Node::Range > node_list
Definition: RigDef_File.h:1005
RigDef::Shock3::OPTION_m_METRIC
static const BitMask_t OPTION_m_METRIC
Definition: RigDef_File.h:1112
RigDef::Document::Module::wheeldetachers
std::vector< WheelDetacher > wheeldetachers
Definition: RigDef_File.h:1441
RigDef::Document::Module::torquecurve
std::vector< TorqueCurve > torquecurve
Definition: RigDef_File.h:1434
RigDef::Document::Module::speedlimiter
std::vector< SpeedLimiter > speedlimiter
Definition: RigDef_File.h:1430
RigDef::Animator::OPTION_PARKING
static const BitMask_t OPTION_PARKING
Definition: RigDef_File.h:441
RigDef::HydroOption::h_INPUT_InvELEVATOR_RUDDER
@ h_INPUT_InvELEVATOR_RUDDER
RigDef::Turbojet::is_reversable
int is_reversable
Definition: RigDef_File.h:1282
RigDef::BaseWheel::node_defaults
std::shared_ptr< NodeDefaults > node_defaults
Definition: RigDef_File.h:275
RigDef::Airbrake::texcoord_x2
float texcoord_x2
Definition: RigDef_File.h:335
RigDef::Animation::SOURCE_SHIFT_BACK_FORTH
static const BitMask64_t SOURCE_SHIFT_BACK_FORTH
Definition: RigDef_File.h:377
RigDef::Hook::option_lockgroup
int option_lockgroup
Definition: RigDef_File.h:843
RigDef::Hook::flag_no_rope
bool flag_no_rope
Definition: RigDef_File.h:849
RigDef::SpecialProp::NONE
@ NONE
RigDef::CabOption::p_10xTOUGHER
@ p_10xTOUGHER
RigDef::Animator::OPTION_SHORT_LIMIT
static const BitMask_t OPTION_SHORT_LIMIT
Definition: RigDef_File.h:450
RigDef::AntiLockBrakes::regulation_force
float regulation_force
Definition: RigDef_File.h:468
RigDef::Trigger::OPTION_H_LOCKS_HOOK_GROUP
static const BitMask_t OPTION_H_LOCKS_HOOK_GROUP
Definition: RigDef_File.h:1262
RigDef::WingControlSurface::r_RUDDER
@ r_RUDDER
RigDef::Assetpack
Definition: RigDef_File.h:260
RigDef::Cab::OPTION_S_INVULNERABLE_BUOYANT
static const BitMask_t OPTION_S_INVULNERABLE_BUOYANT
Definition: RigDef_File.h:583
RigDef::Shock::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1065
RigDef::Document::Module::fileformatversion
std::vector< FileFormatVersion > fileformatversion
Definition: RigDef_File.h:1389
RigDef::WingControlSurface::T_LEFT_HAND_STABILATOR
@ T_LEFT_HAND_STABILATOR
RigDef::Shock::damping
float damping
The 'resistance to motion' of the shock. The best value is given by this equation: 2 * sqrt(suspended...
Definition: RigDef_File.h:1072
RigDef::Animator::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:454
RigDef::Rotator2::description
Ogre::String description
Definition: RigDef_File.h:1042
RigDef::Document::Module::soundsources
std::vector< SoundSource > soundsources
Definition: RigDef_File.h:1428
RigDef::Prop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:989
RigDef::ShadowOptions::shadow_mode
int shadow_mode
Definition: RigDef_File.h:1060
RigDef::CabOption::n_DUMMY
@ n_DUMMY
RigDef::SlideNode::_max_attach_dist_set
bool _max_attach_dist_set
Definition: RigDef_File.h:1157
RigDef::Hydro::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:876
RigDef::Rotator::base_plate_nodes
Node::Ref base_plate_nodes[4]
Definition: RigDef_File.h:1027
RigDef::Flexbody::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:778
RigDef::Animation::event_name
Ogre::String event_name
Definition: RigDef_File.h:415
RigDef::Airbrake::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:327
RigDef::Pistonprop::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:952
RigDef::Particle::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:946
RigDef::Shock3::damp_out
float damp_out
Damping value applied when shock extending.
Definition: RigDef_File.h:1119
RigDef::Command2::option_c_auto_center
bool option_c_auto_center
Definition: RigDef_File.h:647
RigDef::Rotator::spin_left_key
unsigned int spin_left_key
Definition: RigDef_File.h:1030
RigDef::Minimass
Definition: RigDef_File.h:920
RigDef::Shock3::damp_in_slow
float damp_in_slow
Damping value applied when shock is commpressing slower than split in velocity.
Definition: RigDef_File.h:1120
RigDef::BeamDefaults::beam_material_name
Ogre::String beam_material_name
Definition: RigDef_File.h:559
RigDef::Shock2Option::M_ABSOLUTE_METRIC
@ M_ABSOLUTE_METRIC
Absolute metric values for shortbound/longbound, settings apply without regarding to the original len...
RigDef::Turbojet
Definition: RigDef_File.h:1277
RigDef::CameraSettings::mode
int mode
0 and higher = cinecam index
Definition: RigDef_File.h:603
RigDef::Hook::Hook
Hook()
Definition: RigDef_File.cpp:87
RigDef::Hydro::lenghtening_factor
float lenghtening_factor
Definition: RigDef_File.h:872
RigDef::VideoCamera::material_name
Ogre::String material_name
Definition: RigDef_File.h:1316
BitMask64_t
uint64_t BitMask64_t
Definition: BitFlags.h:8
RigDef::Command2::max_contraction
float max_contraction
Definition: RigDef_File.h:632
RigDef::HydroOption::i_INVISIBLE_INPUT_NORMAL
@ i_INVISIBLE_INPUT_NORMAL
For backwards compatibility; combines flags 'j' and 'n'.
RigDef::Animator::OPTION_TACHO
static const BitMask_t OPTION_TACHO
Definition: RigDef_File.h:439
RigDef::WingControlSurface::h_LEFT_FLAPERON
@ h_LEFT_FLAPERON
RigDef::Command2::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:629
RigDef::ROOT_MODULE_NAME
const char * ROOT_MODULE_NAME
Definition: RigDef_File.cpp:35
RigDef::AntiLockBrakes::pulse_per_sec
float pulse_per_sec
Definition: RigDef_File.h:470
RigDef::Document::name
Ogre::String name
Definition: RigDef_File.h:1465
RigDef::Beam
Definition: RigDef_File.h:491
RigDef::Rotator2::rotating_force
float rotating_force
Definition: RigDef_File.h:1040
RigDef::Screwprop
Definition: RigDef_File.h:1045
RigDef::Hook::option_timer
float option_timer
Definition: RigDef_File.h:844
RigDef::GuiSettings::value
std::string value
Definition: RigDef_File.h:826
RigDef::Animation::SOURCE_TORQUE
static const BitMask64_t SOURCE_TORQUE
Definition: RigDef_File.h:380
RigDef::Shock2Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Document::Module::camerarail
std::vector< CameraRail > camerarail
Definition: RigDef_File.h:1376
RigDef::Prop::x_axis_node
Node::Ref x_axis_node
Definition: RigDef_File.h:990
RigDef::Animation::upper_limit
float upper_limit
Definition: RigDef_File.h:411
RigDef::Cab::options
BitMask_t options
Definition: RigDef_File.h:586
RigDef::ExtCamera::mode
RoR::ExtCameraMode mode
Definition: RigDef_File.h:724
RigDef::Tie::OPTION_s_DISABLE_SELF_LOCK
static const BitMask_t OPTION_s_DISABLE_SELF_LOCK
Definition: RigDef_File.h:1199
RigDef::Inertia::stop_function
Ogre::String stop_function
Definition: RigDef_File.h:308
RigDef::Animation::SOURCE_ALTIMETER_100K
static const BitMask64_t SOURCE_ALTIMETER_100K
Definition: RigDef_File.h:361
RigDef::Prop::DashboardSpecial::rotation_angle
float rotation_angle
Definition: RigDef_File.h:974
RigDef::Document::Module::particles
std::vector< Particle > particles
Definition: RigDef_File.h:1412
RigDef::Engoption::inertia
float inertia
Definition: RigDef_File.h:682
RigDef::Document::Module::beams
std::vector< Beam > beams
Definition: RigDef_File.h:1373
RigDef::CruiseControl
Definition: RigDef_File.h:653
RigDef::BaseMeshWheel::material_name
Ogre::String material_name
Definition: RigDef_File.h:283
RigDef::Rope::detacher_group
int detacher_group
Definition: RigDef_File.h:1021
RigDef::Hydro::OPTION_r_INPUT_RUDDER
static const BitMask_t OPTION_r_INPUT_RUDDER
Definition: RigDef_File.h:860
RigDef::Animation::MODE_NO_FLIP
static const BitMask_t MODE_NO_FLIP
Definition: RigDef_File.h:405
RigDef::Wing
Definition: RigDef_File.h:1343
RigDef::BaseWheel::reference_arm_node
Node::Ref reference_arm_node
Definition: RigDef_File.h:273
RigDef::Animation::dash_link_name
Ogre::String dash_link_name
Definition: RigDef_File.h:416
RigDef::SpecialProp::MIRROR_RIGHT
@ MIRROR_RIGHT
RigDef::ManagedMaterialsOptions
Definition: RigDef_File.h:897
RigDef::Hook::flag_visible
bool flag_visible
Definition: RigDef_File.h:850
RigDef::Document::Module::interaxles
std::vector< InterAxle > interaxles
Definition: RigDef_File.h:1404
RigDef::Fusedrag::rear_node
Node::Ref rear_node
Definition: RigDef_File.h:805
RigDef::Globals
Definition: RigDef_File.h:811
RigDef::Prop::special_prop_beacon
BeaconSpecial special_prop_beacon
Definition: RigDef_File.h:998
RigDef::Command2::needs_engine
bool needs_engine
Definition: RigDef_File.h:639
RigDef::Pistonprop::pitch
float pitch
Definition: RigDef_File.h:957
RoR::FlareType::HEADLIGHT
@ HEADLIGHT
RigDef::ExtCamera
Definition: RigDef_File.h:722
RigDef::Shock2::progress_factor_damp_out
float progress_factor_damp_out
Progression factor dampout, 0 = disabled, 1...x as multipliers, example:maximum dampingrate == spring...
Definition: RigDef_File.h:1098
RigDef::Flexbody::y_axis_node
Node::Ref y_axis_node
Definition: RigDef_File.h:779
RigDef::Shock3Option::i_INVISIBLE
@ i_INVISIBLE
RigDef::Rope
Definition: RigDef_File.h:1015
RigDef::Cinecam::nodes
Node::Ref nodes[8]
Definition: RigDef_File.h:609
RigDef::Shock2::Shock2
Shock2()
Definition: RigDef_File.cpp:110
RigDef::Shock3::OPTION_i_INVISIBLE
static const BitMask_t OPTION_i_INVISIBLE
Definition: RigDef_File.h:1111
RigDef::Airbrake::offset
Ogre::Vector3 offset
Definition: RigDef_File.h:330
RigDef::Wheel2::rim_springiness
float rim_springiness
Definition: RigDef_File.h:1331
RigDef::Hook::option_speed_coef
float option_speed_coef
Definition: RigDef_File.h:840
RigDef::Trigger::beam_defaults
std::shared_ptr< BeamDefaults > beam_defaults
Definition: RigDef_File.h:1271
RigDef::Ropable::group
int group
Definition: RigDef_File.h:1011
RigDef::Forvert::node_y
Node::Ref node_y
Definition: RigDef_File.h:770
RigDef::Wheel::face_material_name
Ogre::String face_material_name
Definition: RigDef_File.h:1325
RigDef::Cab::OPTION_b_BUOYANT
static const BitMask_t OPTION_b_BUOYANT
Definition: RigDef_File.h:576
RoR::COMMANDKEYID_INVALID
static const CommandkeyID_t COMMANDKEYID_INVALID
Definition: ForwardDeclarations.h:83
RigDef::Wing::efficacy_coef
float efficacy_coef
Definition: RigDef_File.h:1352
RoR::WheelPropulsion
WheelPropulsion
Definition: Application.h:532
RigDef::CabOption::F_10xTOUGHER_BUOYANT
@ F_10xTOUGHER_BUOYANT
RigDef::Hydro::OPTION_x_INPUT_AILERON_RUDDER
static const BitMask_t OPTION_x_INPUT_AILERON_RUDDER
Definition: RigDef_File.h:864
RigDef::SpecialProp::LIGHTBAR
@ LIGHTBAR
RigDef::SlideNode
Definition: RigDef_File.h:1140
RigDef::Cinecam::damping
float damping
Definition: RigDef_File.h:611
RigDef::TractionControl::regulation_force
float regulation_force
Definition: RigDef_File.h:1234
RigDef::Shock2Option::n_DUMMY
@ n_DUMMY
RigDef::TransferCase::a2
int a2
Definition: RigDef_File.h:1246
RigDef::MeshWheel2
Definition: RigDef_File.h:929
RigDef::Hook::flag_self_lock
bool flag_self_lock
Definition: RigDef_File.h:846
RigDef::Document::Module::meshwheels
std::vector< MeshWheel > meshwheels
Definition: RigDef_File.h:1408
RigDef::Document::Module::engoption
std::vector< Engoption > engoption
Definition: RigDef_File.h:1385
RigDef::SoundSource::sound_script_name
Ogre::String sound_script_name
Definition: RigDef_File.h:1163
RigDef::Keyword
Keyword
Definition: Application.h:171
RigDef::BeamDefaults::GetScaledDamping
float GetScaledDamping()
Definition: RigDef_File.h:539
RigDef::HydroOption::v_INPUT_InvAILERON_ELEVATOR
@ v_INPUT_InvAILERON_ELEVATOR
RigDef::Pistonprop::turbine_power_kW
float turbine_power_kW
Definition: RigDef_File.h:956
RigDef::Document::Module::tractioncontrol
std::vector< TractionControl > tractioncontrol
Definition: RigDef_File.h:1435
RigDef::Animation::MotorSource::source
BitMask_t source
Definition: RigDef_File.h:354
RigDef::CabOption::c_CONTACT
@ c_CONTACT
RigDef::WheelDetacher::detacher_group
int detacher_group
Definition: RigDef_File.h:1340
RigDef::TorqueCurve
Definition: RigDef_File.h:1213
RigDef::Shock3::damp_out_slow
float damp_out_slow
Damping value applied when shock is commpressing slower than split out velocity.
Definition: RigDef_File.h:1123
RigDef::Prop::BeaconSpecial::flare_material_name
Ogre::String flare_material_name
Definition: RigDef_File.h:985
RigDef::DifferentialTypeVec
std::vector< DifferentialType > DifferentialTypeVec
Definition: RigDef_File.h:105
RigDef::ShockOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Turboprop2::reference_node
Node::Ref reference_node
Definition: RigDef_File.h:1292
RigDef::Document::Module::fixes
std::vector< Node::Ref > fixes
Definition: RigDef_File.h:1390
RigDef::Prop::animations
std::list< Animation > animations
Definition: RigDef_File.h:995
RigDef::Hook::node
Node::Ref node
Definition: RigDef_File.h:838
RigDef::Document::Module::soundsources2
std::vector< SoundSource2 > soundsources2
Definition: RigDef_File.h:1429
RigDef::Beam::nodes
Node::Ref nodes[2]
Definition: RigDef_File.h:497
RigDef::Document::Module::guid
std::vector< Guid > guid
Definition: RigDef_File.h:1399
RigDef::Rope::root_node
Node::Ref root_node
Definition: RigDef_File.h:1017
RigDef::VideoCamera::camera_name
Ogre::String camera_name
Definition: RigDef_File.h:1317
RigDef::Fileinfo::category_id
int category_id
Definition: RigDef_File.h:736
RigDef::Submesh::backmesh
bool backmesh
Definition: RigDef_File.h:1184
RigDef::Animator::OPTION_VERTICAL_VELOCITY
static const BitMask_t OPTION_VERTICAL_VELOCITY
Definition: RigDef_File.h:426
RigDef::Turbojet::back_node
Node::Ref back_node
Definition: RigDef_File.h:1280
RigDef::Animator::OPTION_GEAR_SELECT
static const BitMask_t OPTION_GEAR_SELECT
Definition: RigDef_File.h:445
RigDef::Animation::SOURCE_SEQUENTIAL_SHIFT
static const BitMask64_t SOURCE_SEQUENTIAL_SHIFT
Definition: RigDef_File.h:378
RigDef::Cab::nodes
Node::Ref nodes[3]
Definition: RigDef_File.h:585
RigDef::BeamOption::i_INVISIBLE
@ i_INVISIBLE
RigDef::Animation::SOURCE_SPEEDO
static const BitMask64_t SOURCE_SPEEDO
Definition: RigDef_File.h:372
RigDef::WingControlSurface::i_RIGHT_RUDDERVATOR
@ i_RIGHT_RUDDERVATOR
RigDef::Prop::BeaconSpecial::color
Ogre::ColourValue color
Definition: RigDef_File.h:986
RigDef::TieOption::i_INVISIBLE
@ i_INVISIBLE