From 64412b83d24be559897511501788f0d13cde5361 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Thu, 2 Feb 2012 12:29:15 +0000 Subject: [PATCH] Add qbsp3, qrad3 and qvis3 --- Makefile | 95 +- src/bsp/bsp.mak | 1776 -------------------------------- src/bsp/qbsp3/gldraw.c | 232 ----- src/bsp/qbsp3/makefile | 98 -- src/bsp/qrad3/makefile | 77 -- src/bsp/qvis3/makefile | 62 -- src/{bsp => }/qbsp3/brushbsp.c | 0 src/{bsp => }/qbsp3/csg.c | 0 src/{bsp => }/qbsp3/faces.c | 0 src/{bsp => }/qbsp3/glfile.c | 0 src/{bsp => }/qbsp3/leakfile.c | 0 src/{bsp => }/qbsp3/map.c | 0 src/{bsp => }/qbsp3/nodraw.c | 0 src/{bsp => }/qbsp3/portals.c | 0 src/{bsp => }/qbsp3/prtfile.c | 0 src/{bsp => }/qbsp3/qbsp.h | 0 src/{bsp => }/qbsp3/qbsp3.c | 0 src/{bsp => }/qbsp3/textures.c | 0 src/{bsp => }/qbsp3/tree.c | 0 src/{bsp => }/qbsp3/writebsp.c | 0 src/{bsp => }/qrad3/lightmap.c | 0 src/{bsp => }/qrad3/patches.c | 0 src/{bsp => }/qrad3/qrad.h | 0 src/{bsp => }/qrad3/qrad3.c | 0 src/{bsp => }/qrad3/trace.c | 0 src/{bsp => }/qvis3/flow.c | 14 +- src/{bsp => }/qvis3/qvis3.c | 9 - src/{bsp => }/qvis3/vis.h | 0 28 files changed, 100 insertions(+), 2263 deletions(-) delete mode 100644 src/bsp/bsp.mak delete mode 100644 src/bsp/qbsp3/gldraw.c delete mode 100644 src/bsp/qbsp3/makefile delete mode 100644 src/bsp/qrad3/makefile delete mode 100644 src/bsp/qvis3/makefile rename src/{bsp => }/qbsp3/brushbsp.c (100%) rename src/{bsp => }/qbsp3/csg.c (100%) rename src/{bsp => }/qbsp3/faces.c (100%) rename src/{bsp => }/qbsp3/glfile.c (100%) rename src/{bsp => }/qbsp3/leakfile.c (100%) rename src/{bsp => }/qbsp3/map.c (100%) rename src/{bsp => }/qbsp3/nodraw.c (100%) rename src/{bsp => }/qbsp3/portals.c (100%) rename src/{bsp => }/qbsp3/prtfile.c (100%) rename src/{bsp => }/qbsp3/qbsp.h (100%) rename src/{bsp => }/qbsp3/qbsp3.c (100%) rename src/{bsp => }/qbsp3/textures.c (100%) rename src/{bsp => }/qbsp3/tree.c (100%) rename src/{bsp => }/qbsp3/writebsp.c (100%) rename src/{bsp => }/qrad3/lightmap.c (100%) rename src/{bsp => }/qrad3/patches.c (100%) rename src/{bsp => }/qrad3/qrad.h (100%) rename src/{bsp => }/qrad3/qrad3.c (100%) rename src/{bsp => }/qrad3/trace.c (100%) rename src/{bsp => }/qvis3/flow.c (97%) rename src/{bsp => }/qvis3/qvis3.c (98%) rename src/{bsp => }/qvis3/vis.h (100%) diff --git a/Makefile b/Makefile index 9bd362c..35cf262 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ endif # ---------- # Builds everything -all: bspinfo qdata +all: bspinfo qbsp3 qdata qrad3 qvis3 # ---------- @@ -107,6 +107,45 @@ build/bspinfo/%.o: %.c # ---------- +# qbsp3 +qbsp3: + @echo '===> Building qbsp3' + ${Q}mkdir -p release + $(MAKE) release/qbsp3 + +build/qbsp3/%.o: %.c + @echo '===> CC $<' + ${Q}mkdir -p $(@D) + ${Q}$(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< + +# ---------- + +# qrad3 +qrad3: + @echo '===> Building qrad3' + ${Q}mkdir -p release + $(MAKE) release/qrad3 + +build/qrad3/%.o: %.c + @echo '===> CC $<' + ${Q}mkdir -p $(@D) + ${Q}$(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< + +# ---------- + +# qvis3 +qvis3: + @echo '===> Building qvis3' + ${Q}mkdir -p release + $(MAKE) release/qvis3 + +build/qvis3/%.o: %.c + @echo '===> CC $<' + ${Q}mkdir -p $(@D) + ${Q}$(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $< + +# ---------- + # common stuff build/common/%.o: %.c @echo '===> CC $<' @@ -132,6 +171,34 @@ COMMON_OBJS_ = \ BSPINFO_OBJS_ = \ src/bspinfo/bspinfo.o +# Used by qbsp3 +QBSP_OBJS_ = \ + src/qbsp3/brushbsp.o \ + src/qbsp3/csg.o \ + src/qbsp3/faces.o \ + src/qbsp3/glfile.o \ + src/qbsp3/leakfile.o \ + src/qbsp3/map.o \ + src/qbsp3/nodraw.o \ + src/qbsp3/portals.o \ + src/qbsp3/prtfile.o \ + src/qbsp3/qbsp3.o \ + src/qbsp3/textures.o \ + src/qbsp3/tree.o \ + src/qbsp3/writebsp.o + +# Used by qrad3 +QRAD_OBJS_ = \ + src/qrad3/lightmap.o \ + src/qrad3/patches.o \ + src/qrad3/qrad3.o \ + src/qrad3/trace.o + +# Used by qvis3 +QVIS_OBJS_ = \ + src/qvis3/flow.o \ + src/qvis3/qvis3.o + # Used by qdata QDATA_OBJS_ = \ src/qdata/images.o \ @@ -145,7 +212,10 @@ QDATA_OBJS_ = \ # Rewrite pathes to our object directory COMMON_OBJS = $(patsubst %,build/common/%,$(COMMON_OBJS_)) -BSPINFO_OBJS = $(patsubst %,build/common/%,$(BSPINFO_OBJS_)) +BSPINFO_OBJS = $(patsubst %,build/bspinfo/%,$(BSPINFO_OBJS_)) +QBSP_OBJS = $(patsubst %,build/qbsp3/%,$(QBSP_OBJS_)) +QRAD_OBJS = $(patsubst %,build/qrad3/%,$(QRAD_OBJS_)) +QVIS_OBJS = $(patsubst %,build/qvis3/%,$(QVIS_OBJS_)) QDATA_OBJS = $(patsubst %,build/qdata/%,$(QDATA_OBJS_)) # ---------- @@ -153,12 +223,18 @@ QDATA_OBJS = $(patsubst %,build/qdata/%,$(QDATA_OBJS_)) # Generate header dependencies COMMON_DEPS= $(COMMON_OBJS:.o=.d) BSPINFO_DEPS= $(BSPINFO_OBJS:.o=.d) +QBSP_DEPS= $(QBSP_OBJS:.o=.d) +QRAD_DEPS= $(QRAD_OBJS:.o=.d) +QVIS_DEPS= $(QVIS_OBJS:.o=.d) QDATA_DEPS= $(QDATA_OBJS:.o=.d) # ---------- -include $(COMMON_DEPS) -include $(BSPINFO_DEPS) +-include $(QBSP_DEPS) +-include $(QRAD_DEPS) +-include $(QVIS_DEPS) -include $(QDATA_DEPS) # ---------- @@ -173,3 +249,18 @@ release/bspinfo : $(COMMON_OBJS) $(BSPINFO_OBJS) @echo '===> LD $@' ${Q}$(CC) $(COMMON_OBJS) $(BSPINFO_OBJS) $(LDFLAGS) -o $@ +# release/qbsp3 +release/qbsp3 : $(COMMON_OBJS) $(QBSP_OBJS) + @echo '===> LD $@' + ${Q}$(CC) $(COMMON_OBJS) $(QBSP_OBJS) $(LDFLAGS) -o $@ + +# release/qrad3 +release/qrad3 : $(COMMON_OBJS) $(QRAD_OBJS) + @echo '===> LD $@' + ${Q}$(CC) $(COMMON_OBJS) $(QRAD_OBJS) $(LDFLAGS) -o $@ + +# release/qvis3 +release/qvis3 : $(COMMON_OBJS) $(QVIS_OBJS) + @echo '===> LD $@' + ${Q}$(CC) $(COMMON_OBJS) $(QVIS_OBJS) $(LDFLAGS) -o $@ + diff --git a/src/bsp/bsp.mak b/src/bsp/bsp.mak deleted file mode 100644 index 17218de..0000000 --- a/src/bsp/bsp.mak +++ /dev/null @@ -1,1776 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -!IF "$(CFG)" == "" -CFG=bspinfo3 - Win32 Debug -!MESSAGE No configuration specified. Defaulting to bspinfo3 - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "bsp - Win32 Release" && "$(CFG)" != "bsp - Win32 Debug" &&\ - "$(CFG)" != "qbsp3 - Win32 Release" && "$(CFG)" != "qbsp3 - Win32 Debug" &&\ - "$(CFG)" != "qvis3 - Win32 Release" && "$(CFG)" != "qvis3 - Win32 Debug" &&\ - "$(CFG)" != "qrad3 - Win32 Release" && "$(CFG)" != "qrad3 - Win32 Debug" &&\ - "$(CFG)" != "bspinfo3 - Win32 Release" && "$(CFG)" != "bspinfo3 - Win32 Debug" -!MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "bsp.mak" CFG="bspinfo3 - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "bsp - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "bsp - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "qbsp3 - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "qbsp3 - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "qvis3 - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "qvis3 - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "qrad3 - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "qrad3 - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "bspinfo3 - Win32 Release" (based on\ - "Win32 (x86) Console Application") -!MESSAGE "bspinfo3 - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "bspinfo3 - Win32 Debug" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "bsp - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -OUTDIR=.\Release -INTDIR=.\Release - -ALL : - -CLEAN : - -@erase - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\ - "_CONSOLE" /Fp"$(INTDIR)/bsp.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/bsp.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:no /pdb:"$(OUTDIR)/bsp.pdb" /machine:I386\ - /out:"$(OUTDIR)/bsp.exe" -LINK32_OBJS= \ - - -!ELSEIF "$(CFG)" == "bsp - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -OUTDIR=.\Debug -INTDIR=.\Debug - -ALL : - -CLEAN : - -@erase - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/bsp.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/bsp.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/bsp.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/bsp.exe" -LINK32_OBJS= \ - - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "qbsp3\Release" -# PROP BASE Intermediate_Dir "qbsp3\Release" -# PROP BASE Target_Dir "qbsp3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "qbsp3\Release" -# PROP Intermediate_Dir "qbsp3\Release" -# PROP Target_Dir "qbsp3" -OUTDIR=.\qbsp3\Release -INTDIR=.\qbsp3\Release - -ALL : "$(OUTDIR)\qbsp3.exe" - -CLEAN : - -@erase "$(INTDIR)\brushbsp.obj" - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\csg.obj" - -@erase "$(INTDIR)\faces.obj" - -@erase "$(INTDIR)\gldraw.obj" - -@erase "$(INTDIR)\glfile.obj" - -@erase "$(INTDIR)\lbmlib.obj" - -@erase "$(INTDIR)\leakfile.obj" - -@erase "$(INTDIR)\map.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\polylib.obj" - -@erase "$(INTDIR)\portals.obj" - -@erase "$(INTDIR)\prtfile.obj" - -@erase "$(INTDIR)\qbsp3.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\textures.obj" - -@erase "$(INTDIR)\threads.obj" - -@erase "$(INTDIR)\tree.obj" - -@erase "$(INTDIR)\writebsp.obj" - -@erase "$(OUTDIR)\qbsp3.exe" - -@erase "$(OUTDIR)\qbsp3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\ - "_CONSOLE" /Fp"$(INTDIR)/qbsp3.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\qbsp3\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/qbsp3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:no /pdb:"$(OUTDIR)/qbsp3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/qbsp3.exe" -LINK32_OBJS= \ - "$(INTDIR)\brushbsp.obj" \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\csg.obj" \ - "$(INTDIR)\faces.obj" \ - "$(INTDIR)\gldraw.obj" \ - "$(INTDIR)\glfile.obj" \ - "$(INTDIR)\lbmlib.obj" \ - "$(INTDIR)\leakfile.obj" \ - "$(INTDIR)\map.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\polylib.obj" \ - "$(INTDIR)\portals.obj" \ - "$(INTDIR)\prtfile.obj" \ - "$(INTDIR)\qbsp3.obj" \ - "$(INTDIR)\scriplib.obj" \ - "$(INTDIR)\textures.obj" \ - "$(INTDIR)\threads.obj" \ - "$(INTDIR)\tree.obj" \ - "$(INTDIR)\writebsp.obj" - -"$(OUTDIR)\qbsp3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "qbsp3\Debug" -# PROP BASE Intermediate_Dir "qbsp3\Debug" -# PROP BASE Target_Dir "qbsp3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "qbsp3\Debug" -# PROP Intermediate_Dir "qbsp3\Debug" -# PROP Target_Dir "qbsp3" -OUTDIR=.\qbsp3\Debug -INTDIR=.\qbsp3\Debug - -ALL : "$(OUTDIR)\qbsp3.exe" - -CLEAN : - -@erase "$(INTDIR)\brushbsp.obj" - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\csg.obj" - -@erase "$(INTDIR)\faces.obj" - -@erase "$(INTDIR)\gldraw.obj" - -@erase "$(INTDIR)\glfile.obj" - -@erase "$(INTDIR)\lbmlib.obj" - -@erase "$(INTDIR)\leakfile.obj" - -@erase "$(INTDIR)\map.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\polylib.obj" - -@erase "$(INTDIR)\portals.obj" - -@erase "$(INTDIR)\prtfile.obj" - -@erase "$(INTDIR)\qbsp3.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\textures.obj" - -@erase "$(INTDIR)\threads.obj" - -@erase "$(INTDIR)\tree.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(INTDIR)\writebsp.obj" - -@erase "$(OUTDIR)\qbsp3.exe" - -@erase "$(OUTDIR)\qbsp3.ilk" - -@erase "$(OUTDIR)\qbsp3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/qbsp3.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\qbsp3\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/qbsp3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/qbsp3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/qbsp3.exe" -LINK32_OBJS= \ - "$(INTDIR)\brushbsp.obj" \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\csg.obj" \ - "$(INTDIR)\faces.obj" \ - "$(INTDIR)\gldraw.obj" \ - "$(INTDIR)\glfile.obj" \ - "$(INTDIR)\lbmlib.obj" \ - "$(INTDIR)\leakfile.obj" \ - "$(INTDIR)\map.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\polylib.obj" \ - "$(INTDIR)\portals.obj" \ - "$(INTDIR)\prtfile.obj" \ - "$(INTDIR)\qbsp3.obj" \ - "$(INTDIR)\scriplib.obj" \ - "$(INTDIR)\textures.obj" \ - "$(INTDIR)\threads.obj" \ - "$(INTDIR)\tree.obj" \ - "$(INTDIR)\writebsp.obj" - -"$(OUTDIR)\qbsp3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "qvis3 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "qvis3\Release" -# PROP BASE Intermediate_Dir "qvis3\Release" -# PROP BASE Target_Dir "qvis3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "qvis3\Release" -# PROP Intermediate_Dir "qvis3\Release" -# PROP Target_Dir "qvis3" -OUTDIR=.\qvis3\Release -INTDIR=.\qvis3\Release - -ALL : "$(OUTDIR)\qvis3.exe" - -CLEAN : - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\flow.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\qvis3.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\threads.obj" - -@erase "$(OUTDIR)\qvis3.exe" - -@erase "$(OUTDIR)\qvis3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\ - "_CONSOLE" /Fp"$(INTDIR)/qvis3.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\qvis3\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/qvis3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:no /pdb:"$(OUTDIR)/qvis3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/qvis3.exe" -LINK32_OBJS= \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\flow.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\qvis3.obj" \ - "$(INTDIR)\scriplib.obj" \ - "$(INTDIR)\threads.obj" - -"$(OUTDIR)\qvis3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "qvis3 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "qvis3\Debug" -# PROP BASE Intermediate_Dir "qvis3\Debug" -# PROP BASE Target_Dir "qvis3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "qvis3\Debug" -# PROP Intermediate_Dir "qvis3\Debug" -# PROP Target_Dir "qvis3" -OUTDIR=.\qvis3\Debug -INTDIR=.\qvis3\Debug - -ALL : "$(OUTDIR)\qvis3.exe" - -CLEAN : - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\flow.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\qvis3.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\threads.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\qvis3.exe" - -@erase "$(OUTDIR)\qvis3.ilk" - -@erase "$(OUTDIR)\qvis3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/qvis3.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\qvis3\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/qvis3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/qvis3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/qvis3.exe" -LINK32_OBJS= \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\flow.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\qvis3.obj" \ - "$(INTDIR)\scriplib.obj" \ - "$(INTDIR)\threads.obj" - -"$(OUTDIR)\qvis3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "qrad3 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "qrad3\Release" -# PROP BASE Intermediate_Dir "qrad3\Release" -# PROP BASE Target_Dir "qrad3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "qrad3\Release" -# PROP Intermediate_Dir "qrad3\Release" -# PROP Target_Dir "qrad3" -OUTDIR=.\qrad3\Release -INTDIR=.\qrad3\Release - -ALL : "$(OUTDIR)\qrad3.exe" - -CLEAN : - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\lbmlib.obj" - -@erase "$(INTDIR)\lightmap.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\patches.obj" - -@erase "$(INTDIR)\polylib.obj" - -@erase "$(INTDIR)\qrad3.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\threads.obj" - -@erase "$(INTDIR)\trace.obj" - -@erase "$(OUTDIR)\qrad3.exe" - -@erase "$(OUTDIR)\qrad3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\ - "_CONSOLE" /Fp"$(INTDIR)/qrad3.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\qrad3\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/qrad3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:no /pdb:"$(OUTDIR)/qrad3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/qrad3.exe" -LINK32_OBJS= \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\lbmlib.obj" \ - "$(INTDIR)\lightmap.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\patches.obj" \ - "$(INTDIR)\polylib.obj" \ - "$(INTDIR)\qrad3.obj" \ - "$(INTDIR)\scriplib.obj" \ - "$(INTDIR)\threads.obj" \ - "$(INTDIR)\trace.obj" - -"$(OUTDIR)\qrad3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "qrad3 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "qrad3\Debug" -# PROP BASE Intermediate_Dir "qrad3\Debug" -# PROP BASE Target_Dir "qrad3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "qrad3\Debug" -# PROP Intermediate_Dir "qrad3\Debug" -# PROP Target_Dir "qrad3" -OUTDIR=.\qrad3\Debug -INTDIR=.\qrad3\Debug - -ALL : "$(OUTDIR)\qrad3.exe" - -CLEAN : - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\lbmlib.obj" - -@erase "$(INTDIR)\lightmap.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\patches.obj" - -@erase "$(INTDIR)\polylib.obj" - -@erase "$(INTDIR)\qrad3.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\threads.obj" - -@erase "$(INTDIR)\trace.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\qrad3.exe" - -@erase "$(OUTDIR)\qrad3.ilk" - -@erase "$(OUTDIR)\qrad3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/qrad3.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\qrad3\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/qrad3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/qrad3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/qrad3.exe" -LINK32_OBJS= \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\lbmlib.obj" \ - "$(INTDIR)\lightmap.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\patches.obj" \ - "$(INTDIR)\polylib.obj" \ - "$(INTDIR)\qrad3.obj" \ - "$(INTDIR)\scriplib.obj" \ - "$(INTDIR)\threads.obj" \ - "$(INTDIR)\trace.obj" - -"$(OUTDIR)\qrad3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "bspinfo3 - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "bspinfo3\Release" -# PROP BASE Intermediate_Dir "bspinfo3\Release" -# PROP BASE Target_Dir "bspinfo3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "bspinfo3\Release" -# PROP Intermediate_Dir "bspinfo3\Release" -# PROP Target_Dir "bspinfo3" -OUTDIR=.\bspinfo3\Release -INTDIR=.\bspinfo3\Release - -ALL : "$(OUTDIR)\bspinfo3.exe" - -CLEAN : - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\bspinfo3.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(OUTDIR)\bspinfo3.exe" - -@erase "$(OUTDIR)\bspinfo3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /GX /Zd /O2 /I "..\common" /D "WIN32" /D "NDEBUG" /D\ - "_CONSOLE" /Fp"$(INTDIR)/bspinfo3.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\bspinfo3\Release/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/bspinfo3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:no /pdb:"$(OUTDIR)/bspinfo3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/bspinfo3.exe" -LINK32_OBJS= \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\bspinfo3.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\scriplib.obj" - -"$(OUTDIR)\bspinfo3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "bspinfo3 - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "bspinfo3\Debug" -# PROP BASE Intermediate_Dir "bspinfo3\Debug" -# PROP BASE Target_Dir "bspinfo3" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "bspinfo3\Debug" -# PROP Intermediate_Dir "bspinfo3\Debug" -# PROP Target_Dir "bspinfo3" -OUTDIR=.\bspinfo3\Debug -INTDIR=.\bspinfo3\Debug - -ALL : "$(OUTDIR)\bspinfo3.exe" - -CLEAN : - -@erase "$(INTDIR)\bspfile.obj" - -@erase "$(INTDIR)\bspinfo3.obj" - -@erase "$(INTDIR)\cmdlib.obj" - -@erase "$(INTDIR)\mathlib.obj" - -@erase "$(INTDIR)\scriplib.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\bspinfo3.exe" - -@erase "$(OUTDIR)\bspinfo3.ilk" - -@erase "$(OUTDIR)\bspinfo3.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MT /W3 /Gm /GX /Zi /Od /I "..\common" /D "WIN32" /D "_DEBUG"\ - /D "_CONSOLE" /Fp"$(INTDIR)/bspinfo3.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/"\ - /c -CPP_OBJS=.\bspinfo3\Debug/ -CPP_SBRS=.\. -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/bspinfo3.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -# ADD LINK32 wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 -LINK32_FLAGS=wsock32.lib opengl32.lib glaux.lib glu32.lib kernel32.lib\ - user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib\ - ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo\ - /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/bspinfo3.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)/bspinfo3.exe" -LINK32_OBJS= \ - "$(INTDIR)\bspfile.obj" \ - "$(INTDIR)\bspinfo3.obj" \ - "$(INTDIR)\cmdlib.obj" \ - "$(INTDIR)\mathlib.obj" \ - "$(INTDIR)\scriplib.obj" - -"$(OUTDIR)\bspinfo3.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< - -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "bsp - Win32 Release" -# Name "bsp - Win32 Debug" - -!IF "$(CFG)" == "bsp - Win32 Release" - -!ELSEIF "$(CFG)" == "bsp - Win32 Debug" - -!ENDIF - -# End Target -################################################################################ -# Begin Target - -# Name "qbsp3 - Win32 Release" -# Name "qbsp3 - Win32 Debug" - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\writebsp.c - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -DEP_CPP_WRITE=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\writebsp.obj" : $(SOURCE) $(DEP_CPP_WRITE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -DEP_CPP_WRITE=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\writebsp.obj" : $(SOURCE) $(DEP_CPP_WRITE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\brushbsp.c -DEP_CPP_BRUSH=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\brushbsp.obj" : $(SOURCE) $(DEP_CPP_BRUSH) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\csg.c -DEP_CPP_CSG_C=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\csg.obj" : $(SOURCE) $(DEP_CPP_CSG_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\faces.c -DEP_CPP_FACES=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\faces.obj" : $(SOURCE) $(DEP_CPP_FACES) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\gldraw.c - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -DEP_CPP_GLDRA=\ - ".\qbsp3\qbsp.h"\ - {$(INCLUDE)}"\gl\GL.H"\ - {$(INCLUDE)}"\gl\GLAUX.H"\ - {$(INCLUDE)}"\gl\GLU.H"\ - - -"$(INTDIR)\gldraw.obj" : $(SOURCE) $(DEP_CPP_GLDRA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -DEP_CPP_GLDRA=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - {$(INCLUDE)}"\gl\GL.H"\ - {$(INCLUDE)}"\gl\GLAUX.H"\ - {$(INCLUDE)}"\gl\GLU.H"\ - - -"$(INTDIR)\gldraw.obj" : $(SOURCE) $(DEP_CPP_GLDRA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\glfile.c - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -DEP_CPP_GLFIL=\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\glfile.obj" : $(SOURCE) $(DEP_CPP_GLFIL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -DEP_CPP_GLFIL=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\glfile.obj" : $(SOURCE) $(DEP_CPP_GLFIL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\leakfile.c - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -DEP_CPP_LEAKF=\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\leakfile.obj" : $(SOURCE) $(DEP_CPP_LEAKF) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -DEP_CPP_LEAKF=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\leakfile.obj" : $(SOURCE) $(DEP_CPP_LEAKF) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\map.c -DEP_CPP_MAP_C=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\map.obj" : $(SOURCE) $(DEP_CPP_MAP_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\portals.c -DEP_CPP_PORTA=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\portals.obj" : $(SOURCE) $(DEP_CPP_PORTA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\prtfile.c -DEP_CPP_PRTFI=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\prtfile.obj" : $(SOURCE) $(DEP_CPP_PRTFI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\qbsp.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\qbsp3.c -DEP_CPP_QBSP3=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\qbsp3.obj" : $(SOURCE) $(DEP_CPP_QBSP3) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\textures.c -DEP_CPP_TEXTU=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\textures.obj" : $(SOURCE) $(DEP_CPP_TEXTU) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qbsp3\tree.c -DEP_CPP_TREE_=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - "..\common\threads.h"\ - ".\qbsp3\qbsp.h"\ - - -"$(INTDIR)\tree.obj" : $(SOURCE) $(DEP_CPP_TREE_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\threads.c -DEP_CPP_THREA=\ - "..\common\cmdlib.h"\ - "..\common\threads.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\threads.obj" : $(SOURCE) $(DEP_CPP_THREA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\cmdlib.c -DEP_CPP_CMDLI=\ - "..\common\cmdlib.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\lbmlib.c -DEP_CPP_LBMLI=\ - "..\common\cmdlib.h"\ - "..\common\lbmlib.h"\ - - -"$(INTDIR)\lbmlib.obj" : $(SOURCE) $(DEP_CPP_LBMLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\mathlib.c -DEP_CPP_MATHL=\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - - -"$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\polylib.c -DEP_CPP_POLYL=\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - - -"$(INTDIR)\polylib.obj" : $(SOURCE) $(DEP_CPP_POLYL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\scriplib.c -DEP_CPP_SCRIP=\ - "..\common\cmdlib.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\scriplib.obj" : $(SOURCE) $(DEP_CPP_SCRIP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\bspfile.c -DEP_CPP_BSPFI=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\threads.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\cmdlib.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\lbmlib.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\mathlib.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\polylib.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\scriplib.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\bspfile.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\qfiles.h - -!IF "$(CFG)" == "qbsp3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qbsp3 - Win32 Debug" - -!ENDIF - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "qvis3 - Win32 Release" -# Name "qvis3 - Win32 Debug" - -!IF "$(CFG)" == "qvis3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qvis3 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\qvis3\vis.h - -!IF "$(CFG)" == "qvis3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qvis3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qvis3\qvis3.c -DEP_CPP_QVIS3=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - "..\common\threads.h"\ - ".\qvis3\vis.h"\ - - -"$(INTDIR)\qvis3.obj" : $(SOURCE) $(DEP_CPP_QVIS3) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qvis3\flow.c -DEP_CPP_FLOW_=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - ".\qvis3\vis.h"\ - - -"$(INTDIR)\flow.obj" : $(SOURCE) $(DEP_CPP_FLOW_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\cmdlib.c -DEP_CPP_CMDLI=\ - "..\common\cmdlib.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\mathlib.c -DEP_CPP_MATHL=\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - - -"$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\scriplib.c -DEP_CPP_SCRIP=\ - "..\common\cmdlib.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\scriplib.obj" : $(SOURCE) $(DEP_CPP_SCRIP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\threads.c -DEP_CPP_THREA=\ - "..\common\cmdlib.h"\ - "..\common\threads.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\threads.obj" : $(SOURCE) $(DEP_CPP_THREA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\bspfile.c -DEP_CPP_BSPFI=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "qrad3 - Win32 Release" -# Name "qrad3 - Win32 Debug" - -!IF "$(CFG)" == "qrad3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qrad3 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\qrad3\patches.c -DEP_CPP_PATCH=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\lbmlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\threads.h"\ - ".\qrad3\qrad.h"\ - - -"$(INTDIR)\patches.obj" : $(SOURCE) $(DEP_CPP_PATCH) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qrad3\lightmap.c -DEP_CPP_LIGHT=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\lbmlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\threads.h"\ - ".\qrad3\qrad.h"\ - - -"$(INTDIR)\lightmap.obj" : $(SOURCE) $(DEP_CPP_LIGHT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qrad3\qrad.h - -!IF "$(CFG)" == "qrad3 - Win32 Release" - -!ELSEIF "$(CFG)" == "qrad3 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qrad3\qrad3.c -DEP_CPP_QRAD3=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\lbmlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - "..\common\qfiles.h"\ - "..\common\threads.h"\ - ".\qrad3\qrad.h"\ - - -"$(INTDIR)\qrad3.obj" : $(SOURCE) $(DEP_CPP_QRAD3) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qrad3\trace.c -DEP_CPP_TRACE=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - - -"$(INTDIR)\trace.obj" : $(SOURCE) $(DEP_CPP_TRACE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\threads.c -DEP_CPP_THREA=\ - "..\common\cmdlib.h"\ - "..\common\threads.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\threads.obj" : $(SOURCE) $(DEP_CPP_THREA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\cmdlib.c -DEP_CPP_CMDLI=\ - "..\common\cmdlib.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\mathlib.c -DEP_CPP_MATHL=\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - - -"$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\polylib.c -DEP_CPP_POLYL=\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\polylib.h"\ - - -"$(INTDIR)\polylib.obj" : $(SOURCE) $(DEP_CPP_POLYL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\scriplib.c -DEP_CPP_SCRIP=\ - "..\common\cmdlib.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\scriplib.obj" : $(SOURCE) $(DEP_CPP_SCRIP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\bspfile.c -DEP_CPP_BSPFI=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\lbmlib.c -DEP_CPP_LBMLI=\ - "..\common\cmdlib.h"\ - "..\common\lbmlib.h"\ - - -"$(INTDIR)\lbmlib.obj" : $(SOURCE) $(DEP_CPP_LBMLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "bspinfo3 - Win32 Release" -# Name "bspinfo3 - Win32 Debug" - -!IF "$(CFG)" == "bspinfo3 - Win32 Release" - -!ELSEIF "$(CFG)" == "bspinfo3 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\bspinfo3\bspinfo3.c -DEP_CPP_BSPIN=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - - -"$(INTDIR)\bspinfo3.obj" : $(SOURCE) $(DEP_CPP_BSPIN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\mathlib.c -DEP_CPP_MATHL=\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - - -"$(INTDIR)\mathlib.obj" : $(SOURCE) $(DEP_CPP_MATHL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\cmdlib.c -DEP_CPP_CMDLI=\ - "..\common\cmdlib.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ - - -"$(INTDIR)\cmdlib.obj" : $(SOURCE) $(DEP_CPP_CMDLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\bspfile.c -DEP_CPP_BSPFI=\ - "..\common\bspfile.h"\ - "..\common\cmdlib.h"\ - "..\common\mathlib.h"\ - "..\common\qfiles.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\bspfile.obj" : $(SOURCE) $(DEP_CPP_BSPFI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=..\common\scriplib.c -DEP_CPP_SCRIP=\ - "..\common\cmdlib.h"\ - "..\common\scriplib.h"\ - - -"$(INTDIR)\scriplib.obj" : $(SOURCE) $(DEP_CPP_SCRIP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ diff --git a/src/bsp/qbsp3/gldraw.c b/src/bsp/qbsp3/gldraw.c deleted file mode 100644 index 08ab9c4..0000000 --- a/src/bsp/qbsp3/gldraw.c +++ /dev/null @@ -1,232 +0,0 @@ -/* -=========================================================================== -Copyright (C) 1997-2006 Id Software, Inc. - -This file is part of Quake 2 Tools source code. - -Quake 2 Tools source code is free software; you can redistribute it -and/or modify it under the terms of the GNU General Public License as -published by the Free Software Foundation; either version 2 of the License, -or (at your option) any later version. - -Quake 2 Tools source code is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Quake 2 Tools source code; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -=========================================================================== -*/ - -#include -#include -#include -#include - -#include "qbsp.h" - -// can't use the glvertex3fv functions, because the vec3_t fields -// could be either floats or doubles, depending on DOUBLEVEC_T - -qboolean drawflag; -vec3_t draw_mins, draw_maxs; - - -#define WIN_SIZE 512 - -void InitWindow (void) -{ - auxInitDisplayMode (AUX_SINGLE | AUX_RGB); - auxInitPosition (0, 0, WIN_SIZE, WIN_SIZE); - auxInitWindow ("qcsg"); -} - -void Draw_ClearWindow (void) -{ - static int init; - int w, h, g; - vec_t mx, my; - - if (!drawflag) - return; - - if (!init) - { - init = true; - InitWindow (); - } - - glClearColor (1,0.8,0.8,0); - glClear (GL_COLOR_BUFFER_BIT); - - w = (draw_maxs[0] - draw_mins[0]); - h = (draw_maxs[1] - draw_mins[1]); - - mx = draw_mins[0] + w/2; - my = draw_mins[1] + h/2; - - g = w > h ? w : h; - - glLoadIdentity (); - gluPerspective (90, 1, 2, 16384); - gluLookAt (mx, my, draw_maxs[2] + g/2, mx , my, draw_maxs[2], 0, 1, 0); - - glColor3f (0,0,0); -// glPolygonMode (GL_FRONT_AND_BACK, GL_LINE); - glPolygonMode (GL_FRONT_AND_BACK, GL_FILL); - glDisable (GL_DEPTH_TEST); - glEnable (GL_BLEND); - glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - -#if 0 - glColor4f (1,0,0,0.5); - glBegin (GL_POLYGON); - - glVertex3f (0, 500, 0); - glVertex3f (0, 900, 0); - glVertex3f (0, 900, 100); - glVertex3f (0, 500, 100); - - glEnd (); -#endif - - glFlush (); - -} - -void Draw_SetRed (void) -{ - if (!drawflag) - return; - - glColor3f (1,0,0); -} - -void Draw_SetGrey (void) -{ - if (!drawflag) - return; - - glColor3f (0.5,0.5,0.5); -} - -void Draw_SetBlack (void) -{ - if (!drawflag) - return; - - glColor3f (0,0,0); -} - -void DrawWinding (winding_t *w) -{ - int i; - - if (!drawflag) - return; - - glColor4f (0,0,0,0.5); - glBegin (GL_LINE_LOOP); - for (i=0 ; inumpoints ; i++) - glVertex3f (w->p[i][0],w->p[i][1],w->p[i][2] ); - glEnd (); - - glColor4f (0,1,0,0.3); - glBegin (GL_POLYGON); - for (i=0 ; inumpoints ; i++) - glVertex3f (w->p[i][0],w->p[i][1],w->p[i][2] ); - glEnd (); - - glFlush (); -} - -void DrawAuxWinding (winding_t *w) -{ - int i; - - if (!drawflag) - return; - - glColor4f (0,0,0,0.5); - glBegin (GL_LINE_LOOP); - for (i=0 ; inumpoints ; i++) - glVertex3f (w->p[i][0],w->p[i][1],w->p[i][2] ); - glEnd (); - - glColor4f (1,0,0,0.3); - glBegin (GL_POLYGON); - for (i=0 ; inumpoints ; i++) - glVertex3f (w->p[i][0],w->p[i][1],w->p[i][2] ); - glEnd (); - - glFlush (); -} - -//============================================================ - -#define GLSERV_PORT 25001 - -qboolean wins_init; -int draw_socket; - -void GLS_BeginScene (void) -{ - WSADATA winsockdata; - WORD wVersionRequested; - struct sockaddr_in address; - int r; - - if (!wins_init) - { - wins_init = true; - - wVersionRequested = MAKEWORD(1, 1); - - r = WSAStartup (MAKEWORD(1, 1), &winsockdata); - - if (r) - Error ("Winsock initialization failed."); - - } - - // connect a socket to the server - - draw_socket = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP); - if (draw_socket == -1) - Error ("draw_socket failed"); - - address.sin_family = AF_INET; - address.sin_addr.s_addr = htonl(INADDR_LOOPBACK); - address.sin_port = GLSERV_PORT; - r = connect (draw_socket, (struct sockaddr *)&address, sizeof(address)); - if (r == -1) - { - closesocket (draw_socket); - draw_socket = 0; - } -} - -void GLS_Winding (winding_t *w, int code) -{ - byte buf[1024]; - int i, j; - - if (!draw_socket) - return; - - ((int *)buf)[0] = w->numpoints; - ((int *)buf)[1] = code; - for (i=0 ; inumpoints ; i++) - for (j=0 ; j<3 ; j++) - ((float *)buf)[2+i*3+j] = w->p[i][j]; - - send (draw_socket, buf, w->numpoints*12+8, 0); -} - -void GLS_EndScene (void) -{ - closesocket (draw_socket); - draw_socket = 0; -} diff --git a/src/bsp/qbsp3/makefile b/src/bsp/qbsp3/makefile deleted file mode 100644 index 7368e5b..0000000 --- a/src/bsp/qbsp3/makefile +++ /dev/null @@ -1,98 +0,0 @@ - -CFLAGS = -c -LDFLAGS = -ODIR = baddir - -EXEBASE = qbsp3 -EXE = $(ODIR)/qbsp3 -all: $(EXE) - -_next: - make "CFLAGS = -c -g -I../../common -DDOUBLEVEC_T" "ODIR = next" - -_irix: - make "CFLAGS = -c -Ofast=ip27 -OPT:IEEE_arithmetic=3 -I../../common -Xcpluscomm -DDOUBLEVEC_T" "LDFLAGS = -Ofast=ip27 -OPT:IEEE_arithmetic=3" "ODIR = irix" - -_irixdebug: - make "CFLAGS = -c -O2 -g -I../../common -Xcpluscomm -DDOUBLEVEC_T" "LDFLAGS = -g" "ODIR = irix" - -_irixinst: - make "CFLAGS = -c -Ofast=ip27 -OPT:IEEE_arithmetic=3 -I../../common -Xcpluscomm -DDOUBLEVEC_T" "LDFLAGS = -Ofast=ip27 -OPT:IEEE_arithmetic=3" "ODIR = irix" - cp irix/$(EXEBASE) /limbo/quake2/bin_irix - -_irixclean: - rm -f irix/*.o irix/$(EXEBASE) - -_osf: - make "CFLAGS = -c -O4 -I../../common -threads -DDOUBLEVEC_T" "LDFLAGS = -threads" "ODIR = osf" - -clean: - rm -f irix/*.o irix/$(EXEBASE) - -install: - cp irix/$(EXEBASE) /limbo/quake2/bin_irix - - -FILES = $(ODIR)/brushbsp.o $(ODIR)/bspfile.o $(ODIR)/cmdlib.o $(ODIR)/faces.o $(ODIR)/nodraw.o $(ODIR)/glfile.o $(ODIR)/leakfile.o $(ODIR)/map.o $(ODIR)/mathlib.o $(ODIR)/polylib.o $(ODIR)/portals.o $(ODIR)/prtfile.o $(ODIR)/qbsp3.o $(ODIR)/scriplib.o $(ODIR)/textures.o $(ODIR)/threads.o $(ODIR)/tree.o $(ODIR)/writebsp.o $(ODIR)/csg.o - -$(EXE) : $(FILES) - cc -o $(EXE) $(LDFLAGS) $(FILES) -lm - -$(ODIR)/brushbsp.o : brushbsp.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/faces.o : faces.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/nodraw.o : nodraw.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/glfile.o : glfile.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/leakfile.o : leakfile.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/map.o : map.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/portals.o : portals.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/prtfile.o : prtfile.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/qbsp3.o : qbsp3.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/tree.o : tree.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/textures.o : textures.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/writebsp.o : writebsp.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/csg.o : csg.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i - -$(ODIR)/cmdlib.o : ../../common/cmdlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/mathlib.o : ../../common/mathlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/polylib.o : ../../common/polylib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/scriplib.o : ../../common/scriplib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/threads.o : ../../common/threads.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/bspfile.o : ../../common/bspfile.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i diff --git a/src/bsp/qrad3/makefile b/src/bsp/qrad3/makefile deleted file mode 100644 index 4fb26c1..0000000 --- a/src/bsp/qrad3/makefile +++ /dev/null @@ -1,77 +0,0 @@ - -CFLAGS = -c -LDFLAGS = -ODIR = baddir - -EXEBASE = qrad3 -EXE = $(ODIR)/qrad3 -all: $(EXE) - -_next: - make "CFLAGS = -c -g -I../../common" "ODIR = next" - -_irix: - make "CFLAGS = -c -Ofast=ip32_10k -I../../common -Xcpluscomm" "LDFLAGS = -Ofast=ip32_10k" "ODIR = irix" - -_irixdebug: - make "CFLAGS = -c -g -I../../common -Xcpluscomm" "LDFLAGS = " "ODIR = irix" - -_irixinst: - make "CFLAGS = -c -Ofast=ip32_10k -I../../common -Xcpluscomm" "LDFLAGS = -Ofast=ip32_10k" "ODIR = irix" - cp irix/$(EXEBASE) /limbo/quake2/bin_irix - -_irixclean: - rm -f irix/*.o irix/$(EXEBASE) - -_osf: - make "CFLAGS = -c -O4 -I../../common -threads" "LDFLAGS = -threads" "ODIR = osf" - -clean: - rm -f irix/*.o irix/$(EXEBASE) - -install: - cp irix/$(EXEBASE) /limbo/quake2/bin_irix - - -FILES = $(ODIR)/bspfile.o $(ODIR)/cmdlib.o $(ODIR)/lbmlib.o $(ODIR)/mathlib.o $(ODIR)/scriplib.o $(ODIR)/polylib.o $(ODIR)/qrad3.o $(ODIR)/threads.o $(ODIR)/trace.o $(ODIR)/lightmap.o $(ODIR)/patches.o - -$(EXE) : $(FILES) - cc -o $(EXE) $(LDFLAGS) $(FILES) -lm - -$(ODIR)/qrad3.o : qrad3.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/patches.o : patches.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/trace.o : trace.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/vismat.o : vismat.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/lightmap.o : lightmap.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i - -$(ODIR)/cmdlib.o : ../../common/cmdlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/lbmlib.o : ../../common/lbmlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/mathlib.o : ../../common/mathlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/polylib.o : ../../common/polylib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/scriplib.o : ../../common/scriplib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/threads.o : ../../common/threads.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/bspfile.o : ../../common/bspfile.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i diff --git a/src/bsp/qvis3/makefile b/src/bsp/qvis3/makefile deleted file mode 100644 index 57946de..0000000 --- a/src/bsp/qvis3/makefile +++ /dev/null @@ -1,62 +0,0 @@ - -CFLAGS = -c -LDFLAGS = -ODIR = baddir - -EXEBASE = qvis3 -EXE = $(ODIR)/qvis3 -all: $(EXE) - -_next: - make "CFLAGS = -c -g -I../../common" "ODIR = next" - -_irix: - make "CFLAGS = -c -Ofast=ip32_10k -I../../common -Xcpluscomm" "LDFLAGS = -Ofast=ip32_10k" "ODIR = irix" - -_irixinst: - make "CFLAGS = -c -Ofast=ip32_10k -I../../common -Xcpluscomm" "LDFLAGS = -Ofast=ip32_10k" "ODIR = irix" - cp irix/$(EXEBASE) /limbo/quake2/bin_irix - -_irixclean: - rm -f irix/*.o irix/$(EXEBASE) - -_osf: - make "CFLAGS = -c -O4 -I../../common -threads" "LDFLAGS = -threads -lm" "ODIR = osf" - -clean: - rm -f irix/*.o irix/$(EXEBASE) - -install: - cp irix/$(EXEBASE) /limbo/quake2/bin_irix - - -FILES = $(ODIR)/bspfile.o $(ODIR)/cmdlib.o $(ODIR)/mathlib.o $(ODIR)/scriplib.o $(ODIR)/threads.o $(ODIR)/qvis3.o $(ODIR)/flow.o - -$(EXE) : $(FILES) - cc -o $(EXE) $(LDFLAGS) $(FILES) - -$(ODIR)/qvis3.o : qvis3.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/flow.o : flow.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i - -$(ODIR)/cmdlib.o : ../../common/cmdlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/mathlib.o : ../../common/mathlib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/polylib.o : ../../common/polylib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/scriplib.o : ../../common/scriplib.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/threads.o : ../../common/threads.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i -$(ODIR)/bspfile.o : ../../common/bspfile.c - cc $(CFLAGS) -E $? | tr -d '\015' > /tmp/temp.i - cc $(CFLAGS) -o $@ /tmp/temp.i diff --git a/src/bsp/qbsp3/brushbsp.c b/src/qbsp3/brushbsp.c similarity index 100% rename from src/bsp/qbsp3/brushbsp.c rename to src/qbsp3/brushbsp.c diff --git a/src/bsp/qbsp3/csg.c b/src/qbsp3/csg.c similarity index 100% rename from src/bsp/qbsp3/csg.c rename to src/qbsp3/csg.c diff --git a/src/bsp/qbsp3/faces.c b/src/qbsp3/faces.c similarity index 100% rename from src/bsp/qbsp3/faces.c rename to src/qbsp3/faces.c diff --git a/src/bsp/qbsp3/glfile.c b/src/qbsp3/glfile.c similarity index 100% rename from src/bsp/qbsp3/glfile.c rename to src/qbsp3/glfile.c diff --git a/src/bsp/qbsp3/leakfile.c b/src/qbsp3/leakfile.c similarity index 100% rename from src/bsp/qbsp3/leakfile.c rename to src/qbsp3/leakfile.c diff --git a/src/bsp/qbsp3/map.c b/src/qbsp3/map.c similarity index 100% rename from src/bsp/qbsp3/map.c rename to src/qbsp3/map.c diff --git a/src/bsp/qbsp3/nodraw.c b/src/qbsp3/nodraw.c similarity index 100% rename from src/bsp/qbsp3/nodraw.c rename to src/qbsp3/nodraw.c diff --git a/src/bsp/qbsp3/portals.c b/src/qbsp3/portals.c similarity index 100% rename from src/bsp/qbsp3/portals.c rename to src/qbsp3/portals.c diff --git a/src/bsp/qbsp3/prtfile.c b/src/qbsp3/prtfile.c similarity index 100% rename from src/bsp/qbsp3/prtfile.c rename to src/qbsp3/prtfile.c diff --git a/src/bsp/qbsp3/qbsp.h b/src/qbsp3/qbsp.h similarity index 100% rename from src/bsp/qbsp3/qbsp.h rename to src/qbsp3/qbsp.h diff --git a/src/bsp/qbsp3/qbsp3.c b/src/qbsp3/qbsp3.c similarity index 100% rename from src/bsp/qbsp3/qbsp3.c rename to src/qbsp3/qbsp3.c diff --git a/src/bsp/qbsp3/textures.c b/src/qbsp3/textures.c similarity index 100% rename from src/bsp/qbsp3/textures.c rename to src/qbsp3/textures.c diff --git a/src/bsp/qbsp3/tree.c b/src/qbsp3/tree.c similarity index 100% rename from src/bsp/qbsp3/tree.c rename to src/qbsp3/tree.c diff --git a/src/bsp/qbsp3/writebsp.c b/src/qbsp3/writebsp.c similarity index 100% rename from src/bsp/qbsp3/writebsp.c rename to src/qbsp3/writebsp.c diff --git a/src/bsp/qrad3/lightmap.c b/src/qrad3/lightmap.c similarity index 100% rename from src/bsp/qrad3/lightmap.c rename to src/qrad3/lightmap.c diff --git a/src/bsp/qrad3/patches.c b/src/qrad3/patches.c similarity index 100% rename from src/bsp/qrad3/patches.c rename to src/qrad3/patches.c diff --git a/src/bsp/qrad3/qrad.h b/src/qrad3/qrad.h similarity index 100% rename from src/bsp/qrad3/qrad.h rename to src/qrad3/qrad.h diff --git a/src/bsp/qrad3/qrad3.c b/src/qrad3/qrad3.c similarity index 100% rename from src/bsp/qrad3/qrad3.c rename to src/qrad3/qrad3.c diff --git a/src/bsp/qrad3/trace.c b/src/qrad3/trace.c similarity index 100% rename from src/bsp/qrad3/trace.c rename to src/qrad3/trace.c diff --git a/src/bsp/qvis3/flow.c b/src/qvis3/flow.c similarity index 97% rename from src/bsp/qvis3/flow.c rename to src/qvis3/flow.c index 66af998..969573e 100644 --- a/src/bsp/qvis3/flow.c +++ b/src/qvis3/flow.c @@ -112,11 +112,11 @@ void FreeStackWinding (winding_t *w, pstack_t *stack) /* ============== -ChopWinding +ChopWindingVis ============== */ -winding_t *ChopWinding (winding_t *in, pstack_t *stack, plane_t *split) +winding_t *ChopWindingVis (winding_t *in, pstack_t *stack, plane_t *split) { vec_t dists[128]; int sides[128]; @@ -361,7 +361,7 @@ winding_t *ClipToSeperators (winding_t *source, winding_t *pass, winding_t *targ // // clip target by the seperating plane // - target = ChopWinding (target, stack, &plane); + target = ChopWindingVis (target, stack, &plane); if (!target) return NULL; // target is not visible } @@ -467,13 +467,13 @@ float d; } else { - stack.pass = ChopWinding (p->winding, &stack, &thread->pstack_head.portalplane); + stack.pass = ChopWindingVis (p->winding, &stack, &thread->pstack_head.portalplane); if (!stack.pass) continue; } } #else - stack.pass = ChopWinding (p->winding, &stack, &thread->pstack_head.portalplane); + stack.pass = ChopWindingVis (p->winding, &stack, &thread->pstack_head.portalplane); if (!stack.pass) continue; #endif @@ -495,13 +495,13 @@ float d; } else { - stack.source = ChopWinding (prevstack->source, &stack, &backplane); + stack.source = ChopWindingVis (prevstack->source, &stack, &backplane); if (!stack.source) continue; } } #else - stack.source = ChopWinding (prevstack->source, &stack, &backplane); + stack.source = ChopWindingVis (prevstack->source, &stack, &backplane); if (!stack.source) continue; #endif diff --git a/src/bsp/qvis3/qvis3.c b/src/qvis3/qvis3.c similarity index 98% rename from src/bsp/qvis3/qvis3.c rename to src/qvis3/qvis3.c index 7cc8751..4d8254e 100644 --- a/src/bsp/qvis3/qvis3.c +++ b/src/qvis3/qvis3.c @@ -90,15 +90,6 @@ winding_t *NewWinding (int points) return w; } - - -void pw(winding_t *w) -{ - int i; - for (i=0 ; inumpoints ; i++) - printf ("(%5.1f, %5.1f, %5.1f)\n",w->points[i][0], w->points[i][1],w->points[i][2]); -} - void prl(leaf_t *l) { int i; diff --git a/src/bsp/qvis3/vis.h b/src/qvis3/vis.h similarity index 100% rename from src/bsp/qvis3/vis.h rename to src/qvis3/vis.h