home *** CD-ROM | disk | FTP | other *** search
/ Amiga ACS 1998 #6 / amigaacscoverdisc1998-061998.iso / games / descent / source / main / endlevel.h < prev    next >
C/C++ Source or Header  |  1998-06-08  |  2KB  |  77 lines

  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.  
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
  12. */
  13. /*
  14.  * $Source: f:/miner/source/main/rcs/endlevel.h $
  15.  * $Revision: 2.0 $
  16.  * $Author: john $
  17.  * $Date: 1995/02/27 11:31:37 $
  18.  * 
  19.  * Header for newfile.c
  20.  * 
  21.  * $Log: endlevel.h $
  22.  * Revision 2.0  1995/02/27  11:31:37  john
  23.  * New version 2.0, which has no anonymous unions, builds with
  24.  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
  25.  * 
  26.  * Revision 1.5  1994/12/06  13:24:55  matt
  27.  * Made exit model come out of bitmaps.tbl
  28.  * 
  29.  * Revision 1.4  1994/11/19  12:41:35  matt
  30.  * Added system to read endlevel data from file, and to make it work
  31.  * with any exit tunnel.
  32.  * 
  33.  * Revision 1.3  1994/10/30  20:09:20  matt
  34.  * For endlevel: added big explosion at tunnel exit; made lights in tunnel 
  35.  * go out; made more explosions on walls.
  36.  * 
  37.  * Revision 1.2  1994/08/19  20:09:38  matt
  38.  * Added end-of-level cut scene with external scene
  39.  * 
  40.  * Revision 1.1  1994/08/15  19:18:47  matt
  41.  * Initial revision
  42.  * 
  43.  * 
  44.  */
  45.  
  46.  
  47.  
  48. #ifndef _OUTSIDE_H
  49. #define _OUTSIDE_H
  50.  
  51. #include "object.h"
  52.  
  53. extern int Endlevel_sequence;
  54.  
  55. start_endlevel_sequence();
  56. render_external_scene();
  57. void render_endlevel_frame(fix eye_offset);
  58. do_endlevel_frame();
  59. draw_exit_model();
  60. init_endlevel();
  61. stop_endlevel_sequence();
  62.  
  63.  
  64. extern vms_vector mine_exit_point;
  65. extern int exit_segnum;
  66. extern grs_bitmap *satellite_bitmap,*station_bitmap,*exit_bitmap,*terrain_bitmap;
  67.  
  68. extern object external_explosion;
  69. extern int ext_expl_playing;
  70.  
  71. //called for each level to load & setup the exit sequence
  72. load_endlevel_data(int level_num);
  73.  
  74. extern int exit_modelnum,destroyed_exit_modelnum;
  75.  
  76. #endif
  77.