]>
git.mxchange.org Git - flightgear.git/log
Frederic Bouvier [Mon, 7 May 2012 08:19:55 +0000 (10:19 +0200)]
SID is a predefined type under windows
James Turner [Sun, 6 May 2012 23:59:28 +0000 (00:59 +0100)]
Fix SID class ambiguity on Windows (clashes with winnt.h)
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.
ThorstenB [Sun, 6 May 2012 21:15:27 +0000 (23:15 +0200)]
Add Windows-specific implementation to determine locale settings.
ThorstenB [Sat, 5 May 2012 10:16:20 +0000 (12:16 +0200)]
Fix Linux compile / math dependency
wasn't redundant in one place
Frederic Bouvier [Sat, 5 May 2012 09:20:04 +0000 (11:20 +0200)]
Remove redundant inclusion of math/SGMath.hxx
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
ThorstenB [Sat, 5 May 2012 07:41:23 +0000 (09:41 +0200)]
Fix Mac compile.
ThorstenB [Sat, 5 May 2012 07:30:52 +0000 (09:30 +0200)]
Support localized menu on Mac/CocoaMenuBar.
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.
ThorstenB [Fri, 4 May 2012 23:08:20 +0000 (01:08 +0200)]
Ganael Laplanche: fix include dependencies for FreeBSD support
ThorstenB [Fri, 4 May 2012 22:56:29 +0000 (00:56 +0200)]
Clean-up some SGMath dependencies.
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.
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...)
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.
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... ;-)
ThorstenB [Wed, 2 May 2012 21:26:42 +0000 (23:26 +0200)]
set correct file mode
More non-executable data 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
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.
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
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.
ThorstenB [Tue, 1 May 2012 08:32:30 +0000 (10:32 +0200)]
Support disabling AI traffic at run-time.
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.
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.
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.
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.
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.
ThorstenB [Mon, 30 Apr 2012 12:33:38 +0000 (14:33 +0200)]
Avoid compiler warnings.
Unsigned values are always >= 0...
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.
Frederic Bouvier [Sun, 29 Apr 2012 12:19:32 +0000 (14:19 +0200)]
16bit source type is overkill for 8bit normal buffer
Frederic Bouvier [Sun, 29 Apr 2012 11:29:57 +0000 (13:29 +0200)]
Really initialize shadow cascades from the preferences
Reformat without tabs
James Turner [Sat, 28 Apr 2012 22:35:19 +0000 (23:35 +0100)]
And expose the published navaid range to Nasal, since we can.
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.
James Turner [Sat, 28 Apr 2012 21:39:55 +0000 (22:39 +0100)]
NavDisplay: ignore case when matching symbol types in rules.
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)
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.
James Turner [Wed, 25 Apr 2012 23:27:18 +0000 (00:27 +0100)]
Expose single-runway query on airport.
James Turner [Wed, 25 Apr 2012 23:00:46 +0000 (00:00 +0100)]
Expose SGBucket index computation to Nasal.
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.
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)
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.
Frederic Bouvier [Tue, 24 Apr 2012 21:34:29 +0000 (23:34 +0200)]
Don't care about light volumes when picking in the scenegraph
Mathias Froehlich [Tue, 24 Apr 2012 21:23:09 +0000 (23:23 +0200)]
Fix explicit reference counting with waypoints and positions.
James Turner [Tue, 24 Apr 2012 21:12:56 +0000 (22:12 +0100)]
More search functions exposed to Nasal, also airport parking.
James Turner [Tue, 24 Apr 2012 09:53:46 +0000 (10:53 +0100)]
Expose waypoint source (airport/runway/navaid) to Nasal
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.
James Turner [Mon, 23 Apr 2012 22:04:59 +0000 (23:04 +0100)]
Nasal airport functions for various ancillary data pieces now work.
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.
James Turner [Mon, 23 Apr 2012 12:59:01 +0000 (13:59 +0100)]
Feature request for Syd - expose the ND view heading
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.
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?)
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.
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).
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.
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).
ThorstenB [Sat, 21 Apr 2012 07:38:41 +0000 (09:38 +0200)]
Minor clean-up.
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.
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.
ThorstenB [Wed, 18 Apr 2012 13:44:42 +0000 (15:44 +0200)]
Move another string to the language resource.
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".
James Turner [Wed, 18 Apr 2012 11:46:26 +0000 (12:46 +0100)]
Fix part of #263, --language option not working for --help.
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.
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
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.
ThorstenB [Sun, 15 Apr 2012 14:07:17 +0000 (16:07 +0200)]
Fix build for Linux, really.
;-)
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.
James Turner [Sun, 15 Apr 2012 13:20:03 +0000 (14:20 +0100)]
Fix build for non-Mac, hopefully.
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.
James Turner [Sun, 15 Apr 2012 12:21:12 +0000 (13:21 +0100)]
Make 2D panel mouse action repeat independent of the frame-rate.
James Turner [Sun, 15 Apr 2012 11:03:21 +0000 (12:03 +0100)]
Tweak ODGauge usage, fix multiple instances of NavDisplay or wxRadar.
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
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.
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.
James Turner [Wed, 11 Apr 2012 09:48:33 +0000 (10:48 +0100)]
NavDisplay: respect initial values for various properties.
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
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.
James Turner [Mon, 9 Apr 2012 11:17:38 +0000 (12:17 +0100)]
Whoops, fix a type found by Syd in the NavDisplay.
ThorstenB [Sun, 8 Apr 2012 16:49:11 +0000 (18:49 +0200)]
Add CMake option to disable building test applications.
ThorstenB [Sun, 8 Apr 2012 16:46:17 +0000 (18:46 +0200)]
Geoff McLane: Fix compile error due to missing include.
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.
ThorstenB [Sat, 7 Apr 2012 14:19:33 +0000 (16:19 +0200)]
Comment out some unused vars.
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.
Frederic Bouvier [Thu, 5 Apr 2012 21:30:38 +0000 (23:30 +0200)]
Restore splash screen for the Rembrandt renderer
ThorstenB [Thu, 5 Apr 2012 19:06:39 +0000 (21:06 +0200)]
YASim performance optimization
Use stashed property nodes.
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.
ThorstenB [Sun, 1 Apr 2012 14:04:12 +0000 (16:04 +0200)]
Add "--max-fps" option to limit frame rate.
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.
ThorstenB [Sat, 31 Mar 2012 16:19:14 +0000 (18:19 +0200)]
Avoid "using..." in header files.
ThorstenB [Sat, 31 Mar 2012 10:50:53 +0000 (12:50 +0200)]
Remove unused variables (moment/ias)
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
Frederic Bouvier [Wed, 4 Apr 2012 18:43:16 +0000 (20:43 +0200)]
Honor /sim/rendering/shadows/enabled preference
Frederic Bouvier [Tue, 3 Apr 2012 21:17:04 +0000 (23:17 +0200)]
Code cosmetic
Frederic Bouvier [Tue, 3 Apr 2012 06:41:28 +0000 (08:41 +0200)]
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
Frederic Bouvier [Mon, 2 Apr 2012 21:36:34 +0000 (23:36 +0200)]
Restore messages and fog draw order reverted in the previous commit
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 .
Frederic Bouvier [Sun, 1 Apr 2012 21:37:47 +0000 (23:37 +0200)]
Enable light source for transparent surfaces
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
Frederic Bouvier [Sat, 31 Mar 2012 20:50:38 +0000 (22:50 +0200)]
Make the shadow map available for effects
Frederic Bouvier [Sat, 31 Mar 2012 19:59:50 +0000 (21:59 +0200)]
Fix picking zone display