Skip to content

Commit

Permalink
Fix include paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Nov 6, 2010
1 parent f2b1d38 commit e9a8f99
Show file tree
Hide file tree
Showing 27 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion aas_areamerging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
8 changes: 4 additions & 4 deletions aas_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions aas_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion aas_edgemelting.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

//===========================================================================
Expand Down
2 changes: 1 addition & 1 deletion aas_facemerging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

//===========================================================================
Expand Down
2 changes: 1 addition & 1 deletion aas_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion aas_gsubdiv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions aas_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion aas_prunenodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion aas_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions aas_store.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions be_aas_bspc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion brushbsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions bspc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion l_bsp_ent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion l_bsp_hl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion l_bsp_q1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion l_bsp_q2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion l_bsp_q3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion l_bsp_sin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion l_qfiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion map_q2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions map_q3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion qbsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tetrahedron.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e9a8f99

Please sign in to comment.