48 lines
1.7 KiB
C
48 lines
1.7 KiB
C
/* $Id: menu.h,v 1.1.1.1 2006/03/17 19:56:12 zicodxx Exp $ */
|
|
/*
|
|
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
|
|
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
|
|
COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|
*/
|
|
|
|
/*
|
|
*
|
|
* Menu prototypes and variables
|
|
*
|
|
*/
|
|
|
|
#ifndef _MENU_H
|
|
#define _MENU_H
|
|
|
|
// returns number of item chosen
|
|
extern int DoMenu();
|
|
extern void do_options_menu();
|
|
extern void d2x_options_menu();
|
|
|
|
#define MENU_PCX_MAC_SHARE ("menub.pcx")
|
|
#define MENU_PCX_SHAREWARE ("menud.pcx")
|
|
#define MENU_PCX_OEM (HiresGFX?"menuob.pcx":"menuo.pcx")
|
|
#define MENU_PCX_FULL (HiresGFX?"menub.pcx":"menu.pcx")
|
|
|
|
// name of background bitmap
|
|
#define Menu_pcx_name (cfexist(MENU_PCX_FULL)?MENU_PCX_FULL:(cfexist(MENU_PCX_OEM)?MENU_PCX_OEM:cfexist(MENU_PCX_SHAREWARE)?MENU_PCX_SHAREWARE:MENU_PCX_MAC_SHARE))
|
|
|
|
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 /* _MENU_H */
|