Revert "Minor edit."
Minor edit.
Fix ADF bugs ... including still driving the needle when power off.
ATIS: revert to using inches globally by default.
ATIS improvements from John Denker
ATIS fixes from John Denker
ATIS: Slight tweak
ATIS: evaluate airport abbreviations case-insensitively
ATIS fixes/refactoring from John Denker
VC90 Project file changes
More fixes to the ATCDCL & ATC compilation
Remove the cmake ATCDCL conditional switch
Merge branch 'next' of gitorious.org:fg/flightgear into atcdcl
ATCDCL: Initialisation order fixes from John Denker.
ATCDCL: Remove some unused cruft.
Remove conditional compilation of ATCDCL
Remove more code only concerned with the depreciated interactive ATC/AI
Merge branch 'next' of gitorious.org:fg/flightgear into next
Remove legacy interactive tower and ground control
Removed legacy interactive approach ATC
Fix up some include paths in main.cxx
Merge branch 'next' of gitorious.org:fg/flightgear into next
KLN89: Move units configuration out of dclgps and into KLN89
KLN89: Add initial implemenation of ALT pages.
KLN89: Fix a tiny UI bug - don't draw the indicator bar on the DTO page
KLN89: Remove several bugs related to OBS mode
KLN89: Allow user to set default first char of waypoint as per real life unit.
Merge branch 'next' of gitorious.org:fg/flightgear into next
KLN89: Add user-adjustable minimum brightness setting.
KLN89: Move some KLN89 specific configuration from dclgps to kln89
KLN89: Fix ARINC 424 loader for airports with parallel runways.
Merge branch 'next' of gitorious.org:fg/flightgear into next
KLN89: Remove hardwired instrument approach, and add initial support for loading non-precision approaches from ARINC 424 format data. Currently fails on airports with multiple parallel runways.
Merge branch 'kln89' into next
KLN89: Small improvement to flightplan page: dash out invalid distances when entering a new waypoint
KLN89: Jump to the next position in the flightplan after waypoint entry, as per the real-life unit
KLN89: Fix small bug in FPL pages due to comparison against a negative quantity with unsigned variables
KLN89: Allow CLR to abort flightplan waypoint entry at the waypoint review page, as per the real-life unit
KLN89: Fix both incorrect behaviour and a segfault when deleting a partially-entered waypoint in the flightplan pages
KLN89: Fix some bugs in the flightplan page text entry. Basically, draw the text entry string instead of the dummy waypoint ID.
Merge branch 'kln89' into next
KLN89: Change to more meaningful function names, and always clear the buffer after drawing.
KLN89: Fix clipping bug affecting the KLN89 map page. Pixels and lines must be clipped when being put into the buffer, since the clip region may change before the buffer is rendered. Also, the wrong DrawPixel function was called from the oldDrawLine function.
KLN89: Round properly when converting map points to pixel locations
KLN89: Update obsolete email address
KLN89: Update obsolete email address
Clean up indentation and then replace tabs with spaces
Clarify comments
Enable correct DTO waypoint selection
Allow all approaches to be selected at airports with more than 3 approaches
Allow the DIR page to be exited properly using the inner knob
Make the comments about switching to the DIR page more useful
Remove the unecessary distinction between waypoints of the core approach and waypoints of the missed approach procedure
Expand SIAP idents as found in FAA ARINC dataset to the full approach name as shown on the approach chart and possibly the GPS
My non-precision approach model had been one or more IAFs and then a common core approach from the IF. In fact, there can be one or more initial approach routes from the IAFs to the IF, then the core approach. Replace the IAFs with initial approach routes. NOTE it is assumed in the code that there is a unique IAF per initial approach route.
Change one of the default flight plans to something more convenient for development. These will eventually all be removed from the code and read from preferences anyway.
Fix a crash where there is only 1 IAF in an approach
Remove the GPSPage base class, that only KLN89Page was derived from.
This innocuous looking typo was crashing the sim whenever an AI plane was asked to follow the user whilst the user was flying a circuit (non straight-in) approach
Implement the settable timer on the CAL3 page
Typo in the comments
Helipads don't have a number per end, so don't attempt to return a (broken) reverse rwy number
Selecting an approach from the active waypoint page was broken - should now be fixed
Add the MAXNI IAF to the C83 approach, and add a few guards against not finding the fixes in the data. I realise that tweaking a hard-coded approach seems daft when loading approach data from file is high on the TODO, but I'm using C83 as an example for a readme so it may as well match the published chart properly...
Reduce console output
Recent SimGear changes seem to require more additions of config.h to FG in order to compile on Cygwin
Oops - I think I introduced some dos line endings - this should fix it
A couple of hacks to fix cygwin compilation. These may not be the correct fix, but they prevent new cygwin users getting an almost instant compile error following make
The current_fixlist pointer is depreciated now that it is set in globals
Implement some of the inner-knob-out scan functionality. The waypoints of the active flightplan can now be scanned on the NAV4 page, and will become the default direct-to waypoint if dto is pressed whilst scan in on on the NAV4 page. Scan functionality on the waypoint pages is still TODO.
Remove some debugging output
Fix the crashes on mini-panel and panel-reload with the KLN89, by removing the multiple inheritance and using an empty shell instrument to forward draw commands from the panel to the complex gps subsystem.
Alex Romosan: Make GpsPage::GetId() pure virtual, and pass strings by reference not value
Alex Romosan: Pass strings by reference not value
Ignore generated files
Add support for a special-instrument xml attribute, which triggers loading of a know c++ hard-coded instrument. This has some ugliness that will need removing at some point. In particular, panel reload is broken for panels that include a special-instrument, since this triggers subsystem reload which is a fatal error. Note that this *only* affects panels that use a special-instrument - all other panels are unaffected
Build the KLN89 stuff...
Track added files
Code to extend FGs current GPS functionality to allow the simulation of a specific approach capable GPS. Eventually this file should be broken up and the code removed to other files, such as FGs current gps files
2D polygon drawing routines for a GPS instrument
kln89 user interface logical pages
kln89 GPS unit simulation
kln89 symbol table
Allow the nav radios to be slaved to a gps unit
Add a method to return a const pointer to the raw airport data, plus a couple of whitespace cleanups
General tidy up - add an extra ctor method, remove surplus defined constants, remove cout and iostream
Add a lower-bound type navaid lookup, and the ability to specify navaid type in the find nearest lookup, for the GPS code
Remove nav.hxx, which has been superceded by navrecord.hxx and is no longer used except by some old non-working test code
Add a lower-bound search function for fixes for GPS units with next-match database search capabilities
Fix property typo
Add a convienient ctor
Minor fix
Emergency fix for AI model loading - non existance of the piper model as in the latest base package crashes the program - add exception handler during load. Needs to be replaced with better AI aircraft loading logic at some point
Make sure the ATIS reports surface winds at airports above sea-level
Use the Transmit-Render functions for tower output instead of directly calling ATCdisplay. This is part of preparations for optionally handing the strings off to a TTS engine if required.
Fix a seg fault that could be caused if all no AI models were in existance. Ssg could then free the memory pointed to by our pointer behind our back, causing it to crash when next approaching a controlled airport requiring an AI model. Fix is to hold one ref to each model in the AIMgr at all times.
A few abs->fabs where we are passing a double in
Patch from Fred Bouvier to use multi-platform ul library from plib for directory searching instead of ifdefs
Round millibars to nearest whole number, and make inches default even in UK until the altimeter on the panel gets a millibar adjuster
Convert altimeter to millibars for the UK