2002-08-06 05:12:09 +00:00
|
|
|
/* $Id: menu.h,v 1.3 2002-08-06 05:12:09 btb Exp $ */
|
2001-01-19 03:30:16 +00:00
|
|
|
/*
|
|
|
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
|
|
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
|
|
|
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
|
|
|
|
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
|
|
|
|
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
|
|
|
|
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
|
|
|
|
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
|
|
|
|
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
|
2002-08-06 05:12:09 +00:00
|
|
|
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
|
2001-01-19 03:30:16 +00:00
|
|
|
COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _MENU_H
|
|
|
|
#define _MENU_H
|
|
|
|
|
|
|
|
//returns number of item chosen
|
|
|
|
extern int DoMenu();
|
|
|
|
extern void do_options_menu();
|
|
|
|
|
|
|
|
extern int MenuHires;
|
|
|
|
|
2002-08-06 05:12:09 +00:00
|
|
|
#if 0
|
2001-01-19 03:30:16 +00:00
|
|
|
#ifdef SHAREWARE
|
|
|
|
#ifdef RELEASE
|
|
|
|
#ifdef MACINTOSH
|
|
|
|
#define Menu_pcx_name "\x01menub.pcx" //read only from hog file
|
|
|
|
#else
|
|
|
|
#define Menu_pcx_name "\x01menud.pcx" //read only from hog file
|
|
|
|
#endif
|
|
|
|
#else
|
2001-11-08 10:30:28 +00:00
|
|
|
// #define Menu_pcx_name (MenuHires?"menub.pcx":"menud.pcx") //name of background bitmap
|
|
|
|
#define Menu_pcx_name "menud.pcx"
|
2001-01-19 03:30:16 +00:00
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#ifdef D2_OEM
|
|
|
|
#ifdef RELEASE
|
|
|
|
#define Menu_pcx_name (MenuHires?"\x01menuob.pcx":"\x01menuo.pcx") //read only from hog file
|
|
|
|
#else
|
|
|
|
#define Menu_pcx_name (MenuHires?"menuob.pcx":"menuo.pcx") //name of background bitmap
|
|
|
|
#endif
|
|
|
|
#else //Full version
|
|
|
|
#ifdef RELEASE
|
|
|
|
#define Menu_pcx_name (MenuHires?"\x01menub.pcx":"\x01menu.pcx") //read only from hog file
|
|
|
|
#else
|
|
|
|
#define Menu_pcx_name (MenuHires?"menub.pcx":"menu.pcx") //name of background bitmap
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
2002-08-06 05:12:09 +00:00
|
|
|
#else
|
|
|
|
#define Menu_pcx_name (MenuHires && cfexist("menub.pcx")?"menub.pcx":(cfexist("menu.pcx")?"menu.pcx":"menud.pcx"))
|
|
|
|
#endif
|
2001-01-19 03:30:16 +00:00
|
|
|
|
|
|
|
extern void set_detail_level_parameters(int detail_level);
|
|
|
|
|
|
|
|
extern char *menu_difficulty_text[];
|
|
|
|
extern int Player_default_difficulty;
|
|
|
|
extern int Max_debris_objects;
|
|
|
|
extern int Auto_leveling_on;
|
|
|
|
extern int Missile_view_enabled;
|
|
|
|
extern int Escort_view_enabled;
|
|
|
|
extern int Cockpit_rear_view;
|
|
|
|
|
|
|
|
#endif
|