1
0
Fork 0
Commit graph

582 commits

Author SHA1 Message Date
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
James Turner
da65411ef4 FGQCanvas clipping / default text color fixes
Also fix some compiler warnings, but the main thing is text now
defaults to white correctly if no color was set explicitly, and
local/parent clip-reference-frames are supported.
2019-01-17 10:46:58 +00:00
James Turner
591750b911 Frameless mode for FGQCanvas 2019-01-02 17:35:45 +00:00
Richard Harrison
1e636ce4cf Support for DDS Texture Cache
- pass texture cache control properties to simgear
 - /sim/rendering/texture-cache/cache-enabled
 - /sim/rendering/texture-cache/compress-transparent
 - /sim/rendering/texture-cache/compress-solid
 - /sim/rendering/texture-cache/compress

- support --texture-cache-dir command line option
- set max reported supported texture size during splashscreen.
2018-11-24 20:21:46 +01:00
James Turner
56495485e2 FGQCanvas: in-app help page 2018-11-08 09:40:53 +01:00
James Turner
d052dc2576 Remote canvas: UI fixes 2018-11-07 09:39:54 +01:00
James Turner
41e9baaba1 FGQCanvas iOS tweaks 2018-11-07 09:39:54 +01:00
James Turner
d0017f3bec Remove canvas: handle node removes
Especially on the path, handles removes of path coord/cmd data
2018-09-29 15:32:16 +01:00
James Turner
c15d65692a Remote-canvas logging cleanups 2018-09-27 22:39:39 +01:00
James Turner
639c8fd4b4 FGCanvas: warning fixes 2018-09-18 23:31:07 +01:00
James Turner
7e3c1a1b1d Fixes for the sim-pit
* ensure the UI disappears with no user interaction
* comoile fix for GCC
2018-07-27 18:45:25 +01:00
James Turner
2403e95559 FGCanvas tweaks
Enable daemon mode for hands-off operation. Add auto-reconnect
feature for daemon mode, will keep trying to connect to the configured
FGFS instance.
2018-06-26 23:24:02 +01:00
James Turner
f24d0a0fab Update Qmake build of FGQCanvas 2018-06-25 23:39:22 +01:00
James Turner
b2e8097b22 Remote-canvas: hide the whole UI on click 2018-06-24 21:33:07 +01:00
James Turner
b0aa3b93b7 FGQCanvas: load config on start mode 2018-06-24 14:11:46 +01:00
James Turner
57fbd2fe01 Remote-canvas: QPainter rendering mode 2018-06-24 11:34:43 +01:00
James Turner
8f205040dc Work on clipping in remote canvas
Different canvas clip reference frames are handled now, and updating
the clip nodes should not longer crash. Unfortunately, clips set
on groups don't work yet, further work is needed here.
2018-06-21 14:34:05 +01:00
James Turner
c82a725e47 Fills working again in FGQCanvas 2018-06-21 08:03:02 +01:00
Stuart Buchanan
8d51050820 stgmerge improvements
- Handle directories recursively
- Support Terrasync directory for Models
- sanity check that objects are in the correct tile.
2018-06-14 22:28:14 +01:00
James Turner
cf5e2b39f1 Handle CMake policy 0071 correctly 2018-05-01 12:35:55 +01:00
James Turner
8e6500ae47 Orderly destruction of canvas elements
Driven from the object destroyed signal, ensure children and 
corresponding QQ items are also destroyed when the property is removed.
2017-11-28 22:54:12 +00:00
James Turner
e4b5a699d8 Remote canvas: fix crashes on remove 2017-11-28 22:32:30 +00:00