Thomas Geymayer
0f14a2d73b
subsystemFactor: name fixing (use same as in fg_init.cxx) and cleanup.
2014-07-12 01:17:35 +02:00
Thomas Geymayer
a52c0882a1
Fix subsystemFactory name fdm -> flight (Thanks to Hooray).
2014-07-11 19:25:26 +02:00
Thomas Geymayer
f7f7be77e5
Remove unused value, formatting.
2014-06-22 15:36:25 +02:00
Gijs de Rooy
8c99d5d9d6
Remove unused --control option
2014-06-19 14:28:14 +02:00
James Turner
7e8d713b28
Pkg: initial support for Variants
...
- aircraft init code can deal with a variant ID
- Nasal API can return a hash with variant IDs and names
2014-06-15 20:10:24 +02:00
Thomas Geymayer
9604142d09
Fix crash (use iterator of same container for loop)
2014-06-12 16:38:21 +02:00
James Turner
63427fc589
Pkg: Fix loading of non-installed aircraft.
...
Fallback to the normal code path when a packaged aircraft is
found, but not installed.
2014-06-12 13:06:01 +01:00
James Turner
32f57d0dc1
Aircraft switching command and formal support.
...
- /sim/aircraft can be set to package ID, including qualified
package ID. If not matching package is found, falls back to
traditional search of fg-aircraft for -set.xml files
2014-06-12 08:17:05 +01:00
James Turner
d1fd5756f6
Initial package-system integration.
...
- disabled by default
- incomplete, adding so Thomas can see the API
2014-05-31 18:04:56 +01:00
Thomas Geymayer
3b4bb10e4f
Canvas: expose layouting to Nasal.
2014-05-31 02:43:03 +02:00
Torsten Dreyer
a5c39e3009
Final log-class cleanup (httpd comes in another commit)
...
yes, I will use grep next time :-/
2014-05-20 23:12:34 +02:00
Torsten Dreyer
59db0534ff
Fix a warning, no functional change
2014-05-05 22:24:47 +02:00
Torsten Dreyer
6ee2fcdd9e
Allow using the system version of flite and the HTS engine
...
By default, if the system version exists and can be used,
then it will be used. Otherwise, the local version will be used
Original patch by Saikrishna Arcot via
https://gitorious.org/fg/flightgear/merge_requests/1582
slightly modified
2014-04-28 21:33:48 +02:00
James Turner
01dca5e541
Fix link order of HTS / flite for GCC ld
...
- Clang, gold etc don't care but GCC ld still does.
2014-04-04 11:25:12 +01:00
Torsten Dreyer
44ba076720
allow binding of httpd to an address, not just a port
...
support --httpd=127.0.0.1:8080
2014-03-29 22:07:12 +01:00
James Turner
ca3cc03fac
Ignore not-found 'config file' arguments.
...
Fixes confusing startup behaviour with malformed args, when
an argument accidentally contains a space (e.g. a park-pos or
protocol desc). In this case we treat the parts after the space as an XML config file name. When we can't find this file, we
completely abandon options setup, which causes many downstream
errors.
Change the behaviour so we warn in this case, but carry on with normal startup.
2014-03-27 08:05:02 +00:00
James Turner
19528fab8c
Fix duplicated FGIO channels on reset.
...
Thanks to Nicholas Scheel for spotting this.
2014-03-26 19:24:00 +00:00
James Turner
487546c848
Fix some leaks on reset
...
- tilecache 'clear_cache' is poorly named, ensure the destructor
really deletes all outstanding entries.
2014-03-13 18:19:13 +00:00
James Turner
c7f2992904
Add 'set-scenery-paths' command.
2014-03-12 18:56:19 +00:00
James Turner
afe02b9b36
Reset: tweak property PRESERVE
...
- ensure options are re-processed before restoring PRESERVEd
properties, so that sessions changes survive a reset.
2014-03-11 22:43:25 +00:00
James Turner
1edffd1d10
Reset: fix OSG stats handling
2014-03-11 16:45:47 +00:00
James Turner
f04d5f8758
Reset: work with threaded OSG modes
2014-03-11 16:45:31 +00:00
James Turner
cc607ae7e4
Save/restore initial state removed.
2014-03-10 17:29:28 +00:00
James Turner
9489009570
Fix fg-aircraft, fg-scenery props after reset.
...
- restore fg-aircraft properties, and PRESERVE fg-scenery ones,
across reset.
2014-03-10 17:24:42 +00:00
James Turner
03aa642155
Old reset code-path is removed.
2014-03-10 17:24:37 +00:00
James Turner
5e6c2b8e82
Reset the Autopilot on reposition.
...
- previously we restored AP state to initial; let's
actually re-init it after re-position.
2014-03-10 12:02:10 +00:00
James Turner
a8fe586e48
Revert wiping of /fdm on reposition.
...
This is too destructive for many established things, so revert it.
Instead, make the FDM shell save /fdm state on postinit(), and
restore it on re-init (which reposition invokes).
2014-03-10 12:00:51 +00:00
James Turner
7b2d710cd0
Add hts_engine 1.08 and flite_hts 1.05 code.
...
- Not compiled by default, nor hooked up to anything yet.
- Both libraries licensed under modified BSD license.
- Added top-level CMake file for both, to create a plain static
library for each.
2014-03-10 09:32:43 +00:00
James Turner
86ba2a1628
Throw the reset switch.
...
- fix up CanvasMgr so canvas works after new reset.
2014-03-07 12:40:14 +00:00
James Turner
5ce2a067ca
Fix JSBsim trimming on reposition.
...
- remove the entire /fdm tree on reposition
- force the initial NED wind values to 0.0 in JSBsim,
pending advice from people who know better.
2014-03-06 22:33:42 +00:00
Torsten Dreyer
b84026ce84
httpd: fix ignored port on --httpd=nnnn
...
also fix unconditional startup of the daemon
2014-03-06 21:19:49 +01:00
Torsten Dreyer
63e9cbed40
Initial commit for mongoose httpd
2014-03-06 13:19:15 +01:00
Thomas Geymayer
88b7d4f530
Update for SGPropertyNode changes.
2014-03-06 00:41:41 +01:00
James Turner
6493975913
Remove reference to 'old ATIS' from reposition.
2014-03-05 15:16:07 +00:00
Torsten Dreyer
ea13c0f2de
Cleanup, no functional change
2014-03-05 14:09:40 +01:00
Torsten Dreyer
dd6cccdda1
A new comm radio and atis implementation
2014-02-28 11:45:49 +01:00
James Turner
99fd9513d9
Metar: finalise-position fast if Metar fails
...
- when METAR lookup fails (as opposed to timing out), report
this immediately so finalise-position doesn't wait.
2014-02-24 19:43:21 +00:00
James Turner
bd8e43c007
Initial work on 'reposition' command
...
- use old-style reset as the basis for a lightweight 'reposition' command. This does not restore state, or reset
time management, but does reset the FDM and re-finalize position.
2014-02-24 19:43:21 +00:00
James Turner
b76d255d82
Remove pre-OSG 'enable/disable-textures' option.
...
These have been non-functional for a long time, remove
to avoid further confusion.
2014-02-21 07:57:35 -08:00
James Turner
39d1b6db38
Re-factor the FPE handling code
...
* make --enable-fpe work on Linux and MSVC
* standardise the code paths for different platforms
* add an argument finding helper to Options
(This is a basic cleanup, contributions from people with
more experience in this area are welcome)
2014-02-19 13:53:52 -08:00
Christian Schmitt
9d995907db
Support helipad names in the --runway startup option
...
also give better user feedback if runway/helipad ID is unknown
2014-02-14 20:05:11 +01:00
James Turner
7bc7197f6a
Use Cmake to generate app-bundle on Mac
...
- build the .plist using CMake features
- update the nightly Mac packaging script for the new layout
2014-02-14 18:58:36 +00:00
James Turner
4df9c61d2a
Check for and warn about old nVidia drivers.
...
(Had a bug report with someone using 189 drivers on Windows!)
2014-01-27 17:27:12 +00:00
James Turner
1a372d9366
Update image-server logic.
...
- no dependency on libJpeg or Simgear
- no duplicate rendering of the scene (uses a draw callback)
- supports other image types, eg PNG
- threaded so doesn't block the main loop ever
2014-01-27 09:08:34 +00:00
James Turner
9f3a2ddbdc
Change default Windows terrasync path
...
Now use (new) SGPath::documents helper to download
to a user-visible location: Document\FlightGear.
(Linux & Mac behaviour is unchanged)
2014-01-26 16:07:53 +00:00
James Turner
c8b1655edc
Report bad command-line args via message box.
...
This makes the behaviour when FGRun (or other GUI launchers)
send bad options much more explicable. Non Windows/Mac systems
get an SG_ALERT on the console as before.
2014-01-25 10:36:00 +00:00
James Turner
45d67406a4
CrashRpt tweaks, checking.
...
- show a message box if setup fails
- log setup status
2014-01-22 22:33:30 +00:00
James Turner
80cc2ff8c3
Adjust fg-aircraft handling back to original style.
...
- startup code will warn and fix the alternate style
- man page now documents the option
2014-01-22 10:56:04 +00:00
James Turner
a46114da9a
Fix typo, add Hudson Build-ID to reports.
2014-01-20 21:54:06 +00: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