]> icculus.org git repositories - btb/d2x.git/blob - main/config.h
use the orientation parameter of g3_draw_bitmap
[btb/d2x.git] / main / config.h
1 /*
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.
12 */
13
14 /*
15  *
16  * prototype definitions for descent.cfg reading/writing
17  *
18  */
19
20
21 #ifndef _CONFIG_H
22 #define _CONFIG_H
23
24 #include "player.h"
25 #include "cvar.h"
26
27 extern int ReadConfigFile(void);
28 extern int WriteConfigFile(void);
29
30 extern cvar_t config_last_player;
31 extern cvar_t config_last_mission;
32
33 extern cvar_t Config_digi_volume;
34 extern cvar_t Config_midi_volume;
35 #ifdef MACINTOSH
36 typedef struct ConfigInfoStruct
37 {
38         ubyte   mDoNotDisplayOptions;
39         ubyte   mUse11kSounds;
40         ubyte   mDisableSound;
41         ubyte   mDisableMIDIMusic;
42         ubyte   mChangeResolution;
43         ubyte   mDoNotPlayMovies;
44         ubyte   mUserChoseQuit;
45         ubyte   mGameMonitor;
46         ubyte   mAcceleration;                          // allow RAVE level acceleration
47         ubyte   mInputSprockets;                        // allow use of Input Sprocket devices
48 } ConfigInfo;
49
50 extern ConfigInfo gConfigInfo;
51 extern ubyte Config_master_volume;
52 #endif
53 extern cvar_t Config_redbook_volume;
54 extern cvar_t Config_control_joystick;
55 extern cvar_t Config_control_mouse;
56 extern cvar_t Config_channels_reversed;
57 extern cvar_t Config_joystick_sensitivity[];
58 extern cvar_t Config_joystick_deadzone[];
59 extern cvar_t Config_mouse_sensitivity[];
60
61 #endif