]> icculus.org git repositories - btb/d2x.git/blob - main/menu.h
better error message when hog not found
[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                 #define Menu_pcx_name "menud.pcx"
34         #endif
35 #else
36         #ifdef D2_OEM
37                 #ifdef RELEASE
38                         #define Menu_pcx_name (MenuHires?"\x01menuob.pcx":"\x01menuo.pcx")      //read only from hog file
39                 #else
40                         #define Menu_pcx_name (MenuHires?"menuob.pcx":"menuo.pcx")              //name of background bitmap
41                 #endif
42         #else   //Full version
43                 #ifdef RELEASE
44                         #define Menu_pcx_name (MenuHires?"\x01menub.pcx":"\x01menu.pcx")        //read only from hog file
45                 #else
46                         #define Menu_pcx_name (MenuHires?"menub.pcx":"menu.pcx")                //name of background bitmap
47                 #endif
48         #endif
49 #endif
50
51 extern void set_detail_level_parameters(int detail_level);
52
53 extern char *menu_difficulty_text[];
54 extern int Player_default_difficulty;
55 extern int Max_debris_objects;
56 extern int Auto_leveling_on;
57 extern int Missile_view_enabled;
58 extern int Escort_view_enabled;
59 extern int Cockpit_rear_view;
60
61 #endif