Richard Harrison
8494462a96
Fixed another crash in MP interpolation when data isn't available.
2017-04-02 02:22:52 +02:00
Richard Harrison
48b93ff982
Fix comments in message header to identify the reuse of an obsolete field
2017-04-02 02:22:51 +02:00
Richard Harrison
239334f4d1
The conditions were swapped for the total output and the hexdump
2017-04-02 02:22:50 +02:00
Richard Harrison
c5cc666288
Merge branch 'next-2' into multiplayer-dev
2017-04-02 02:22:48 +02:00
Richard Harrison
5d23fa71ff
OSG 3.5.x compatibility fix
...
OSG 3.5 (and maybe before) declares that ThreadSafeRefenceCounting is no longer required and it has been removed.
2017-04-02 02:09:38 +02:00
Erik Hofman
b1f9107f22
Add the vendor tag
2017-03-30 15:56:15 +02:00
Erik Hofman
f3893c54bd
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/flightgear into next
2017-03-30 11:24:07 +02:00
Erik Hofman
c6976b8871
rename the soure-file to source-file.bak and construct a new 'source-file' with an added <tags> section
2017-03-30 11:23:54 +02:00
James Turner
f6f2c3b89a
Merge /u/jsb1685/flightgear/ branch yasim into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/84/
2017-03-29 15:49:16 +00:00
James Turner
6cd39818c6
Whoops, missed a file.
2017-03-27 16:05:45 +01:00
James Turner
58a7f2c5c2
Unit-test for initPosition.
...
Only basic, but can be expanded incrementally now
2017-03-27 15:38:05 +01:00
Stuart Buchanan
feb5d599d0
Replace "tile-manager" with "scenery"
2017-03-26 21:49:26 +01:00
James Turner
09fe744de0
Test helper CMake macro.
...
Also build the test code first, so tests can reside in source tree as
well as the test tree.
Finally, build local Sqlite with -fpic to give consistent linkage when
using either built-in or system sqlite.
2017-03-26 12:15:29 +01:00
Alessandro Menti
7db8ed17c4
Test suite: add GPerfTools and system SQLite linking fixes
...
If GPerfTools and/or the SYSTEM_SQLITE options are enabled, the test
suite fails to build (GPerfTools is not linked explicitly in CMakeLists.txt,
but becomes required by SimGear, so the linker failes with an "undefined
reference" error; the SQLite library the test suite links against is always
hardcoded to the FG-provided one).
This patch adds the GPerfTools library to the target link libraries
(if the profiler is enabled) and links to the system SQLite library
whenever SYSTEM_SQLITE is enabled.
2017-03-26 12:10:15 +02:00
James Turner
27baca4826
Linux fixes for tests compilation
2017-03-25 17:09:18 +00:00
James Turner
31e933d836
Kill the Aircraft/foo path warning.
...
We probably need a warning for cross-aircraft paths, but leaving that
for a separate change since I’m worried it will warn on MP aircraft.
Maybe better checked in the Python scripts than in the app?
2017-03-25 15:40:11 +00:00
James Turner
9e122eaf81
Partial testing framework.
...
Compile a useful subset of FG as a shared library, and add two basic
uses of this to exercise some Flightplan / RoutePath / navaid
functions.
The test framework can/will be expanded incrementally from here, this
is just a starting point.
2017-03-25 15:35:26 +00:00
James Turner
7adb2fa851
RoutePath fixes.
...
Should fix:
https://sourceforge.net/p/flightgear/codetickets/1703/
https://sourceforge.net/p/flightgear/codetickets/1939/
Although both of these I had trouble reproducing directly.
2017-03-25 15:34:10 +00:00
James Turner
c2da881010
Fix a crash in NavList
...
(Tests are good)
2017-03-25 15:34:10 +00:00
James Turner
4f020602e6
Missing config.h includes
...
This is about to become much more important.
2017-03-25 15:34:10 +00:00
Erik Hofman
054b8e4127
Anot batch of small bug-fixes
2017-03-25 14:21:05 +01:00
Erik Hofman
ed924b6da4
another small bug-fix
2017-03-24 14:11:44 +01:00
Erik Hofman
6fc61984df
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/flightgear into next
2017-03-24 13:37:39 +01:00
Erik Hofman
95887ea7fd
Add support for afterburner, supercharger, helicopters and variable-pitch prop.Rename a few tags and small bug fixes
2017-03-24 13:37:23 +01:00
Stuart Buchanan
43a2b6fdac
Rotate through tips based on execution count.
2017-03-23 21:11:46 +00:00
Erik Hofman
2096d704be
Some small fixes
2017-03-23 16:10:44 +01:00
Erik Hofman
01e44bf7b8
Add YASim tag reporting
2017-03-23 15:08:39 +01:00
Erik Hofman
0e22d383b4
Add a tag about gear retractability and steering, improve the detection of the number of engines
2017-03-23 13:32:36 +01:00
Erik Hofman
d13a7b2ddb
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/flightgear into next
2017-03-23 12:52:23 +01:00
Erik Hofman
1b18e31a24
Initial commit of an Aircraft automatic metadata generation utility
2017-03-23 12:51:58 +01:00
James Turner
74e2849293
Move some commands to a separate file.
...
This simplifies building a subset of the code for testing.
2017-03-22 21:13:40 +01:00
Henning Stahlke
50110b0cd6
YASIM: minor change to allow RigidBody addMass and setMass to trigger aggregation correctly. (not a problem up to now, just to be safe in future)
2017-03-21 22:47:07 +01:00
Henning Stahlke
f7359d9699
YASim: add bug warning messages.
2017-03-21 22:46:33 +01:00
Henning Stahlke
53103ac15e
YASim: update CLI usage message.
2017-03-21 22:43:01 +01:00
Stuart Buchanan
3135d87218
Stop TTS from playing over itself.
...
Simple blocking of the SGSubsystem until the current
TTS sample has finished playing, allowing a 0.5s
gap between transmissions. Good radio comms!
2017-03-20 22:27:10 +00:00
James Turner
63d8c2fd83
Enable —-metar runway selection.
...
Thanks to Florent for the catch.
2017-03-19 22:41:07 +00:00
James Turner
b1fa31fa09
Restore METAR-based runway selection.
...
As part of this, add the ability to distinguish default vs explicit
airport selection via a new /sim/presets/airport-requested flag. This
enables us to more cleanly handle different combinations of startup,
especially the case where the user requests an airport but no runway
(wants auto selection), ensuring we don’t look for the default airport’s
runway (from location-presets.xml) in that case.
2017-03-19 11:55:10 +00:00
James Turner
962ede1c43
Fix how launcher resets heading-deg.
...
This ensures finalisePosition logic runs as expected, ensuring
real-world METAR usage kicks in.
2017-03-19 11:55:10 +00:00
Erik Hofman
2393fd647d
Merge /u/jsb1685/flightgear/ branch yasim into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/78/
2017-03-19 07:49:26 +00:00
Henning Stahlke
dc63307965
YASim: fix segmentation fault in yasim CLI tool
2017-03-18 23:17:19 +01:00
Henning Stahlke
0f472efe9b
YASim parser: add support for metric and imperial attibutes, e.g. mass-lbs, mass-kg
2017-03-18 21:28:26 +01:00
Henning Stahlke
cecdfd0832
YASim FGFDM.hpp correction of pointer declarations.
2017-03-18 21:19:24 +01:00
James Turner
6880761f7b
Launcher diagram: faster boundary computation.
...
No need to completely rebuild in these cases.
2017-03-16 22:42:58 +00:00
James Turner
a1bc99ec84
Fix slow launcher diagram with bad airport data.
2017-03-16 22:41:59 +00:00
James Turner
b13dd05aca
Fix bug on Windows, time() is UTC there also.
...
This renders sgGMTime obsolete, it will go away shortly. Thanks to
Ron H for help tracking this down and Richard Harrison for his
knowledge of Windows APIs in confirming the issue.
2017-03-16 21:26:43 +00:00
James Turner
29fe9316af
Generic protocol fix for integer-factors.
...
Read all values as floating point before applying a factor, then
convert to the target type (int, byte or short). Suggested and
implemented by Oliver Kroth.
2017-03-16 15:54:38 +00:00
Henning Stahlke
c61730db92
YASim Wing method name clarification (SMC is not MAC).
2017-03-16 09:43:41 +01:00
Henning Stahlke
bb9a8a1850
YASim backward compatibility fix for ground effect calculation (added if isVersionOrNewer).
2017-03-16 09:39:58 +01:00
Henning Stahlke
1c932b3d79
YASim Model.cpp to avoid performance problems with getNode() add variables for properties that are written at FDM rate.
...
getNode() is slow, setValue() is ok
2017-03-16 09:36:15 +01:00
James Turner
06c6e994a5
Merge /u/accek/flightgear/ branch build-with-gdal into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/83/
2017-03-15 18:57:11 +00:00