]> icculus.org git repositories - btb/d2x.git/blob - main/joydefs.h
implement repair centers
[btb/d2x.git] / main / joydefs.h
1 /* $Id: joydefs.h,v 1.3 2003-10-10 09:36:35 btb Exp $ */
2 /*
3 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
4 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
5 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
6 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
7 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
8 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
9 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
10 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
11 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
12 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
13 */
14
15 /*
16  *
17  * Variables for joystick settings.
18  *
19  * Old Log:
20  * Revision 2.0  1995/02/27  11:32:12  john
21  * New version 2.0, which has no anonymous unions, builds with
22  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
23  *
24  * Revision 1.12  1995/01/25  14:37:52  john
25  * Made joystick only prompt for calibration once...
26  *
27  * Revision 1.11  1994/10/13  11:35:43  john
28  * Made Thrustmaster FCS Hat work.  Put a background behind the
29  * keyboard configure.  Took out turn_sensitivity.  Changed sound/config
30  * menu to new menu. Made F6 be calibrate joystick.
31  *
32  * Revision 1.10  1994/09/10  15:46:49  john
33  * First version of new keyboard configuration.
34  *
35  * Revision 1.9  1994/09/06  14:51:29  john
36  * Added sensitivity adjustment, fixed bug with joystick button not
37  * staying down.
38  *
39  * Revision 1.8  1994/08/31  12:56:29  john
40  * *** empty log message ***
41  *
42  * Revision 1.7  1994/08/30  16:37:07  john
43  * Added menu options to set controls.
44  *
45  * Revision 1.6  1994/08/29  21:18:33  john
46  * First version of new keyboard/oystick remapping stuff.
47  *
48  * Revision 1.5  1994/08/24  19:00:30  john
49  * Changed key_down_time to return fixed seconds instead of
50  * milliseconds.
51  *
52  * Revision 1.4  1994/08/17  16:50:04  john
53  * Added damaging fireballs, missiles.
54  *
55  * Revision 1.3  1994/07/01  10:55:18  john
56  * Added analog joystick throttle
57  *
58  * Revision 1.2  1994/06/30  20:04:46  john
59  * Added -joydef support.
60  *
61  * Revision 1.1  1994/06/30  18:08:12  john
62  * Initial revision
63  *
64  *
65  */
66
67
68 #ifndef _JOYDEFS_H
69 #define _JOYDEFS_H
70
71 void joydefs_calibrate();
72 void joydefs_config();
73
74 extern int joydefs_calibrate_flag;
75
76 #ifdef MACINTOSH
77 extern void joydefs_set_type(ubyte type);
78 #endif
79
80 #endif /* _JOYDEFS_H */