Reduce ai.h includes
This commit is contained in:
parent
4e937ae239
commit
8582907b91
|
@ -28,18 +28,15 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
#include <cstddef>
|
||||
#include "dxxsconf.h"
|
||||
#include "fmtcheck.h"
|
||||
#if defined(DXX_BUILD_DESCENT_II)
|
||||
#include "fvi.h"
|
||||
#include "compiler-array.h"
|
||||
#endif
|
||||
|
||||
#define PARALLAX 0 // If !0, then special debugging info for Parallax eyes only enabled.
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include "pstypes.h"
|
||||
#if defined(DXX_BUILD_DESCENT_I) || defined(DXX_BUILD_DESCENT_II)
|
||||
#include "countarray.h"
|
||||
#include "vecmat.h"
|
||||
#include "aistruct.h"
|
||||
#endif
|
||||
|
||||
struct point_seg;
|
||||
struct vobjptr_t;
|
||||
|
|
|
@ -68,6 +68,7 @@ const array<ubyte, MAX_SECONDARY_WEAPONS> Secondary_weapon_to_weapon_info{{CONCU
|
|||
//for each Secondary weapon, which gun it fires out of
|
||||
const array<ubyte, MAX_SECONDARY_WEAPONS> Secondary_weapon_to_gun_num{{4,4,7,7,7}};
|
||||
#elif defined(DXX_BUILD_DESCENT_II)
|
||||
#include "fvi.h"
|
||||
const array<ubyte, MAX_PRIMARY_WEAPONS> Primary_weapon_to_weapon_info{{
|
||||
LASER_ID, VULCAN_ID, SPREADFIRE_ID, PLASMA_ID, FUSION_ID,
|
||||
SUPER_LASER_ID, GAUSS_ID, HELIX_ID, PHOENIX_ID, OMEGA_ID
|
||||
|
|
Loading…
Reference in a new issue