]> git.mxchange.org Git - flightgear.git/log
flightgear.git
11 years agoAllow ND rules to occur in the symbols file.
James Turner [Wed, 2 Jan 2013 17:07:28 +0000 (17:07 +0000)]
Allow ND rules to occur in the symbols file.

11 years agoFix runway elevations when threshold.xml is used.
James Turner [Tue, 1 Jan 2013 20:58:42 +0000 (20:58 +0000)]
Fix runway elevations when threshold.xml is used.

SGGeodesy::direct doesn't preserve elevations, oops.

11 years agoTweak normalisation of route-path segments.
James Turner [Tue, 1 Jan 2013 13:49:12 +0000 (13:49 +0000)]
Tweak normalisation of route-path segments.

KATL -> KLAX looks correct now. Great-circles that span the 180-meridian are still rendered wrong, but that's a map projection issues, which I will fix in the next few days.

11 years agoFix canvas gui size sometimes not initialized correct
Thomas Geymayer [Tue, 1 Jan 2013 12:45:45 +0000 (13:45 +0100)]
Fix canvas gui size sometimes not initialized correct

11 years agoAutopilot: rename parameter, no functional change
Torsten Dreyer [Mon, 31 Dec 2012 21:21:30 +0000 (22:21 +0100)]
Autopilot: rename parameter, no functional change

11 years agoAutopilot: initialize the derivative filter
Torsten Dreyer [Mon, 31 Dec 2012 20:27:13 +0000 (21:27 +0100)]
Autopilot: initialize the derivative filter

Dont let the derivative filter emit a spike on init or reset if the input
value is non-zero. This is a potential fix for #973.

11 years agoFix compilation on some platforms.
James Turner [Mon, 31 Dec 2012 20:13:26 +0000 (20:13 +0000)]
Fix compilation on some platforms.

No idea why I don't need this on Mac - differing Boost versions?

11 years agoFlightplan delegate hook for clearing the FP.
James Turner [Mon, 31 Dec 2012 17:39:52 +0000 (17:39 +0000)]
Flightplan delegate hook for clearing the FP.

This allows delegates to take action when the flightlan is cleared, and especially, for the default delegate in the route-manager to deactivate itself, and hence the GPS LEG mode - which fixes bug 940 I hope.

11 years agoFix route-path display of long legs.
James Turner [Mon, 31 Dec 2012 17:21:05 +0000 (17:21 +0000)]
Fix route-path display of long legs.

When leg spans more than a threshold (currently 0.5 degrees) of longitude, interpolate the actual path flown by the GPS/RM, which is a true great-circle. Previous we rendered a Rhumb line which does not agree at all. (Especially noticeable in the MapWidget and NavDisplay code, both of which use RoutePath to tesselate the route before rendering)

11 years agoExpose an additional flight plan leg data to Nasal.
James Turner [Mon, 31 Dec 2012 11:46:36 +0000 (11:46 +0000)]
Expose an additional flight plan leg data to Nasal.

11 years agoNavDisplay: time-bound the spatial query.
James Turner [Sun, 30 Dec 2012 17:01:48 +0000 (17:01 +0000)]
NavDisplay: time-bound the spatial query.

At large search ranges (320 or 640NM range on the 777), the search time can blow up, especially if distant airports are being loaded. Add a time-bounded spatial query, and use it, so performance stays tolerable.

11 years agoFix auto-routing by airways.
James Turner [Sun, 30 Dec 2012 16:12:11 +0000 (16:12 +0000)]
Fix auto-routing by airways.

When the from and to points are not on the enroute structure, check the initial and final legs for large turns (more than 90-degrees) from the overall route course. If found, kill the leg, to generate more natural route and avoid very sharp turns in the terminal area.

11 years agoNicer default SID and approach procedures.
James Turner [Sun, 30 Dec 2012 15:37:25 +0000 (15:37 +0000)]
Nicer default SID and approach procedures.

Note these are still generic and do NOT take local terrain into account. Don't come crying to me if you fly into nearby terrain because you weren't using a real procedure!

11 years agoMake the GPS quieter at log-level info.
James Turner [Sat, 29 Dec 2012 14:47:23 +0000 (14:47 +0000)]
Make the GPS quieter at log-level info.

11 years agoXMLHTTPRequest: handle network level failures.
James Turner [Sat, 29 Dec 2012 14:37:33 +0000 (14:37 +0000)]
XMLHTTPRequest: handle network level failures.

11 years agoBug 941, lower minimum speed for GPS sequencing.
James Turner [Sat, 29 Dec 2012 13:46:29 +0000 (13:46 +0000)]
Bug 941, lower minimum speed for GPS sequencing.

10kts is fine, apparently some people 'fly' very slowly.

11 years agoBug 974, GPS exceptions at end-of-route.
James Turner [Sat, 29 Dec 2012 13:45:27 +0000 (13:45 +0000)]
Bug 974, GPS exceptions at end-of-route.

One of the two route termination conditions was improperly handled, leading to bad leg/wpt indices and exceptions from the GPS code. Detect passing the final waypoint in a more robust way now.

Also fix the GPS code to avoid turn computation on the final leg.

11 years agoBug #923 : repeatable flag set on input reload.
James Turner [Sat, 29 Dec 2012 12:16:51 +0000 (12:16 +0000)]
Bug #923 : repeatable flag set on input reload.

Clean-up how axes and button bindings are destroyed are re-built on reinit of the FGJoystickInput subsystem, so we get new, cleanly initialised items each time.

11 years agoExpose position along the flight-path to Nasal.
James Turner [Wed, 26 Dec 2012 23:48:19 +0000 (23:48 +0000)]
Expose position along the flight-path to Nasal.

Useful to query a point '100nm before wpt X' from Nasal, especially for VNAV calculations (T/C, T/D).

11 years agoNavDisplay - custom symbol support enabled.
James Turner [Mon, 24 Dec 2012 23:13:18 +0000 (23:13 +0000)]
NavDisplay - custom symbol support enabled.

11 years agoFix altitudes on default SIDs and approaches.
James Turner [Mon, 24 Dec 2012 20:22:58 +0000 (20:22 +0000)]
Fix altitudes on default SIDs and approaches.

Thanks to Hyde for noticing I had set the elevations incorrectly.

11 years agoMake PLAN mode in Boeing NDs possible.
James Turner [Mon, 24 Dec 2012 17:42:23 +0000 (17:42 +0000)]
Make PLAN mode in Boeing NDs possible.

Allow the location of the ND centre to be set from properties instead of always using the acct position.
(I thought I'd supported this option long ago, evidently not)

11 years agoRevised cache transaction handling.
James Turner [Sun, 23 Dec 2012 23:32:53 +0000 (23:32 +0000)]
Revised cache transaction handling.

Use a RAII object to manage cache transactions, and reset queries immediately after they are done, to avoid auto-commit transactions lasting long periods of time. Re-write the commit and step logic to handle SQLITE_BUSY, with progressively increasing waits when there is DB contention (multiple processes accessing the DB).

11 years agoFix a typo.
James Turner [Wed, 19 Dec 2012 10:06:52 +0000 (10:06 +0000)]
Fix a typo.

11 years agofeature freeze for 2.10.0, new version number
Torsten Dreyer [Tue, 18 Dec 2012 20:50:43 +0000 (21:50 +0100)]
feature freeze for 2.10.0, new version number

11 years agoSupport partial all-within-range spatial queries.
James Turner [Tue, 18 Dec 2012 10:23:44 +0000 (10:23 +0000)]
Support partial all-within-range spatial queries.

As an opt-in API, allow clients to request partial results, with a time-bounded cutoff. Use this to keep the MapWidget responsive even when many airports are being added to the cache (e.g., zooming out or panning rapidly when zoomed out)

11 years agoExpose canvas Text::getNearestCursor to Nasal as replacement for old property based...
Thomas Geymayer [Sun, 16 Dec 2012 23:32:02 +0000 (00:32 +0100)]
Expose canvas Text::getNearestCursor to Nasal as replacement for old property based method

11 years agoCanvasEvent: expose event target to Nasal
Thomas Geymayer [Sun, 16 Dec 2012 20:32:05 +0000 (21:32 +0100)]
CanvasEvent: expose event target to Nasal

11 years agopopen/pclose changed to _popen/_pclose for Windows
Frederic Bouvier [Sun, 16 Dec 2012 19:35:50 +0000 (20:35 +0100)]
popen/pclose changed to _popen/_pclose for Windows

11 years agonear and far are reserved keyword under Windows
Frederic Bouvier [Sun, 16 Dec 2012 19:30:10 +0000 (20:30 +0100)]
near and far are reserved keyword under Windows

11 years agoAdd fgviewer missing includes.
Thomas Geymayer [Sun, 16 Dec 2012 18:19:31 +0000 (19:19 +0100)]
Add fgviewer missing includes.

11 years agoCanvas: remove old event handling code
Thomas Geymayer [Sun, 16 Dec 2012 18:02:43 +0000 (19:02 +0100)]
Canvas: remove old event handling code

11 years agofgviewer: Import hla based viewer application.
Mathias Froehlich [Sun, 16 Dec 2012 15:43:22 +0000 (16:43 +0100)]
fgviewer: Import hla based viewer application.

11 years agoMETAR selection of runway works for reset.
James Turner [Sun, 16 Dec 2012 15:05:21 +0000 (15:05 +0000)]
METAR selection of runway works for reset.

Explicitly reinit the realwx subsystem on sim-reset, so METAR is updated within the 10-second finalizePosition window.

11 years agoImprove fltk detection under Windows
Frederic Bouvier [Sun, 16 Dec 2012 12:52:36 +0000 (13:52 +0100)]
Improve fltk detection under Windows

11 years agoRestructure positional finalisation for sim-reset.
James Turner [Sat, 15 Dec 2012 15:25:45 +0000 (15:25 +0000)]
Restructure positional finalisation for sim-reset.

Make position finalisation happen in the same phase as scenery load, i.e as a task during the main loop, instead of during the init loop. This is compatible with the existing reset logic. Unfortunately more work is needed; the environment code doesn't update the local station quickly enough on reset. (Fixing that is next!)

11 years agoUpdate to latest SimGear and fix eating up every 2nd scroll event
Thomas Geymayer [Thu, 13 Dec 2012 22:39:41 +0000 (23:39 +0100)]
Update to latest SimGear and fix eating up every 2nd scroll event

11 years agoAllow Canvas Windows to be resized by dragging
Thomas Geymayer [Thu, 13 Dec 2012 12:52:53 +0000 (13:52 +0100)]
Allow Canvas Windows to be resized by dragging

 - Setting 'resize' property to true on canvas::Window shows
   resize icons and exposes requested size to the property
   tree. This can be used eg. from Nasal to actually resize
   the window and/or show a preview of the resized window
   while resizing.
 - Event handling now ignores events which have already
   been handled. Before eg. clicking inside a window
   also caused picking to be performed inside the
   scene which is for sure not the expected behaviour.
 - Also forwards scroll wheel events from canvas::Window.

11 years agoSearch the current aircraft-dir implicitly.
James Turner [Thu, 13 Dec 2012 09:10:39 +0000 (09:10 +0000)]
Search the current aircraft-dir implicitly.

If a file is specified without an 'Aircraft/subdir' prefix, check for it relative to the the current aircraft dir.

11 years agoFlightHistory: spatial limit on captures.
James Turner [Tue, 11 Dec 2012 09:17:25 +0000 (09:17 +0000)]
FlightHistory: spatial limit on captures.

If you're not paused, but are stationary, don't record captures.

11 years agoFlight-history men usage cap.
James Turner [Tue, 11 Dec 2012 00:10:57 +0000 (00:10 +0000)]
Flight-history men usage cap.

Beyond a certain cap (currently 4MB), recycle buckets. With the default sample rate of 1Hz, this gives over 24 hours of history before recycling.

11 years agoFlight-path-history.
James Turner [Mon, 10 Dec 2012 18:11:44 +0000 (18:11 +0000)]
Flight-path-history.

Record the historical flight-path (by default, since last takeoff). Optionally display the flight-path in the map; other visualisations (e.g., an 'in-world' view) could also be created. Nasal API to follow so Canvas-map or FMS can show the same data.

Altitude and attitude (Euler angles) are currently recorded but not used anywhere.

11 years agoCanvasWidget: Retrieve texture id every frame.
Thomas Geymayer [Sun, 9 Dec 2012 22:15:17 +0000 (23:15 +0100)]
CanvasWidget: Retrieve texture id every frame.

If the size of a Canvas changes also the texture id
changes. We now retrieve the texture id for the CanvasWidget
every frame to ensure it uses the latest texture instance.

11 years agoIssue #809, restructure position init code.
James Turner [Sun, 9 Dec 2012 19:41:31 +0000 (19:41 +0000)]
Issue #809, restructure position init code.

Modify startup sequence, so position can be modified late in the startup process, right before the scenery load starts. This allows two ugly hacks to move to a permanent, less hacky location. If other position init modes required similar late evaluation in the future, this can be accommodated now.

This is a somewhat high-risk change - I've tested both carrier starts and runway-selection based on realwx METAR, but please look out for other position-init issues and test before / after this patch.

11 years agoCanvas MouseEvent now provides client and screen position
Thomas Geymayer [Sat, 8 Dec 2012 14:02:15 +0000 (15:02 +0100)]
Canvas MouseEvent now provides client and screen position

11 years agoCanvas add event time and expose current click count
Thomas Geymayer [Thu, 6 Dec 2012 22:27:25 +0000 (23:27 +0100)]
Canvas add event time and expose current click count

11 years agoGenerate RNG at start of day, and pass down the stack for cloud generation.
Stuart Buchanan [Wed, 5 Dec 2012 22:12:00 +0000 (22:12 +0000)]
Generate RNG at start of day, and pass down the stack for cloud generation.

11 years agoExpose canvas::Element::getTransformedBounds to Nasal
Thomas Geymayer [Tue, 4 Dec 2012 22:59:21 +0000 (23:59 +0100)]
Expose canvas::Element::getTransformedBounds to Nasal

11 years agoFix #953.
Thomas Geymayer [Mon, 3 Dec 2012 08:28:48 +0000 (09:28 +0100)]
Fix #953.

11 years agoWhoops, work-around for #926 correctly.
James Turner [Sun, 2 Dec 2012 23:55:35 +0000 (23:55 +0000)]
Whoops, work-around for #926 correctly.

Hyde confirmed this fixes the issue, leaving the code present but disabled for the moment.

11 years agoFix calculating CanvasWidget mouse coordinates
Thomas Geymayer [Sun, 2 Dec 2012 22:59:44 +0000 (23:59 +0100)]
Fix calculating CanvasWidget mouse coordinates

11 years agoFix for old PUI versions
Thomas Geymayer [Sun, 2 Dec 2012 14:47:21 +0000 (15:47 +0100)]
Fix for old PUI versions

11 years agoForward mouse events from (PUI) CanvasWidget to Canvas for new DOM like callbacks
Thomas Geymayer [Sun, 2 Dec 2012 12:27:37 +0000 (13:27 +0100)]
Forward mouse events from (PUI) CanvasWidget to Canvas for new DOM like callbacks

11 years agoLook for Boost 1.52.0 and OpenRTI under Windows
Frederic Bouvier [Sat, 1 Dec 2012 10:25:22 +0000 (11:25 +0100)]
Look for Boost 1.52.0 and OpenRTI under Windows

11 years agoFixed incomplete copy&paste issue.
ThorstenB [Sat, 1 Dec 2012 10:06:50 +0000 (11:06 +0100)]
Fixed incomplete copy&paste issue.

11 years ago#946: some libraries not found on Ubuntu/Debian
ThorstenB [Sat, 1 Dec 2012 10:01:25 +0000 (11:01 +0100)]
#946: some libraries not found on Ubuntu/Debian
Ubuntu/Debian introduced "multiarch" library directories, which is
unsupported by CMake <= 2.8.10. Add manual search paths as a workaround.
Currently it is only needed for libsvn, but it is needed for any lib
which is converted to the new directory standard.

11 years agofgai: Use HLACartesianLocation instead of an own implementation.
Mathias Froehlich [Sun, 25 Nov 2012 21:25:27 +0000 (22:25 +0100)]
fgai: Use HLACartesianLocation instead of an own implementation.

11 years agoCanvas: Expose more methods to Nasal.
Thomas Geymayer [Thu, 29 Nov 2012 23:13:16 +0000 (00:13 +0100)]
Canvas: Expose more methods to Nasal.

 - Expose canvas::Group::getElementById to Nasal
 - Expose canvas::Group::getChild to Nasal

11 years agoUpdate for latest SimGear changes and remove some old code
Thomas Geymayer [Thu, 29 Nov 2012 16:57:01 +0000 (17:57 +0100)]
Update for latest SimGear changes and remove some old code

11 years agoExpose simgear::canvas::Group::createChild to Nasal
Thomas Geymayer [Thu, 29 Nov 2012 00:24:33 +0000 (01:24 +0100)]
Expose simgear::canvas::Group::createChild to Nasal

11 years agoBug 926
James Turner [Wed, 28 Nov 2012 13:41:58 +0000 (13:41 +0000)]
Bug 926

Disable elevation mixup for naiads, since it is introducing inconsistencies between the navdata and the scenery. (Actually it's exposing inconsistencies between the airport and navaid data, but that can't be fixed right now)

11 years agoMSVC 11 compile fix
Frederic Bouvier [Wed, 28 Nov 2012 08:08:57 +0000 (09:08 +0100)]
MSVC 11 compile fix

11 years ago#952 terrasync not scheduling tiles before sim reset
ThorstenB [Tue, 27 Nov 2012 23:26:47 +0000 (00:26 +0100)]
#952 terrasync not scheduling tiles before sim reset

11 years agoBug #927 - flightplan XML loading.
James Turner [Tue, 27 Nov 2012 22:42:46 +0000 (22:42 +0000)]
Bug #927 - flightplan XML loading.

This bug was caused by the code not tolerating missing navaids / waypoints. Update logic so missing navaids degenerate to basic waypoints without problem. Also tolerate present, but empty, runway properties - don't throw an exception by looking up empty identifiers.

11 years agoAdd properties to allow control of precipitation level externally.
Stuart Buchanan [Tue, 27 Nov 2012 22:17:30 +0000 (22:17 +0000)]
Add properties to allow control of precipitation level externally.

11 years agoFix FGAIFlightPlan waypoint issues
ThorstenB [Tue, 27 Nov 2012 20:02:32 +0000 (21:02 +0100)]
Fix FGAIFlightPlan waypoint issues
Iterator must be reset after clearing waypoint list.
Deleting "*waypoint.end()" doesn't delete the last waypoint (end()-1
does - it is never actually used though).

11 years agoFix compile error "ISO C++ forbids initialization of member"
ThorstenB [Tue, 27 Nov 2012 20:01:03 +0000 (21:01 +0100)]
Fix compile error "ISO C++ forbids initialization of member"

11 years agoAdd the scenery paths to the DB, and check them.
James Turner [Tue, 27 Nov 2012 18:17:59 +0000 (18:17 +0000)]
Add the scenery paths to the DB, and check them.

When the scenery paths change, we need to rebuild the nab-cache, since Airports/ data may have changed - e.g. someone installing custom scenery with updated ILS / thresholds.

11 years agoHandle DB-locked errors.
James Turner [Tue, 27 Nov 2012 17:34:52 +0000 (17:34 +0000)]
Handle DB-locked errors.

When multiple processes (right now, multiple copies of fgfs, but potentially other users in the future) access the navcache, it can cause SQLite to return a 'locked' error, so the request should be re-tried. Add code to do this.

11 years agoMore work on Canvas event handling/adapt for simgear changes
Thomas Geymayer [Tue, 27 Nov 2012 12:56:39 +0000 (13:56 +0100)]
More work on Canvas event handling/adapt for simgear changes

11 years agoStop AI aircraft's sound when removing
ThorstenB [Mon, 26 Nov 2012 23:02:28 +0000 (00:02 +0100)]
Stop AI aircraft's sound when removing
Sound manager keeps a reference to _fx, so reducing its ref-count isn't
enough - it must be removed explicitly.

11 years agoBase fullscreen detection on window decoration
ThorstenB [Mon, 26 Nov 2012 23:02:28 +0000 (00:02 +0100)]
Base fullscreen detection on window decoration
rather than window size, since the size of full screen windows can change:
e.g. Xinerama mode automatically resizes fullscreen windows to cover the
area belonging to a single display only - so the
"(Xinerama) screen area == window size" check always failed - even in
fullscreen mode.

11 years agoFix a couple of 64-bit warnings identified by GCC.
ThorstenB [Sun, 25 Nov 2012 23:23:10 +0000 (00:23 +0100)]
Fix a couple of 64-bit warnings identified by GCC.
PositionedID is of "int64_t", which depends on platform: apparently it is
"long long int" for Mac (requiring %lld format), but it is "long int" for
64bit Linux (requiring %ld). To avoid a "compiler warning fix commit
war" ;-) use a type cast to the longest common type (long long int).

11 years agoWork on AIAircraft gear animation.
James Turner [Sun, 25 Nov 2012 21:37:15 +0000 (21:37 +0000)]
Work on AIAircraft gear animation.

Inspired by Harald's patch, attempt to get AI models show realistic gear animations. Unfortunately AI models seem to be ignoring the gear properties, so keeping the code disabled until I can trace down why.

11 years agoFix a couple of 64-bit warnings identified by Clang.
James Turner [Sun, 25 Nov 2012 21:35:17 +0000 (21:35 +0000)]
Fix a couple of 64-bit warnings identified by Clang.

11 years agoAdd debug check to NavCache
ThorstenB [Sun, 25 Nov 2012 15:41:10 +0000 (16:41 +0100)]
Add debug check to NavCache
reporting suspicious filesystem timestamp changes.

11 years agotraffic: more pass by reference + member init
ThorstenB [Sun, 25 Nov 2012 15:41:10 +0000 (16:41 +0100)]
traffic: more pass by reference + member init

11 years agoTraffic: preemptable flight scheduling
ThorstenB [Sun, 25 Nov 2012 15:41:10 +0000 (16:41 +0100)]
Traffic: preemptable flight scheduling
FGAISchedule::update can be time consuming. Preempt when necessary to
avoid simulation lags, and call it every sim iteration, until the flight
plan is complete.

11 years agoFix duplicate runway wpt in default approach.
James Turner [Sat, 24 Nov 2012 13:50:37 +0000 (13:50 +0000)]
Fix duplicate runway wpt in default approach.

11 years agoMSVC compile issues.
ThorstenB [Sat, 24 Nov 2012 12:33:36 +0000 (13:33 +0100)]
MSVC compile issues.

11 years agoAIFlihtPlan: Proper member initialization
ThorstenB [Sat, 24 Nov 2012 12:04:59 +0000 (13:04 +0100)]
AIFlihtPlan: Proper member initialization
(i.e. "isValid" needs to be initialized unconditionally)

11 years agoFix some groundnet cache issues.
James Turner [Sat, 24 Nov 2012 12:14:56 +0000 (12:14 +0000)]
Fix some groundnet cache issues.

ThorstenB identified some cases where mod-times changing could lead to corrupted ground-cache data in the DB - handle both of these. What's still unclear is why the mod-times changes; hopefully the additional debug info will reveal this.

11 years agoTraffic performance: add airport memory cache
ThorstenB [Sat, 24 Nov 2012 11:42:31 +0000 (12:42 +0100)]
Traffic performance: add airport memory cache
to avoid repeating identical NavCache/SQL queries. Also ensures we're
not using multiple FGAirport instances for an airport - each triggering
identical queries to pull in airport data.
Airports by ICAO ID are requested very frequently at run-time, so caching
significantly boosts performance.

11 years agoTraffic performance: cache track length
ThorstenB [Sat, 24 Nov 2012 11:06:20 +0000 (12:06 +0100)]
Traffic performance: cache track length
Track length is calculate every iteration/for every aircraft. Since some
tracks have hundreds of waypoints, calculation is slow. Cache the
track length between the waypoints ahead, so it rarely needs to be
recalculated.

11 years agoPerformance improvement: pass (const) strings by reference
ThorstenB [Sat, 24 Nov 2012 10:59:13 +0000 (11:59 +0100)]
Performance improvement: pass (const) strings by reference
to avoid copying actual string data around.

11 years agofgai: Add an initial sketch of an external ai module.
Mathias Froehlich [Sat, 24 Nov 2012 09:34:08 +0000 (10:34 +0100)]
fgai: Add an initial sketch of an external ai module.

11 years agohla: add io chanel configuration shortcut hla-local.
Mathias Froehlich [Wed, 21 Nov 2012 18:41:51 +0000 (19:41 +0100)]
hla: add io chanel configuration shortcut hla-local.

11 years agoAdd more debug output to NavDataCache
ThorstenB [Fri, 23 Nov 2012 21:35:06 +0000 (22:35 +0100)]
Add more debug output to NavDataCache
showing exactly which file triggers a cache rebuild.

11 years agoUse more specific logging classes for SG_LOG.
ThorstenB [Fri, 23 Nov 2012 20:14:40 +0000 (21:14 +0100)]
Use more specific logging classes for SG_LOG.
The log filters aren't really useful when everything uses SG_GENERAL.

11 years agoClean up namespace issues
ThorstenB [Fri, 23 Nov 2012 20:00:20 +0000 (21:00 +0100)]
Clean up namespace issues
avoiding "uses..." in header files.

11 years agoFix compiler warning with sprintf format
ThorstenB [Wed, 21 Nov 2012 19:54:41 +0000 (20:54 +0100)]
Fix compiler warning with sprintf format
since PositionedID is "long int", not "long long int".

11 years agoExpose NasalSys::gcSave/gcRelease to Canvas
Thomas Geymayer [Thu, 22 Nov 2012 00:06:04 +0000 (01:06 +0100)]
Expose NasalSys::gcSave/gcRelease to Canvas

11 years agoBreak upwards dependency on Traffic in the AI code
James Turner [Wed, 21 Nov 2012 14:49:34 +0000 (14:49 +0000)]
Break upwards dependency on Traffic in the AI code

AIManager had unfortunate code to pass some state to the traffic-manager; this is no longer required since traffic schedules hold onto their AI-Aircraft directly as needed.

11 years agoAIManager cleanups, no functionality change.
James Turner [Wed, 21 Nov 2012 14:03:17 +0000 (14:03 +0000)]
AIManager cleanups, no functionality change.

11 years agoAllow setting emission for each canvas placement
Thomas Geymayer [Wed, 21 Nov 2012 12:07:57 +0000 (13:07 +0100)]
Allow setting emission for each canvas placement

11 years agoMissing std:: namespace in a header.
James Turner [Tue, 20 Nov 2012 17:09:09 +0000 (17:09 +0000)]
Missing std:: namespace in a header.

11 years agoQuiet some log output.
James Turner [Tue, 20 Nov 2012 17:08:56 +0000 (17:08 +0000)]
Quiet some log output.

11 years agoView-manager: update globals automatically.
James Turner [Tue, 20 Nov 2012 13:33:20 +0000 (13:33 +0000)]
View-manager: update globals automatically.

Make the global view-manager pointer be controlled by the instance.

11 years agoMake PUI menu-bar reinit safe.
James Turner [Tue, 20 Nov 2012 13:32:10 +0000 (13:32 +0000)]
Make PUI menu-bar reinit safe.

Was only cleaning up the PUI menubar, not old bindings / names. This led to duplicate bindings, each time the GUI was reset, which can happen for various reasons.

11 years agoMake EnvironmentMgr shutdown its subsystems.
James Turner [Tue, 20 Nov 2012 12:31:07 +0000 (12:31 +0000)]
Make EnvironmentMgr shutdown its subsystems.

With this change, Environment subsystem can be removed and re-added at runtime using the factory commands.