1
0
Fork 0
Commit graph

603 commits

Author SHA1 Message Date
Stuart Buchanan
020fb88a80 Help message for fgelev 2023-10-24 18:21:29 +01:00
James Turner
da70e43d3d Fix new Clang compielr warnings
* returning bool from main
* set-but-unused variables
* mismatch of bitwise and logical 'or'
2023-09-12 21:34:55 +01: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
Stuart Buchanan
d00c95f0e8 Fix fgelev - don't flatten WS2.0 tiles. 2023-02-23 19:50:43 +00:00
Stuart Buchanan
aae2d5d095 WS3.0 : Fix fgelev by forcing load of detailed LoD
Previously the BVH tree used by fgelev did not load the
lowest LOD tiles in WS3.0 resulting in incorrec elevation
values being returned.

This changes forces the BVH tree to flatten and load all
the nodes of the tree.
2023-01-29 21:19:56 +00:00
Erik Hofman
83694eabde Turn OpenVSP CSV forces and moments data into tables 2022-05-23 08:19:10 +02:00
Erik Hofman
06530a325b Add a utility to recenter all models within a configuration file 2022-04-25 11:59:35 +02:00
Erik Hofman
679d26c272 Very early start of a utility to convert OpenVSP CSV files into JSBSim XML files. 2022-04-25 11:59:35 +02:00
Scott Giese
1e40006f06 'using' statement are for source files, not header files
using-declarations are okay in headers (i.e. aliasing)
2022-01-15 01:48:01 -06:00
Richard Harrison
3274925cf3 Win32: reworked console opening
This is mainly for standalone FGCOM - because the error message is always shown because it is a console app and --console isn't required.
2021-04-08 21:58:52 +02:00
Erik Hofman
563737bed1 Properly handle argumenets with no assigned value (e.g. --hla) 2021-03-09 15:56:46 +01:00
Erik Hofman
c24e0fb5b8 Implement our own command-line argument parser which accepts '--name value' as well as '--name=value' and '--prop name=vale' as well as '--prop:name=value' to be compatible with the FlightGear command-line syntax. 2021-03-09 15:47:18 +01:00
Scott Giese
0ee3fd4ab6 Maintenance: js_server
Fix memory leaks.
Better use of whitespace.
2021-02-26 20:59:06 -06:00
Chris Frey
fddb32f5c1 fgelev: Support WS3.0
added --use-vpb argument

fgelev: added --tile-file argument

fgelev: enable VPBActive via SGSceneFeatures() as well

When fgelev runs, it does not load the scenery through the normal
process of FGScenery::ScenerySwitchListener(), so
SGSceneFeatures::instance()->setVPBActive() won't get called
unless we do it manually here.
2020-11-21 21:50:43 +00:00
Erik Hofman
9481ac4595 Add a utility to generate the köppen-geiger climate database image 2020-11-03 14:39:32 +01:00
Erik Hofman
bef5e30f6e Remove normalmap, The Gimp now has a much more usefull bumpmap filter 2020-10-29 09:21:27 +01:00
James Turner
329d3cdd13 PLIB includes fix from Florent 2020-09-29 12:30:34 +01:00
Scott Giese
df67cc2bd9 Python: best practices
Check eq/ne
Anticipate file issues
Ensure file closure
2020-08-29 12:07:15 -05:00
Scott Giese
7b914bc5fb Removed unreachable code 2020-08-29 11:20:40 -05:00
James Turner
178d1beb80 Cmake: Remove version.h machinery
Merge this file into config.h, this means we can save an include path
everywhere.
2020-08-24 15:04:24 +01:00
James Turner
e4e2b34a4c FGCom OpenAL CMake fixes
Ensure we detect OpenAL the way IAXClient expects, and set it up as
a dependency of IAXClient, not FGCom.
2020-08-23 11:31:37 +01:00
James Turner
47ff3e9f67 Improve CMake strucutre 2020-08-23 11:31:37 +01:00
James Turner
bd666f952e Raise minimum OSG version to 3.4.1 2020-06-18 17:39:48 +01:00
James Turner
dce282d7b8 Rename js.h -> FlightGear_js.h
Ensure we don’t get weird conflicts as our internal version is
starting to diverge from the original PLIB one.
2020-06-11 17:48:49 +01:00
gallaert
c6124b5c5a Replace boost::enable_if/disable_if/enable_if_c/disable_if_c by std::enable_if 2020-04-22 14:05:47 +01:00
gallaert
756fcf4a9a Obsolescent function called. 2020-04-12 14:40:36 +01:00
James Turner
9957d02687 Cmake: detect various packages quietly
For packages which are optional, check for them quietly, to avoid lots
of noise in our CMake output.
2020-04-09 14:00:19 +01:00
James Turner
36faef5ad9 FGPanel: Re-order dependency checks 2020-04-02 09:04:25 +01:00
James Turner
d0fd02fa8d FGPanel: update for Raspbian 10 2020-04-01 21:02:24 +01:00
gallaert
1ce36af298 - When HLA is enabled in Simgear, HLA is also enabled in Flightgear
making the build between Simgear and Flightgear consistent.
- Fix an issue with lib/lib64 path between CentOS/RedHat distributions
  and Debian derived distributions.
- Fix a compilation issue with HLA in the Flightgear code.
2020-04-01 21:02:24 +01:00
gallaert
4b60bc7a5b CMake fails to detect OpenRTI include files. 2020-04-01 20:59:39 +01:00
gallaert
e78b92ca27 Update FGPanel:
- use OpenGL 2.0 instead of OpenGL 1.0;
- port to Raspberry Pi;
- remove PLib dependencies.
2020-04-01 20:58:59 +01:00
James Turner
c2f163ec97 Fix linkage of fgviewer
Now we don't export OpenGL publiclly from SimGear, declare that
FGViewer uses OpenGL symbols directly, explicitly.
2019-10-19 09:27:27 -07:00
James Turner
66102d1736 Fix cmake build of FGQCanvas 2019-09-07 21:40:27 +01:00
James Turner
05916a79ce Git ignore for FGQCanvas 2019-09-07 21:20:27 +01:00
James Turner
5615c39175 FGQCanvas: remove errant use of QQ.Window 2019-09-01 13:00:21 +01:00
James Turner
77ef2b6b7e FGQCanvas: Fix UI visibility in daemon mode 2019-09-01 12:58:21 +01:00
James Turner
6e465f9dbe FGQCanvas: Multi-window support (for RPi4)
To support EGLFS on the RPi4 dual outputs, enable multiple windows
within a single process.
2019-08-31 23:40:46 +01:00
James Turner
28398fd041 FGQCanvas: screen handling argument (for RPi4)
Allow the QScreen to be specified, trying to get dual-screen output
working correctly on my RPi4
2019-07-25 16:03:47 +01:00
Edward d'Auvergne
34a6cb3c74 SGSubsystem classes: Registration of all subsystems. 2019-07-01 14:51:32 +02:00
Edward d'Auvergne
d259c70560 SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems. 2019-07-01 14:51:32 +02:00
Edward d'Auvergne
7a6e63ddb9 SGSubsystem classes: Subsystem and subsystem group API declaration standardisation.
This is a cleanup commit.
2019-07-01 14:27:30 +02:00
Edward d'Auvergne
60a2444766 SGSubsystem classes: Whitespace standardisation of the declarations.
This is a clean up commit prior to the subsystem API standardisation to simplify
the diffs.  It includes all SGSubsystem and SGSubsystemGroup derived classes.
2019-07-01 14:27:28 +02:00
Scott Giese
7ef4fb50ec [fgpanel] resolve linking error with GLEW 2019-04-20 21:56:16 -05:00
Richard Harrison
8e35b7efc7 OSG 3.4.0 compilation fixes. 2019-02-20 19:12:02 +01:00
Scott Giese
2fdc24c109 METAR fix 2019-02-07 01:26:05 -06:00
Scott Giese
edce380c7b Fix missing header for OSG macros.
Patch provided by Stewart Andreason.
2019-02-05 21:48:05 -06:00
Richard Harrison
f05c0297c0 OSG < 3.4.x fixes
This will use the inherently unsafe versions of the load methods which can result in deleting an object (from the cache) that has just been loaded in the database thread.

Symptom OSG WARN deleting still referenced object.

branches next, origin/next
2019-01-26 18:20:52 +01:00
Richard Harrison
832654fd2b Use readRef version of osgDB methods to give us thread safety 2019-01-20 23:30:21 +01:00
James Turner
b4009db5f6 Hide FGQCanvas UI in daemon mode 2019-01-19 15:20:19 +00:00