Reduce ai.h includes

This commit is contained in:
Kp 2015-04-19 04:18:51 +00:00
parent 4e937ae239
commit 8582907b91
2 changed files with 3 additions and 5 deletions

View file

@ -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;

View file

@ -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