James Turner
67ab1c7162
Fix missing include for std::unique_ptr on non-Mac
2017-11-03 09:51:44 +00:00
James Turner
117404979b
Migrate to a pure Quick-renderer solution, and QQ UI
...
This means everything is displayed via OpenGL, and there’s a basic
menu system usable.
2017-11-02 17:21:27 +00:00
James Turner
61bf6b0f58
QtQuick-based rendering for remote canvas
...
Currently displayed alongside the QPainter version, while establishing
the accuracy of each mode, but this is temporary.
2017-10-29 16:44:32 +00:00
Erik Hofman
b1f9107f22
Add the vendor tag
2017-03-30 15:56:15 +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
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
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
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
1b18e31a24
Initial commit of an Aircraft automatic metadata generation utility
2017-03-23 12:51:58 +01:00
Ganael Laplanche
43dab178c0
Use ${FREETYPE_INCLUDE_DIRS} instead of hardcoded path
2017-03-03 21:26:44 +00:00
Peter Sadrozinski
ec4b9f8542
Alternative terrain engine based on pagedLOD
...
- remove TileMgr from sub systems - add to btg terrain engine
2017-02-26 10:17:15 -05:00
Florent Rougon
8f24de831d
Adapt includes according to relocation of SimGear's iostreams-related files
...
This change is the logical counterpart of SimGear's change from commit
79f869a7f32910197be72b21f6489fbbba02c836 that moved the following files
from simgear/misc to simgear/io/iostreams:
gzcontainerfile.cxx
gzcontainerfile.hxx
gzfstream.cxx (formerly zfstream.cxx)
gzfstream.hxx (formerly zfstream.hxx)
sgstream.cxx
sgstream.hxx
sgstream_test.cxx
2017-02-12 21:30:51 +01:00
James Turner
80e45f6d9b
Different solution for FGQCanvas install
...
Move the install line back inside the subdir, but pull in the extra
config file so the install-bindir is defined.
2017-02-04 08:25:41 +01:00
James Turner
311d59011c
Fix an error when FGQCanvas is not defined.
...
There’s various cases where FGQCanvas might be enabled but still
fail to define the target.
2017-02-02 18:17:45 +01:00
James Turner
40fbebb777
Move FGQCanvas install command
...
This keeps standalone FGQCanvas build working.
2017-01-31 17:16:03 +01:00
James Turner
8472f8c6d0
Fix positional ordering of remote-canvas elements.
...
The mirror protocol now sends the position for internal as well as
leaf nodes, and the group uses this data to sort when no explicit
Z-indices exist. This gets the extra-500 much closer to working!
2017-01-26 23:14:48 +00:00
Gijs de Rooy
5aef1a8700
Let CMake install fgqcanvas
2017-01-26 15:16:21 +01:00
James Turner
15dbe1069d
Bump the minimum Qt version for Remote-canvas.
...
QByteArrayList needs 5.4, not 5.3
Also flip the default to off of building the remote-canvas, to avoid
people getting caught out.
2017-01-24 10:34:56 +00:00
Stuart Buchanan
07a9ee5b42
Fix fgelev by defining the correct scenery-path-suffix.
2017-01-23 19:17:50 +00:00
James Turner
78498c560d
Rename preferences.xml -> defaults.xml
...
Requires FGData commit: 0565eaab10a5d466cd485766b17d1870936a0a57
(which actually renames the file).
Also disables the preferences-load command since I don’t believe it
would actually be safe to reload the defaults without doing a simulator
reset (aircraft -set.xml values would be overwritten, for example)
2017-01-12 09:45:19 +00:00
Erik Hofman
f61293a935
Geoff McLane:
...
1. The variables SIMGEAR_CORE_LIBRARIES and
SIMGEAR_CORE_LIBRARY_DEPENDENCIES are
no longer set... hence the need to hard-code 'SimGearCore'
in the target_link_libraries()
2. And -lfreetype means the linker must know the specific
link path to it, while the variable FREETYPE_LIBRARIES
contains the fully qualified path to the library.
3. Improved the 'found glut' message to show exactly what
was found, and being used... This is due to the user possibly
also have the near binary compatible glut32.lib found, which
will fail in the link due to some freeglut extensions have been
used.
4. Adding the define -DFREEGLUT_LIB_PRAGMAS=0 is
necessary to stop the freeglut headers from using a MSVC pragma
to declare the library, which will /not/ not be found...
5. In Windows the glew library is not -lGLEW, and even if it
was, it would not be found, without adding a link_directories(
path/to/library ),
while the GLEW_LIBRARIES variable has the fully qualified path.
2017-01-08 10:23:46 +01:00
Erik Hofman
52f5d19ac5
Windows also needs dirent.h
2017-01-07 14:16:58 +01:00
Erik Hofman
167a6ec031
MSVC fix
2017-01-07 11:19:43 +01:00
James Turner
90d6911d68
Work on Remote-Canvas
2016-12-28 22:01:29 +01:00
James Turner
a42900bef5
Remote-canvas element highlighting.
...
Debugging aid to correlate property tree items to their visual
location.
2016-12-28 22:01:29 +01:00
James Turner
980be9f479
Remote-canvas: fix clip parsing + handling.
2016-12-28 22:01:29 +01:00
James Turner
0e57001cab
Add element inspector to remote-canvas
2016-12-28 22:01:29 +01:00
James Turner
967f1c1426
Fix source / dest rect in FGQCanvas image.
2016-12-28 22:01:29 +01:00
Florent Rougon
9b38c0046f
Add missing include
...
In utils/fgqcanvas/fgcanvaspath.cpp: <QByteArrayList>
2016-12-25 21:33:41 +01:00
James Turner
12ad68f258
Abandon FGQCanvas build if QtWebSockets is missing.
...
Should avoid build pain for people with older Qt5 installs or who
don’t have the web-sockets development package available.
2016-12-21 11:14:50 +00:00
James Turner
6c0e9b747d
Remote-canvas image support, partially working.
2016-12-21 10:26:31 +00:00
James Turner
066d81568d
Remote-canvas loads fonts from the host.
2016-12-21 10:26:31 +00:00
James Turner
34ca0c15cc
Fix default text alignment in remote-canvas
2016-12-21 10:26:31 +00:00
James Turner
4c4fb1a6ac
Make FGPanel dependency handling better
2016-12-21 10:24:40 +00:00
James Turner
106b62caa5
Make FGQCanvas a bit more optional.
2016-12-19 17:54:37 +00:00
James Turner
351dfdb498
GCC compilation fix.
2016-12-19 09:04:25 +00:00
James Turner
569925b61b
Remote-canvas work, based on Extra-500 testing.
2016-12-18 23:52:16 +00:00
James Turner
490592d96e
Remote-canvas handles rects / round-rects directly.
...
When a rect shape is specified, paint it directly instead of converting
to a path, since this might be much cheaper.
2016-12-18 21:55:32 +00:00
James Turner
b999ab335b
SVG handling for Remote-canvas
2016-12-18 21:24:39 +00:00
James Turner
bd5a266e9f
Qt-based remote canvas application.
...
Work-in-progress, currently performance is sub-optimal (software
rendering via QPainter API).
2016-12-17 14:24:28 +00:00
Erik Hofman
005d5fa766
Search for Glew and freetype
2016-12-17 12:46:54 +01:00
Erik Hofman
a10d3d8381
Add SimGearCore
2016-12-17 11:40:35 +01:00
gallaert
effca9da5e
Update FGPanel:
...
- use OpenGL 2.0 instead of OpenGL 1.0;
- port to Raspberry Pi;
- remove PLib dependencies.
2016-12-16 19:35:44 +00:00
Saikrishna Arcot
c505fbad5c
Fix compiling stgmerge.cxx in C++11 mode.
2016-12-03 08:13:39 -08:00
Durk Talsma
f7424271a7
Some prepratory work for FGTraffic 2020: Added utils/traffic, a sample C++ source/header file, and the necessary changes in the CMakefile system to allow automatic compilation.
2016-11-20 12:52:21 +01:00
Torsten Dreyer
af8625e4ac
fgelev: add option to print solidness of terrain
...
Add option --print-solidness
without this option, behaviour of fgelev is unchanged
with this option the word "solid" gets printed behind the elevation if the
material at the given location is solid. A hyphen (-) gets printed otherwise
2016-11-08 10:42:48 +01:00
James Turner
e2f7585d9c
Use a Cmake imported target for SimGear
2016-10-30 22:15:54 +00:00
Alessandro Menti
2d86fc11ad
Replace the NOAA METAR URL with the new, updated one
2016-08-04 20:34:34 +02:00
Jeremy Bicha
25928bf614
Use CMAKE_INSTALL_BINDIR
...
Allow /bin install directory to be overriden. Debian for example uses this
to install FlightGear to /usr/games/ instead of /usr/bin/
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
2016-07-09 18:52:58 -04:00
James Turner
9cffcf63ae
Further SGPath encoding fixes.
2016-07-01 04:54:29 -05:00
James Turner
6d0c2070fd
Use future-proof SGPath APIs.
...
Remove uses of .str(), .c_str() and some other methods of SGPath.
Pass SGPath directly where possible, or explicitly convert to the
appropriate 8-bit encoding.
2016-06-28 10:08:38 +01:00
Erik Hofman
d9129cfe80
Remove a debug message
2016-06-27 13:21:26 +02:00
James Turner
16814800ce
Use Paths instead of strings.
2016-06-22 17:36:05 +01:00
James Turner
03ecac9dbc
Work with new SGPath API.
2016-06-22 17:36:05 +01:00
James Turner
a0b7abf7ff
Remove FGAdmin
2016-06-15 22:31:47 +01:00
James Turner
3f7e59a1a5
Allow scenery installation from the launcher.
...
Replaces FGadmin functionality.
2016-06-15 22:28:54 +01:00
James Turner
0da1fc574d
VS2015 compatability fixes.
2016-06-01 22:58:03 +01:00
Erik Hofman
ea6e1c9854
Fix the header name change from sample_openal.hxx to sample.hxx
2016-05-28 09:57:03 +02:00
Torsten Dreyer
0c5e99504d
Move terrasync.py to /scripts/python
2016-05-11 14:59:36 +02:00
Torsten Dreyer
adc18c4f87
terrasync.py: improving the stub
...
- use DNS NAPTR records to find terrasync server
- if static root/.dirindex if not provided by server
- allow command-line args for --url and --target
2016-05-11 14:57:38 +02:00
Torsten Dreyer
b52034fbe1
initial commit for a python based terrasync client
2016-05-04 23:08:22 +02:00
Torsten Dreyer
7294999f35
Prevent 100% CPU usage for FGCom standalone
...
Kévin Seroux:
As reported here (http://forum.flightgear.org/viewtopic.php?f=32&t=26629 ),
the FGCom standalone client use 100% of the CPU when it is in OBS mode. The fact to add the shortest sleep time
(1ms) has solved the problem. With this patch, I run FGCom with 1% of CPU usage instead of 100%.
2015-08-06 21:47:01 +02:00
Torsten Dreyer
1ad81ee94e
Silence some warnings
...
AIBallistic: wrong order of member initialization
Other: unused variables
2015-05-29 10:27:25 +02:00
Rebecca N. Palmer
659c5b9676
Fix spelling
2015-04-06 10:28:10 +01:00
Rebecca N. Palmer
14405fe2e3
Fix compile with CMake 3.2.1, by Kevin Seroux
...
Explicitly link X11, as this no longer comes with OpenGL
2015-04-03 19:15:52 +01:00
Stuart Buchanan
bcfa16b84a
stgmerge enhancements
...
Various stgmerge enhancements to make it functional:
- Now runs against an entire tile directory, reading each stg file
- optionally optimizes the mesh (untested)
- outputs to a second directory
- control over the size of merged meshes
2015-02-22 21:37:18 +00:00
Stuart Buchanan
9f0eceae6e
Initial checkin of stgmerge
2015-01-18 20:10:05 +00:00
radi
82ccaa7429
add command line option --expire to fgelev, overriding the hardcoded
...
default of 10 if given.
This improves performance _a lot_ if massively probing across
a bucket border as it prevents constant terrain unloading/reloading.
2014-10-06 11:23:27 +02:00
Clément de l'Hamaide
b0b272e4d2
New FGCom standalone re-wrote from scratch
...
- positions.txt and special.txt are integrated in the binary
- Reduce CPU load
- New mode: OBS for listening a frequency
- Source code ready to be used with another library
- Support for COM1 and COM2
- Fix bug where frequencies conflict avoid switching between similar frequency in range
- Better logging information and debug information
- Range depends on altitude
2014-08-19 20:46:42 +02:00
Torsten Dreyer
4f91a31f05
Quick and dirty repair of linux build with RTI enabled
2014-08-17 22:36:19 +02:00
Stuart Buchanan
b654477794
New materials.xml format
2014-08-09 20:43:34 +01:00
Clément de l'Hamaide
5743ae48eb
Better variable initialization, thanks to Torsten for reporting it
2014-05-08 19:28:20 +02:00
Clément de l'Hamaide
b9bd6e7bf3
fgadmin: add C string header
2014-05-02 20:31:52 +02:00
Clément de l'Hamaide
6d6e45274f
FGadmin: fix compilation, move CMake stuff to better place, remove old ./configure system
2014-04-30 20:34:05 +02:00
James Turner
2d5d43a57d
Rename GPSsmooth files.
...
- avoid confusion with GPS instrument files.
2014-03-16 22:35:00 +00:00
James Turner
44242df377
Fix standalone terrasync build
...
- code from SGTerraSync now lives here. This is not a great approach,
since this tool can only schedule based on position, but no worse than
before.
2014-02-25 09:15:08 +00:00
Clément de l'Hamaide
d9e8abcc99
FGCom: change default silence threshold
2014-02-04 12:18:50 +01:00
James Turner
b7a9aee796
FGViewer fixes
...
- ensure active material are cached
- clear osgDB object cache on exit explicitly
2014-01-29 10:10:53 +00:00
Clément de l'Hamaide
3254f54f9e
FGCom: add silence threshold setting
...
Require commit 1396848dcf31d181ab740c8eb728cff02f06fd3d from fgdata
2014-01-26 16:38:48 +01:00
James Turner
ce3a7b20fe
Crash-fix: mat-lib is now reference-counted.
...
Adapt to corresponding SG change to make SGMaterialLib be ref-counted,
and have the 'reload-materials' command notify the tile-manager of this,
so it can update the options struct it passes to new tiles.
2014-01-19 16:49:44 +00:00
Clément de l'Hamaide
606643a199
FGCom: update special_frq for built-in/standalone sync
2014-01-12 21:17:57 +01:00
Clément de l'Hamaide
c9a0a50847
Delete unused variable
2013-12-24 11:22:24 +01:00
Clément de l'Hamaide
4fc6c8a54d
FGCom standalone: update positions.txt
2013-12-23 14:04:21 +01:00
Clément de l'Hamaide
0687a1c1b2
gen_phonebook.pl: skip 8.33KHz from apt.dat + fgcom.conf update
2013-12-22 20:21:42 +01:00
Clément de l'Hamaide
f650fe5abd
Remove specific hack while testing period
2013-12-21 15:48:25 +01:00
Clément de l'Hamaide
6c683945f0
FGCom standalone: .txt destination can be tweaked with -DFGCOM_DATA_PATH
2013-11-27 13:48:14 +01:00
Clément de l'Hamaide
7e90c8aa2b
Force 32 bits depth on .ico - only for Windows
2013-11-14 21:24:56 +01:00
Clément de l'Hamaide
1c49890bec
Icons update
2013-11-13 22:49:07 +01:00
James Turner
44ed1f293d
Fix standalone terrasync build
2013-11-13 00:16:28 +00:00
Clément de l'Hamaide
95679e6d76
Fix gen_phonebook.pl for airport at negative altitude
2013-11-12 22:41:08 +01:00
Clément de l'Hamaide
1b6ec7d149
Upgrade fgcom.conf with apt.dat 2013-10
2013-11-12 22:40:19 +01:00
Clément de l'Hamaide
1ac8cef11a
Upgrade positions.txt with apt.dat 2013-10
2013-11-12 22:33:08 +01:00
Clément de l'Hamaide
b045dcf0f1
FGCom-sa: force console output
2013-11-07 22:49:42 +01:00
Clément de l'Hamaide
79e93918e0
Icons modifications
...
- Add some fgcom-*.png for desktop shortcut
- Remove duplicate .gif files
- Change FGCom icon
2013-11-03 21:29:30 +01:00
Clément de l'Hamaide
4b2fcaa685
Missing line for FGCom icon
2013-10-31 20:14:48 +01:00
Clément de l'Hamaide
ab38969274
Add an FGCom icon from fgcomgui (under GPL)
2013-10-31 14:07:31 +01:00
Clément de l'Hamaide
1970a8e0a8
FGCom: allow ulaw codec too
2013-10-28 21:56:27 +01:00