]> git.mxchange.org Git - flightgear.git/blob - Main/GLUTkey.hxx
LaRCsim maintains all it's variables internally. I had been copying all of
[flightgear.git] / Main / GLUTkey.hxx
1 /**************************************************************************
2  * GLUTkey.h -- handle GLUT keyboard events
3  *
4  * Written by Curtis Olson, started May 1997.
5  *
6  * Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7  *
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.
12  *
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.
17  *
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.
21  *
22  * $Id$
23  * (Log is kept at end of this file)
24  **************************************************************************/
25
26
27 #ifndef _GLUTKEY_H
28 #define _GLUTKEY_H
29
30
31 #ifndef __cplusplus                                                          
32 # error This library requires C++
33 #endif                                   
34
35
36 #ifdef HAVE_CONFIG_H
37 #  include <config.h>
38 #endif
39
40 #ifdef HAVE_WINDOWS_H
41 #  include <windows.h>                     
42 #endif
43
44 #include <GL/glut.h>
45 #include <XGL/xgl.h>
46
47
48 /* Handle keyboard events */
49 void GLUTkey(unsigned char k, int x, int y);
50 void GLUTspecialkey(int k, int x, int y);
51
52
53 #endif /* _GLUTKEY_H */
54
55
56 /* $Log$
57 /* Revision 1.2  1998/04/24 00:49:18  curt
58 /* Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
59 /* Trying out some different option parsing code.
60 /* Some code reorganization.
61 /*
62  * Revision 1.1  1998/04/22 13:25:41  curt
63  * C++ - ifing the code.
64  * Starting a bit of reorganization of lighting code.
65  *
66  * Revision 1.9  1998/04/21 17:02:36  curt
67  * Prepairing for C++ integration.
68  *
69  * Revision 1.8  1998/04/03 22:09:02  curt
70  * Converting to Gnu autoconf system.
71  *
72  * Revision 1.7  1998/02/12 21:59:44  curt
73  * Incorporated code changes contributed by Charlie Hotchkiss
74  * <chotchkiss@namg.us.anritsu.com>
75  *
76  * Revision 1.6  1998/01/22 02:59:36  curt
77  * Changed #ifdef FILE_H to #ifdef _FILE_H
78  *
79  * Revision 1.5  1997/07/23 21:52:23  curt
80  * Put comments around the text after an #endif for increased portability.
81  *
82  * Revision 1.4  1997/06/02 03:40:06  curt
83  * A tiny bit more view tweaking.
84  *
85  * Revision 1.3  1997/05/31 04:13:52  curt
86  * WE CAN NOW FLY!!!
87  *
88  * Continuing work on the LaRCsim flight model integration.
89  * Added some MSFS-like keyboard input handling.
90  *
91  * Revision 1.2  1997/05/23 15:40:25  curt
92  * Added GNU copyright headers.
93  * Fog now works!
94  *
95  * Revision 1.1  1997/05/21 15:57:51  curt
96  * Renamed due to added GLUT support.
97  *
98  * Revision 1.2  1997/05/17 00:17:34  curt
99  * Trying to stub in support for standard OpenGL.
100  *
101  * Revision 1.1  1997/05/16 16:05:53  curt
102  * Initial revision.
103  *
104  */