James Turner
79391f818c
Remove stale includes, use local ground-speed property.
2012-05-11 17:07:21 +01:00
ThorstenB
b91175d47a
Adapt logging level for some messages.
...
Also keep default logging level during very early startup at "alert"
(unless explicitly set on cmd-line).
2012-05-09 23:56:43 +02:00
James Turner
ec4f2f59c9
Airways routing is driven via Nasal now.
2012-05-09 09:39:33 +01:00
ThorstenB
de6ac7153d
Improve debug output
2012-05-08 23:04:53 +02:00
ThorstenB
0b7b0f16a8
Improve fgfs startup logging.
...
Establish log-level very, very early during startup, so debug/info/warning
messages in the very early fgfs startup phase are also shown.
2012-05-08 22:47:32 +02:00
James Turner
ea2c73e8b5
Expose airways via Nasal, and allow waypoint creation and deletion via Nasal too.
2012-05-08 21:06:28 +01:00
James Turner
8aeb650d16
On OS-X, used NSWorkspace to launch the browser.
2012-05-07 23:49:21 +01:00
James Turner
ff91fec1bb
Fix various route-manager issues reported by Hyde.
2012-05-07 23:48:56 +01:00
James Turner
5808ed1b62
Permit an invalid index to be set on a flight-plan.
2012-05-07 10:59:34 +01:00
Frederic Bouvier
71622dc3ca
SID is a predefined type under windows
2012-05-07 10:19:55 +02:00
James Turner
b092987656
Fix SID class ambiguity on Windows (clashes with winnt.h)
2012-05-07 00:59:28 +01:00
James Turner
1b7b69b498
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.
2012-05-07 00:35:48 +01:00
ThorstenB
563ed19f97
Add Windows-specific implementation to determine locale settings.
2012-05-06 23:15:27 +02:00
ThorstenB
e794bb8e25
Fix Linux compile / math dependency
...
wasn't redundant in one place
2012-05-05 12:16:20 +02:00
Frederic Bouvier
75fc136931
Remove redundant inclusion of math/SGMath.hxx
2012-05-05 11:20:04 +02:00
ThorstenB
3d45a2e5a2
Fix C compiler warning.
...
"no-overloaded-virtual" warnings are a CXX-compiler feature
2012-05-05 09:42:25 +02:00
ThorstenB
1f7b57546d
Fix Mac compile.
2012-05-05 09:41:23 +02:00
ThorstenB
c5ce8e29ca
Support localized menu on Mac/CocoaMenuBar.
2012-05-05 09:30:52 +02:00
ThorstenB
0f462d4a6e
Fix rpmlint/Linux packager complaints
...
about outdated/invalid FSF address in some license headers.
2012-05-05 01:42:41 +02:00
ThorstenB
b9260f543b
Ganael Laplanche: fix include dependencies for FreeBSD support
2012-05-05 01:08:20 +02:00
ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
a524e654f9
Fix rpmlint/Linux packager complaints
...
about outdated/invalid FSF address in some license headers.
2012-05-05 00:38:56 +02:00
ThorstenB
c808376927
Use separate header file for vector properties.
...
(We could drop the "SGMath.hxx" include in many places now...)
2012-05-05 00:12:41 +02:00
James Turner
84beec9325
TrafficManager - check model paths when loading schedules, and ignore schedules with a missing mode completely.
2012-05-03 11:05:37 +01:00
ThorstenB
645b0ae588
#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... ;-)
2012-05-02 23:50:07 +02:00
ThorstenB
d00cc33a2e
set correct file mode
...
More non-executable data files.
2012-05-02 23:26:42 +02:00
James Turner
ea73373109
Support PBD waypoints in procedures files.
...
http://code.google.com/p/flightgear-bugs/issues/detail?id=635
2012-05-02 22:09:41 +01:00
ThorstenB
efee6ad968
Update fgdata package script.
...
Update version. Add stub file from old 777 directory.
2012-05-02 22:54:27 +02:00
James Turner
1632c5b266
Add an auto-release pool wrapper to the Cocoa code
...
Hopefully this will address some warnings seen on Mac
2012-05-02 21:24:44 +01:00
ThorstenB
05588c2ee4
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.
2012-05-01 11:44:52 +02:00
ThorstenB
229fe3bff9
Support disabling AI traffic at run-time.
2012-05-01 10:32:30 +02:00
Frederic Bouvier
746b0d60cc
Add the ability to record depth in color buffer. This should solve depth buffer resolution problem for older NVidia cards.
2012-05-01 08:27:13 +02:00
ThorstenB
38ca3dda60
#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.
2012-04-30 19:44:11 +02:00
ThorstenB
3986e1fe3a
Add separate switch to enable/disable AI scenario support.
...
Switch is enabled automatically when scenarios are given on command-line.
2012-04-30 19:04:49 +02:00
ThorstenB
a2c2373758
#248 : support enabling AI module at run-time
...
Move /sim/ai/enabled check behind the MP enabled check.
2012-04-30 17:48:13 +02:00
ThorstenB
9b51c5e87e
#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.
2012-04-30 17:26:04 +02:00
ThorstenB
10d2d94778
Avoid compiler warnings.
...
Unsigned values are always >= 0...
2012-04-30 14:33:38 +02:00
ThorstenB
b8f61df80f
#734 : MP cannot be enabled without 'AI' module
...
Add and improve error messages.
2012-04-30 14:32:35 +02:00
Frederic Bouvier
44e672c256
16bit source type is overkill for 8bit normal buffer
2012-04-29 14:19:32 +02:00
Frederic Bouvier
da2110a544
Really initialize shadow cascades from the preferences
...
Reformat without tabs
2012-04-29 13:29:57 +02:00
James Turner
f4318044ef
And expose the published navaid range to Nasal, since we can.
2012-04-28 23:35:19 +01:00
James Turner
78afdb3c22
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.
2012-04-28 23:28:12 +01:00
James Turner
15724a6a44
NavDisplay: ignore case when matching symbol types in rules.
2012-04-28 22:39:55 +01:00
James Turner
a318baa9e2
Update some nasal-positioned code to use new ghost-member support
...
(Requires latest SimGear)
2012-04-28 22:33:13 +01:00
James Turner
2d267a5782
Remove PositionedBinding (which no one ever used), Nasal is better for this jobs.
2012-04-26 00:37:47 +01:00
James Turner
de975699fe
Expose single-runway query on airport.
2012-04-26 00:27:18 +01:00
James Turner
4d39882ab2
Expose SGBucket index computation to Nasal.
2012-04-26 00:00:46 +01:00
ThorstenB
89b41395d8
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.
2012-04-25 23:28:00 +02:00
ThorstenB
5683467d34
Abstract AP implementation base classes need a virtual destructor
...
(SGReferenced doesn't provide it)
2012-04-25 23:11:45 +02:00
James Turner
c5781546b9
Expose greatCircleMove to Nasal, and allow geo.Coord to be passed into methods.
2012-04-25 16:54:40 +01:00