1 /**************************************************************************
2 * cockpit.hxx -- cockpit defines and prototypes (initial draft)
4 * Written by Michele America, started September 1997.
6 * Copyright (C) 1997 Michele F. America - nomimarketing@mail.telepac.pt
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 **************************************************************************/
32 # error This library requires C++
39 // Class fg_Cockpit This class is a holder for the heads up display
40 // and is initialized with a
47 fg_Cockpit () : Code(1), Status(0) {};
48 int code ( void ) { return Code; }
49 int status( void ) { return Status; }
53 typedef fg_Cockpit * pCockpit;
55 bool fgCockpitInit( fgAIRCRAFT *cur_aircraft );
56 void fgCockpitUpdate( void );
59 #endif /* _COCKPIT_HXX */
63 /* Revision 1.4 1998/07/13 21:00:46 curt
64 /* Integrated Charlies latest HUD updates.
65 /* Wrote access functions for current fgOPTIONS.
67 * Revision 1.3 1998/06/27 16:47:54 curt
68 * Incorporated Friedemann Reinhard's <mpt218@faupt212.physik.uni-erlangen.de>
69 * first pass at an isntrument panel.
71 * Revision 1.2 1998/05/11 18:13:10 curt
72 * Complete C++ rewrite of all cockpit code by Charlie Hotchkiss.
74 * Revision 1.1 1998/04/24 00:45:55 curt
75 * C++-ifing the code a bit.
77 * Revision 1.8 1998/04/22 13:26:19 curt
78 * C++ - ifing the code a bit.
80 * Revision 1.7 1998/04/21 17:02:34 curt
81 * Prepairing for C++ integration.
83 * Revision 1.6 1998/02/07 15:29:33 curt
84 * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
85 * <chotchkiss@namg.us.anritsu.com>
87 * Revision 1.5 1998/01/22 02:59:29 curt
88 * Changed #ifdef FILE_H to #ifdef _FILE_H
90 * Revision 1.4 1998/01/19 19:27:01 curt
91 * Merged in make system changes from Bob Kuehne <rpk@sgi.com>
92 * This should simplify things tremendously.
94 * Revision 1.3 1998/01/19 18:40:19 curt
95 * Tons of little changes to clean up the code and to remove fatal errors
96 * when building with the c++ compiler.
98 * Revision 1.2 1997/12/10 22:37:39 curt
99 * Prepended "fg" on the name of all global structures that didn't have it yet.
100 * i.e. "struct WEATHER {}" became "struct fgWEATHER {}"
102 * Revision 1.1 1997/08/29 18:03:21 curt