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 **************************************************************************/
28 // Includes NDB and IMO Markers, base for all other navigational aids.
29 // The destructor is virtual to permit use of nav_aid pointers to derived
30 // classes, but is instantiable none the less.
31 // Assumes global pointer to current aircraft.
35 LRECT here_at; // Codes left = Long,
39 UINT frequency; // special coding
46 UNIT freq, UINT range,
47 const char *eye_dee, const char *MyName );
52 void update_status( void ); // Called by main loop?
54 bool in_range ( LRECT loc );
55 const char *pID ( void );
56 const char *pName ( void );
57 Cartestian Location ( void );
63 class ATIS_stn :: public nav_aid {
66 int *pref_rnwys; // prefered runway list;
70 bool set_message( const char *pmsg ); // MSFS coded message
82 // Includes VOR Stations. Base for Omni?
84 class DirBeacon :: public nav_aid{
89 int phase_angle( void );
90 int deflection ( void );
91 double ground_rate( void );
98 class ils_station :: public DirBeacon{
105 ULONG deflection( void );