]> icculus.org git repositories - btb/d2x.git/blob - main/titles.h
Visual C, PocketPC fixes
[btb/d2x.git] / main / titles.h
1 /* $Id: titles.h,v 1.3 2003-10-10 09:36:35 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  *
17  * Header for titles.c
18  *
19  * Old Log:
20  * Revision 2.0  1995/02/27  11:27:40  john
21  * New version 2.0, which has no anonymous unions, builds with
22  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
23  *
24  * Revision 1.12  1995/02/02  12:23:29  john
25  * Made between level saves have picture.
26  *
27  * Revision 1.11  1995/01/21  16:27:11  matt
28  * Made endlevel briefing work with missions
29  *
30  * Revision 1.10  1995/01/20  22:48:02  matt
31  * Mission system implemented, though imcompletely
32  *
33  * Revision 1.9  1994/12/07  19:14:07  matt
34  * Kill briefing screen disable switch for release version
35  *
36  * Revision 1.8  1994/11/21  16:40:24  matt
37  * Added prototype
38  *
39  * Revision 1.7  1994/11/05  14:05:54  john
40  * Fixed fade transitions between all screens by making gr_palette_fade_in and out keep
41  * track of whether the palette is faded in or not.  Then, wherever the code needs to fade out,
42  * it just calls gr_palette_fade_out and it will fade out if it isn't already.  The same with fade_in.
43  * This eliminates the need for all the flags like Menu_fade_out, game_fade_in palette, etc.
44  *
45  * Revision 1.6  1994/11/01  17:57:48  mike
46  * Briefing screens.
47  *
48  * Revision 1.5  1994/10/31  22:28:04  mike
49  * briefing screens
50  *
51  * Revision 1.4  1994/09/16  16:14:31  john
52  * Added acrade sequencing.
53  *
54  * Revision 1.3  1994/06/22  00:26:53  matt
55  * Added support for Interplay's animating title sequence
56  *
57  * Revision 1.2  1994/06/17  12:13:36  john
58  * More newdemo stuff; made editor->game transition start in slew mode.
59  *
60  * Revision 1.1  1994/06/17  10:50:12  john
61  * Initial revision
62  *
63  *
64  */
65
66 #ifndef _TITLES_H
67 #define _TITLES_H
68
69 #ifndef RELEASE
70 extern int      Skip_briefing_screens;
71 #else
72 #define Skip_briefing_screens 0
73 #endif
74
75 // Descent 1 briefings
76 extern char Briefing_text_filename[13];
77 extern char Ending_text_filename[13];
78
79 extern int show_title_screen( char * filename, int allow_keys, int from_hog_only );
80 extern int show_briefing_screen( char * filename, int allow_keys );
81 extern void show_title_flick(char *name, int allow_keys );
82 extern void do_briefing_screens(char *filename,int level_num);
83 extern char * get_briefing_screen( int level_num );
84
85 extern void show_endgame_briefing(void);
86
87 #endif