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
Mariusz Matuszek
852b6e7fa5
Fix 'unknown config node: absolute'
2023-04-21 12:27:35 +02:00
Simon
600cd303fc
CMake: Fix architecture detection on Windows
2023-04-18 12:27:39 +01:00
James Turner
2d30a2cd84
NavCache: allow forcing rebuilds on/off
...
Set FG_NAVCACHE_REBUILD in the environment,
0 (force off) or 1 (force on) to override rebuild checks.
Warning is logged when the cache is invalid since
navaid and airport queries will be incorrect.
2023-04-14 08:58:08 +01:00
James Turner
ba578558d6
NavCache: check SHA of files as well as modtime
...
If the modtime check fails on a file, do an SHA checksum to see if the contents
actually changed, and hence avoid unnecessary rebuilds, especially for
AppImage users.
2023-04-14 08:34:30 +01:00
James Turner
2915b6a394
Fix a compiler warning
2023-04-13 13:20:05 +01:00
Benedikt Wolf
5a08bcf796
Improve Generic Instrumentation Implementation
...
* base heading_indicator_dg, heading_indicator_fg and turn_indicator
on AbstractInstrument
* make AbstractInstrument use different electric power paths for
multiple instances of one instrument
* create electric attitude indicator (based on AbstractInstrument)
* update README
2023-04-13 13:17:16 +01:00
James Turner
afe7eb15c0
Launcher: windows state save/restore fixes
...
Thanks to Simon Lefering for the fixes.
2023-04-11 12:14:41 +01:00
Colin Geniet
4b3d49c480
vim syntax: Add a few keywords
...
Add property methods 'addChild' and 'addChildren'.
Add boolean literals 'true' and 'false' (recently added to nasal).
2023-04-11 11:16:14 +01:00
Erik Hofman
c3cf916af6
Rename the getBumpHeight function to getGroundDisplacement
2023-04-09 09:46:36 +02:00
Erik Hofman
cd40ef872c
Initial implementation of a new GroundReactions class which ultimatelly handle surface displacements for the likes of rocky terrain or ocean waves across FDM's.
...
This first implementation handles static and roling friction coefficients of tyres on dry and wet asphalt, snowy frozen lakes and frozen lakes with a water layer.
Also handles the bumpiness of different landclasses.
TODO:
- Implement the same functionality for YASIM.
- Add ocean wave hydrodynamics.
- handle dry, moist and wet mud.
2023-04-08 14:53:22 +02:00
Erik Hofman
55113709d4
Base the wetness on the temperature and dewpoint instead. Simplify the code a bit
2023-03-21 15:03:56 +01:00
Erik Hofman
b16f370135
The season dictates whether rain stays on the ground or evaproates
2023-03-21 13:32:28 +01:00
Erik Hofman
b71b27ea18
Fix for:
...
Saikrishna Arcot: In flightgear, in src/Scripting/sqlitelib.cxx (also added a couple months ago), this file is missing a #include "config.h". Because of that, SYSTEM_SQLITE will never be defined.
2023-03-07 09:21:47 +01:00
Colin Geniet
da6f3f6696
Airports: Show ICAO matches before name matches
...
When searching in the PUI airport list, display airports with
matching ICAO first. This matches the Qt launcher behaviour.
2023-03-04 11:31:01 +01:00
James Turner
2342ad49b5
Use new SGPickCallback drag option
...
Patch from Colin Geniet, optimise performance of dragging on
most objects which don't need picked position for each drag.
2023-02-28 11:01:28 +00:00
Erik Hofman
2401232969
Parse the path of fgdata to Canvas
2023-02-26 10:29:30 +01:00
Erik Hofman
098300bb51
Use mmapping when reading Nasal scripts saving two memory copies out of for (copy from disk to the i/o buffer, copy from the i/o buffer tot the ifstream, copy from the ifstreamto a string and copy from a string to Nasal).
2023-02-25 10:03:03 +01:00
Stuart Buchanan
d00c95f0e8
Fix fgelev - don't flatten WS2.0 tiles.
2023-02-23 19:50:43 +00:00
James Turner
9a4bfaed0f
Clang: remove obsolete libc++ linkage flag
2023-02-20 09:52:55 +00:00
portree_kid
a2b10c1ee3
AI Flightplan Leg 4 departure curve
2023-02-08 19:37:33 +01:00