James Turner
7227973e2f
Don't expect an 'Aircraft' sub-directory within each aircraft-dir.
2010-09-08 11:01:26 +01:00
James Turner
e8b0bb872a
Register the aircraft resource provider.
2010-09-06 22:57:48 +01:00
James Turner
8330449c5f
Pass current-dir into XMLSound
...
(and update to revised SGSoundSample ctor)
2010-09-06 09:28:28 +01:00
James Turner
a7a2cb393a
Use the new Simgear ResourceManager to resolve paths.
2010-09-06 09:13:10 +01:00
Torsten Dreyer
1e43675f61
Expose some OSG DisplaySettings to the property tree
2010-09-05 11:56:38 +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
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
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
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
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
David Luff
53358a55bf
Remove old AI system
2010-08-03 00:21:56 +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
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
388a0a5b6a
Make saveInitialProperties smarter, and hence simplify the reset code path.
2010-08-01 19:04:20 +01:00
Durk Talsma
7c73c7d3e5
Added some stubs in the flightgear main code to eventually add a full, FGSubsystems based ATIS system that will serve as a replacement for the ATCDCL code.
2010-08-01 16:16:33 +02:00
James Turner
d9236f33b2
Remove use of simgear/screen/extensions.h.
2010-07-31 15:15:40 +01:00
James Turner
8e5f3ac8a3
Set the key SGModelLib callback to make aircraft-dir OSG loading work.
2010-07-29 01:07:32 +01:00
James Turner
ab495d1370
Add --fg-aircraft option, and aircraft dir path list. Partial support in places that load files, for respecting the setting.
...
Add helper to look for an aircraft branch path in multiple candidate locations.
Update the main subsystems to use the helper, and hence load from any aircraft dir.
2010-07-28 22:03:10 +01:00
James Turner
d1852430bf
Make various implicit includes (via PLIB) explicit.
2010-07-28 10:25:42 +01:00
James Turner
9604908a8d
Remove all (2) uses of simgear/math/vector.h from FlightGear.
2010-07-23 13:26:07 +01:00
James Turner
900fce6374
Fix issues exposed by PLIB-free SimGear.
2010-07-23 09:41:37 +01:00
James Turner
bf52c378a4
Clean up names in --show-aircraft; avoid -set.xml suffixes.
2010-07-22 01:36:32 +01:00
James Turner
c95a5db23d
Rewrite --show-aircraft and --aircraft handling to share directory search code.
...
As a bonus, sort the --show-aircraft list case-insensitively.
2010-07-17 14:12:52 +01:00
James Turner
af3f072c21
Convert scenery path setup to use simgear::Dir
2010-07-17 14:12:52 +01:00
James Turner
2c90eb8370
Convert --show-aircraft to use simgear::Dir
2010-07-17 14:12:52 +01:00
James Turner
c32da90e5c
Ensure sim/signals/fdm-initialized is only fired on a rising edge; add sim/fdm-initialized as the state value.
2010-07-13 13:47:24 +01:00
James Turner
c47d4f2f30
Fix bug 141, by ensuring certain subsystems are assigned to the 'post FDM' group (which is new)
2010-07-08 23:24:39 +01:00
James Turner
07d055b4de
One more juggle to appease the linker gods.
2010-07-02 10:00:05 +01:00
James Turner
cfe9aaac4c
Juggle fgfs link order to keep GNU ld happy.
2010-07-02 09:06:57 +01:00
James Turner
88e65f7662
aircraft.[cxx|hxx] is gone.
2010-07-01 22:56:22 +01:00
James Turner
18d42ec1af
Rename reInit() method to 'resetSimulator', and document that it's hooked up to the 'reset' command.
2010-07-01 22:50:11 +01:00
James Turner
d279c394d7
Clean fg_init.hxx
2010-07-01 22:43:28 +01:00
James Turner
01e0156b5d
Remove current_aircraft global, fgAIRCRAFT struct, and dead code for reading aircraft dirs.
2010-07-01 22:33:51 +01:00
James Turner
3f26d2b14b
Trivial cleanup commit, to test continuous integration server.
2010-07-01 19:51:05 +01:00
James Turner
fec7cb977c
Clarify warnings from fgUntie, and fix one source of such warnings, in FGInterface.
2010-07-01 02:04:16 +01:00
Durk Talsma
3c60bf6511
Make sure also not to try running AI_mgr when compiling fgfs with --disable-atcdcl. FlightGear can now actually run without segfaulting when compiled this way.
2010-06-27 10:08:26 +02:00
Torsten Dreyer
4466729987
fix assertion in sunsolver.cxx with --timeofday=xx
2010-06-26 21:58:45 +02:00
Torsten Dreyer
2e6d7e111a
gcc warning fixes
2010-06-26 21:24:46 +02:00
Torsten Dreyer
e1b9d3d759
Don't crash if built with --disable-atcdcl
2010-06-26 20:24:34 +02:00
James Turner
180e524a0e
Fix automake build after mainloop changes - especially, JSBSim includes.
2010-06-26 18:37:51 +01:00
James Turner
f9ec605ffb
Fix ordering of aircraft-model updates against flight model.
2010-06-26 10:31:22 +01:00
James Turner
85be9be1e0
Initial work on FDM shell, and removal of cur_fdm_state
2010-06-26 10:31:22 +01:00
James Turner
4756cd4882
Wrap SGEphemeris in a subsytem/property interface, and remove from mainloop.
2010-06-26 10:31:21 +01:00
James Turner
3fbf3aa080
Make FGAircraftModel more subsystem-alike, move update to fgMainLoop.
2010-06-26 10:31:21 +01:00
Torsten Dreyer
d558b52cb6
New autopilot subsystem implementation.
...
Split the former single-file-implementation in xmlauto.?xx into multiple
files and use some OO techniques. Started with documentation to be used
with doxygen.
2010-06-24 17:09:33 +02:00
Tim Moore
0f8312150d
Log OpenGL vendor and version string
2010-06-15 23:58:55 +02:00
Mathias Froehlich
f433f4d973
Default the screen and display number to a value >= 0
2010-06-14 22:05:15 +02:00
Tim Moore
b692a165fb
Remove osgGA/MatrixManipulator include
...
From AndersG; the file is gone from recent OSG.
2010-06-06 23:31:47 +02:00