1 /* $Id: config.h,v 1.2 2003-10-10 09:36:34 btb Exp $ */
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.
17 * prototype definitions for descent.cfg reading/writing
20 * Revision 1.3 1995/09/08 17:12:26 allender
21 * added modem tool stuff for prefs file
23 * Revision 1.2 1995/09/05 08:47:48 allender
26 * Revision 1.1 1995/05/16 15:55:23 allender
29 * Revision 2.0 1995/02/27 11:32:48 john
30 * New version 2.0, which has no anonymous unions, builds with
31 * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
33 * Revision 1.4 1995/02/11 16:20:06 john
34 * Added code to make the default mission be the one last played.
36 * Revision 1.3 1994/12/08 10:01:41 john
37 * Changed the way the player callsign stuff works.
39 * Revision 1.2 1994/11/14 17:53:17 allender
40 * extern definitions for ReadConfigFile and WriteConfigFile
42 * Revision 1.1 1994/11/14 16:56:17 allender
54 extern int ReadConfigFile(void);
55 extern int WriteConfigFile(void);
57 extern char config_last_player[CALLSIGN_LEN+1];
59 extern char config_last_mission[];
61 extern ubyte Config_digi_volume;
62 extern ubyte Config_midi_volume;
64 typedef struct ConfigInfoStruct
66 ubyte mDoNotDisplayOptions;
69 ubyte mDisableMIDIMusic;
70 ubyte mChangeResolution;
71 ubyte mDoNotPlayMovies;
74 ubyte mAcceleration; // allow RAVE level acceleration
75 ubyte mInputSprockets; // allow use of Input Sprocket devices
78 extern ConfigInfo gConfigInfo;
79 extern ubyte Config_master_volume;
81 extern ubyte Config_redbook_volume;
82 extern ubyte Config_control_type;
83 extern ubyte Config_channels_reversed;
84 extern ubyte Config_joystick_sensitivity;
86 //values for Config_control_type
87 #define CONTROL_NONE 0
88 #define CONTROL_JOYSTICK 1
89 #define CONTROL_FLIGHTSTICK_PRO 2
90 #define CONTROL_THRUSTMASTER_FCS 3
91 #define CONTROL_GRAVIS_GAMEPAD 4
92 #define CONTROL_MOUSE 5
93 #define CONTROL_CYBERMAN 6
94 #define CONTROL_WINJOYSTICK 7
96 #define CONTROL_MAX_TYPES 8