dxx-rebirth/main/menu.h
md2211 d393f32eed * Removed executable flag on most files
* Reverted value of SOUND_MAX_VOLUME
2007-09-21 19:06:05 +00:00

163 lines
5.1 KiB
C

/*
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-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
*/
/*
* $Source: /cvsroot/dxx-rebirth/d1x-rebirth/main/menu.h,v $
* $Revision: 1.1.1.1 $
* $Author: zicodxx $
* $Date: 2006/03/17 19:43:27 $
*
* Menu prototypes and variables
*
* $Log: menu.h,v $
* Revision 1.1.1.1 2006/03/17 19:43:27 zicodxx
* initial import
*
* Revision 1.1.1.1 1999/06/14 22:12:35 donut
* Import of d1x 1.37 source.
*
* Revision 2.1 1995/03/06 16:47:41 mike
* destination saturn
*
* Revision 2.0 1995/02/27 11:29:47 john
* New version 2.0, which has no anonymous unions, builds with
* Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
*
* Revision 1.34 1994/12/12 00:16:16 john
* Added auto-leveling flag.
*
* Revision 1.33 1994/12/07 20:04:26 mike
* set Max_debris_objects.
*
* Revision 1.32 1994/11/14 17:23:19 rob
* ADded extern for default difficulty settings.
*
* Revision 1.31 1994/11/10 11:08:29 mike
* detail level stuff.
*
* Revision 1.30 1994/11/05 14:05:53 john
* Fixed fade transitions between all screens by making gr_palette_fade_in and out keep
* track of whether the palette is faded in or not. Then, wherever the code needs to fade out,
* it just calls gr_palette_fade_out and it will fade out if it isn't already. The same with fade_in.
* This eliminates the need for all the flags like Menu_fade_out, game_fade_in palette, etc.
*
* Revision 1.29 1994/11/02 11:59:44 john
* Moved menu out of game into inferno main loop.
*
* Revision 1.28 1994/10/17 20:30:59 john
* Made the text for the difficulty labels global so that
* the high score screen can print "rookie" or whatever.
*
* Revision 1.27 1994/10/04 10:47:09 matt
* Made main menu remember selected item
*
* Revision 1.26 1994/08/10 19:55:19 john
* Changed font stuff; Took out old menu; messed up lots of
* other stuff like game sequencing messages, etc.
*
* Revision 1.25 1994/06/23 18:54:09 matt
* Cleaned up game start/menu interaction, and improved main menu a little
*
* Revision 1.24 1994/06/21 12:11:50 yuan
* Fixed up menus and added HUDisplay messages.
*
* Revision 1.23 1994/06/20 23:15:16 yuan
* Color switching capability for the menus.
*
* Revision 1.22 1994/06/20 22:02:25 yuan
* Made menu GREEN by POPULAR DEMAND!!
*
* Revision 1.21 1994/06/20 21:05:48 yuan
* Fixed up menus.
*
* Revision 1.20 1994/06/20 19:19:29 yuan
* Tidied up the menu and the "message blocks" between levels, etc.
*
* Revision 1.19 1994/06/17 18:01:10 john
* A bunch of new stuff by John
*
* Revision 1.18 1994/05/16 09:37:22 matt
* Got rid of global continue_flag
*
* Revision 1.17 1994/05/14 17:14:51 matt
* Got rid of externs in source (non-header) files
*
* Revision 1.16 1994/05/10 12:14:26 yuan
* Game save/load... Demo levels 1-5 added...
* High scores fixed...
*
* Revision 1.15 1994/05/05 09:21:21 yuan
* *** empty log message ***
*
* Revision 1.14 1994/04/29 14:55:40 mike
* Change some menu colors.
*
* Revision 1.13 1994/04/28 18:04:36 yuan
* Gamesave added.
* Trigger problem fixed (seg pointer is replaced by index now.)
*
* Revision 1.12 1994/02/18 11:55:01 yuan
* Fixed menu to be called from game.
*
* Revision 1.11 1994/02/10 17:45:39 yuan
* Integrated some hacks which still need to be fixed.
*
* Revision 1.10 1994/02/01 22:50:23 yuan
* Final menu version for demo
*
* Revision 1.9 1994/02/01 11:50:17 yuan
* Moved quit message down just a tiny bit
*
* Revision 1.8 1994/01/31 17:30:16 yuan
* Fixed quit not disappearing problem
*
* Revision 1.7 1994/01/31 12:25:20 yuan
* New menu stuff
*
* Revision 1.6 1994/01/26 13:14:04 john
* *** empty log message ***
*
* Revision 1.5 1993/12/29 16:44:44 yuan
* Added some function definitions
*
* Revision 1.4 1993/12/13 18:53:12 yuan
* Fixed dependency problem
*
* Revision 1.3 1993/12/12 13:53:51 yuan
* Added menu and -g flag
*
* Revision 1.2 1993/12/10 16:07:17 yuan
* Working on menu system. Updated the title screen.
*
* Revision 1.1 1993/12/10 12:45:27 yuan
* Initial revision
*
*
*/
#ifndef _MENU_H
#define _MENU_H
//returns number of item chosen
extern int DoMenu();
extern void do_options_menu();
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;
#endif