Subversion Repositories Games.Descent

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 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 hostage.c
23
 *
24
 */
25
 
26
#pragma once
27
 
28
#ifdef __cplusplus
29
#include "fwd-object.h"
30
#include <array>
31
 
32
#define HOSTAGE_SIZE        i2f(5)  // 3d size of a hostage
33
 
34
#define MAX_HOSTAGE_TYPES   1       //only one hostage bitmap
35
#if defined(DXX_BUILD_DESCENT_I)
36
namespace dsx {
37
 
38
#if DXX_USE_EDITOR
39
int hostage_is_valid( int hostage_num );
40
#endif
41
}
42
#endif
43
 
44
namespace dcx {
45
 
46
extern unsigned N_hostage_types;
47
extern std::array<int, MAX_HOSTAGE_TYPES> Hostage_vclip_num;    // for each type of hostage
48
 
49
}
50
 
51
#ifdef dsx
52
namespace dsx {
53
void hostage_rescue();
54
}
55
#endif
56
 
57
#endif