Subversion Repositories Games.Descent

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
/*
2
 * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
3
 * It is copyright by its individual contributors, as recorded in the
4
 * project's Git history.  See COPYING.txt at the top level for license
5
 * terms and a link to the Git history.
6
 */
7
#pragma once
8
 
9
#include <array>
10
#include <type_traits>
11
 
12
#include "dxxsconf.h"
13
#include "dsx-ns.h"
14
 
15
using std::array;
16
 
17
namespace dcx {
18
struct vclip;
19
extern unsigned Num_vclips;
20
}
21
 
22
#ifdef dsx
23
namespace dsx {
24
#if defined(DXX_BUILD_DESCENT_I)
25
#define VCLIP_MAXNUM    70
26
#elif defined(DXX_BUILD_DESCENT_II)
27
#define VCLIP_MAXNUM    110
28
#endif
29
 
30
using d_vclip_array = std::array<vclip, VCLIP_MAXNUM>;
31
extern d_vclip_array Vclip;
32
#undef VCLIP_MAXNUM
33
}
34
#endif