Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix include paths.

  • Loading branch information...
commit e9a8f9900b7462900e4aa4a3056a7a1128584301 1 parent f2b1d38
@bnoordhuis authored
View
2  Makefile
@@ -12,7 +12,7 @@ CC=gcc
BASE_CFLAGS=-Dstricmp=strcasecmp
#use these cflags to optimize it
-CFLAGS=$(BASE_CFLAGS) -O3 -ffast-math -DLINUX -DBSPC
+CFLAGS=$(BASE_CFLAGS) -Ideps -O3 -ffast-math -DLINUX -DBSPC
#use these when debugging
#CFLAGS=$(BASE_CFLAGS) -g
View
2  aas_areamerging.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_create.h"
#include "aas_store.h"
View
8 aas_cfg.c
@@ -22,12 +22,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qbsp.h"
#include "float.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_store.h"
#include "aas_cfg.h"
-#include "../botlib/l_precomp.h"
-#include "../botlib/l_struct.h"
-#include "../botlib/l_libvar.h"
+#include "botlib/l_precomp.h"
+#include "botlib/l_struct.h"
+#include "botlib/l_libvar.h"
//structure field offsets
#define BBOX_OFS(x) (int)&(((aas_bbox_t *)0)->x)
View
4 aas_create.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_create.h"
#include "aas_store.h"
#include "aas_gsubdiv.h"
@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "aas_edgemelting.h"
#include "aas_prunenodes.h"
#include "aas_cfg.h"
-#include "../game/surfaceflags.h"
+#include "qcommon/surfaceflags.h"
//#define AW_DEBUG
//#define L_DEBUG
View
2  aas_edgemelting.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_create.h"
//===========================================================================
View
2  aas_facemerging.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_create.h"
//===========================================================================
View
2  aas_file.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_file.h"
#include "aas_store.h"
#include "aas_create.h"
View
2  aas_gsubdiv.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_create.h"
#include "aas_store.h"
#include "aas_cfg.h"
View
4 aas_map.c
@@ -22,10 +22,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qbsp.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h" //aas_bbox_t
+#include "botlib/aasfile.h" //aas_bbox_t
#include "aas_store.h" //AAS_MAX_BBOXES
#include "aas_cfg.h"
-#include "../game/surfaceflags.h"
+#include "qcommon/surfaceflags.h"
#define SPAWNFLAG_NOT_EASY 0x00000100
#define SPAWNFLAG_NOT_MEDIUM 0x00000200
View
2  aas_prunenodes.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_create.h"
int c_numprunes;
View
2  aas_store.c
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "qbsp.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_file.h"
#include "aas_store.h"
#include "aas_create.h"
View
4 aas_store.h
@@ -36,8 +36,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define AAS_MAX_CLUSTERS 65536
#define BSPCINCLUDE
-#include "../game/be_aas.h"
-#include "../botlib/be_aas_def.h"
+#include "botlib/be_aas.h"
+#include "botlib/be_aas_def.h"
/*
typedef struct bspc_aas_s
View
24 be_aas_bspc.c
@@ -20,18 +20,18 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
-#include "../game/q_shared.h"
-#include "../bspc/l_log.h"
-#include "../bspc/l_qfiles.h"
-#include "../botlib/l_memory.h"
-#include "../botlib/l_script.h"
-#include "../botlib/l_precomp.h"
-#include "../botlib/l_struct.h"
-#include "../botlib/aasfile.h"
-#include "../game/botlib.h"
-#include "../game/be_aas.h"
-#include "../botlib/be_aas_def.h"
-#include "../qcommon/cm_public.h"
+#include "qcommon/q_shared.h"
+#include "bspc/l_log.h"
+#include "bspc/l_qfiles.h"
+#include "botlib/l_memory.h"
+#include "botlib/l_script.h"
+#include "botlib/l_precomp.h"
+#include "botlib/l_struct.h"
+#include "botlib/aasfile.h"
+#include "botlib/botlib.h"
+#include "botlib/be_aas.h"
+#include "botlib/be_aas_def.h"
+#include "qcommon/cm_public.h"
//#define BSPC
View
2  brushbsp.c
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qbsp.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_store.h"
#include "aas_cfg.h"
View
6 bspc.c
@@ -33,9 +33,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#endif
#include "qbsp.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h"
-#include "../botlib/be_aas_cluster.h"
-#include "../botlib/be_aas_optimize.h"
+#include "botlib/aasfile.h"
+#include "botlib/be_aas_cluster.h"
+#include "botlib/be_aas_optimize.h"
#include "aas_create.h"
#include "aas_store.h"
#include "aas_file.h"
View
2  l_bsp_ent.c
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_math.h"
#include "l_mem.h"
#include "l_log.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "l_bsp_ent.h"
#define MAX_KEY 32
View
2  l_bsp_hl.c
@@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_math.h"
#include "l_mem.h"
#include "l_log.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "l_bsp_hl.h"
#include "l_bsp_ent.h"
View
2  l_bsp_q1.c
@@ -24,7 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_math.h"
#include "l_mem.h"
#include "l_log.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "l_bsp_q1.h"
#include "l_bsp_ent.h"
View
2  l_bsp_q2.c
@@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_mem.h"
#include "l_log.h"
#include "l_poly.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "q2files.h"
#include "l_bsp_q2.h"
#include "l_bsp_ent.h"
View
2  l_bsp_q3.c
@@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_mem.h"
#include "l_log.h"
#include "l_poly.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "l_qfiles.h"
#include "l_bsp_q3.h"
#include "l_bsp_ent.h"
View
2  l_bsp_sin.c
@@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_mem.h"
#include "l_log.h"
#include "l_poly.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "l_bsp_ent.h"
#include "l_bsp_sin.h"
View
2  l_qfiles.h
@@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
===========================================================================
*/
-#include "../qcommon/unzip.h"
+#include "qcommon/unzip.h"
#define QFILETYPE_UNKNOWN 0x8000
#define QFILETYPE_PAK 0x0001
View
2  map.c
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_bsp_q3.h"
#include "l_bsp_sin.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h" //aas_bbox_t
+#include "botlib/aasfile.h" //aas_bbox_t
#include "aas_store.h" //AAS_MAX_BBOXES
#include "aas_cfg.h"
View
2  map_q2.c
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qbsp.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h" //aas_bbox_t
+#include "botlib/aasfile.h" //aas_bbox_t
#include "aas_store.h" //AAS_MAX_BBOXES
#include "aas_cfg.h"
#include "aas_map.h" //AAS_CreateMapBrushes
View
6 map_q3.c
@@ -22,13 +22,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qbsp.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h" //aas_bbox_t
+#include "botlib/aasfile.h" //aas_bbox_t
#include "aas_store.h" //AAS_MAX_BBOXES
#include "aas_cfg.h"
#include "aas_map.h" //AAS_CreateMapBrushes
#include "l_bsp_q3.h"
-#include "../qcommon/cm_patch.h"
-#include "../game/surfaceflags.h"
+#include "qcommon/cm_patch.h"
+#include "qcommon/surfaceflags.h"
#define NODESTACKSIZE 1024
View
2  qbsp.h
@@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_math.h"
#include "l_poly.h"
#include "l_threads.h"
-#include "../botlib/l_script.h"
+#include "botlib/l_script.h"
#include "l_bsp_ent.h"
#include "q2files.h"
#include "l_mem.h"
View
2  tetrahedron.c
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "qbsp.h"
#include "l_mem.h"
-#include "../botlib/aasfile.h"
+#include "botlib/aasfile.h"
#include "aas_store.h"
#include "aas_cfg.h"
#include "aas_file.h"
Please sign in to comment.
Something went wrong with that request. Please try again.