]> icculus.org git repositories - btb/d2x.git/blob - main/endlevel.h
fix 2nd part of bug 1067 (make d2x compatible with descent.pig of mac registered)
[btb/d2x.git] / main / endlevel.h
1 /* $Id: endlevel.h,v 1.6 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 newfile.c
18  *
19  * Old Log:
20  * Revision 1.2  1995/09/14  16:36:34  allender
21  * fixed function prototype for those functions that didn't
22  * have them...thanks matt
23  *
24  * Revision 1.1  1995/05/16  15:56:16  allender
25  * Initial revision
26  *
27  * Revision 2.0  1995/02/27  11:31:37  john
28  * New version 2.0, which has no anonymous unions, builds with
29  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
30  *
31  * Revision 1.5  1994/12/06  13:24:55  matt
32  * Made exit model come out of bitmaps.tbl
33  *
34  * Revision 1.4  1994/11/19  12:41:35  matt
35  * Added system to read endlevel data from file, and to make it work
36  * with any exit tunnel.
37  *
38  * Revision 1.3  1994/10/30  20:09:20  matt
39  * For endlevel: added big explosion at tunnel exit; made lights in tunnel
40  * go out; made more explosions on walls.
41  *
42  * Revision 1.2  1994/08/19  20:09:38  matt
43  * Added end-of-level cut scene with external scene
44  *
45  * Revision 1.1  1994/08/15  19:18:47  matt
46  * Initial revision
47  *
48  *
49  */
50
51 #ifndef _OUTSIDE_H
52 #define _OUTSIDE_H
53
54 #include "object.h"
55
56 extern int Endlevel_sequence;
57 void do_endlevel_frame();
58 void stop_endlevel_sequence();
59 void start_endlevel_sequence();
60 void render_endlevel_frame(fix eye_offset);
61
62 void render_external_scene();
63 void draw_exit_model();
64 void init_endlevel();
65
66 extern grs_bitmap *terrain_bitmap;  //*satellite_bitmap,*station_bitmap,
67 extern int exit_segnum;
68
69 //@@extern vms_vector mine_exit_point;
70 //@@extern object external_explosion;
71 //@@extern int ext_expl_playing;
72
73 //called for each level to load & setup the exit sequence
74 void load_endlevel_data(int level_num);
75
76 extern int exit_modelnum, destroyed_exit_modelnum;
77
78 #endif /* _OUTSIDE_H */