1
0
Fork 0
Commit graph

15999 commits

Author SHA1 Message Date
scttgs0
f9509bf334 Maintenance: dynamicloader
explicit ctor.
2023-05-23 21:48:42 -05:00
scttgs0
673cfae1e8 Maintenance: airport
explicit ctor.
2023-05-23 21:48:12 -05:00
scttgs0
b0d332a771 Maintenance: runwayprefs
eliminate dead code.
SPDX tags.
++prefix for complex types.
move initialization to initializer-list.
add 'active' to assignment operator.
reduce variable scope visibility.
spelling.
2023-05-23 21:13:24 -05:00
scttgs0
1a7e456e54 Maintenance: runwayprefloader
explicit ctor.
SPDX tags.
spelling.
2023-05-23 19:51:54 -05:00
scttgs0
1dbe8c60f7 Maintenance: gnnode
SPDX tags.
header guard.
reduce variable scope visibility.
2023-05-23 19:40:20 -05:00
scttgs0
f69d069175 Maintenance: groundnetwork
parameter 'seg' changed to const*.
++prefix for complex types.
SPDX tags.
2023-05-23 19:39:50 -05:00
scttgs0
6b40b1474e Maintenance: dynamics
initialize member variables.
explicit ctor.
move lastUpdate to initializer-list.
reduce scope visibility of variables.
++prefix for complex types.
2023-05-23 16:14:10 -05:00
scttgs0
571018265f Maintenance: groundnetwork
blocktime moved to the initializer-list.
touch moved to the initializer-list.
explicit ctor.
virtual dtor.
remove unnecessary semicolons (i.e. empty statements).
SPDX tags.
header guard.
spelling.
2023-05-23 15:52:06 -05:00
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