RigsofRods
Soft-body Physics Simulation
SimData.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-2023 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 
29 
30 #pragma once
31 
32 #include "ForwardDeclarations.h"
33 #include "SimConstants.h"
34 #include "BitFlags.h"
35 #include "CmdKeyInertia.h"
36 #include "InputEngine.h"
37 
38 #include <memory>
39 #include <Ogre.h>
40 #include <OgreUTFString.h>
41 #include <rapidjson/document.h>
42 
43 namespace RoR {
44 
47 {
48  EVENT_NONE = 0,
55 };
56 
57 enum class ExtCameraMode
58 {
59  INVALID = -1,
60  CLASSIC = 0,
61  CINECAM = 1,
62  NODE = 2,
63 };
64 
65 
68 
69 enum BeamType: short
70 {
74 };
75 
77 
80 
82 {
86 };
87 
88 enum ActorType
89 {
90  // DO NOT MODIFY NUMBERS - serialized into cache file, see RoR::CacheEntry
91 
93  TRUCK = 1,
94  AIRPLANE = 2,
95  BOAT = 3,
96  MACHINE = 4,
97  AI = 5,
98 };
99 
101 
104 
105 enum SpecialBeam: short
106 {
114 };
115 
117 
120 
122 {
127 };
128 
130 {
139 };
140 
142 {
175 };
176 
178 {
188 };
189 
191 
194 
196 {
212 };
213 
215 
218 
220 {
227 };
228 
229 enum class FlareType: char
230 {
231  NONE = 0,
232  // Front lights
233  HEADLIGHT = 'f',
234  HIGH_BEAM = 'h',
235  FOG_LIGHT = 'g',
236  // Rear lighs
237  TAIL_LIGHT = 't',
238  BRAKE_LIGHT = 'b',
239  REVERSE_LIGHT = 'R',
240  // Special lights
241  SIDELIGHT = 's',
242  BLINKER_LEFT = 'l',
243  BLINKER_RIGHT = 'r',
244  USER = 'u',
245  DASHBOARD = 'd'
246 };
247 
250 
252 {
257 };
258 
261 
264 
265 enum class ActorState
266 {
268  NETWORKED_OK,
270  LOCAL_REPLAY,
272  DISPOSED
273 };
274 
275 enum class AeroEngineType
276 {
277  AE_UNKNOWN,
278  AE_XPROP,
279  AE_TURBOJET,
280 };
281 
282 // --------------------------------
283 // Soft body physics
284 
286 struct node_t
287 {
288  static const int8_t INVALID_BBOX = -1;
289 
290  node_t() { memset(this, 0, sizeof(node_t)); nd_coll_bbox_id = INVALID_BBOX; }
291  node_t(size_t _pos) { memset(this, 0, sizeof(node_t)); nd_coll_bbox_id = INVALID_BBOX; pos = static_cast<short>(_pos); }
292 
293  Ogre::Vector3 RelPosition;
294  Ogre::Vector3 AbsPosition;
295  Ogre::Vector3 Velocity;
296  Ogre::Vector3 Forces;
297 
298  Ogre::Real mass;
299  Ogre::Real buoyancy;
300  Ogre::Real friction_coef;
301  Ogre::Real surface_coef;
302  Ogre::Real volume_coef;
303 
305  int16_t nd_coll_bbox_id;
306  int16_t nd_lockgroup;
307 
308  // Bit flags
309  bool nd_cab_node:1;
310  bool nd_rim_node:1;
311  bool nd_tyre_node:1;
312  bool nd_contacter:1;
313  bool nd_contactable:1;
316  bool nd_immovable:1;
317  bool nd_loaded_mass:1;
320  bool nd_under_water:1;
322 
324  Ogre::Vector3 nd_last_collision_slip;
325  Ogre::Vector3 nd_last_collision_force;
327 };
328 
330 struct beam_t
331 {
332  beam_t();
333  ~beam_t();
334 
335  node_t* p1 = nullptr;
336  node_t* p2 = nullptr;
337  float k = 0.f;
338  float d = 0.f;
339  float L = 0.f;
340  float minmaxposnegstress = 0.f;
341  float maxposstress = 0.f;
342  float maxnegstress = 0.f;
343  float strength = 0.f;
344  float stress = 0.f;
345  float plastic_coef = 0.f;
349  bool bm_inter_actor = false;
351  bool bm_disabled = false;
352  bool bm_broken = false;
353 
354  float shortbound = 0.f;
355  float longbound = 0.f;
356  float refL = 0.f;
357 
358  shock_t* shock = nullptr;
359 
360  float initial_beam_strength = 0.f;
361  float default_beam_deform = 0.f;
362 
363  float debug_k = 0.f;
364  float debug_d = 0.f;
365  float debug_v = 0.f;
366 };
367 
368 struct shock_t
369 {
370  shock_t() { memset(this, 0, sizeof(shock_t)); }
371 
372  int beamid;
373  int flags;
374 
381 
382  float springin;
383  float dampin;
384  float springout;
385  float dampout;
386 
387  float sprogin;
388  float dprogin;
389  float sprogout;
390  float dprogout;
391 
392  float splitin;
393  float dslowin;
394  float dfastin;
395  float splitout;
396  float dslowout;
397  float dfastout;
398 
399  float sbd_spring;
400  float sbd_damp;
401 };
402 
404 {
405  int rate; // remaining amount of physics cycles to be skipped
406  int distance; // distance (in physics cycles) to the previous collision check
407 };
408 
410 
412 {
413  soundsource_t();
414  ~soundsource_t();
415 
418  int type;
419 };
420 
421 struct wheel_t
422 {
423  enum class BrakeCombo
424  {
425  NONE,
426  FOOT_HAND,
429  FOOT_ONLY
430  };
431 
433  node_t* wh_nodes[50]; // TODO: remove limit, make this dyn-allocated ~ only_a_ptr, 08/2017
435  node_t* wh_rim_nodes[50]; // TODO: remove limit, make this dyn-allocated ~ only_a_ptr, 08/2017
441  int wh_propulsed; // TODO: add enum ~ only_a_ptr, 08/2017
442  Ogre::Real wh_radius;
443  Ogre::Real wh_rim_radius;
444  Ogre::Real wh_speed;
445  Ogre::Real wh_avg_speed;
446  Ogre::Real wh_alb_coef;
447  Ogre::Real wh_tc_coef;
448  Ogre::Real wh_mass;
449  Ogre::Real wh_torque;
450  Ogre::Real wh_last_torque;
451  Ogre::Real wh_last_retorque;
452  float wh_net_rp;
453  float wh_width;
455 
456  // Debug
457  float debug_rpm;
459  Ogre::Vector3 debug_vel;
460  Ogre::Vector3 debug_slip;
461  Ogre::Vector3 debug_force;
462  Ogre::Vector3 debug_scaled_cforce;
463 };
464 
466 {
469 };
470 
473 
474 struct hook_t
475 {
476  hook_t();
477  ~hook_t();
478 
480  int hk_group = 0;
481  int hk_lockgroup = 0;
482  bool hk_selflock = false;
483  bool hk_autolock = false;
484  bool hk_nodisable = false;
485  float hk_maxforce = 0.f;
486  float hk_lockrange = 0.f;
487  float hk_lockspeed = 0.f;
488  float hk_timer = 0.f;
489  float hk_timer_preset = 0.f;
490  float hk_min_length = 0.f;
491  node_t* hk_hook_node = nullptr;
492  node_t* hk_lock_node = nullptr;
493  beam_t* hk_beam = nullptr;
495 };
496 
497 struct ropable_t
498 {
500  int pos;
501  int group;
504  bool multilock;
505 };
506 
507 struct rope_t
508 {
509  rope_t();
510  ~rope_t();
511 
512  int rp_locked = 0;
513  int rp_group = 0;
514  beam_t* rp_beam = nullptr;
517 };
518 
519 struct tie_t
520 {
521  tie_t();
522  ~tie_t();
523 
525  beam_t* ti_beam = nullptr;
527  int ti_group = 0;
528  float ti_contract_speed = 0.f;
529  float ti_max_stress = 0.f;
530  float ti_min_length = 0.f;
531 
533  bool ti_tied:1;
534  bool ti_tying:1;
535 };
536 
537 struct wing_t
538 {
540  Ogre::SceneNode *cnode;
541 };
542 
544 {
545  commandbeam_state_t() { memset(this, 0, sizeof(commandbeam_state_t)); }
546 
548 
549  // Bit flags
551  bool auto_move_lock:1;
552 };
553 
555 {
556  uint16_t cmb_beam_index;
559  float cmb_speed;
561 
562  // Bit flags
568  bool cmb_is_1press:1;
570 
571  std::shared_ptr<commandbeam_state_t> cmb_state;
572 };
573 
574 struct command_t
575 {
577  float commandValue = 0;
578  float triggerInputValue = 0.f;
579  float playerInputValue = 0.f;
581  std::vector<commandbeam_t> beams;
582  std::vector<int> rotators;
583  Ogre::String description;
586 };
587 
589 {
590  uint16_t hb_beam_index;
592  float hb_speed;
593  int hb_flags;
597 };
598 
599 struct rotator_t
600 {
606  float angle;
607  float rate;
608  float force;
609  float tolerance;
611  float debug_rate;
613 };
614 
615 struct flare_t
616 {
620  float offsetx;
621  float offsety;
622  float offsetz;
623  Ogre::SceneNode *snode = nullptr;
624  Ogre::BillboardSet *bbs = nullptr;
625  Ogre::Light *light = nullptr;
629  float blinkdelay;
632  float size;
633  float intensity;
634  bool uses_inertia = false;
636 };
637 
638 struct exhaust_t
639 {
642  Ogre::SceneNode *smokeNode = nullptr;
643  Ogre::ParticleSystem* smoker = nullptr;
644  std::string particleSystemName;
645 };
646 
647 
649 {
652  bool active;
653  Ogre::SceneNode *snode;
654  Ogre::ParticleSystem* psys;
655 };
656 
659 {
660  bool eventlock_present = false;
661  bool event_active_prev = false;
662  bool anim_active = false;
664 };
665 
669 {
670 public:
671  command_t& operator[](int index)
672  {
673  if (index >= 0 && index <= MAX_COMMANDS) // for backwards compatibility, we accept 0 as index too.
674  {
675  return m_commandkey[index]; // valid commandkey (indexed 1-MAX_COMMANDS!)
676  }
677  else if (index < 0)
678  {
679  return m_virtualkey[index]; // 'virtual' commandkey - if hashmap value doesn't exist, it's inserted automatically.
680  }
681  else
682  {
683  assert(false);
684  return m_dummykey; // Whatever!
685  }
686  }
687 private:
688  std::array<command_t, MAX_COMMANDS + 1> m_commandkey;
689  std::unordered_map<int, command_t> m_virtualkey;
691 };
692 
696 {
697  std::string uckp_description;
700 };
701 
703 
704 // --------------------------------
705 // some non-actor structs
706 
709 
712 
713 
715 {
716  bool virt;
717  bool refined;
719  bool camforced;
720  bool enabled;
723  Ogre::Vector3 lo;
724  Ogre::Vector3 hi;
725  Ogre::Vector3 center;
726  Ogre::Quaternion rot;
727  Ogre::Quaternion unrot;
728  Ogre::Vector3 selfcenter;
729  Ogre::Quaternion selfrot;
730  Ogre::Quaternion selfunrot;
731  Ogre::Vector3 relo;
732  Ogre::Vector3 rehi;
733  Ogre::Vector3 campos;
734  Ogre::Vector3 debug_verts[8];
735 };
736 typedef std::vector<collision_box_t*> CollisionBoxPtrVec;
737 
740 {
741  float va;
742  float ms;
743  float mc;
744  float t2;
745  float vs;
746  float alpha;
747  float strength;
748 
751 
756 
757 
760 
761  int fx_type;
762  Ogre::ColourValue fx_colour;
763  char name[256];
764  char basename[256];
765  char particle_name[256];
766 
768 
775 };
776 
778 
779 enum class FreeForceType
780 {
781  DUMMY,
782  CONSTANT,
784  TOWARDS_NODE,
785 };
786 
788 struct FreeForce
789 {
790  // Common params:
793  float ffc_force_magnitude = 0.f;
796  // Direction-specific params:
797  Ogre::Vector3 ffc_force_const_direction = Ogre::Vector3::ZERO;
798  Ogre::Vector3 ffc_target_coords = Ogre::Vector3::ZERO;
801 };
802 
805 {
806  // AngelScript `dictionary` converts all primitives to `double` or `int64`, see 'scriptdictionary.cpp', function `Set()`
807 
808  // common params:
810  int64_t ffr_type = (int64_t)FreeForceType::DUMMY;
811  double ffr_force_magnitude = 0.0;
814  // direction-specific params:
815  Ogre::Vector3 ffr_force_const_direction = Ogre::Vector3::ZERO;
816  Ogre::Vector3 ffr_target_coords = Ogre::Vector3::ZERO;
819 
820 };
821 
823 
825 {
826  int id;
827  Ogre::String type;
828  Ogre::String name;
829  Ogre::String email;
830 };
831 
833 {
836 
837  enum class Origin
838  {
839  UNKNOWN,
840  CONFIG_FILE,
841  TERRN_DEF,
842  USER,
843  SAVEGAME,
844  NETWORK,
845  AI
846  };
847 
849  std::string asr_filename;
850  Ogre::String asr_config;
851  Ogre::Vector3 asr_position = Ogre::Vector3::ZERO;
852  Ogre::Quaternion asr_rotation = Ogre::Quaternion::ZERO;
858  int asr_debugview = 0; //(int)DebugViewType::DEBUGVIEW_NONE;
859  Ogre::UTFString asr_net_username;
860  int asr_net_color = 0;
861  int net_source_id = 0;
862  int net_stream_id = 0;
863  bool asr_free_position = false;
864  bool asr_enter = true;
865  bool asr_terrn_machine = false;
866  std::shared_ptr<rapidjson::Document>
868 };
869 
871 {
874 
875  enum class Type
876  {
877  INVALID,
878  RELOAD,
881  SOFT_RESET,
883  WAKE_UP,
884  };
885 
886  ActorInstanceID_t amr_actor = ACTORINSTANCEID_INVALID;// not ActorPtr because it's not thread-safe
888  std::shared_ptr<rapidjson::Document>
891  std::string amr_addonpart_fname;
892 };
893 
895 {
896  INVALID,
898  // hookToggle()
899  HOOK_LOCK,
900  HOOK_UNLOCK,
901  HOOK_TOGGLE,
903  HOOK_RESET,
904  // tieToggle()
905  TIE_TOGGLE,
906  TIE_RESET,
907  // ropeToggle()
908  ROPE_TOGGLE,
909  ROPE_RESET,
910  // toggleSlideNodeLock()
912 };
913 
918 {
921  // hookToggle()
922  int alr_hook_group = -1;
924  // tieToggle()
925  int alr_tie_group = -1;
926  // ropeToggle()
927  int alr_rope_group = -1;
928 };
929 
930 } // namespace RoR
RoR::node_t::nd_coll_bbox_id
int16_t nd_coll_bbox_id
Optional attribute (-1 = none) - multiple collision bounding boxes defined in truckfile.
Definition: SimData.h:305
RoR::ActorLinkingRequest::alr_hook_group
int alr_hook_group
Definition: SimData.h:922
RoR::LOCALIZER_NDB
@ LOCALIZER_NDB
Definition: SimData.h:255
RoR::collcab_rate_t::rate
int rate
Definition: SimData.h:405
RoR::ground_model_t::solid_ground_level
float solid_ground_level
how deep the solid ground is
Definition: SimData.h:758
RoR::flare_t::offsety
float offsety
Definition: SimData.h:621
MAX_COMMANDS
static const int MAX_COMMANDS
maximum number of commands per actor
Definition: SimConstants.h:28
RoR::wheel_t::wh_rim_nodes
node_t * wh_rim_nodes[50]
Definition: SimData.h:435
RoR::rope_t::rp_group
int rp_group
Definition: SimData.h:513
RoR::ANIM_FLAG_HEADING
@ ANIM_FLAG_HEADING
Definition: SimData.h:165
RoR::wing_t::fa
FlexAirfoil * fa
Definition: SimData.h:539
RoR::rotator_t::nodes2
NodeNum_t nodes2[4]
Definition: SimData.h:603
RoR::SHOCK_FLAG_SOFTBUMP
@ SHOCK_FLAG_SOFTBUMP
Definition: SimData.h:202
RoR::shock_t::last_debug_state
int last_debug_state
smart debug output
Definition: SimData.h:380
RoR::ground_model_t::fx_particle_max_velo
float fx_particle_max_velo
maximum velocity to display sparks
Definition: SimData.h:770
RoR::ANIM_FLAG_BRUDDER
@ ANIM_FLAG_BRUDDER
Definition: SimData.h:171
RoR::command_t::command_inertia
RoR::CmdKeyInertia command_inertia
Definition: SimData.h:585
RoR::ANIM_FLAG_AILERONS
@ ANIM_FLAG_AILERONS
Definition: SimData.h:169
RoR::node_t::nd_contacter
bool nd_contacter
Attr; User-defined.
Definition: SimData.h:312
RoR::soundsource_t::ssi
SoundScriptInstancePtr ssi
Definition: SimData.h:416
RoR::SHOCK3
@ SHOCK3
shock3
Definition: SimData.h:110
RoR::ActorSpawnRequest::asr_net_color
int asr_net_color
Definition: SimData.h:860
RoR::rotator_t::rate
float rate
Definition: SimData.h:607
RoR::ActorSpawnRequest::asr_free_position
bool asr_free_position
Disables the automatic spawn position adjustment.
Definition: SimData.h:863
RoR::exhaust_t::directionNode
NodeNum_t directionNode
Definition: SimData.h:641
RoR::ANIM_MODE_ROTA_Z
@ ANIM_MODE_ROTA_Z
Definition: SimData.h:181
RoR::commandbeam_t::cmb_is_force_restricted
bool cmb_is_force_restricted
Attribute defined in truckfile.
Definition: SimData.h:564
RoR::ANIM_FLAG_ACCEL
@ ANIM_FLAG_ACCEL
Definition: SimData.h:153
RoR::ActorModifyRequest::Type::WAKE_UP
@ WAKE_UP
RoR::wing_t::cnode
Ogre::SceneNode * cnode
Definition: SimData.h:540
RoR::hook_t::hk_timer
float hk_timer
Definition: SimData.h:488
RoR::shock_t::dslowin
float dslowin
shocks3
Definition: SimData.h:393
RoR::node_t::Velocity
Ogre::Vector3 Velocity
Definition: SimData.h:295
RoR::FlareType::REVERSE_LIGHT
@ REVERSE_LIGHT
ForwardDeclarations.h
Global forward declarations.
RoR::node_t::nd_immovable
bool nd_immovable
Attr; User-defined.
Definition: SimData.h:316
RoR::ActorSpawnRequest::Origin::NETWORK
@ NETWORK
Remote controlled.
RoR::HYDRO_FLAG_DIR
@ HYDRO_FLAG_DIR
Definition: SimData.h:132
RoR::CmdKeyArray::m_commandkey
std::array< command_t, MAX_COMMANDS+1 > m_commandkey
BEWARE: commandkeys are indexed 1-MAX_COMMANDS!
Definition: SimData.h:688
RoR::MACHINE
@ MACHINE
its a machine
Definition: SimData.h:96
RoR::ground_model_t::strength
float strength
ground strength
Definition: SimData.h:747
RoR::CmdKeyArray::m_dummykey
command_t m_dummykey
Definition: SimData.h:690
RoR::flare_t::bbs
Ogre::BillboardSet * bbs
This remains nullptr if removed via addonpart_unwanted_flare or Tuning UI.
Definition: SimData.h:624
RoR::FreeForce::ffc_target_node
NodeNum_t ffc_target_node
Definition: SimData.h:800
RoR::BeamType
BeamType
Definition: SimData.h:69
RoR::rope_t::rp_beam
beam_t * rp_beam
Definition: SimData.h:514
RoR::FlareType::BLINKER_LEFT
@ BLINKER_LEFT
RoR::FreeForceRequest::ffr_target_node
int64_t ffr_target_node
Definition: SimData.h:818
RoR::shock_t::dprogout
float dprogout
shocks2
Definition: SimData.h:390
RoR::flare_t::size
float size
Definition: SimData.h:632
RoR::TRUCK
@ TRUCK
its a truck (or other land vehicle)
Definition: SimData.h:93
RoR::ropable_t::multilock
bool multilock
Attribute.
Definition: SimData.h:504
RoR::command_t::rotators
std::vector< int > rotators
Definition: SimData.h:582
RoR::node_t::nd_avg_collision_slip
Ogre::Real nd_avg_collision_slip
Physics state; average slip velocity across the last few physics frames.
Definition: SimData.h:323
RoR::node_t::nd_last_collision_gm
ground_model_t * nd_last_collision_gm
Physics state; last collision 'ground model' (surface definition)
Definition: SimData.h:326
RoR::ground_model_t::va
float va
adhesion velocity
Definition: SimData.h:741
RoR::HYDRO_FLAG_REV_AILERON
@ HYDRO_FLAG_REV_AILERON
Definition: SimData.h:136
RoR::SHOCK_FLAG_TRG_BLOCKER_A
@ SHOCK_FLAG_TRG_BLOCKER_A
Definition: SimData.h:207
RoR::HYDRO_FLAG_SPEED
@ HYDRO_FLAG_SPEED
Definition: SimData.h:131
RoR::shock_t::springin
float springin
shocks2 & shocks3
Definition: SimData.h:382
RoR::FlareType::FOG_LIGHT
@ FOG_LIGHT
RoR::soundsource_t::soundsource_t
soundsource_t()
Definition: SimData.cpp:87
RoR::EVENT_AIRPLANE
@ EVENT_AIRPLANE
'airplane' ~ Triggered by any node of airplane (ActorType::AIRPLANE)
Definition: SimData.h:53
RoR::ActorSpawnRequest::Origin::CONFIG_FILE
@ CONFIG_FILE
'Preselected vehicle' in RoR.cfg or command line
RoR::ActorSpawnRequest::asr_origin
Origin asr_origin
Definition: SimData.h:857
RoR::FlareType::NONE
@ NONE
RoR::node_t::AbsPosition
Ogre::Vector3 AbsPosition
absolute position in the world (shaky)
Definition: SimData.h:294
RoR::ActorModifyRequest::ActorModifyRequest
ActorModifyRequest()
Definition: SimData.cpp:97
RoR::shock_t::splitin
float splitin
shocks3
Definition: SimData.h:392
RoR::shock_t::trigger_enabled
bool trigger_enabled
general trigger,switch and blocker state
Definition: SimData.h:375
RoR::flare_t::dashboard_link
int dashboard_link
Only 'd' type flares, valid values are DD_*.
Definition: SimData.h:628
RoR::wheel_t::wh_nodes
node_t * wh_nodes[50]
Definition: SimData.h:433
RoR::EVENT_TRUCK_WHEELS
@ EVENT_TRUCK_WHEELS
'truck_wheels' ~ Triggered only by wheel nodes of land vehicle (ActorType::TRUCK)
Definition: SimData.h:52
RoR::ActorLinkingRequest
Estabilishing a physics linkage between 2 actors modifies a global linkage table and triggers immedia...
Definition: SimData.h:917
RoR::collision_box_t::virt
bool virt
Definition: SimData.h:716
RoR::beam_t::p1
node_t * p1
Definition: SimData.h:335
RoR::ANIM_FLAG_ELEVATORS
@ ANIM_FLAG_ELEVATORS
Definition: SimData.h:174
RoR::collision_box_t::enabled
bool enabled
Definition: SimData.h:720
RoR::HydroFlags
HydroFlags
Definition: SimData.h:129
RoR::ANIM_MODE_ROTA_X
@ ANIM_MODE_ROTA_X
Definition: SimData.h:179
RoR::CollisionEventFilter
CollisionEventFilter
Specified in terrain object (.ODEF) file, syntax: 'event <type> <filter>'.
Definition: SimData.h:46
RoR::node_t::nd_under_water
bool nd_under_water
State; GFX hint.
Definition: SimData.h:320
RoR::shock_t::sprogin
float sprogin
shocks2
Definition: SimData.h:387
RoR::node_t::surface_coef
Ogre::Real surface_coef
Definition: SimData.h:301
RoR::exhaust_t::smoker
Ogre::ParticleSystem * smoker
This remains nullptr if removed via addonpart_unwanted_exhaust or Tuning UI.
Definition: SimData.h:643
RoR::hydrobeam_t::hb_ref_length
float hb_ref_length
Idle length in meters.
Definition: SimData.h:591
RoR::wheel_t::debug_torque
float debug_torque
Definition: SimData.h:458
RoR::wheel_t::wh_num_nodes
int wh_num_nodes
Definition: SimData.h:432
RoR::NODENUM_INVALID
static const NodeNum_t NODENUM_INVALID
Definition: ForwardDeclarations.h:53
RoR::ActorState::LOCAL_REPLAY
@ LOCAL_REPLAY
RoR::node_t::nd_contactable
bool nd_contactable
Attr; This node will be treated as contacter on inter truck collisions.
Definition: SimData.h:313
RoR::cparticle_t::snode
Ogre::SceneNode * snode
Definition: SimData.h:653
RoR::node_t::INVALID_BBOX
static const int8_t INVALID_BBOX
Definition: SimData.h:288
RoR::tie_t::ti_locked_actor
ActorPtr ti_locked_actor
Definition: SimData.h:524
RoR::collision_box_t::lo
Ogre::Vector3 lo
absolute collision box
Definition: SimData.h:723
RoR::flare_t::blinkdelay_state
bool blinkdelay_state
Definition: SimData.h:631
RoR::ActorLinkingRequestType::HOOK_MOUSE_TOGGLE
@ HOOK_MOUSE_TOGGLE
RoR::node_t::nd_override_mass
bool nd_override_mass
User defined attr; mass is user-specified rather than calculated (override the calculation)
Definition: SimData.h:319
RoR::ActorModifyRequest::~ActorModifyRequest
~ActorModifyRequest()
Definition: SimData.cpp:102
RoR::wheel_t
Definition: SimData.h:421
RoR::NOSHOCK
@ NOSHOCK
not a shock
Definition: SimData.h:107
RoR::hook_t::hk_lock_node
node_t * hk_lock_node
Definition: SimData.h:492
RoR::FreeForceType::DUMMY
@ DUMMY
No force.
RoR::soundsource_t::type
int type
Definition: SimData.h:418
RoR::wheel_t::wh_num_rim_nodes
int wh_num_rim_nodes
Definition: SimData.h:434
RoR::ShockFlags
ShockFlags
Definition: SimData.h:195
RoR::BEAM_NORMAL
@ BEAM_NORMAL
Definition: SimData.h:71
RoR::ActorState::DISPOSED
@ DISPOSED
removed from simulation, still in memory to satisfy pointers.
RoR::soundsource_t::nodenum
NodeNum_t nodenum
Definition: SimData.h:417
RoR::ANIM_FLAG_BTHROTTLE
@ ANIM_FLAG_BTHROTTLE
Definition: SimData.h:172
RoR::soundsource_t::~soundsource_t
~soundsource_t()
Definition: SimData.cpp:92
RoR::SpecialBeam
SpecialBeam
Definition: SimData.h:105
RoR::ActorLinkingRequest::alr_type
ActorLinkingRequestType alr_type
Definition: SimData.h:920
RoR::flare_t::uses_inertia
bool uses_inertia
Only 'flares3'.
Definition: SimData.h:634
RoR::ANIM_FLAG_ALTIMETER
@ ANIM_FLAG_ALTIMETER
Definition: SimData.h:145
RoR::ground_model_t::fx_particle_fade
float fx_particle_fade
fade coefficient
Definition: SimData.h:771
RoR::CmdKeyArray::operator[]
command_t & operator[](int index)
Definition: SimData.h:671
SimConstants.h
RoR::ropable_t::attached_ropes
int attached_ropes
State.
Definition: SimData.h:503
RoR::hook_t::hk_beam
beam_t * hk_beam
Definition: SimData.h:493
RoR::ropable_t::pos
int pos
Index into ar_ropables.
Definition: SimData.h:500
RoR::commandbeam_t::cmb_engine_coupling
float cmb_engine_coupling
Attr from truckfile.
Definition: SimData.h:557
RoR::ActorModifyRequest::Type::RESTORE_SAVED
@ RESTORE_SAVED
RoR::beam_t::strength
float strength
Definition: SimData.h:343
RoR::FlareType::USER
@ USER
RoR::AeroEngineType::AE_TURBOJET
@ AE_TURBOJET
RoR::shock_t::trigger_boundary_t
float trigger_boundary_t
optional value to tune trigger_switch_state autorelease
Definition: SimData.h:377
RoR::FreeForce::ffc_force_magnitude
float ffc_force_magnitude
Definition: SimData.h:793
RoR::ANIM_FLAG_AOA
@ ANIM_FLAG_AOA
Definition: SimData.h:146
RoR::command_t::trigger_cmdkeyblock_state
bool trigger_cmdkeyblock_state
identifies blocked F-commands for triggers
Definition: SimData.h:580
RoR::ActorLinkingRequestType::HOOK_TOGGLE
@ HOOK_TOGGLE
RoR::flare_t::fl_type
FlareType fl_type
Definition: SimData.h:626
RoR::SHOCK_FLAG_NORMAL
@ SHOCK_FLAG_NORMAL
Definition: SimData.h:197
RoR::FlareType::SIDELIGHT
@ SIDELIGHT
RoR::hook_t::hook_t
hook_t()
Definition: SimData.cpp:77
RoR::LOCALIZER_VERTICAL
@ LOCALIZER_VERTICAL
Definition: SimData.h:253
RoR::collision_box_t::eventsourcenum
short eventsourcenum
Definition: SimData.h:722
RoR::collision_box_t::hi
Ogre::Vector3 hi
absolute collision box
Definition: SimData.h:724
RoR::ActorLinkingRequestType::HOOK_RESET
@ HOOK_RESET
RoR::ANIM_MODE_AUTOANIMATE
@ ANIM_MODE_AUTOANIMATE
Definition: SimData.h:185
RoR::EVENT_BOAT
@ EVENT_BOAT
'boat' ~ Triggered by any node of boats (ActorType::BOAT)
Definition: SimData.h:54
RoR::FlareType::HEADLIGHT
@ HEADLIGHT
RoR::beam_t::bm_locked_actor
ActorPtr bm_locked_actor
in case p2 is on another actor
Definition: SimData.h:350
RoR::rotator_t::axis2
NodeNum_t axis2
Definition: SimData.h:605
RoR::CollisionBoxPtrVec
std::vector< collision_box_t * > CollisionBoxPtrVec
Definition: SimData.h:736
RoR::ActorLinkingRequestType::HOOK_UNLOCK
@ HOOK_UNLOCK
RoR::FlareType::BLINKER_RIGHT
@ BLINKER_RIGHT
RoR::PropAnimKeyState
User input state for animated props with 'source:event'.
Definition: SimData.h:658
RoR::LOCKED
@ LOCKED
lock locked.
Definition: SimData.h:85
RoR::hook_t::hk_min_length
float hk_min_length
Absolute value in meters.
Definition: SimData.h:490
RoR::exhaust_t
Definition: SimData.h:638
RoR::EVENT_AVATAR
@ EVENT_AVATAR
'avatar' ~ Triggered by the character only
Definition: SimData.h:50
RoR::ANIM_MODE_ROTA_Y
@ ANIM_MODE_ROTA_Y
Definition: SimData.h:180
RoR::shock_t::dampout
float dampout
shocks2 & shocks3
Definition: SimData.h:385
RoR::rotator_t::axis1
NodeNum_t axis1
rot axis
Definition: SimData.h:604
RoR::ActorSpawnRequest::asr_working_tuneup
TuneupDefPtr asr_working_tuneup
Only filled when editing tuneup via Tuning menu.
Definition: SimData.h:856
RoR::authorinfo_t
Definition: SimData.h:824
RoR::FlareType
FlareType
Definition: SimData.h:229
RoR::flare_t::nodey
NodeNum_t nodey
Definition: SimData.h:619
RoR::wheel_t::wh_mass
Ogre::Real wh_mass
Total rotational mass of the wheel.
Definition: SimData.h:448
RoR::FreeForce::ffc_target_actor
ActorPtr ffc_target_actor
Definition: SimData.h:799
RoR::FreeForceType
FreeForceType
Definition: SimData.h:779
RoR::ANIM_FLAG_SPEEDO
@ ANIM_FLAG_SPEEDO
Definition: SimData.h:157
RoR::SimpleInertia
Designed to be run on main/rendering loop (FPS)
Definition: CmdKeyInertia.h:66
RoR::ground_model_t::alpha
float alpha
steady-steady
Definition: SimData.h:746
RoR::AnimFlags
AnimFlags
Definition: SimData.h:141
RoR::ANIM_FLAG_EVENT
@ ANIM_FLAG_EVENT
Definition: SimData.h:168
RoR::tie_t::ti_tying
bool ti_tying
State.
Definition: SimData.h:534
RoR::collision_box_t::selfrotated
bool selfrotated
Definition: SimData.h:718
RoR::hook_t
Definition: SimData.h:474
RoR::ActorLinkingRequestType::ROPE_TOGGLE
@ ROPE_TOGGLE
RoR::ActorState::LOCAL_SIMULATED
@ LOCAL_SIMULATED
simulated (local) actor
BITMASK
#define BITMASK(OFFSET)
Definition: BitFlags.h:10
RoR::ActorSpawnRequest::asr_filename
std::string asr_filename
Can be in "Bundle-qualified" format, i.e. "mybundle.zip:myactor.truck".
Definition: SimData.h:849
RoR::node_t::RelPosition
Ogre::Vector3 RelPosition
relative to the local physics origin (one origin per actor) (shaky)
Definition: SimData.h:293
RoR::NOT_DRIVEABLE
@ NOT_DRIVEABLE
not drivable at all
Definition: SimData.h:92
RoR::ground_model_t::fx_particle_velo_factor
float fx_particle_velo_factor
velocity factor
Definition: SimData.h:773
RoR::FlareType::TAIL_LIGHT
@ TAIL_LIGHT
RoR::commandbeam_t::cmb_state
std::shared_ptr< commandbeam_state_t > cmb_state
Definition: SimData.h:571
RoR::commandbeam_state_t::auto_moving_mode
int8_t auto_moving_mode
State.
Definition: SimData.h:547
RoR::hook_t::hk_timer_preset
float hk_timer_preset
Definition: SimData.h:489
RoR::FreeForceRequest::ffr_base_actor
int64_t ffr_base_actor
Definition: SimData.h:812
RoR::collision_box_t
Definition: SimData.h:714
RefCountingObjectPtr< Actor >
RoR::collision_box_t::unrot
Ogre::Quaternion unrot
rotation
Definition: SimData.h:727
RoR::ANIM_FLAG_TORQUE
@ ANIM_FLAG_TORQUE
Definition: SimData.h:164
RoR::ActorSpawnRequest::Origin::SAVEGAME
@ SAVEGAME
User spawned and part of a savegame.
RoR::ground_model_t::fx_particle_amount
int fx_particle_amount
amount of particles
Definition: SimData.h:767
RoR::FreeForce::ffc_base_node
NodeNum_t ffc_base_node
Definition: SimData.h:795
RoR::flare_t::offsetz
float offsetz
Definition: SimData.h:622
RoR::shock_t::dprogin
float dprogin
shocks2
Definition: SimData.h:388
RoR::EVENT_TRUCK
@ EVENT_TRUCK
'truck' ~ Triggered by any node of land vehicle (ActorType::TRUCK)
Definition: SimData.h:51
RoR::wheel_t::wh_alb_coef
Ogre::Real wh_alb_coef
Sim state; Current anti-lock brake modulation ratio.
Definition: SimData.h:446
RoR::ground_model_t::mc
float mc
sliding friction coefficient
Definition: SimData.h:743
RoR::beam_t::stress
float stress
Definition: SimData.h:344
RoR::collision_box_t::center
Ogre::Vector3 center
center of rotation
Definition: SimData.h:725
RoR::hydrobeam_t::hb_anim_flags
int hb_anim_flags
Animators (beams updating length based on simulation variables)
Definition: SimData.h:594
RoR::TRG_ENGINE_ACC
@ TRG_ENGINE_ACC
Definition: SimData.h:223
RoR::tie_t::ti_group
int ti_group
Definition: SimData.h:527
RoR::collcab_rate_t
Definition: SimData.h:403
RoR::ground_model_t::vs
float vs
stribeck velocity (m/s)
Definition: SimData.h:745
RoR::ActorSpawnRequest
Definition: SimData.h:832
RoR::collcab_rate_t::distance
int distance
Definition: SimData.h:406
RoR::beam_t::refL
float refL
reference length
Definition: SimData.h:356
RoR::beam_t::initial_beam_strength
float initial_beam_strength
for reset
Definition: SimData.h:360
RoR::ANIM_FLAG_RPM
@ ANIM_FLAG_RPM
Definition: SimData.h:152
RoR::tie_t::ti_tied
bool ti_tied
State.
Definition: SimData.h:533
RoR::ropable_t::node
node_t * node
Definition: SimData.h:499
RoR::ANIM_FLAG_PERMANENT
@ ANIM_FLAG_PERMANENT
Definition: SimData.h:173
RoR::HYDRO_FLAG_REV_RUDDER
@ HYDRO_FLAG_REV_RUDDER
Definition: SimData.h:137
RoR::wheel_t::BrakeCombo::FOOT_HAND_SKID_LEFT
@ FOOT_HAND_SKID_LEFT
RoR::FreeForce::ffc_id
FreeForceID_t ffc_id
Definition: SimData.h:791
RoR::cparticle_t::directionNode
NodeNum_t directionNode
Definition: SimData.h:651
RoR::FreeForceRequest::ffr_force_const_direction
Ogre::Vector3 ffr_force_const_direction
Definition: SimData.h:815
RoR::ROPE
@ ROPE
Definition: SimData.h:113
RoR::CmdKeyArray::m_virtualkey
std::unordered_map< int, command_t > m_virtualkey
Negative-indexed commandkeys.
Definition: SimData.h:689
RoR::ActorModifyRequest::amr_actor
ActorInstanceID_t amr_actor
Definition: SimData.h:886
RoR::wheel_t::wh_last_retorque
Ogre::Real wh_last_retorque
Last external forces (friction, ...)
Definition: SimData.h:451
RoR::ActorModifyRequest::Type::RESET_ON_INIT_POS
@ RESET_ON_INIT_POS
RoR::SHOCK_FLAG_LACTIVE
@ SHOCK_FLAG_LACTIVE
Definition: SimData.h:198
RoR::wheel_t::wh_propulsed
int wh_propulsed
Definition: SimData.h:441
RoR::ExtCameraMode::CINECAM
@ CINECAM
RoR::collision_box_t::event_filter
CollisionEventFilter event_filter
Definition: SimData.h:721
RoR::FreeForce::ffc_type
FreeForceType ffc_type
Definition: SimData.h:792
RoR::ActorSpawnRequest::asr_config
Ogre::String asr_config
Definition: SimData.h:850
RoR::wheel_t::debug_force
Ogre::Vector3 debug_force
Definition: SimData.h:461
RoR::ANIM_MODE_BOUNCE
@ ANIM_MODE_BOUNCE
Definition: SimData.h:187
RoR::beam_t
Simulation: An edge in the softbody structure.
Definition: SimData.h:330
RoR::command_t::triggerInputValue
float triggerInputValue
Definition: SimData.h:578
RoR::FREEFORCEID_INVALID
static const FreeForceID_t FREEFORCEID_INVALID
Definition: ForwardDeclarations.h:66
RoR::PRELOCK
@ PRELOCK
prelocking, attraction forces in action
Definition: SimData.h:84
RoR::PropAnimKeyState::event_id
events event_id
Definition: SimData.h:663
RoR::SHOCK_FLAG_TRG_HOOK_LOCK
@ SHOCK_FLAG_TRG_HOOK_LOCK
Definition: SimData.h:209
RoR::wheel_t::debug_slip
Ogre::Vector3 debug_slip
Definition: SimData.h:460
RoR::shock_t::dfastin
float dfastin
shocks3
Definition: SimData.h:394
RoR::EV_MODE_LAST
@ EV_MODE_LAST
Definition: InputEngine.h:404
RoR::collision_box_t::rehi
Ogre::Vector3 rehi
relative collision box
Definition: SimData.h:732
RoR::CommandkeyID_t
int CommandkeyID_t
Index into Actor::ar_commandkeys (BEWARE: indexed 1-MAX_COMMANDKEYS, 0 is invalid value,...
Definition: ForwardDeclarations.h:74
RoR::FlareType::DASHBOARD
@ DASHBOARD
RoR::exhaust_t::emitterNode
NodeNum_t emitterNode
Definition: SimData.h:640
RoR::FreeForceType::TOWARDS_COORDS
@ TOWARDS_COORDS
Constant force directed towards ffc_target_coords
RoR::ActorInstanceID_t
int ActorInstanceID_t
Unique sequentially generated ID of an actor in session. Use ActorManager::GetActorById()
Definition: ForwardDeclarations.h:37
RoR::ropable_t::attached_ties
int attached_ties
State.
Definition: SimData.h:502
RoR::wheel_t::wh_torque
Ogre::Real wh_torque
Internal physics state; Do not read from this.
Definition: SimData.h:449
RoR::rope_t::rp_locked_ropable
ropable_t * rp_locked_ropable
Definition: SimData.h:515
RoR::FlareType::BRAKE_LIGHT
@ BRAKE_LIGHT
RoR::wheel_t::wh_width
float wh_width
Definition: SimData.h:453
CmdKeyInertia.h
RoR::commandbeam_t::cmb_is_contraction
bool cmb_is_contraction
Attribute defined at spawn.
Definition: SimData.h:563
RoR::UniqueCommandKeyPair::uckp_key2
CommandkeyID_t uckp_key2
Definition: SimData.h:699
BitFlags.h
Bit operations.
RoR::NodeNum_t
uint16_t NodeNum_t
Node position within Actor::ar_nodes; use RoR::NODENUM_INVALID as empty value.
Definition: ForwardDeclarations.h:52
RoR::wheel_t::BrakeCombo::FOOT_ONLY
@ FOOT_ONLY
RoR::UNLOCKED
@ UNLOCKED
lock not locked
Definition: SimData.h:83
RoR::HYDRO_FLAG_AILERON
@ HYDRO_FLAG_AILERON
Definition: SimData.h:133
RoR::wheel_t::wh_rim_radius
Ogre::Real wh_rim_radius
Definition: SimData.h:443
RoR::hook_t::hk_locked
HookState hk_locked
Definition: SimData.h:479
RoR::FreeForceRequest::ffr_base_node
int64_t ffr_base_node
Definition: SimData.h:813
RoR::rotator_t::engine_coupling
float engine_coupling
Definition: SimData.h:610
DEFAULT_DETACHER_GROUP
static const int DEFAULT_DETACHER_GROUP
Definition: SimConstants.h:79
RoR::beam_t::bounded
SpecialBeam bounded
Definition: SimData.h:347
RoR::tie_t::ti_min_length
float ti_min_length
Proportional to orig; length.
Definition: SimData.h:530
RoR::tie_t::ti_contract_speed
float ti_contract_speed
Definition: SimData.h:528
RoR::beam_t::d
float d
damping factor
Definition: SimData.h:338
RoR::rotator_t::debug_aerror
float debug_aerror
Definition: SimData.h:612
RoR::ActorModifyRequest
Definition: SimData.h:870
RoR::ExtCameraMode
ExtCameraMode
Definition: SimData.h:57
RoR::FreeForce::ffc_force_const_direction
Ogre::Vector3 ffc_force_const_direction
Expected to be normalized; only effective with FreeForceType::CONSTANT
Definition: SimData.h:797
RoR::authorinfo_t::name
Ogre::String name
Definition: SimData.h:828
RoR::ground_model_t::fx_particle_ttl
float fx_particle_ttl
Definition: SimData.h:774
RoR::shock_t::sbd_damp
float sbd_damp
set beam default for damping
Definition: SimData.h:400
RoR::commandbeam_state_t
Definition: SimData.h:543
RoR::collision_box_t::selfcenter
Ogre::Vector3 selfcenter
center of self rotation
Definition: SimData.h:728
RoR::shock_t::trigger_cmdshort
int trigger_cmdshort
F-key for trigger injection shortbound-check.
Definition: SimData.h:379
RoR::collision_box_t::relo
Ogre::Vector3 relo
relative collision box
Definition: SimData.h:731
RoR::commandbeam_t::cmb_center_length
float cmb_center_length
Attr computed at spawn.
Definition: SimData.h:558
RoR::commandbeam_t::cmb_needs_engine
bool cmb_needs_engine
Attribute defined in truckfile.
Definition: SimData.h:565
RoR::ActorSpawnRequest::asr_tuneup_entry
CacheEntryPtr asr_tuneup_entry
Only filled when user selected a saved/downloaded .tuneup mod in SelectorUI.
Definition: SimData.h:855
RoR::rotator_t::needs_engine
bool needs_engine
Definition: SimData.h:601
RoR::shock_t::beamid
int beamid
Definition: SimData.h:372
RoR::ANIM_FLAG_CLUTCH
@ ANIM_FLAG_CLUTCH
Definition: SimData.h:155
RoR::shock_t::shock_t
shock_t()
Definition: SimData.h:370
RoR::ActorLinkingRequestType::INVALID
@ INVALID
RoR::hook_t::hk_autolock
bool hk_autolock
Definition: SimData.h:483
RoR::ACTORINSTANCEID_INVALID
static const ActorInstanceID_t ACTORINSTANCEID_INVALID
Definition: ForwardDeclarations.h:38
RoR::hook_t::hk_selflock
bool hk_selflock
Definition: SimData.h:482
RoR::ActorSpawnRequest::asr_cache_entry
CacheEntryPtr asr_cache_entry
Optional, overrides 'asr_filename' and 'asr_cache_entry_num'.
Definition: SimData.h:848
RoR::wheel_t::wh_axis_node_1
node_t * wh_axis_node_1
Definition: SimData.h:440
RoR::AeroEngineType
AeroEngineType
Definition: SimData.h:275
RoR::hydrobeam_t::hb_inertia
RoR::CmdKeyInertia hb_inertia
Definition: SimData.h:596
RoR::flare_t::nodex
NodeNum_t nodex
Definition: SimData.h:618
RoR::cparticle_t::active
bool active
Definition: SimData.h:652
RoR::shock_t::trigger_switch_state
float trigger_switch_state
needed to avoid doubleswitch, bool and timer in one
Definition: SimData.h:376
RoR::hydrobeam_t
Definition: SimData.h:588
RoR::ANIM_FLAG_FLAP
@ ANIM_FLAG_FLAP
Definition: SimData.h:147
RoR::tie_t::ti_max_stress
float ti_max_stress
Definition: SimData.h:529
RoR::wheel_t::BrakeCombo::FOOT_HAND_SKID_RIGHT
@ FOOT_HAND_SKID_RIGHT
RoR::ActorState::LOCAL_SLEEPING
@ LOCAL_SLEEPING
sleeping (local) actor
RoR::node_t::nd_cab_node
bool nd_cab_node
Attr; This node is part of collision triangle.
Definition: SimData.h:309
RoR::commandbeam_t::cmb_speed
float cmb_speed
Attr; Rate of contraction/extension.
Definition: SimData.h:559
RoR::BEAM_VIRTUAL
@ BEAM_VIRTUAL
Excluded from mass calculations, visuals permanently disabled.
Definition: SimData.h:73
RoR::node_t::nd_no_mouse_grab
bool nd_no_mouse_grab
Attr; User-defined.
Definition: SimData.h:321
RoR::ActorLinkingRequestType
ActorLinkingRequestType
Definition: SimData.h:894
RoR::FreeForceID_t
int FreeForceID_t
Unique sequentially generated ID of FreeForce; use ActorManager::GetFreeForceNextId().
Definition: ForwardDeclarations.h:65
RoR::node_t::node_t
node_t()
Definition: SimData.h:290
RoR::shock_t::trigger_cmdlong
int trigger_cmdlong
F-key for trigger injection longbound-check.
Definition: SimData.h:378
RoR::LOCALIZER_VOR
@ LOCALIZER_VOR
Definition: SimData.h:256
RoR::FreeForceType::CONSTANT
@ CONSTANT
Constant force given by direction and magnitude.
RoR::wheel_t::wh_net_rp
float wh_net_rp
Definition: SimData.h:452
RoR::ExtCameraMode::NODE
@ NODE
RoR::node_t::pos
NodeNum_t pos
This node's index in Actor::ar_nodes array.
Definition: SimData.h:304
RoR::FreeForceRequest::ffr_target_coords
Ogre::Vector3 ffr_target_coords
Definition: SimData.h:816
RoR::node_t::nd_tyre_node
bool nd_tyre_node
Attr; This node is part of a tyre (note some wheel types don't use rim nodes at all)
Definition: SimData.h:311
RoR::ActorModifyRequest::amr_addonpart_fname
std::string amr_addonpart_fname
Fallback method in case CacheEntry doesn't exist anymore - that means mod was uninstalled in the mean...
Definition: SimData.h:891
RoR::BLINK_RIGHT
@ BLINK_RIGHT
Definition: SimData.h:125
RoR::collision_box_t::refined
bool refined
Definition: SimData.h:717
RoR::ANIM_FLAG_VVI
@ ANIM_FLAG_VVI
Definition: SimData.h:144
RoR::ActorLinkingRequestType::ROPE_RESET
@ ROPE_RESET
RoR::BLINK_WARN
@ BLINK_WARN
Definition: SimData.h:126
RoR::beam_t::debug_k
float debug_k
debug shock spring_rate
Definition: SimData.h:363
RoR::shock_t::splitout
float splitout
shocks3
Definition: SimData.h:395
RoR::wheeldetacher_t::wd_detacher_group
int wd_detacher_group
Definition: SimData.h:468
RoR::HookState
HookState
Definition: SimData.h:81
RoR::command_t
Definition: SimData.h:574
RoR::flare_t::intensity
float intensity
Definition: SimData.h:633
RoR::command_t::rotator_inertia
RoR::CmdKeyInertia rotator_inertia
Definition: SimData.h:584
RoR::wheel_t::wh_near_attach_node
node_t * wh_near_attach_node
Definition: SimData.h:438
RoR::ActorLinkingRequest::alr_rope_group
int alr_rope_group
Definition: SimData.h:927
RoR::AeroEngineType::AE_UNKNOWN
@ AE_UNKNOWN
RoR::ANIM_FLAG_AESTATUS
@ ANIM_FLAG_AESTATUS
Definition: SimData.h:163
RoR::SHOCK2
@ SHOCK2
shock2
Definition: SimData.h:109
RoR::hook_t::hk_nodisable
bool hk_nodisable
Definition: SimData.h:484
RoR::node_t::nd_loaded_mass
bool nd_loaded_mass
User defined attr; mass is calculated from 'globals/loaded-mass' rather than 'globals/dry-mass'.
Definition: SimData.h:317
RoR::ground_model_t::fx_type
int fx_type
Definition: SimData.h:761
RoR::FreeForce::ffc_base_actor
ActorPtr ffc_base_actor
Definition: SimData.h:794
RoR::node_t::nd_last_collision_force
Ogre::Vector3 nd_last_collision_force
Physics state; last collision force.
Definition: SimData.h:325
RoR::SHOCK_FLAG_TRG_CONTINUOUS
@ SHOCK_FLAG_TRG_CONTINUOUS
Definition: SimData.h:210
RoR::command_t::description
Ogre::String description
Definition: SimData.h:583
RoR::node_t
Physics: A vertex in the softbody structure.
Definition: SimData.h:286
RoR::commandbeam_t::cmb_boundary_length
float cmb_boundary_length
Attr; Maximum/minimum length proportional to orig. len.
Definition: SimData.h:560
RoR::EVENT_NONE
@ EVENT_NONE
Invalid value.
Definition: SimData.h:48
RoR::hook_t::hk_maxforce
float hk_maxforce
Definition: SimData.h:485
RoR::collision_box_t::camforced
bool camforced
Definition: SimData.h:719
RoR::ground_model_t::name
char name[256]
Definition: SimData.h:763
RoR::rotator_t::debug_rate
float debug_rate
Definition: SimData.h:611
RoR::node_t::friction_coef
Ogre::Real friction_coef
Definition: SimData.h:300
RoR::wheel_t::BrakeCombo
BrakeCombo
Wheels are braked by three mechanisms: A footbrake, a handbrake/parkingbrake, and directional brakes ...
Definition: SimData.h:423
RoR::shock_t::springout
float springout
shocks2 & shocks3
Definition: SimData.h:384
RoR::shock_t::sprogout
float sprogout
shocks2
Definition: SimData.h:389
RoR::CmdKeyInertia
Designed to be run in physics loop (2khz)
Definition: CmdKeyInertia.h:45
RoR::AIRPLANE
@ AIRPLANE
its an airplane
Definition: SimData.h:94
RoR::rotator_t::tolerance
float tolerance
Definition: SimData.h:609
RoR::FreeForceRequest::ffr_force_magnitude
double ffr_force_magnitude
Definition: SimData.h:811
RoR::commandbeam_state_t::pressed_center_mode
bool pressed_center_mode
State.
Definition: SimData.h:550
RoR::HYDRO_FLAG_ELEVATOR
@ HYDRO_FLAG_ELEVATOR
Definition: SimData.h:135
RoR::FreeForce
Global force affecting particular (base) node of particular (base) actor; added ad-hoc by scripts.
Definition: SimData.h:788
RoR::node_t::buoyancy
Ogre::Real buoyancy
Definition: SimData.h:299
RoR::beam_t::beam_t
beam_t()
Definition: SimData.cpp:42
RoR::wheel_t::wh_speed
Ogre::Real wh_speed
Current wheel speed in m/s.
Definition: SimData.h:444
RoR::ANIM_FLAG_AETORQUE
@ ANIM_FLAG_AETORQUE
Definition: SimData.h:161
RoR::ground_model_t::basename
char basename[256]
Definition: SimData.h:764
RoR::BlinkType
BlinkType
< Turn signal
Definition: SimData.h:121
RoR::commandbeam_t::cmb_is_1press
bool cmb_is_1press
Attribute defined in truckfile.
Definition: SimData.h:568
RoR::tie_t::~tie_t
~tie_t()
Definition: SimData.cpp:72
RoR::hook_t::hk_locked_actor
ActorPtr hk_locked_actor
Definition: SimData.h:494
RoR::beam_t::plastic_coef
float plastic_coef
Definition: SimData.h:345
RoR::SHOCK_FLAG_RACTIVE
@ SHOCK_FLAG_RACTIVE
Definition: SimData.h:199
RoR::collision_box_t::campos
Ogre::Vector3 campos
camera position
Definition: SimData.h:733
RoR::ANIM_FLAG_ROLL
@ ANIM_FLAG_ROLL
Definition: SimData.h:149
RoR::ActorSpawnRequest::net_stream_id
int net_stream_id
Definition: SimData.h:862
RoR::BLINK_LEFT
@ BLINK_LEFT
Definition: SimData.h:124
RoR::SUPPORTBEAM
@ SUPPORTBEAM
Definition: SimData.h:112
RoR::ActorSpawnRequest::Origin::TERRN_DEF
@ TERRN_DEF
Preloaded with terrain.
RoR::ActorSpawnRequest::asr_terrn_machine
bool asr_terrn_machine
This is a fixed machinery.
Definition: SimData.h:865
RoR::beam_t::bm_type
BeamType bm_type
Definition: SimData.h:348
RoR::wheel_t::wh_avg_speed
Ogre::Real wh_avg_speed
Internal physics state; Do not read from this.
Definition: SimData.h:445
RoR::ActorSpawnRequest::Origin::UNKNOWN
@ UNKNOWN
RoR::ActorSpawnRequest::asr_skin_entry
CacheEntryPtr asr_skin_entry
Definition: SimData.h:854
RoR::wheeldetacher_t
Definition: SimData.h:465
RoR::ground_model_t::t2
float t2
hydrodynamic friction (s/m)
Definition: SimData.h:744
RoR::hydrobeam_t::hb_beam_index
uint16_t hb_beam_index
Index to Actor::ar_beams array.
Definition: SimData.h:590
RoR::tie_t::ti_beam
beam_t * ti_beam
Definition: SimData.h:525
RoR::node_t::nd_last_collision_slip
Ogre::Vector3 nd_last_collision_slip
Physics state; last collision slip vector.
Definition: SimData.h:324
RoR::wheel_t::debug_rpm
float debug_rpm
Definition: SimData.h:457
RoR::ActorSpawnRequest::Origin::AI
@ AI
Script controlled.
RoR::ActorModifyRequest::amr_saved_state
std::shared_ptr< rapidjson::Document > amr_saved_state
Definition: SimData.h:889
RoR::wheeldetacher_t::wd_wheel_id
int wd_wheel_id
Definition: SimData.h:467
RoR::ActorState
ActorState
Definition: SimData.h:265
RoR::ExtCameraMode::INVALID
@ INVALID
RoR::wheel_t::debug_scaled_cforce
Ogre::Vector3 debug_scaled_cforce
Definition: SimData.h:462
RoR::cparticle_t
Definition: SimData.h:648
RoR::ground_model_t::ms
float ms
static friction coefficient
Definition: SimData.h:742
RoR::ActorLinkingRequestType::TIE_RESET
@ TIE_RESET
RoR::collision_box_t::selfrot
Ogre::Quaternion selfrot
self rotation
Definition: SimData.h:729
RoR::ExtCameraMode::CLASSIC
@ CLASSIC
RoR::SHOCK_FLAG_TRG_CMD_SWITCH
@ SHOCK_FLAG_TRG_CMD_SWITCH
Definition: SimData.h:205
RoR::ANIM_FLAG_BRAKE
@ ANIM_FLAG_BRAKE
Definition: SimData.h:154
RoR::AnimModes
AnimModes
Definition: SimData.h:177
RoR::node_t::nd_has_mesh_contact
bool nd_has_mesh_contact
Physics state.
Definition: SimData.h:315
RoR::UniqueCommandKeyPair::uckp_description
std::string uckp_description
Definition: SimData.h:697
RoR::authorinfo_t::email
Ogre::String email
Definition: SimData.h:829
RoR::ANIM_MODE_OFFSET_Y
@ ANIM_MODE_OFFSET_Y
Definition: SimData.h:183
RoR::authorinfo_t::type
Ogre::String type
Definition: SimData.h:827
RoR::tie_t::tie_t
tie_t()
Definition: SimData.cpp:62
RoR::SHOCK_FLAG_ISSHOCK3
@ SHOCK_FLAG_ISSHOCK3
Definition: SimData.h:201
RoR::flare_t::snode
Ogre::SceneNode * snode
Definition: SimData.h:623
RoR::hydrobeam_t::hb_flags
int hb_flags
Definition: SimData.h:593
RoR::ANIM_FLAG_PBRAKE
@ ANIM_FLAG_PBRAKE
Definition: SimData.h:158
RoR::shock_t::dslowout
float dslowout
shocks3
Definition: SimData.h:396
RoR::ANIM_FLAG_ARUDDER
@ ANIM_FLAG_ARUDDER
Definition: SimData.h:170
RoR::wheel_t::wh_arm_node
node_t * wh_arm_node
Definition: SimData.h:437
RoR::beam_t::debug_d
float debug_d
debug shock damping
Definition: SimData.h:364
RoR::PropAnimKeyState::anim_active
bool anim_active
Definition: SimData.h:662
RoR::beam_t::bm_inter_actor
bool bm_inter_actor
in case p2 is on another actor
Definition: SimData.h:349
RoR::rope_t
Definition: SimData.h:507
RoR::node_t::volume_coef
Ogre::Real volume_coef
Definition: SimData.h:302
RoR::wheel_t::BrakeCombo::FOOT_HAND
@ FOOT_HAND
RoR::hook_t::~hook_t
~hook_t()
Definition: SimData.cpp:82
RoR::wheel_t::wh_radius
Ogre::Real wh_radius
Definition: SimData.h:442
RoR::SHOCK_FLAG_TRG_ENGINE
@ SHOCK_FLAG_TRG_ENGINE
Definition: SimData.h:211
RoR::TRG_ENGINE_SHIFTDOWN
@ TRG_ENGINE_SHIFTDOWN
Definition: SimData.h:226
RoR::flare_t::controlnumber
int controlnumber
Only 'u' type flares, valid values 0-9, maps to EV_TRUCK_LIGHTTOGGLE01 to 10.
Definition: SimData.h:627
RoR::authorinfo_t::id
int id
Definition: SimData.h:826
RoR::UniqueCommandKeyPair
UI helper for displaying command control keys to user.
Definition: SimData.h:695
RoR::FreeForceRequest
Common for ADD and MODIFY requests; tailored for use with AngelScript thru GameScript::pushMessage().
Definition: SimData.h:804
RoR::ground_model_t::flow_behavior_index
float flow_behavior_index
if flow_behavior_index<1 then liquid is Pseudoplastic (ketchup, whipped cream, paint) if =1 then liqu...
Definition: SimData.h:755
RoR::ActorLinkingRequest::alr_tie_group
int alr_tie_group
Definition: SimData.h:925
RoR::ANIM_MODE_NOFLIP
@ ANIM_MODE_NOFLIP
Definition: SimData.h:186
RoR::beam_t::debug_v
float debug_v
debug shock velocity
Definition: SimData.h:365
RoR::ANIM_FLAG_AEPITCH
@ ANIM_FLAG_AEPITCH
Definition: SimData.h:162
RoR::cparticle_t::psys
Ogre::ParticleSystem * psys
Definition: SimData.h:654
RoR::node_t::nd_rim_node
bool nd_rim_node
Attr; This node is part of a rim (only wheel types with separate rim nodes)
Definition: SimData.h:310
RoR::wheel_t::wh_is_detached
bool wh_is_detached
Definition: SimData.h:454
RoR::ground_model_t::fx_particle_timedelta
float fx_particle_timedelta
delta for particle animation
Definition: SimData.h:772
RoR::ActorModifyRequest::amr_addonpart
CacheEntryPtr amr_addonpart
Primary method of specifying cache entry.
Definition: SimData.h:890
RoR::HYDRO_FLAG_RUDDER
@ HYDRO_FLAG_RUDDER
Definition: SimData.h:134
RoR::hook_t::hk_lockrange
float hk_lockrange
Definition: SimData.h:486
RoR::beam_t::k
float k
tensile spring
Definition: SimData.h:337
RoR::BEAM_HYDRO
@ BEAM_HYDRO
Definition: SimData.h:72
RoR::flare_t
Definition: SimData.h:615
RoR::tie_t
Definition: SimData.h:519
RoR::wheel_t::wh_last_torque
Ogre::Real wh_last_torque
Last internal forces (engine / brakes / diffs)
Definition: SimData.h:450
RoR::node_t::nd_has_ground_contact
bool nd_has_ground_contact
Physics state.
Definition: SimData.h:314
RoR::rope_t::rope_t
rope_t()
Definition: SimData.cpp:52
RoR::SHOCK_FLAG_TRG_CMD_BLOCKER
@ SHOCK_FLAG_TRG_CMD_BLOCKER
Definition: SimData.h:206
RoR::TRIGGER
@ TRIGGER
trigger
Definition: SimData.h:111
RoR::node_t::node_t
node_t(size_t _pos)
Definition: SimData.h:291
RoR::ActorSpawnRequest::ActorSpawnRequest
ActorSpawnRequest()
Definition: SimData.cpp:30
RoR::ActorModifyRequest::Type::SOFT_RESET
@ SOFT_RESET
RoR::LOCALIZER_HORIZONTAL
@ LOCALIZER_HORIZONTAL
Definition: SimData.h:254
RoR::PropAnimKeyState::event_active_prev
bool event_active_prev
Definition: SimData.h:661
RoR::beam_t::longbound
float longbound
Definition: SimData.h:355
RoR::ActorModifyRequest::Type::INVALID
@ INVALID
RoR::ActorSpawnRequest::asr_net_username
Ogre::UTFString asr_net_username
Definition: SimData.h:859
RoR::beam_t::~beam_t
~beam_t()
Definition: SimData.cpp:47
RoR::commandbeam_t
Definition: SimData.h:554
RoR::BLINK_NONE
@ BLINK_NONE
Definition: SimData.h:123
RoR::beam_t::maxnegstress
float maxnegstress
Definition: SimData.h:342
RoR::collision_box_t::rot
Ogre::Quaternion rot
rotation
Definition: SimData.h:726
RoR::HYDRO_FLAG_REV_ELEVATOR
@ HYDRO_FLAG_REV_ELEVATOR
Definition: SimData.h:138
RoR::ActorSpawnRequest::asr_debugview
int asr_debugview
Definition: SimData.h:858
RoR::cparticle_t::emitterNode
NodeNum_t emitterNode
Definition: SimData.h:650
RoR::beam_t::minmaxposnegstress
float minmaxposnegstress
Definition: SimData.h:340
RoR::FreeForceType::TOWARDS_NODE
@ TOWARDS_NODE
Constant force directed towards ffc_target_node
RoR::ground_model_t::fluid_density
float fluid_density
Density of liquid.
Definition: SimData.h:749
RoR::wheel_t::wh_axis_node_0
node_t * wh_axis_node_0
Definition: SimData.h:439
RoR::collision_box_t::selfunrot
Ogre::Quaternion selfunrot
self rotation
Definition: SimData.h:730
RoR::shock_t::dampin
float dampin
shocks2 & shocks3
Definition: SimData.h:383
RoR::flare_t::blinkdelay_curr
float blinkdelay_curr
Definition: SimData.h:630
RoR::ropable_t::group
int group
Definition: SimData.h:501
RoR::hook_t::hk_lockgroup
int hk_lockgroup
Definition: SimData.h:481
RoR::LocalizerType
LocalizerType
Definition: SimData.h:251
RoR::beam_t::detacher_group
int detacher_group
Attribute: detacher group number (integer)
Definition: SimData.h:346
RoR::ANIM_FLAG_PITCH
@ ANIM_FLAG_PITCH
Definition: SimData.h:150
RoR::TRG_ENGINE_BRAKE
@ TRG_ENGINE_BRAKE
Definition: SimData.h:222
RoR::ground_model_t
Surface friction properties.
Definition: SimData.h:739
RoR::ground_model_t::drag_anisotropy
float drag_anisotropy
Upwards/Downwards drag anisotropy.
Definition: SimData.h:759
RoR::tie_t::ti_locked_ropable
ropable_t * ti_locked_ropable
Definition: SimData.h:526
RoR::wheel_t::debug_vel
Ogre::Vector3 debug_vel
Definition: SimData.h:459
RoR::command_t::commandValueState
int commandValueState
Definition: SimData.h:576
RoR::SHOCK_FLAG_TRG_HOOK_UNLOCK
@ SHOCK_FLAG_TRG_HOOK_UNLOCK
Definition: SimData.h:208
RoR::ActorLinkingRequest::alr_actor_instance_id
ActorInstanceID_t alr_actor_instance_id
Definition: SimData.h:919
RoR::commandbeam_state_t::auto_move_lock
bool auto_move_lock
State.
Definition: SimData.h:551
RoR::TRG_ENGINE_CLUTCH
@ TRG_ENGINE_CLUTCH
Definition: SimData.h:221
RoR::flare_t::light
Ogre::Light * light
Definition: SimData.h:625
RoR::command_t::beams
std::vector< commandbeam_t > beams
Definition: SimData.h:581
RoR::beam_t::p2
node_t * p2
Definition: SimData.h:336
RoR::AeroEngineType::AE_XPROP
@ AE_XPROP
RoR::node_t::nd_no_ground_contact
bool nd_no_ground_contact
User-defined attr; node ignores contact with ground.
Definition: SimData.h:318
RoR::ActorSpawnRequest::net_source_id
int net_source_id
Definition: SimData.h:861
RoR::rotator_t::angle
float angle
Definition: SimData.h:606
RoR::commandbeam_t::cmb_is_1press_center
bool cmb_is_1press_center
Attribute defined in truckfile.
Definition: SimData.h:569
RoR::wheel_t::wh_tc_coef
Ogre::Real wh_tc_coef
Sim state; Current traction control modulation ratio.
Definition: SimData.h:447
RoR::ActorLinkingRequest::alr_hook_mousenode
NodeNum_t alr_hook_mousenode
Definition: SimData.h:923
RoR::ANIM_FLAG_TURBO
@ ANIM_FLAG_TURBO
Definition: SimData.h:159
RoR::FlexAirfoil
Definition: FlexAirfoil.h:33
RoR::exhaust_t::smokeNode
Ogre::SceneNode * smokeNode
Definition: SimData.h:642
RoR::hydrobeam_t::hb_anim_param
float hb_anim_param
Animators (beams updating length based on simulation variables)
Definition: SimData.h:595
RoR::hydrobeam_t::hb_speed
float hb_speed
Rate of change.
Definition: SimData.h:592
RoR::EVENT_ALL
@ EVENT_ALL
(default) ~ Triggered by any node on any vehicle
Definition: SimData.h:49
RoR::shock_t::sbd_spring
float sbd_spring
set beam default for spring
Definition: SimData.h:399
RoR::ActorState::NETWORKED_HIDDEN
@ NETWORKED_HIDDEN
not simulated, not updated (remote)
RoR::beam_t::shortbound
float shortbound
Definition: SimData.h:354
RoR::rotator_t::nodes1
NodeNum_t nodes1[4]
Definition: SimData.h:602
InputEngine.h
Handles controller inputs from player. Defines input events and binding mechanism,...
RoR::collision_box_t::debug_verts
Ogre::Vector3 debug_verts[8]
box corners in absolute world position
Definition: SimData.h:734
RoR::command_t::commandValue
float commandValue
Definition: SimData.h:577
RoR::ActorSpawnRequest::Origin::USER
@ USER
Direct selection by user via GUI.
RoR::ActorLinkingRequestType::SLIDENODE_TOGGLE
@ SLIDENODE_TOGGLE
RoR::tie_t::ti_no_self_lock
bool ti_no_self_lock
Attribute.
Definition: SimData.h:532
RoR::commandbeam_t::cmb_plays_sound
bool cmb_plays_sound
Attribute defined in truckfile.
Definition: SimData.h:567
RoR::rope_t::rp_locked
int rp_locked
Definition: SimData.h:512
RoR::ground_model_t::flow_consistency_index
float flow_consistency_index
general drag coefficient
Definition: SimData.h:750
RoR::ANIM_FLAG_DIFFLOCK
@ ANIM_FLAG_DIFFLOCK
Definition: SimData.h:166
RoR::SHOCK1
@ SHOCK1
shock1
Definition: SimData.h:108
RoR::SHOCK_FLAG_ISTRIGGER
@ SHOCK_FLAG_ISTRIGGER
Definition: SimData.h:203
RoR::rotator_t::force
float force
Definition: SimData.h:608
RoR::FreeForceRequest::ffr_id
int64_t ffr_id
Definition: SimData.h:809
RoR::exhaust_t::particleSystemName
std::string particleSystemName
Name in .particle file ~ for display in Tuning UI.
Definition: SimData.h:644
RoR::ANIM_FLAG_AIRSPEED
@ ANIM_FLAG_AIRSPEED
Definition: SimData.h:143
RoR::ANIM_FLAG_STEERING
@ ANIM_FLAG_STEERING
Definition: SimData.h:167
RoR::ActorSpawnRequest::asr_position
Ogre::Vector3 asr_position
Definition: SimData.h:851
RoR::SHOCK_FLAG_TRG_BLOCKER
@ SHOCK_FLAG_TRG_BLOCKER
Definition: SimData.h:204
RoR::rope_t::~rope_t
~rope_t()
Definition: SimData.cpp:57
RoR::hook_t::hk_hook_node
node_t * hk_hook_node
Definition: SimData.h:491
RoR::ActorType
ActorType
< Aka 'Driveable'
Definition: SimData.h:88
RoR::node_t::mass
Ogre::Real mass
Definition: SimData.h:298
RoR::events
events
Definition: InputEngine.h:74
RoR::BOAT
@ BOAT
its a boat
Definition: SimData.h:95
RoR::ActorState::NETWORKED_OK
@ NETWORKED_OK
not simulated (remote) actor
RoR::flare_t::offsetx
float offsetx
Definition: SimData.h:620
RoR::ANIM_FLAG_TACHO
@ ANIM_FLAG_TACHO
Definition: SimData.h:156
RoR::commandbeam_t::cmb_beam_index
uint16_t cmb_beam_index
Index to Actor::ar_beams array.
Definition: SimData.h:556
RoR::commandbeam_t::cmb_is_autocentering
bool cmb_is_autocentering
Attribute defined in truckfile.
Definition: SimData.h:566
RoR::FlareType::HIGH_BEAM
@ HIGH_BEAM
RoR::node_t::nd_lockgroup
int16_t nd_lockgroup
Optional attribute (-1 = default, 9999 = deny lock) - used in the hook lock logic.
Definition: SimData.h:306
RoR::UniqueCommandKeyPair::uckp_key1
CommandkeyID_t uckp_key1
Definition: SimData.h:698
RoR::flare_t::blinkdelay
float blinkdelay
Definition: SimData.h:629
RoR::ANIM_FLAG_THROTTLE
@ ANIM_FLAG_THROTTLE
Definition: SimData.h:151
RoR::ActorLinkingRequestType::TIE_TOGGLE
@ TIE_TOGGLE
RoR::TRG_ENGINE_RPM
@ TRG_ENGINE_RPM
Definition: SimData.h:224
RoR::wheel_t::wh_braking
BrakeCombo wh_braking
Definition: SimData.h:436
RoR::commandbeam_state_t::commandbeam_state_t
commandbeam_state_t()
Definition: SimData.h:545
RoR::hook_t::hk_group
int hk_group
Definition: SimData.h:480
RoR::AI
@ AI
machine controlled by an Artificial Intelligence
Definition: SimData.h:97
RoR::beam_t::shock
shock_t * shock
Definition: SimData.h:358
RoR::PropAnimKeyState::eventlock_present
bool eventlock_present
Definition: SimData.h:660
RoR::FreeForce::ffc_target_coords
Ogre::Vector3 ffc_target_coords
Definition: SimData.h:798
RoR::ropable_t
Definition: SimData.h:497
RoR::ActorModifyRequest::amr_type
Type amr_type
Definition: SimData.h:887
RoR::ActorSpawnRequest::asr_spawnbox
collision_box_t * asr_spawnbox
Definition: SimData.h:853
RoR::ActorSpawnRequest::asr_rotation
Ogre::Quaternion asr_rotation
Definition: SimData.h:852
RoR::FreeForceRequest::ffr_type
int64_t ffr_type
Definition: SimData.h:810
RoR::TRG_ENGINE_SHIFTUP
@ TRG_ENGINE_SHIFTUP
Definition: SimData.h:225
RoR
Definition: AppContext.h:36
RoR::ActorLinkingRequestType::LOAD_SAVEGAME
@ LOAD_SAVEGAME
RoR::soundsource_t
Definition: SimData.h:411
RoR::ActorSpawnRequest::asr_enter
bool asr_enter
Definition: SimData.h:864
RoR::beam_t::default_beam_deform
float default_beam_deform
for reset
Definition: SimData.h:361
RoR::ActorLinkingRequestType::HOOK_LOCK
@ HOOK_LOCK
RoR::ANIM_MODE_OFFSET_X
@ ANIM_MODE_OFFSET_X
Definition: SimData.h:182
RoR::ActorModifyRequest::Type
Type
Definition: SimData.h:875
RoR::ActorSpawnRequest::~ActorSpawnRequest
~ActorSpawnRequest()
Definition: SimData.cpp:36
RoR::beam_t::bm_disabled
bool bm_disabled
Definition: SimData.h:351
RoR::COMMANDKEYID_INVALID
static const CommandkeyID_t COMMANDKEYID_INVALID
Definition: ForwardDeclarations.h:75
RoR::ground_model_t::fx_particle_min_velo
float fx_particle_min_velo
minimum velocity to display sparks
Definition: SimData.h:769
RoR::wheel_t::BrakeCombo::NONE
@ NONE
RoR::EngineTriggerType
EngineTriggerType
Definition: SimData.h:219
RoR::FreeForceRequest::ffr_target_actor
int64_t ffr_target_actor
Definition: SimData.h:817
RoR::ground_model_t::particle_name
char particle_name[256]
Definition: SimData.h:765
RoR::wing_t
Definition: SimData.h:537
RoR::ANIM_FLAG_AIRBRAKE
@ ANIM_FLAG_AIRBRAKE
Definition: SimData.h:148
RoR::rope_t::rp_locked_actor
ActorPtr rp_locked_actor
Definition: SimData.h:516
RoR::shock_t::dfastout
float dfastout
shocks3
Definition: SimData.h:397
RoR::beam_t::L
float L
length
Definition: SimData.h:339
RoR::ActorSpawnRequest::Origin
Origin
< Enables special processing
Definition: SimData.h:837
RoR::flare_t::inertia
SimpleInertia inertia
Only 'flares3'.
Definition: SimData.h:635
RoR::ActorModifyRequest::Type::RESET_ON_SPOT
@ RESET_ON_SPOT
RoR::flare_t::noderef
NodeNum_t noderef
Definition: SimData.h:617
RoR::beam_t::bm_broken
bool bm_broken
Definition: SimData.h:352
RoR::rotator_t
Definition: SimData.h:599
RoR::CmdKeyArray
For backwards compatibility of the 'triggers' feature, the commandkey array must support negative ind...
Definition: SimData.h:668
RoR::SHOCK_FLAG_ISSHOCK2
@ SHOCK_FLAG_ISSHOCK2
Definition: SimData.h:200
RoR::ActorSpawnRequest::asr_saved_state
std::shared_ptr< rapidjson::Document > asr_saved_state
Pushes msg MODIFY_ACTOR (type RESTORE_SAVED) after spawn.
Definition: SimData.h:867
RoR::node_t::Forces
Ogre::Vector3 Forces
Definition: SimData.h:296
RoR::beam_t::maxposstress
float maxposstress
Definition: SimData.h:341
RoR::hook_t::hk_lockspeed
float hk_lockspeed
Definition: SimData.h:487
RoR::shock_t::flags
int flags
Definition: SimData.h:373
RoR::shock_t
Definition: SimData.h:368
RoR::ANIM_FLAG_SHIFTER
@ ANIM_FLAG_SHIFTER
Definition: SimData.h:160
RoR::ground_model_t::fx_colour
Ogre::ColourValue fx_colour
Definition: SimData.h:762
RoR::command_t::playerInputValue
float playerInputValue
Definition: SimData.h:579
RoR::ANIM_MODE_OFFSET_Z
@ ANIM_MODE_OFFSET_Z
Definition: SimData.h:184
RoR::ActorModifyRequest::Type::RELOAD
@ RELOAD
Full reload from filesystem, requested by user.