1 /* $Id: hostage.h,v 1.2 2003-10-10 09:36:35 btb Exp $ */
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.
17 * Header for hostage.c
20 * Revision 1.1 1995/05/16 15:57:57 allender
23 * Revision 2.0 1995/02/27 11:27:50 john
24 * New version 2.0, which has no anonymous unions, builds with
25 * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
27 * Revision 1.23 1995/01/15 19:42:06 matt
28 * Ripped out hostage faces for registered version
30 * Revision 1.22 1994/12/19 16:35:07 john
31 * Made hoastage playback end when ship dies.
33 * Revision 1.21 1994/11/30 17:22:12 matt
34 * Ripped out hostage faces in shareware version
36 * Revision 1.20 1994/11/19 19:53:43 matt
37 * Added code to full support different hostage head clip & message for
40 * Revision 1.19 1994/11/19 16:35:28 matt
41 * Got rid of unused code, & made an array smaller
43 * Revision 1.18 1994/10/23 02:10:57 matt
44 * Got rid of obsolete hostage_info stuff
46 * Revision 1.17 1994/09/20 00:10:37 matt
47 * Finished gauges for Status Bar, including hostage video display.
49 * Revision 1.16 1994/09/01 10:41:24 matt
50 * Sizes for powerups now specified in bitmaps.tbl; blob bitmaps now plot
51 * correctly if width & height of bitmap are different.
53 * Revision 1.15 1994/08/14 23:15:14 matt
54 * Added animating bitmap hostages, and cleaned up vclips a bit
56 * Revision 1.14 1994/07/14 22:06:51 john
57 * Fix radar/hostage vclip conflict.
59 * Revision 1.13 1994/07/14 22:05:41 john
60 * Made radar display not conflict with hostage
63 * Revision 1.12 1994/07/06 13:41:46 matt
64 * Added support for bitmap hostages
66 * Revision 1.11 1994/07/06 12:43:36 john
67 * Made generic messages for hostages.
69 * Revision 1.10 1994/07/06 10:55:09 john
70 * New structures for hostages.
72 * Revision 1.9 1994/07/05 12:48:47 john
73 * Put functionality of New Hostage spec into code.
75 * Revision 1.8 1994/07/01 17:55:14 john
76 * First version of not-working hostage system.
78 * Revision 1.7 1994/06/15 14:57:10 john
79 * Added triggers to demo recording.
81 * Revision 1.6 1994/06/08 18:15:49 john
82 * Bunch of new stuff that basically takes constants out of the code
83 * and puts them into bitmaps.tbl.
85 * Revision 1.5 1994/05/02 12:43:06 yuan
88 * Revision 1.4 1994/04/06 14:42:46 yuan
89 * Adding new powerups.
91 * Revision 1.3 1994/04/01 11:15:14 yuan
92 * Added multiple bitmap functionality to all objects...
93 * (hostages, powerups, lasers, etc.)
94 * Hostages and powerups are implemented in the object system,
95 * just need to finish function call to "affect" player.
97 * Revision 1.2 1994/03/31 12:04:35 matt
98 * Added prototypes for 2 funcs
100 * Revision 1.1 1994/03/31 11:39:24 matt
110 //@@#include "vclip.h"
112 #define HOSTAGE_SIZE i2f(5) // 3d size of a hostage
114 #define MAX_HOSTAGE_TYPES 1 //only one hostage bitmap
116 extern int N_hostage_types;
118 extern int Hostage_vclip_num[MAX_HOSTAGE_TYPES]; // for each type of hostage
120 void draw_hostage(object *obj);
121 void hostage_rescue(int hostage_num);
123 #endif /* _HOSTAGE_H */