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
janodesbois
ecfdf354f1
considering u,v,wbody-fps are the ECEF velocity expressed in body axis, change in all functions/variables name dealing with them, wrongly named with wind, or even north, east, down.
2013-10-27 13:24:54 +01:00
Clément de l'Hamaide
d5b70e98e0
FGCom[-sa]: add IAX denoiser and auto gain + set silence threshold
2013-10-26 13:18:08 +02:00
Clément de l'Hamaide
fde46e7ee3
FGCom-sa: remove commented lines
2013-10-26 01:51:56 +02:00
Clément de l'Hamaide
4fbff4f004
FGCom-sa: use only COM1 and COM2 + special frequencies require to mute speaker
2013-10-26 01:50:19 +02:00
Clément de l'Hamaide
6332693ae5
FGCom: use Speex codec instead of GSM codec
2013-10-24 12:14:31 +02:00
James Turner
e81df0df1f
Fix FGViewer compilation when HLA is disabled.
...
Changed definition in config_cmake.in means #ifdef is no longer
a valid test; use #if instead.
2013-10-20 15:56:33 +01:00
Clément de l'Hamaide
e0c97199e6
fgcom-sa: remove plib, zlib, win dependencies
2013-10-12 19:20:45 +02:00
Clément de l'Hamaide
5d17864d30
FGCom standalone: search *.txt as relative path
2013-09-28 22:45:07 +02:00
Clément de l'Hamaide
586fd45b08
Install required file by fgcom in the common share/ directory
2013-09-27 20:24:42 +02:00
Clément de l'Hamaide
c022bb8d51
Move IAXClient library into 3rdparty directory
...
Remove ENABLE_IAX option
Add an improved FGCom standalone as part of FG in utils directory
2013-09-27 16:05:45 +02:00
Clément de l'Hamaide
fc25f29d3c
Fix Windows warning during Windows compilation
...
Make sure OpenAL context is setup before opening capture device
2013-09-27 15:37:07 +02:00
James Turner
66423605f1
GCC 4.7 compile fix.
...
Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
2013-09-14 17:39:42 +01:00
Clément de l'Hamaide
467783bd45
Clean FGCom logging and fix IAX input level
2013-08-24 17:51:03 +02:00
f-jjth
f24c4df73f
Improve OpenAL driver for IAXClient
...
Abort OpenAL initialization if input device are not found in this way we don't create and merge new OpenAL context with SGSoundMgr
Close OpenAL context and input device when FG is stopped
2013-08-19 14:39:18 +02:00
PlutoniumHeart
296555f26b
winpoop.h seriously?
2013-08-18 14:23:04 +02:00
f-jjth
d03b44b662
FGCom integrated into FlightGear.
...
Disabled by default at build time.
2013-08-16 17:02:47 +01:00
James Turner
50de7a8fbb
Fix compilation of UGear_telnet.
2013-06-09 23:47:16 +01:00
Mathias Froehlich
b0249bad98
fgviewer: Move rti libs past libsimgear.
2013-03-17 15:27:38 +01:00
Thomas Geymayer
6c10f99573
Make compiling of all utils/tools optional
2013-02-12 17:38:46 +01:00
James Turner
6baaee696f
Fix compilation.
2013-02-09 15:31:43 +00:00
Mathias Froehlich
7178dd7f9e
fix compile with fgai
2013-02-09 08:54:22 +01:00
Christian Schmitt
2013f7149d
Some headers missing... ;)
2013-02-07 19:00:54 +01:00
Frederic Bouvier
32e959e88a
popen/pclose changed to _popen/_pclose for Windows
2012-12-16 20:35:50 +01:00
Frederic Bouvier
48b794c073
near and far are reserved keyword under Windows
2012-12-16 20:30:10 +01:00
Thomas Geymayer
fee379423d
Add fgviewer missing includes.
2012-12-16 19:20:22 +01:00
Mathias Froehlich
243929274b
fgviewer: Import hla based viewer application.
2012-12-16 16:52:28 +01:00
Mathias Froehlich
5fea5240e8
fgai: Use HLACartesianLocation instead of an own implementation.
2012-12-01 08:05:43 +01:00
Mathias Froehlich
d79b2385b4
fgai: Add an initial sketch of an external ai module.
2012-11-24 10:34:08 +01:00
Mathias Froehlich
05af83a03e
fgelev: short circuit reading image files.
2012-08-26 15:30:21 +02:00
Mathias Froehlich
6ce3f4cb25
fgelev: Only request terrain for elevation queries.
2012-08-25 08:47:22 +02:00
Mathias Froehlich
7729e4517b
fgelev: Implement paging for the bounding volumes.
2012-08-24 21:24:26 +02:00
Mathias Froehlich
70ef3c416d
fgelev: Work on stdin/stdout like the previous one did.
...
Instead of working on arguments work on stdin and stdout.
Note that this version still does not page out.
2012-08-24 21:24:19 +02:00
Mathias Froehlich
e3ad3d3a07
bvh: Adapt to upstream bvh changes in simgear.
2012-08-24 21:24:12 +02:00
James Turner
33a19f30a9
One more OsgMath fix.
...
Thanks Emmanuel!
2012-08-22 19:41:03 +01:00
Mathias Froehlich
a6a24e59cc
fgelev: tool to query scenery elevation.
2012-08-19 20:02:09 +02:00
Markus Pargmann
ecfbb951ae
Remove most compile warnings
2012-07-26 11:10:27 +01:00
Mathias Froehlich
6e5ef711fa
fgviewer: Update fgviewer.
2012-07-21 15:23:34 +02:00
ThorstenB
ec739a17c2
Fix compiler warning
...
(access beyond array bounds)
2012-07-17 19:32:05 +02:00
Erik Hofman
9fa790bcac
Merge branch 'next' of gitorious.org:fg/flightgear into next
2012-05-24 20:24:57 +02:00
Erik Hofman
ecccfeb18a
Point to the new location of the ZeroXML library that contains xmlgrep
2012-05-24 20:24:21 +02:00
ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
b920fc27b1
Geoff McLane: Fix compile error due to missing include.
2012-04-08 18:46:17 +02:00
Mathias Froehlich
d2411199e8
fgviewer: Update to current initialization structure.
...
Improove argument parsing. Reorder initialization.
2012-03-15 21:11:44 +01:00
Mathias Froehlich
1ddb658a70
scenery: Move flightgears paging back into the application.
...
This way of scenery paging is really application code.
Now that the simgear stg loader is seperated from the paging
code, this appication specific paging can reside here.
May be at some time also use the spt stuff here.
2012-03-15 20:56:37 +01:00
Mathias Froehlich
44c716bb03
scenery: The tile entries load callback is not needed anymore.
...
The stg loader can do this itself.
2012-03-15 19:39:07 +01:00
ThorstenB
f453523b67
#706 : Properly set FLTK include directory.
2012-03-12 21:15:05 +01:00
Mathias Froehlich
ba8fd4c7d1
fgviewer: adapt to simgear upstream changes.
2012-03-08 07:32:18 +01:00
Mathias Froehlich
daf3fbcd67
fgviewer: Make use of the world texture when no file argument is given.
2012-03-04 20:31:14 +01:00
ThorstenB
3fb41e2168
It does. :)
2012-03-03 21:40:40 +01:00
Mathias Froehlich
c71c9aee0a
Adapt to simgear SGMath change.
...
Simgears SGMath has lost its dependency on osg.
Update includes and code using these methods.
2012-03-03 13:37:43 +01:00
Mathias Froehlich
60e49130b2
fgviewer: Does not need plib.
2012-03-03 07:07:22 +01:00
ThorstenB
3b27e847b0
Windows...
...
revert to directly using PLIB variables *sigh*
2012-02-25 01:48:13 +01:00
ThorstenB
ecb2e77e5b
Fix Windows dependencies
...
SimgGear always needs "winmm" on Windows (due to timeGetTime in sgtimestamp.cxx)
2012-02-25 01:05:39 +01:00
ThorstenB
da73dd97d3
Clean-up cmake (linker) dependencies.
2012-02-24 22:23:15 +01:00
ThorstenB
f094fa2aa8
Revert "Try to fix MSVC template instantiation issue with SGVec dependencies."
...
This reverts commit 67b3b95310
.
2012-02-24 22:01:20 +01:00
ThorstenB
67b3b95310
Try to fix MSVC template instantiation issue with SGVec dependencies.
2012-02-24 21:47:57 +01:00
ThorstenB
42dab5d81d
Fix Windows compile issue.
2012-02-19 22:13:41 +01:00
ThorstenB
ac841ac44f
Terrasync clean-up
...
Avoid code duplication, only UDP processing and
NMEA message parsing remains.
2012-02-19 14:53:04 +01:00
Frederic Bouvier
338d5cc9b2
Fix FL_STAT macro
2012-02-12 21:20:53 +01:00
Frederic Bouvier
a756c959d6
Ugly hack to detect the presence of fl_filename_free_list without relying on cmake magic
2012-02-12 20:51:56 +01:00
ThorstenB
d0f7ca653f
Fix compile issue with Fltk 1.1.
...
fl_filename_free_list not available for older Fltk versions.
2012-02-12 20:05:28 +01:00
ThorstenB
7c657dfa71
#663 : fgadmin not working properly (with latest Fltk)
...
Some things about fltk seem changed, which broke fgadmin:
fl_filename_list could return negative number instead of 0.
fl_filename_list now has a "/" appended to every reported directory name.
free( list ) now caused a segfault - use fltk's method to free memory.
fgadmin should now work with new and old Fltk.
2012-02-12 17:45:05 +01:00
ThorstenB
b70055a9a2
fgpanel: use same default fgdata path as fgfs
...
Use location configured at compile-time (Linux) or use run-time check (Mac)
(copied from fgfs/options.cxx).
2012-01-25 17:37:14 +01:00
Olaf Flebbe
0eda5eee81
virtual destructor missing (in order to silence llvm warning)
2012-01-09 21:07:18 +01:00
ThorstenB
77640e0863
cmake: Fix Xinerama and Xft dependency issue.
...
Don't try to add Xinerama/Xft libraries, unless these are installed.
It seems these libraries are also not required on all systems (not required
over here...).
2012-01-03 22:02:48 +01:00
Erik Hofman
cbdd89493f
properly add librt when clock_gettime is used
2011-12-24 11:34:35 +01:00
ThorstenB
136de6bdf3
Fix minor compiler and checker warnings.
...
(rpm-checker was unhappy about our outdated FSF address :) )
2011-12-19 21:35:50 +01:00
ThorstenB
f77c6b95fa
#480 : fgadmin build dependency
...
"untarka.c" needs ZLIB.
2011-12-18 19:45:59 +01:00
ThorstenB
4b7d22fe0f
fgadmin: fix compiler warnings
...
Also fixes mismatching "tarextract" declaration vs definition issue.
2011-12-18 19:43:46 +01:00
Frederic Bouvier
dc95e5e84b
Try to take care of FLTK external dependencies on Linux
2011-12-18 16:18:46 +01:00
ThorstenB
37453e6b7c
#525 related: add compiler search path for every library
...
Consider search path for every single library as reported/found by CMake.
Most includes sit in the same directory (so the same directory is reported
for almost all libraries), however this may not be the case for every
system or library.
2011-12-18 12:40:34 +01:00
Mathias Froehlich
7d1372cae0
fgviewer: Improove reader/writer option command line handling.
2011-12-17 08:28:33 +01:00
Mathias Froehlich
33630ffe33
fgviewer: add DatabasePager.
2011-12-16 21:45:33 +01:00
Mathias Froehlich
7f528bbd31
fgviewer: add StateSetManipulator.
2011-12-16 21:45:09 +01:00
James Turner
f054f15693
Fixes for linking with shared SimGear.
2011-11-29 10:24:33 +00:00
ThorstenB
b54defea52
cmake: fix sequence of (static) library dependencies
...
sgmath depends on sgprops, sgprops depends on sgstructure.
Also, core libraries are enough for fgadmin.
2011-11-26 16:41:35 +01:00
James Turner
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00
Frederic Bouvier
b5a0da1c6e
std namespace missing everywhere in fgpanel
2011-11-14 08:31:00 +01:00
Mathias Froehlich
b2eb047a03
fgviewer: add license header, adapt to cmake.
2011-11-13 18:34:53 +01:00
Mathias Froehlich
42fb9b8e9f
Consolidate the different ReaderWriterOptions classes.
2011-11-13 18:34:53 +01:00
ThorstenB
05eade445e
fgpanel: avoid lagging
...
Avoid lagging when data is sent at (slightly) higher rate than
fgpanel's display rate. Always read all available data - display
most recent.
2011-11-12 11:24:08 +01:00
Frederic Bouvier
2e2accfe06
fgadmin: include sys/stat if fltk < 1.3
2011-11-05 07:28:44 +01:00
Frederic Bouvier
c270a45f20
fgadmin: fl_stat is in FLTK 1.3 only
2011-11-05 07:23:48 +01:00
Frederic Bouvier
3eca8f7dc0
Roland Hader: fix fgadmin build
2011-11-04 23:18:16 +01:00
Mathias Froehlich
d1e5dc95ca
Remove automake ignores.
2011-11-01 13:53:52 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
Torsten Dreyer
b8cbaa9716
fgpanel: don't call nonexisting list
...
obviously something other was intended here.
2011-10-27 08:31:24 +02:00
James Turner
617fb0299b
Merge downstream fix from Gentoo, to deal with libsvn versions.
2011-10-19 10:03:06 +01:00
James Turner
76c388f7cb
Minor CMake packaging tweaks, more to follow.
2011-10-18 12:14:20 +01:00