1 /**************************************************************************
2 * navaids.hpp -- navigation defines and prototypes
4 * Written by Charles Hotchkiss, started March 1998.
6 * Copyright (C) 1998 Charles Hotchkiss chotchkiss@namg.us.anritsu.com
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of the
11 * License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 * (Log is kept at end of this file)
24 **************************************************************************/
29 // Includes NDB and IMO Markers, base for all other navigational aids.
30 // The destructor is virtual to permit use of nav_aid pointers to derived
31 // classes, but is instantiable none the less.
32 // Assumes global pointer to current aircraft.
36 LRECT here_at; // Codes left = Long,
40 UINT frequency; // special coding
47 UNIT freq, UINT range,
48 const char *eye_dee, const char *MyName );
53 void update_status( void ); // Called by main loop?
55 bool in_range ( LRECT loc );
56 const char *pID ( void );
57 const char *pName ( void );
58 Cartestian Location ( void );
64 class ATIS_stn :: public nav_aid {
67 int *pref_rnwys; // prefered runway list;
71 bool set_message( const char *pmsg ); // MSFS coded message
83 // Includes VOR Stations. Base for Omni?
85 class DirBeacon :: public nav_aid{
90 int phase_angle( void );
91 int deflection ( void );
92 double ground_rate( void );
99 class ils_station :: public DirBeacon{
106 ULONG deflection( void );