From b2a8652d337101630aab7ece928bca0d281cd969 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 20 May 2000 04:48:51 +0000 Subject: [PATCH] My stuff. :P --- source/makefile.winc | 2 +- source/makefile.wingl | 18 ++++++++++++------ source/makefile.wins | 2 +- source/zone.c | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/source/makefile.winc b/source/makefile.winc index c64477e..f9aded8 100644 --- a/source/makefile.winc +++ b/source/makefile.winc @@ -8,7 +8,7 @@ MGLPATH=E:\quakesrc\q1src\libs # Path to other librarys (mgl) DXPATH=E:\quakesrc\q1src\libs # Path to other librarys (DirectX) LIBS=winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib wsock32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib $(DXPATH)\dinput.lib $(DXPATH)\dxguid.lib $(MGLPATH)\mgllt.lib -NCFLAGS=-c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -DWIN32 -D_WIN32 -D_MT -ML -I$(INCPATH) -Ox -D_WINDOWS -DNoAsm -Zl -I..\include +NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /I..\include\win32\vc /I$(INCPATH) /MT /DHAVE_CONFIG_H COM_sources=\ net_chan.obj \ net_com.obj \ diff --git a/source/makefile.wingl b/source/makefile.wingl index 58d9419..028070a 100644 --- a/source/makefile.wingl +++ b/source/makefile.wingl @@ -8,7 +8,7 @@ MGLPATH=E:\quakesrc\q1src\libs # Path to other librarys (mgl) DXPATH=E:\quakesrc\q1src\libs # Path to other librarys (DirectX) LIBS=winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib wsock32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib $(DXPATH)\dinput.lib $(DXPATH)\dxguid.lib $(MGLPATH)\mgllt.lib glu32.lib opengl32.lib -NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /MT /I$(INCPATH) +NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /I..\include\win32\vc /I$(INCPATH) /MT /DHAVE_CONFIG_H COM_sources=\ net_chan.obj \ @@ -24,23 +24,27 @@ COM_sources=\ cmd.obj CL_GL_sources=\ + r_view.obj \ gl_draw.obj \ gl_mesh.obj \ gl_model.obj \ gl_ngraph.obj \ - gl_parse.obj \ gl_part.obj \ gl_refrag.obj \ gl_rlight.obj \ gl_rmain.obj \ gl_rmisc.obj \ + gl_mesh.obj \ gl_rsurf.obj \ gl_screen.obj \ gl_view.obj \ gl_warp.obj \ - gl_vidnt.obj + vid_wgl.obj CL_sources=\ + cl_trans.obj \ + cl_parse.obj \ + cl_slist.obj \ cl_cmd.obj \ cl_cvar.obj \ cl_demo.obj \ @@ -51,6 +55,7 @@ CL_sources=\ cl_pred.obj \ cl_tent.obj \ cl_cam.obj \ + model.obj \ wad.obj \ snd_dma.obj \ snd_mem.obj \ @@ -60,6 +65,7 @@ CL_sources=\ nonintel.obj \ menu.obj \ keys.obj \ + vc6fix.obj \ console.obj CL_platform=\ @@ -71,11 +77,11 @@ CL_platform=\ net_udp.obj CL_asm=\ - sys_wina.obj + sys_x86.obj glclient.exe: $(COM_sources) $(CL_GL_sources) $(CL_sources) $(CL_platform) $(CL_asm) - $(link) /nologo /subsystem:windows /incremental:yes /machine:I386 -out:glclient.exe *.obj $(LIBS) + $(link) /nologo /subsystem:windows /incremental:yes /machine:I386 -out:glclient.exe gl\*.obj $(LIBS) .c.obj: - $(cc) $(NCFLAGS) $*.c + $(cc) $(NCFLAGS) $*.c /Fogl\$*.obj diff --git a/source/makefile.wins b/source/makefile.wins index d4928d6..f3185a2 100644 --- a/source/makefile.wins +++ b/source/makefile.wins @@ -4,7 +4,7 @@ include all:server.exe LIBS=winmm.lib wsock32.lib opengl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comctl32.lib wsock32.lib winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib libc.lib -NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /MT +NCFLAGS=/c /nologo /DWIN32 /D_WIN32 /I..\include /I..\include\win32\vc /MT /DHAVE_CONFIG_H COM_sources=\ net_chan.obj \ net_com.obj \ diff --git a/source/zone.c b/source/zone.c index 05f6fce..291bb5e 100644 --- a/source/zone.c +++ b/source/zone.c @@ -423,7 +423,7 @@ void *Hunk_AllocName (int size, char *name) if (hunk_size - hunk_low_used - hunk_high_used < size) // Sys_Error ("Hunk_Alloc: failed on %i bytes",size); #ifdef _WIN32 - Sys_Error ("Not enough RAM allocated. Try starting using \"-heapsize 16000\" on the " PROGRAM " command line."); + Sys_Error ("Not enough RAM allocated. Try starting using \"-heapsize 16000\" on the " PROGRAM " command line."); #else Sys_Error ("Not enough RAM allocated. Try starting using \"-mem 16\" on the " PROGRAM " command line."); #endif