RigsofRods
Soft-body Physics Simulation
SimData.cpp
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 
22 #include "SimData.h"
23 
24 #include "Actor.h"
25 #include "CacheSystem.h"
26 #include "TuneupFileFormat.h"
27 
28 using namespace RoR;
29 
31 {
32  // Constructs `CacheEntryPtr` - doesn't compile without `#include CacheSystem.h` - not pretty if in header (even if auto-generated by C++).
33  // Also `TuneupDefPtr` which needs `#include TuneupFileFormat.h`
34 }
35 
37 {
38  // Destructs `CacheEntryPtr` - doesn't compile without `#include CacheSystem.h` - not pretty if in header (even if auto-generated by C++).
39  // Also `TuneupDefPtr` which needs `#include TuneupFileFormat.h`
40 }
41 
43 {
44  // Constructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
45 }
46 
48 {
49  // Destructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
50 }
51 
53 {
54  // Constructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
55 }
56 
58 {
59  // Destructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
60 }
61 
63 {
64  // Constructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
65 
66  // Bitfields cannot be initialized in-class (C++ limitation).
67  ti_no_self_lock = false;
68  ti_tied = false;
69  ti_tying = false;
70 }
71 
73 {
74  // Destructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
75 }
76 
78 {
79  // Constructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
80 }
81 
83 {
84  // Destructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
85 }
86 
88 {
89  // Constructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
90 }
91 
93 {
94  // Destructs `ActorPtr` - doesn't compile without `#include Actor.h` - not pretty if in header (even if auto-generated by C++).
95 }
96 
98 {
99  // Constructs `CacheEntryPtr` which is a `RefCountingObjectPtr<>` so it doesn't compile without `#include "TuneupFileFormat.h"` and thus should not be in header.
100 }
101 
103 {
104  // Destructs `CacheEntryPtr` which is a `RefCountingObjectPtr<>` so it doesn't compile without `#include "TuneupFileFormat.h"` and thus should not be in header.
105 }
RoR::soundsource_t::soundsource_t
soundsource_t()
Definition: SimData.cpp:87
RoR::ActorModifyRequest::ActorModifyRequest
ActorModifyRequest()
Definition: SimData.cpp:97
RoR::ActorModifyRequest::~ActorModifyRequest
~ActorModifyRequest()
Definition: SimData.cpp:102
RoR::soundsource_t::~soundsource_t
~soundsource_t()
Definition: SimData.cpp:92
RoR::hook_t::hook_t
hook_t()
Definition: SimData.cpp:77
TuneupFileFormat.h
The vehicle tuning system; applies addonparts and user overrides to vehicles.
RoR::tie_t::ti_tying
bool ti_tying
State.
Definition: SimData.h:545
Actor.h
RoR::tie_t::ti_tied
bool ti_tied
State.
Definition: SimData.h:544
SimData.h
Core data structures for simulation; Everything affected by by either physics, network or user intera...
CacheSystem.h
A database of user-installed content alias 'mods' (vehicles, terrains...)
RoR::beam_t::beam_t
beam_t()
Definition: SimData.cpp:42
RoR::tie_t::~tie_t
~tie_t()
Definition: SimData.cpp:72
RoR::tie_t::tie_t
tie_t()
Definition: SimData.cpp:62
RoR::hook_t::~hook_t
~hook_t()
Definition: SimData.cpp:82
RoR::rope_t::rope_t
rope_t()
Definition: SimData.cpp:52
RoR::ActorSpawnRequest::ActorSpawnRequest
ActorSpawnRequest()
Definition: SimData.cpp:30
RoR::beam_t::~beam_t
~beam_t()
Definition: SimData.cpp:47
RoR::tie_t::ti_no_self_lock
bool ti_no_self_lock
Attribute.
Definition: SimData.h:543
RoR::rope_t::~rope_t
~rope_t()
Definition: SimData.cpp:57
RoR
Definition: AppContext.h:36
RoR::ActorSpawnRequest::~ActorSpawnRequest
~ActorSpawnRequest()
Definition: SimData.cpp:36