]> icculus.org git repositories - btb/d2x.git/blob - main/menu.h
Enable d1x-style hud_message
[btb/d2x.git] / main / menu.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 #ifndef _MENU_H
16 #define _MENU_H
17
18 //returns number of item chosen
19 extern int DoMenu();
20 extern void do_options_menu();
21
22 extern int MenuHires;
23
24 #ifdef SHAREWARE
25         #ifdef RELEASE
26                 #ifdef MACINTOSH
27                         #define Menu_pcx_name "\x01menub.pcx"   //read only from hog file
28                 #else
29                         #define Menu_pcx_name "\x01menud.pcx"   //read only from hog file
30                 #endif
31         #else
32                 #define Menu_pcx_name (MenuHires?"menub.pcx":"menud.pcx")       //name of background bitmap
33         #endif
34 #else
35         #ifdef D2_OEM
36                 #ifdef RELEASE
37                         #define Menu_pcx_name (MenuHires?"\x01menuob.pcx":"\x01menuo.pcx")      //read only from hog file
38                 #else
39                         #define Menu_pcx_name (MenuHires?"menuob.pcx":"menuo.pcx")              //name of background bitmap
40                 #endif
41         #else   //Full version
42                 #ifdef RELEASE
43                         #define Menu_pcx_name (MenuHires?"\x01menub.pcx":"\x01menu.pcx")        //read only from hog file
44                 #else
45                         #define Menu_pcx_name (MenuHires?"menub.pcx":"menu.pcx")                //name of background bitmap
46                 #endif
47         #endif
48 #endif
49
50 extern void set_detail_level_parameters(int detail_level);
51
52 extern char *menu_difficulty_text[];
53 extern int Player_default_difficulty;
54 extern int Max_debris_objects;
55 extern int Auto_leveling_on;
56 extern int Missile_view_enabled;
57 extern int Escort_view_enabled;
58 extern int Cockpit_rear_view;
59
60 #endif