Debian Codegraph @

common/main/titles.h

raw
1 /*
2 * Portions of this file are copyright Rebirth contributors and licensed as
3 * described in COPYING.txt.
4 * Portions of this file are copyright Parallax Software and licensed
5 * according to the Parallax license below.
6 * See COPYING.txt for license details.
7
8 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
9 SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
10 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
11 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
12 IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
13 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
14 FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
15 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
16 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
17 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
18 */
19
20 /*
21 *
22 * Header for titles.c
23 *
24 */
25
26 #pragma once
27
28 #include <cstdint>
29 #include "dxxsconf.h"
30 #include "dsx-ns.h"
31
32 namespace dcx {
33
34 struct d_fname;
35
36 }
37
38 #ifdef DXX_BUILD_DESCENT
39 namespace dsx {
40 extern void show_titles(void);
41 void do_briefing_screens(const d_fname &filename, int level_num);
42 void do_end_briefing_screens(const d_fname &filename);
43 }
44 #endif
45 extern char * get_briefing_screen( int level_num );
46 #ifdef DXX_BUILD_DESCENT
47 #if DXX_BUILD_DESCENT == 2
48 void show_loading_screen(uint8_t *title_pal);
49 extern void show_endgame_briefing(void);
50 namespace dsx {
51 extern int intro_played;
52 }
53 #endif
54 #endif