2 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
3 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
4 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
5 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
6 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
7 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
8 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
9 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
10 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
11 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
21 extern int ReadConfigFile(void);
22 extern int WriteConfigFile(void);
24 extern char config_last_player[CALLSIGN_LEN+1];
26 extern char config_last_mission[];
28 extern ubyte Config_digi_volume;
29 extern ubyte Config_midi_volume;
31 typedef struct ConfigInfoStruct
33 ubyte mDoNotDisplayOptions;
36 ubyte mDisableMIDIMusic;
37 ubyte mChangeResolution;
38 ubyte mDoNotPlayMovies;
41 ubyte mAcceleration; // allow RAVE level acceleration
42 ubyte mInputSprockets; // allow use of Input Sprocket devices
45 extern ConfigInfo gConfigInfo;
46 extern ubyte Config_master_volume;
48 extern ubyte Config_redbook_volume;
49 extern ubyte Config_control_type;
50 extern ubyte Config_channels_reversed;
51 extern ubyte Config_joystick_sensitivity;
53 //values for Config_control_type
54 #define CONTROL_NONE 0
55 #define CONTROL_JOYSTICK 1
56 #define CONTROL_FLIGHTSTICK_PRO 2
57 #define CONTROL_THRUSTMASTER_FCS 3
58 #define CONTROL_GRAVIS_GAMEPAD 4
59 #define CONTROL_MOUSE 5
60 #define CONTROL_CYBERMAN 6
61 #define CONTROL_WINJOYSTICK 7
63 #define CONTROL_MAX_TYPES 8