1
0
Fork 0
Commit graph

16091 commits

Author SHA1 Message Date
scttgs0
cda2337041 Maintenance: apt_loader
SPDX tags.
parameter to loadAirportFormFile() changed to const&.
parameter to Line() ctor changed to const&.
parameter to loadAirport() changed to const&.
member variable initialization.
++prefix for complex types.
virtual dtor.
2023-05-23 00:56:19 -05:00
scttgs0
2c40595d3c Maintenance: runwayprefs
SPDX tags.
header guard.
member variable initialization.
explicit ctor.
2023-05-23 00:22:35 -05:00
scttgs0
7bf15e3f01 Maintenance: dynamics
SPDX tags.
header guard.
explicit ctor.
spelling.
2023-05-22 23:47:15 -05:00
scttgs0
ed4c4c1751 Maintenance: AirportBuilder
SPDX tags.
remove obsolete code.
2023-05-22 23:36:02 -05:00
scttgs0
9f444afa39 Maintenance: pavement
SPDX tags.
header guard.
move initialization of mControl to the initializer-list.
2023-05-22 23:29:09 -05:00
scttgs0
f107b459ec Maintenance: airport
SPDX tags.
header guard.
missing override.
spelling.
2023-05-22 23:24:18 -05:00
scttgs0
418be6b6f7 Maintenance: replay-internal
SPDX tags.
initialize member variables.
parameters to replayNormal2() changed to const*.
eliminate variable shadowing with outer scope.
remove always-true expression.
spelling.
2023-05-22 20:36:10 -05:00
scttgs0
b6ed14b0d9 Maintenance: initialstate
SPDX tags.
header guard.
explicit ctor.
2023-05-22 20:16:18 -05:00
scttgs0
57a818ee10 Maintenance: flightrecorder
SPDX tags.
header guard.
explicit ctor.
parameter to haveProperty() changed to const*.
avoid undefined behavior by explicitly converting int to string.
spelling.
2023-05-22 20:10:58 -05:00
scttgs0
dd0d8448b5 Maintenance: continuous
explicit ctor.
2023-05-22 19:42:10 -05:00
scttgs0
10baacb543 Maintenance: FlightHistory
SPDX tags.
header guard.
initialize member variables.
spelling.
2023-05-22 19:17:44 -05:00
scttgs0
85a3ac5761 Maintenance: submodel
initialize member variables.
remove obsolete code.
skip unnecessary conversion chain... std::string->c-string->std::string.
eliminate variable shadowing with outer scope.
spelling.
2023-05-22 15:47:20 -05:00
scttgs0
540cd7b56e Maintenance: AIManager
SPDX tags.
eliminate variable shadowing with outer scope.
spelling.
2023-05-22 15:47:20 -05:00
scttgs0
16f7291110 Maintenance: AIFlightPlanCreate
SPDX tags.
resolve variable scoping contention.
remove obsolete code.
spelling.
2023-05-22 15:47:20 -05:00
Julian Smith
b459348a60 src/FDM/YASim/Gear.hpp: avoid NaN errors by initialising all members of class Gear. 2023-05-22 14:49:33 +01:00
Mariusz Matuszek
801f98b939 Make header declarations agree with implementation. 2023-05-22 14:48:20 +01:00
scttgs0
bb917594d8 Maintenance: AIThermal
initialize class members.
SPDX tags.
const variables were appropriate.
eliminate variable shadowing.
spelling.
2023-05-21 21:58:50 -05:00
scttgs0
c9d08571c3 Maintenance: AIShip
rename variable 'init' to 'doInit' within function initFlightPlan() to avoid a naming conflict with the outer scope.
2023-05-21 21:26:03 -05:00
scttgs0
354e441788 Maintenance: performancedata
header guard.
virtual dtor.
parameters changed to const*.
default values for class members.
add missing members to copy-ctor.
2023-05-21 21:07:59 -05:00
scttgs0
5d260f2f30 Maintenance: AIMultiplayer
Remove always-true code.
SPDX tags.
spelling.
2023-05-21 20:52:02 -05:00
scttgs0
6f62e94dd2 Maintenance: AITanker
explicit ctor.
SPDX tags.
2023-05-21 20:40:14 -05:00
scttgs0
4413bcc7ed Maintenance: AIFlightPlan
shortenToFirst() 'name' parameter to const&.
use const functions when appropriate.
2023-05-21 20:31:52 -05:00
scttgs0
6284ab6268 Maintenance AINotifications
SPDX tags.
header guard.
explicit ctor.
SetCarrierIdent() parameter changed to const&.
2023-05-21 20:17:25 -05:00
scttgs0
69854326e6 Maintenance: AIShip
explicit ctor.
SPDX tags.
spelling.
2023-05-21 20:09:21 -05:00
scttgs0
f57266bac8 Maintenance: AICarrier
explicit ctor.
spelling.
2023-05-21 17:05:27 -05:00
scttgs0
7adb9a3b44 Maintenance: AIBase
explicit ctor.
spelling.
2023-05-21 17:00:58 -05:00
scttgs0
0f108f80cb Maintenance: AIBallistic
SPDX tags.
explicit ctor.
spelling.
2023-05-21 16:53:45 -05:00
scttgs0
b09def6713 Maintenance: AIBaseAircraft
SPDX tags.
explicit ctor.
2023-05-21 16:47:36 -05:00
scttgs0
1ab1471d5a Maintenance AIFlightPlan.
SPDX tags.
explicit ctor.
spelling.
2023-05-21 16:34:12 -05:00
scttgs0
812107d87c Maintenance: Consistent TODO: tags 2023-05-21 16:21:40 -05:00
Richard Harrison
88ee1ca7f7 refs Ticket #2766
Increased maximum number of Joystick axes to 32.

NOTE: this will only result in more axes when the underlying hardware supports it; so no change in Windows; Linux probably will work (as it uses an ioctl to get the number from the driver), but this is untested.

Note sure what will happen on OSX.

ref: https://sourceforge.net/p/flightgear/codetickets/
2023-05-21 22:18:19 +01:00
scttgs0
d59251efe2 Maintenance: AIAircraft
explicit ctor.
const& for stream objects.
initialize class members.
construct csvFile in the initializer-list.
spelling.
eliminate unnecessary complexity.
string_literals.
2023-05-21 16:00:01 -05:00
scttgs0
7061fc6be9 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:36:08 -05:00
scttgs0
b2c3795f11 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:33:07 -05:00
scttgs0
060ac34e19 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:32:09 -05:00
scttgs0
e754b850f1 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:28:50 -05:00
scttgs0
584c40ef47 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:26:02 -05:00
scttgs0
a06b33105c Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:24:03 -05:00
scttgs0
bd3b209466 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:22:15 -05:00
scttgs0
3df69b8381 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:18:39 -05:00
scttgs0
c39c78b586 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:14:37 -05:00
scttgs0
fca4c7dbe2 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:13:11 -05:00
scttgs0
89043efdaa Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 17:10:29 -05:00
scttgs0
cd35776536 Maintenance: namespace
Clean up namespaces.
Don't use broad 'using namespace' context in header files.
Header Guards.
SPDX tags.
2023-05-20 16:59:42 -05:00
scttgs0
a562255008 [ATC] Fix for Segfault occurring for AI approach aircraft. 2023-05-15 12:57:04 -05:00
Benedikt Wolf
d372890c98 Attitude Indicator Electric: Fix some mistakes, registrate in instrument mgr 2023-05-14 19:33:12 +02:00
scttgs0
e11a6bb02b Ticket #2770 : ATC/TowerController.cxx:203 Floods .fgfs.log
Disabled code that is meant for troubleshooting (DEBUG), but is categorized as BULK.

I did not change the category of this message log, because there seems to be another problem where the user-specified log level is being altered.  Disabled this message until a more thorough review of the logging code is made.
2023-05-03 22:13:31 -05:00
Benedikt Wolf
a0dcc81c4e Heading Indicator DG: Same behaviour as introduced to turn-indicator: use previous default power path unless <new-default-power-path> is set to 1, then follow the common naming scheme. Also set spin property again (was broken by my previous changes) 2023-05-02 14:30:21 +01:00
Benedikt Wolf
aa2e31b35d Turn Indicator:
* revert to old default power supply path (/systems/electrical/outputs/turn-coordinator instead of .../turn-indicator) for compatibility reasons
* fix property instrumentation/turn-indicator/spin not being updated
2023-05-02 14:28:44 +01:00
scttgs0
76097ce93c Minor: fix spelling 2023-04-30 22:14:24 -05:00