]> icculus.org git repositories - btb/d2x.git/blob - main/menu.h
don't need no more
[btb/d2x.git] / main / menu.h
1 /* $Id: menu.h,v 1.4 2002-08-22 19:18:13 btb Exp $ */
2 /*
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.
13 */
14
15
16 #ifndef _MENU_H
17 #define _MENU_H
18
19 //returns number of item chosen
20 extern int DoMenu();
21 extern void do_options_menu();
22
23 extern int MenuHires;
24
25 #ifdef RELEASE  //read only from hog file
26 #define MENU_PCX_SHAREWARE ("\x01menud.pcx")
27 #define MENU_PCX_OEM (MenuHires?"\x01menuob.pcx":"\x01menuo.pcx")
28 #define MENU_PCX_FULL (MenuHires?"\x01menub.pcx":"\x01menu.pcx")
29 #else
30 #define MENU_PCX_SHAREWARE ("menud.pcx")
31 #define MENU_PCX_OEM (MenuHires?"menuob.pcx":"menuo.pcx")
32 #define MENU_PCX_FULL (MenuHires?"menub.pcx":"menu.pcx")
33 #endif
34
35 //name of background bitmap
36 #define Menu_pcx_name (cfexist(MENU_PCX_FULL)?MENU_PCX_FULL:(cfexist(MENU_PCX_OEM)?MENU_PCX_OEM:MENU_PCX_SHAREWARE))
37
38 extern void set_detail_level_parameters(int detail_level);
39
40 extern char *menu_difficulty_text[];
41 extern int Player_default_difficulty;
42 extern int Max_debris_objects;
43 extern int Auto_leveling_on;
44 extern int Missile_view_enabled;
45 extern int Escort_view_enabled;
46 extern int Cockpit_rear_view;
47
48 #endif