Torsten Dreyer
11016dbe84
Oups - terrainsamplers header was modified, too
2010-08-23 17:52:19 +02:00
Torsten Dreyer
b2f8238696
Some terrainsampler improvements
...
- use max. computation time instead of max computations per frame
- restart computation of an area only after significant movememt
- let the area move with a heading and a speed
2010-08-23 17:47:57 +02:00
Frederic Bouvier
52ac173257
Merge commit 'refs/merge-requests/1551' of git://gitorious.org/fg/flightgear into stuartb/modelcallsign
2010-08-21 14:54:08 +02:00
Frederic Bouvier
f10f126352
Line endings ?
2010-08-21 14:53:03 +02:00
Frederic Bouvier
c3b6130d31
Update to MSVC10 project files
2010-08-21 14:52:20 +02:00
Torsten Dreyer
54e6757211
Autopilot is more than just an autopilot: Introducing: "property rule"
...
The autopilot has grown beyond being just an autopilot. It's
components, filters and controllers could be used to set property
values based on complex rules and driven from other property values.
That's why I chose to give it the name "property-rule".
This patch allows to define an arbitrary number of property rules under
a/sim/property-rule[n]/path
using the same syntax as autopilot configurations.
2010-08-18 18:50:07 +02:00
James Turner
ae50c054a9
Fix crashes (activating the route-manager) with a default GPS.
2010-08-16 17:10:12 +01:00
James Turner
dbd9935c52
Expose aircraft-dirs under /sim (read-only, for security)
2010-08-16 11:00:54 +01:00
Torsten Dreyer
e43456ba43
Merge branch 'next' of gitorious.org:fg/flightgear into next
2010-08-15 20:35:14 +02:00
Torsten Dreyer
60f7d0f16c
Downgrade the ridgelift to a subsystem of environment
2010-08-15 20:33:29 +02:00
James Turner
2e69930c7d
Expose path resolver to Nasal.
2010-08-15 11:02:27 +01:00
James Turner
bca3494462
Support relative paths in 'loadxml' command
...
(relative to FG_ROOT or an aircraft dir)
2010-08-15 11:02:15 +01:00
Torsten Dreyer
10eadf0c6e
First step into implementing the local-weather system
...
This is the first part of the local-weather implementation
of Thorsten Renk, currently written entirly in Nasal. Here
comes the terrain-sampling subsystem as a first step. It is
not (yet) included in the build process which will be
performed when the system has a little matured.
2010-08-14 22:42:31 +02:00
James Turner
8d5021f670
Make ident/name searches on FGPositioned case-insensitive (for the GPS, especially)
2010-08-14 20:24:30 +01:00
James Turner
ae7342ebe7
Fix issue identified by AndersG - don't load 2.5D panels for MP aircraft, only the main aircraft.
2010-08-14 19:50:22 +01:00
James Turner
a363da9274
Really fix bug 146 - angle units confusiuon.
2010-08-14 19:29:02 +01:00
James Turner
6266491aea
Candidate fix for bug 146, view_direction computed incorrectly.
2010-08-14 19:24:48 +01:00
James Turner
dae7e961c9
Merge branch 'topics/bug150' into next
2010-08-14 19:17:23 +01:00
James Turner
57cb0a809b
Fix bug 150 (airports not found in GPS search)
...
Overhaul and simplify the GPS search logic based
on experience and testing with the API. Also fix
search-by-name, which was broken.
2010-08-14 19:16:28 +01:00
Vivian Meazza
ad3fae9039
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-14 13:47:03 +01:00
Vivian Meazza
72c5a314e6
Add aubmodels to AI objects
...
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-14 13:39:30 +01:00
Erik Hofman
63b3f802ec
sync again
2010-08-14 14:09:58 +02:00
James Turner
71fbacc6dc
Thorsten Brehm: GPWS: Fixed permanent blocking of lower prio warnings
...
Only block callouts which were actually issued to the pilot. When
multiple callouts trigger at the same time, allow lower prio warnings
to be issued once the higher prio ones are resolved.
=> Gear/flap warnings are now working reliably (no longer blocked
permanently when altitude callouts are enabled).
2010-08-14 10:23:13 +01:00
Torsten Dreyer
bc31bdbbbb
use simgear::strutils::rpad() instead of strncpy()
2010-08-12 13:03:26 +02:00
James Turner
025b94f099
Even more std::string fixes.
2010-08-09 09:40:20 +01:00
James Turner
f467ba3609
One more std::string fixup.
2010-08-09 09:16:28 +01:00
James Turner
19360a8425
Fix 'using std::' abuses
2010-08-09 08:36:20 +01:00
Frederic Bouvier
3e03f879a7
Update MSVC10 project files
2010-08-08 11:31:47 +02:00
James Turner
239fea1b54
Even more imlicit includes becoming explicit.
2010-08-07 14:07:17 +01:00
James Turner
cc7a9d4727
Make even more implict includes explicit.
2010-08-07 13:00:33 +01:00
Torsten Dreyer
bb2d1f55e9
Interpret environment variables and hostname on Windows
...
- Point the homedir variable to %APPDATA%/flightgear.org. This
enables .fgfsrc in this path for windows users.
- Evaluate the returncode of gethostname() to not strdup() bogus
characters on failure. Also mainly on windows.
2010-08-06 09:06:32 +02:00
Torsten Dreyer
1aa484aee5
Fix segfault on invalid command line arguments
...
If FlightGear terminated before the FDM was instantiated it crashed.
2010-08-06 08:44:34 +02:00
Erik Hofman
1d91468ddc
Fix a startup offset problem
2010-08-04 10:22:26 +02:00
James Turner
7f36caede6
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
(second try, with init bug fixed)
2010-08-04 09:16:37 +01:00
Anders Gidenstam
756e719b20
src/Model/panelnode.cxx: Do not leave dangling pointers behind.
2010-08-03 20:58:48 +02:00
Erik Hofman
0d0751e37c
Sync. with JSBSim CVS.
2010-08-03 09:51:13 +02:00
Frederic Bouvier
61a81e855d
Merge commit 'refs/merge-requests/1552' of git://gitorious.org/fg/flightgear into vivian/contrails
2010-08-03 08:27:57 +02:00
David Luff
53358a55bf
Remove old AI system
2010-08-03 00:21:56 +01:00
Vivian Meazza
63ec4f3f6c
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-02 09:04:40 +01:00
James Turner
47fd8a8a2a
Revert "Create TimeManager subsystem" - not quite ready for prime-time yet!
...
This reverts commit 50eb95dcad
.
2010-08-02 00:23:36 +01:00
James Turner
c61a14afdd
Once again, I forgot that we bind() subsystems *before* init().
2010-08-01 23:50:52 +01:00
Vivian Meazza
724cdac335
Merge branch 'next' of D:\Git_New\flightgear into next
2010-08-01 23:25:55 +01:00
James Turner
50eb95dcad
Create TimeManager subsystem, and collect the time related code out of main.cxx and fg_init.cxx into it.
...
Remove the unfortunately named 'tmp.[cxx|hxx]', pushing the remaining code in FGLight.
2010-08-01 20:33:11 +01:00
James Turner
7aba4333a2
Reset - instruments can be re-inited now (reloads XML files)
2010-08-01 19:04:31 +01:00
James Turner
388a0a5b6a
Make saveInitialProperties smarter, and hence simplify the reset code path.
2010-08-01 19:04:20 +01:00
Frederic Bouvier
c4d8cec0f4
Fix MSVC 10 compilation
2010-08-01 18:43:41 +02:00
Frederic Bouvier
b60cf04c1e
Fix MSVC compilation
2010-08-01 18:43:28 +02:00
Durk Talsma
e957d7b0da
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2010-08-01 18:10:25 +02:00
Durk Talsma
5641db9f56
Fix MSVC compilation (hopefully).
2010-08-01 18:08:53 +02:00
Frederic Bouvier
d93e31ae31
MSVC 10 build: use Boost 1.43 for VC10
2010-08-01 18:07:28 +02:00