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
9650cf4e6a
Initial MP support in the launcher.
2016-07-08 09:36:54 +01:00
James Turner
7e607b8403
Fix fgValidatePath on Windows
2016-07-04 22:22:32 +01:00
James Turner
7870e03faf
Build fixes for yasim tests / SGPath changes.
2016-07-04 10:17:41 +01:00
James Turner
400901c239
Update for changed SGPath::realpath signature
2016-07-04 09:06:42 +01:00
James Turner
8e875b22f5
fgValidatePath uses SGPath
2016-07-03 23:59:40 +01:00
James Turner
fc3d47cd34
More std::ifstream -> sg_ifstream
2016-07-03 23:48:44 +01:00
James Turner
7f3fe584e3
Update for path-aware easyXML API
2016-07-03 23:43:39 +01:00
James Turner
9cffcf63ae
Further SGPath encoding fixes.
2016-07-01 04:54:29 -05:00
James Turner
40b74c4e32
Fix an assert on Windows
2016-06-29 16:25:42 +01:00
James Turner
0b11dd626a
Further Windows SGpath fixes
2016-06-28 16:52:42 +01: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
1eb6fb65dd
Use the SimGear sample format types
2016-06-27 13:21:13 +02:00
Bertrand Coconnier
54274a4b9c
convert another path to std::string before using it to prevent a compiler error
2016-06-25 21:26:50 +02:00
Erik Hofman
e165fc5ebe
convert the path to std::string before using it to prevent a compiler error
2016-06-25 15:00:35 +02:00
Erik Hofman
7f4fe977a1
Convert PKGLIBDIR to SGPath before returing it to prevent a compiler error
2016-06-24 12:54:01 +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
6f95e61da8
For stable versions, download data tarball directly
...
Part of https://sourceforge.net/p/flightgear/codetickets/1865/
2016-06-17 22:48:24 +01:00
James Turner
1d912c91df
Avoid overlap of ratings / progress bar
...
Part of issues mentioned in:
https://sourceforge.net/p/flightgear/codetickets/1865/
2016-06-17 22:42:33 +01:00
James Turner
e4e0db5cac
Aircraft-states feature.
2016-06-17 18:15:35 +01:00
James Turner
3f7e59a1a5
Allow scenery installation from the launcher.
...
Replaces FGadmin functionality.
2016-06-15 22:28:54 +01:00
Erik Hofman
010d13445a
Code cleanup after fixing the sound position and orientation
2016-06-14 14:11:12 +02:00
Erik Hofman
3963d2cdee
Do not use properties but get the position and orientation information straight from the view manager
2016-06-13 13:50:40 +02:00
Bertrand Coconnier
a61c0bfdb4
Sync'ed with JSBSim: avoid the lag in <kinematic> while trimming. This allows the trim on ground for the P51 to succeed.
2016-06-12 17:04:35 +02:00
Bertrand Coconnier
dc7f065e08
Sync'ed with JSBSim:
...
* Fixed the trim on ground algorithm. Now JSBSim aircrafts should no longer be 'dropped' on the runway at start.
* Removed a correction on the propeller induced velocity that was giving erratic results when the aircraft aero velocity is very small.
* Various source comments updates.
2016-06-12 11:36:45 +02:00
James Turner
a3d660e423
Revert "Special case this define"
...
This reverts commit 58731a01e2
.
2016-06-09 20:34:43 +01:00
James Turner
58731a01e2
Special case this define
2016-06-09 16:20:25 +01:00
James Turner
e672626558
Explicitly shut down logging
...
- needed to call FreeConsole on Windows.
2016-06-09 11:04:32 +01:00
James Turner
3a15b2f979
Launcher: fix a crash on searching locations
...
When hitting return multiple times, could hit a null-pointer
crash here.
2016-06-09 11:04:32 +01:00
James Turner
9c612af124
Improved feedback from scenery download.
2016-06-09 11:04:32 +01:00
James Turner
95f86b658c
Hide add-ons tab when running launcher in-app
2016-06-08 12:00:35 +01:00
James Turner
861b682acf
VS2015 fixes
...
Explicitly specialize these templates.
2016-06-01 22:57:11 +01:00
Erik Hofman
1a0f3d8826
Revert some debugging code which krept in
2016-05-28 10:05:09 +02:00
Erik Hofman
ea6e1c9854
Fix the header name change from sample_openal.hxx to sample.hxx
2016-05-28 09:57:03 +02:00
Bertrand Coconnier
f25304ace5
Tentative to fix JSBSim bug SF #115 : don't compute cl-squared when qbar is too low otherwise its value will go through the roof and so will the induced drag.
2016-05-27 13:50:35 +02:00
Erik Hofman
b9c2ddb94f
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/flightgear into next
2016-05-27 08:06:12 +02:00
James Turner
5d624b4882
Fallback URL when official catalog is not found.
...
Tolerate the case where a URL matching the exact FG version is
not found; lookup a generic URL, in the hope it supports our
version (additional changes will make this more likely)
2016-05-26 17:37:26 +01:00
Erik Hofman
94f6db5857
Prevent rf2 from becoming inf
2016-05-25 10:30:34 +02:00
Bertrand Coconnier
adeb0241ae
Bug fix for JSBSim SF bug #115 : P51D crashes when advance ratio goes through zero
2016-05-23 20:02:36 +02:00
Erik Hofman
013770b3f8
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/flightgear into next
2016-05-23 11:39:59 +02:00
Erik Hofman
6fb6446189
Fix file permissions
2016-05-23 11:39:40 +02:00
Erik Hofman
34011c1dec
Code cleanups, code updates and fix at least on (possible) devide-by-zero
2016-05-23 11:38:05 +02:00
James Turner
7dfe556b4a
Real fix for Mac deployment issues.
2016-05-21 14:00:29 +01:00
James Turner
f2273c7793
Testing if this change broke Mac deployment.
...
Hopefully it didn’t but the time-frame is correct and it’s just
about the only code that happens before QApplication is created.
2016-05-21 10:36:51 +01:00
Florent Rougon
959ac91a8b
Add missing include in src/Navaids/NavDataCache.cxx
...
#include <sstream> is needed for NavDataCachePrivate::init()
which uses std::ostringstream.
2016-05-19 09:19:06 +02:00
Torsten Dreyer
a4a3659ee9
Expose the type (loc/vor) for the navradio
2016-05-18 08:28:27 +02:00
Richard Harrison
b128de3bc6
Fix MSVC10 compilation errors by using streams.
2016-05-12 12:05:28 +02:00
Richard Harrison
887916b26e
Multiplayer packet boundary warnings
...
* Add warning if multiplayer packet boundary reached
* Add warning if string too big for remaining space in packet
ref: https://sourceforge.net/p/flightgear/mailman/message/35059961/
2016-05-12 09:38:03 +02:00
Edward d'Auvergne
977ec5063f
Shift of management of the precipitation OSG scene graph to the scenery manager.
...
The precipitation branch of the OSG scene graph is now centrally managed by the
scenery manager rather the precipitation manager itself. The scene graph
initialisation from the constructor has also been shifted into the new
FGPrecipitationMgr::sceneGraphSetup() function.
2016-05-03 18:44:46 +02:00