ENDLEVEL.H 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. #ifndef _OUTSIDE_H
  46. #define _OUTSIDE_H
  47. #include "object.h"
  48. extern int Endlevel_sequence;
  49. start_endlevel_sequence();
  50. render_external_scene();
  51. void render_endlevel_frame(fix eye_offset);
  52. do_endlevel_frame();
  53. draw_exit_model();
  54. init_endlevel();
  55. stop_endlevel_sequence();
  56. extern vms_vector mine_exit_point;
  57. extern int exit_segnum;
  58. extern grs_bitmap *satellite_bitmap,*station_bitmap,*exit_bitmap,*terrain_bitmap;
  59. extern object external_explosion;
  60. extern int ext_expl_playing;
  61. //called for each level to load & setup the exit sequence
  62. load_endlevel_data(int level_num);
  63. extern int exit_modelnum,destroyed_exit_modelnum;
  64. #endif