]> git.mxchange.org Git - flightgear.git/log
flightgear.git
12 years agoSID is a predefined type under windows
Frederic Bouvier [Mon, 7 May 2012 08:19:55 +0000 (10:19 +0200)]
SID is a predefined type under windows

12 years agoFix SID class ambiguity on Windows (clashes with winnt.h)
James Turner [Sun, 6 May 2012 23:59:28 +0000 (00:59 +0100)]
Fix SID class ambiguity on Windows (clashes with winnt.h)

12 years agoCreate a real FlightPlan (and Leg) class
James Turner [Tue, 24 Apr 2012 21:55:30 +0000 (22:55 +0100)]
Create a real FlightPlan (and Leg) class

Convert the route-manager to use a flight-plan internally, and expose
flightplan, leg and procedure data to Nasal. Move the Level-D parser
into its own file.

12 years agoAdd Windows-specific implementation to determine locale settings.
ThorstenB [Sun, 6 May 2012 21:15:27 +0000 (23:15 +0200)]
Add Windows-specific implementation to determine locale settings.

12 years agoFix Linux compile / math dependency
ThorstenB [Sat, 5 May 2012 10:16:20 +0000 (12:16 +0200)]
Fix Linux compile / math dependency
wasn't redundant in one place

12 years agoRemove redundant inclusion of math/SGMath.hxx
Frederic Bouvier [Sat, 5 May 2012 09:20:04 +0000 (11:20 +0200)]
Remove redundant inclusion of math/SGMath.hxx

12 years agoFix C compiler warning.
ThorstenB [Sat, 5 May 2012 07:42:25 +0000 (09:42 +0200)]
Fix C compiler warning.
"no-overloaded-virtual" warnings are a CXX-compiler feature

12 years agoFix Mac compile.
ThorstenB [Sat, 5 May 2012 07:41:23 +0000 (09:41 +0200)]
Fix Mac compile.

12 years agoSupport localized menu on Mac/CocoaMenuBar.
ThorstenB [Sat, 5 May 2012 07:30:52 +0000 (09:30 +0200)]
Support localized menu on Mac/CocoaMenuBar.

12 years agoFix rpmlint/Linux packager complaints
ThorstenB [Fri, 4 May 2012 23:42:41 +0000 (01:42 +0200)]
Fix rpmlint/Linux packager complaints
about outdated/invalid FSF address in some license headers.

12 years agoGanael Laplanche: fix include dependencies for FreeBSD support
ThorstenB [Fri, 4 May 2012 23:08:20 +0000 (01:08 +0200)]
Ganael Laplanche: fix include dependencies for FreeBSD support

12 years agoClean-up some SGMath dependencies.
ThorstenB [Fri, 4 May 2012 22:56:29 +0000 (00:56 +0200)]
Clean-up some SGMath dependencies.

12 years agoFix rpmlint/Linux packager complaints
ThorstenB [Fri, 4 May 2012 22:38:56 +0000 (00:38 +0200)]
Fix rpmlint/Linux packager complaints
about outdated/invalid FSF address in some license headers.

12 years agoUse separate header file for vector properties.
ThorstenB [Fri, 4 May 2012 22:12:41 +0000 (00:12 +0200)]
Use separate header file for vector properties.
(We could drop the "SGMath.hxx" include in many places now...)

12 years agoTrafficManager - check model paths when loading schedules, and ignore schedules with...
James Turner [Thu, 3 May 2012 10:05:37 +0000 (11:05 +0100)]
TrafficManager - check model paths when loading schedules, and ignore schedules with a missing mode completely.

12 years ago#607: change path in warning message
ThorstenB [Wed, 2 May 2012 21:50:07 +0000 (23:50 +0200)]
#607: change path in warning message
Code checks both, "Aircraft" and "AI/Aircraft" directory - but users
obviously prefer to see the AI/Aircraft directory in the reported
warnings... ;-)

12 years agoset correct file mode
ThorstenB [Wed, 2 May 2012 21:26:42 +0000 (23:26 +0200)]
set correct file mode
More non-executable data files.

12 years agoSupport PBD waypoints in procedures files.
James Turner [Wed, 2 May 2012 21:09:41 +0000 (22:09 +0100)]
Support PBD waypoints in procedures files.

http://code.google.com/p/flightgear-bugs/issues/detail?id=635

12 years agoUpdate fgdata package script.
ThorstenB [Wed, 2 May 2012 20:54:27 +0000 (22:54 +0200)]
Update fgdata package script.
Update version. Add stub file from old 777 directory.

12 years agoAdd an auto-release pool wrapper to the Cocoa code
James Turner [Wed, 2 May 2012 20:24:44 +0000 (21:24 +0100)]
Add an auto-release pool wrapper to the Cocoa code

Hopefully this will address some warnings seen on Mac

12 years agoAdapt font size behaviour to original plib font.
ThorstenB [Tue, 1 May 2012 09:44:52 +0000 (11:44 +0200)]
Adapt font size behaviour to original plib font.
Original plib 'Helvetica 12' reported point size "13". Stick with this to
keep backward compatibility of GUI layouts.

12 years agoSupport disabling AI traffic at run-time.
ThorstenB [Tue, 1 May 2012 08:32:30 +0000 (10:32 +0200)]
Support disabling AI traffic at run-time.

12 years agoAdd the ability to record depth in color buffer. This should solve depth buffer resol...
Frederic Bouvier [Tue, 1 May 2012 06:27:13 +0000 (08:27 +0200)]
Add the ability to record depth in color buffer. This should solve depth buffer resolution problem for older NVidia cards.

12 years ago#248: support enabling AI module at run-time
ThorstenB [Mon, 30 Apr 2012 17:44:11 +0000 (19:44 +0200)]
#248: support enabling AI module at run-time
Traffic manager can also be enabled at run-time, so "ai enabled" check
also needs to be moved for traffic.

12 years agoAdd separate switch to enable/disable AI scenario support.
ThorstenB [Mon, 30 Apr 2012 17:04:49 +0000 (19:04 +0200)]
Add separate switch to enable/disable AI scenario support.
Switch is enabled automatically when scenarios are given on command-line.

12 years ago#248: support enabling AI module at run-time
ThorstenB [Mon, 30 Apr 2012 15:48:13 +0000 (17:48 +0200)]
#248: support enabling AI module at run-time
Move /sim/ai/enabled check behind the MP enabled check.

12 years ago#248: support enabling AI module at run-time
ThorstenB [Mon, 30 Apr 2012 15:26:04 +0000 (17:26 +0200)]
#248: support enabling AI module at run-time
Also adapt MP and traffic module to enable the AI module when required.
This makes /sim/ai/enabled an internal property: it can default to false
(in future), and can be enabled as soon as any user-level feature (traffic,
MP, local weather, ...) requires it.

12 years agoAvoid compiler warnings.
ThorstenB [Mon, 30 Apr 2012 12:33:38 +0000 (14:33 +0200)]
Avoid compiler warnings.
Unsigned values are always >= 0...

12 years ago#734: MP cannot be enabled without 'AI' module
ThorstenB [Mon, 30 Apr 2012 12:32:35 +0000 (14:32 +0200)]
#734: MP cannot be enabled without 'AI' module
Add and improve error messages.

12 years ago16bit source type is overkill for 8bit normal buffer
Frederic Bouvier [Sun, 29 Apr 2012 12:19:32 +0000 (14:19 +0200)]
16bit source type is overkill for 8bit normal buffer

12 years agoReally initialize shadow cascades from the preferences
Frederic Bouvier [Sun, 29 Apr 2012 11:29:57 +0000 (13:29 +0200)]
Really initialize shadow cascades from the preferences
Reformat without tabs

12 years agoAnd expose the published navaid range to Nasal, since we can.
James Turner [Sat, 28 Apr 2012 22:35:19 +0000 (23:35 +0100)]
And expose the published navaid range to Nasal, since we can.

12 years agoConvert all the Nasal wrappers around FGPositioned to use ghost-member-access
James Turner [Sat, 28 Apr 2012 22:28:12 +0000 (23:28 +0100)]
Convert all the Nasal wrappers around FGPositioned to use ghost-member-access

Lazy-ness is good. Along the way, expose the course on ILS/LOC navaids to Nasal.

12 years agoNavDisplay: ignore case when matching symbol types in rules.
James Turner [Sat, 28 Apr 2012 21:39:55 +0000 (22:39 +0100)]
NavDisplay: ignore case when matching symbol types in rules.

12 years agoUpdate some nasal-positioned code to use new ghost-member support
James Turner [Sat, 28 Apr 2012 21:33:13 +0000 (22:33 +0100)]
Update some nasal-positioned code to use new ghost-member support

(Requires latest SimGear)

12 years agoRemove PositionedBinding (which no one ever used), Nasal is better for this jobs.
James Turner [Wed, 25 Apr 2012 23:37:47 +0000 (00:37 +0100)]
Remove PositionedBinding (which no one ever used), Nasal is better for this jobs.

12 years agoExpose single-runway query on airport.
James Turner [Wed, 25 Apr 2012 23:27:18 +0000 (00:27 +0100)]
Expose single-runway query on airport.

12 years agoExpose SGBucket index computation to Nasal.
James Turner [Wed, 25 Apr 2012 23:00:46 +0000 (00:00 +0100)]
Expose SGBucket index computation to Nasal.

12 years agoMove viewer-related sources to separate folder.
ThorstenB [Wed, 25 Apr 2012 21:28:00 +0000 (23:28 +0200)]
Move viewer-related sources to separate folder.
Simple source directory clean-up, so "Main" folder contains fewer stuff
and the list of files in the editors a lot shorter.

12 years agoAbstract AP implementation base classes need a virtual destructor
ThorstenB [Wed, 25 Apr 2012 21:11:45 +0000 (23:11 +0200)]
Abstract AP implementation base classes need a virtual destructor
(SGReferenced doesn't provide it)

12 years agoExpose greatCircleMove to Nasal, and allow geo.Coord to be passed into methods.
James Turner [Wed, 25 Apr 2012 15:54:40 +0000 (16:54 +0100)]
Expose greatCircleMove to Nasal, and allow geo.Coord to be passed into methods.

12 years agoDon't care about light volumes when picking in the scenegraph
Frederic Bouvier [Tue, 24 Apr 2012 21:34:29 +0000 (23:34 +0200)]
Don't care about light volumes when picking in the scenegraph

12 years agoFix explicit reference counting with waypoints and positions.
Mathias Froehlich [Tue, 24 Apr 2012 21:23:09 +0000 (23:23 +0200)]
Fix explicit reference counting with waypoints and positions.

12 years agoMore search functions exposed to Nasal, also airport parking.
James Turner [Tue, 24 Apr 2012 21:12:56 +0000 (22:12 +0100)]
More search functions exposed to Nasal, also airport parking.

12 years agoExpose waypoint source (airport/runway/navaid) to Nasal
James Turner [Tue, 24 Apr 2012 09:53:46 +0000 (10:53 +0100)]
Expose waypoint source (airport/runway/navaid) to Nasal

12 years agoHacking to expose route/waypt data via Nasal, API not final yet.
James Turner [Mon, 23 Apr 2012 22:55:22 +0000 (23:55 +0100)]
Hacking to expose route/waypt data via Nasal, API not final yet.

12 years agoNasal airport functions for various ancillary data pieces now work.
James Turner [Mon, 23 Apr 2012 22:04:59 +0000 (23:04 +0100)]
Nasal airport functions for various ancillary data pieces now work.

12 years agoMake traffic-manager schedule XML loading incremental, to
James Turner [Mon, 23 Apr 2012 14:03:08 +0000 (15:03 +0100)]
Make traffic-manager schedule XML loading incremental, to
avoid a long pause during startup.

12 years agoFeature request for Syd - expose the ND view heading
James Turner [Mon, 23 Apr 2012 12:59:01 +0000 (13:59 +0100)]
Feature request for Syd - expose the ND view heading

12 years agoDon't install fg/READMEs
ThorstenB [Sun, 22 Apr 2012 11:46:06 +0000 (13:46 +0200)]
Don't install fg/READMEs
which only contain *build instructions* - so they are not useful *after*
installing binaries. User documentation (which should be installed) is in
fgdata/Docs.

12 years agoDon't install man pages on Windows
ThorstenB [Sun, 22 Apr 2012 11:43:04 +0000 (13:43 +0200)]
Don't install man pages on Windows
they are only useful on Linux (and maybe Mac?)

12 years agoTry to fix MSVC build.
ThorstenB [Sun, 22 Apr 2012 07:40:36 +0000 (09:40 +0200)]
Try to fix MSVC build.
MSVC wants to see the full "SGVec3" class spec, not just the fwd
declaration provided by SGMathFwd.hxx.

12 years ago#263: (Re-)introduce language option for menu
ThorstenB [Sat, 21 Apr 2012 18:18:01 +0000 (20:18 +0200)]
#263: (Re-)introduce language option for menu
Adapt FGPUIMenuBar to use new Locale module.
Adds support for separate "key" property for menu items, so keyboard hints
are no longer part of the item's label (and do not need to be part of the
translated text resources).

12 years agoMove locale code to separate module.
ThorstenB [Sat, 21 Apr 2012 18:17:42 +0000 (20:17 +0200)]
Move locale code to separate module.
Introduce convenience methods to handle localized string resources
and obtain strings.

12 years agoAdd Latin1 character subset to default FG font.
ThorstenB [Sat, 21 Apr 2012 14:25:53 +0000 (16:25 +0200)]
Add Latin1 character subset to default FG font.
Copies HELVETICA_12 from PLIB to FG, adding some more chars needed for
Latin1/ISO-8859-1 (West European languages).
(SANS_12B and HELVETICA_14 also support Latin1, but not the other default
PLIB fonts).

12 years agoMinor clean-up.
ThorstenB [Sat, 21 Apr 2012 07:38:41 +0000 (09:38 +0200)]
Minor clean-up.

12 years agoWork on extending the Nasal airports API - attempt to give methods to airport hashes.
James Turner [Sat, 21 Apr 2012 10:15:23 +0000 (11:15 +0100)]
Work on extending the Nasal airports API - attempt to give methods to airport hashes.

12 years agoWork on an azimuthal project mode for the map, to improve behaviour in polar regions...
James Turner [Sat, 21 Apr 2012 10:14:45 +0000 (11:14 +0100)]
Work on an azimuthal project mode for the map, to improve behaviour in polar regions. Disabled for now since performance is extremely poor.

12 years agoMove another string to the language resource.
ThorstenB [Wed, 18 Apr 2012 13:44:42 +0000 (15:44 +0200)]
Move another string to the language resource.

12 years agoBe more tolerant about locale name when detecting the default language,
ThorstenB [Wed, 18 Apr 2012 13:43:42 +0000 (15:43 +0200)]
Be more tolerant about locale name when detecting the default language,
i.e. consider the German resource provided for "de_DE" or "de" when
locale name is "de_DE.utf8".

12 years agoFix part of #263, --language option not working for --help.
James Turner [Wed, 18 Apr 2012 11:46:26 +0000 (12:46 +0100)]
Fix part of #263, --language option not working for --help.

12 years agoSupport loading PropertyList data remotely, as part of #450. Along the way, centralis...
James Turner [Wed, 18 Apr 2012 09:25:27 +0000 (10:25 +0100)]
Support loading PropertyList data remotely, as part of #450. Along the way, centralise the HTTPClient object so it can be used beyond the METAR download engine.

12 years agoMake the number of shadow cascades and the range of each configurable
Frederic Bouvier [Tue, 17 Apr 2012 07:10:53 +0000 (09:10 +0200)]
Make the number of shadow cascades and the range of each configurable

12 years agoExpose more things to Nasal for FMSs in particular - still work in progress.
James Turner [Mon, 16 Apr 2012 09:18:37 +0000 (10:18 +0100)]
Expose more things to Nasal for FMSs in particular - still work in progress.

12 years agoFix build for Linux, really.
ThorstenB [Sun, 15 Apr 2012 14:07:17 +0000 (16:07 +0200)]
Fix build for Linux, really.
;-)

12 years agoFix SceneryPager destruction sequence.
ThorstenB [Sun, 15 Apr 2012 13:30:44 +0000 (15:30 +0200)]
Fix SceneryPager destruction sequence.
SceneryPager singleton must not be removed while FGScenery is still alive,
so hold a reference to it in FGScenery, saving the pager from being
deleted first.

12 years agoFix build for non-Mac, hopefully.
James Turner [Sun, 15 Apr 2012 13:20:03 +0000 (14:20 +0100)]
Fix build for non-Mac, hopefully.

12 years agoStart refactoring how FGPositioned classes are exposed to Nasal, more to come.
James Turner [Sun, 15 Apr 2012 12:54:50 +0000 (13:54 +0100)]
Start refactoring how FGPositioned classes are exposed to Nasal, more to come.

12 years agoMake 2D panel mouse action repeat independent of the frame-rate.
James Turner [Sun, 15 Apr 2012 12:21:12 +0000 (13:21 +0100)]
Make 2D panel mouse action repeat independent of the frame-rate.

12 years agoTweak ODGauge usage, fix multiple instances of NavDisplay or wxRadar.
James Turner [Sun, 15 Apr 2012 11:03:21 +0000 (12:03 +0100)]
Tweak ODGauge usage, fix multiple instances of NavDisplay or wxRadar.

12 years agoGet rid of RG16 buffer made possible by a different way to encode normals
Frederic Bouvier [Thu, 12 Apr 2012 21:59:42 +0000 (23:59 +0200)]
Get rid of RG16 buffer made possible by a different way to encode normals

12 years agoDon't call "exit" when reporting an error.
ThorstenB [Thu, 12 Apr 2012 17:38:32 +0000 (19:38 +0200)]
Don't call "exit" when reporting an error.
Add some more guards for missing way points.
Comment out some unused variables.

12 years ago#738: crash when switching 2D panels
ThorstenB [Wed, 11 Apr 2012 22:03:16 +0000 (00:03 +0200)]
#738: crash when switching 2D panels
FGPanelNode doesn't always own its "_panel" object - so it's not ok to
always delete it. Use ref-counting/smart-pointers instead.

12 years agoNavDisplay: respect initial values for various properties.
James Turner [Wed, 11 Apr 2012 09:48:33 +0000 (10:48 +0100)]
NavDisplay: respect initial values for various properties.

12 years agoRembrandt: Restore rendering stats
Frederic Bouvier [Mon, 9 Apr 2012 15:41:33 +0000 (17:41 +0200)]
Rembrandt: Restore rendering stats
intercept first change in stats display to change stats handler camera render order

12 years agoRoute-manager distance helpers for Hyde and others working on VNAV support.
James Turner [Mon, 9 Apr 2012 13:06:44 +0000 (14:06 +0100)]
Route-manager distance helpers for Hyde and others working on VNAV support.

12 years agoWhoops, fix a type found by Syd in the NavDisplay.
James Turner [Mon, 9 Apr 2012 11:17:38 +0000 (12:17 +0100)]
Whoops, fix a type found by Syd in the NavDisplay.

12 years agoAdd CMake option to disable building test applications.
ThorstenB [Sun, 8 Apr 2012 16:49:11 +0000 (18:49 +0200)]
Add CMake option to disable building test applications.

12 years agoGeoff McLane: Fix compile error due to missing include.
ThorstenB [Sun, 8 Apr 2012 16:46:17 +0000 (18:46 +0200)]
Geoff McLane: Fix compile error due to missing include.

12 years agoFix scenery reload issues.
ThorstenB [Sat, 7 Apr 2012 14:35:04 +0000 (16:35 +0200)]
Fix scenery reload issues.
Aircraft could fall through the ground on scenery reload.

12 years agoComment out some unused vars.
ThorstenB [Sat, 7 Apr 2012 14:19:33 +0000 (16:19 +0200)]
Comment out some unused vars.

12 years agoFix scenery reload issues.
ThorstenB [Sat, 7 Apr 2012 14:19:09 +0000 (16:19 +0200)]
Fix scenery reload issues.
Aircraft could fall through the ground on scenery reload. Properly reset
the "sceneryloaded" flag to pause FDM processing while scenery is being
reloaded. Also stop processing some instruments while scenery is reloaded.

12 years agoRestore splash screen for the Rembrandt renderer
Frederic Bouvier [Thu, 5 Apr 2012 21:30:38 +0000 (23:30 +0200)]
Restore splash screen for the Rembrandt renderer

12 years agoYASim performance optimization
ThorstenB [Thu, 5 Apr 2012 19:06:39 +0000 (21:06 +0200)]
YASim performance optimization
Use stashed property nodes.

12 years agoFix some compiler warnings.
ThorstenB [Tue, 3 Apr 2012 20:24:00 +0000 (22:24 +0200)]
Fix some compiler warnings.
Also removes "itm.cpp" from CMake to avoid code duplication/warnings, since
this the file is already included by radio.cxx.

12 years agoAdd "--max-fps" option to limit frame rate.
ThorstenB [Sun, 1 Apr 2012 14:04:12 +0000 (16:04 +0200)]
Add "--max-fps" option to limit frame rate.

12 years agoYASim performance optimization
ThorstenB [Sat, 31 Mar 2012 22:36:41 +0000 (00:36 +0200)]
YASim performance optimization
Several functions of YASim's math wrapper are hotspots. Allow compiler
optimization/inlining.

12 years agoAvoid "using..." in header files.
ThorstenB [Sat, 31 Mar 2012 16:19:14 +0000 (18:19 +0200)]
Avoid "using..." in header files.

12 years agoRemove unused variables (moment/ias)
ThorstenB [Sat, 31 Mar 2012 10:50:53 +0000 (12:50 +0200)]
Remove unused variables (moment/ias)

12 years agoAutopilot: save loads of CPU cycles
Torsten Dreyer [Thu, 5 Apr 2012 18:40:07 +0000 (20:40 +0200)]
Autopilot: save loads of CPU cycles

Not every xml-autopilot filter needs to run at the update rate
of the FDM. This only makes sense for the autpilot filters. Those,
who update instrument needles or environment properties for example
may run at frame rate.
This patch (thanks to ThorstenB, who is the author) forces those
filters defined in /sim/systems/autopilot into the FDM loop and those
defined in /sim/systems/property-rule into the default loop. They
show up as xml-autopilot and xml-proprules in the performance monitor

12 years agoHonor /sim/rendering/shadows/enabled preference
Frederic Bouvier [Wed, 4 Apr 2012 18:43:16 +0000 (20:43 +0200)]
Honor /sim/rendering/shadows/enabled preference

12 years agoCode cosmetic
Frederic Bouvier [Tue, 3 Apr 2012 21:17:04 +0000 (23:17 +0200)]
Code cosmetic

12 years agoFix issue with sky added in commit 25e0ab0b824c7a2254b9815976b4998174632058
Frederic Bouvier [Tue, 3 Apr 2012 06:41:28 +0000 (08:41 +0200)]
Fix issue with sky added in commit 25e0ab0b824c7a2254b9815976b4998174632058

12 years agoHopefully fix the shadow disappearing because of range animation issue in a more...
Frederic Bouvier [Mon, 2 Apr 2012 21:54:31 +0000 (23:54 +0200)]
Hopefully fix the shadow disappearing because of range animation issue in a more elegant way

12 years agoRestore messages and fog draw order reverted in the previous commit
Frederic Bouvier [Mon, 2 Apr 2012 21:36:34 +0000 (23:36 +0200)]
Restore messages and fog draw order reverted in the previous commit

12 years agoRevert "Disable LOD when rendering to the shadow map."
Frederic Bouvier [Mon, 2 Apr 2012 18:07:29 +0000 (20:07 +0200)]
Revert "Disable LOD when rendering to the shadow map."

This reverts commit e46357d8191b28de338403da06d0fa904d87800c.

12 years agoEnable light source for transparent surfaces
Frederic Bouvier [Sun, 1 Apr 2012 21:37:47 +0000 (23:37 +0200)]
Enable light source for transparent surfaces

12 years agoDisable LOD when rendering to the shadow map.
Frederic Bouvier [Sun, 1 Apr 2012 21:07:33 +0000 (23:07 +0200)]
Disable LOD when rendering to the shadow map.
Produce few NaNs at start

12 years agoMake the shadow map available for effects
Frederic Bouvier [Sat, 31 Mar 2012 20:50:38 +0000 (22:50 +0200)]
Make the shadow map available for effects

12 years agoFix picking zone display
Frederic Bouvier [Sat, 31 Mar 2012 19:59:50 +0000 (21:59 +0200)]
Fix picking zone display