From 306bacc504b7a85017e87168dff81296e47ae1ad Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 22 Dec 2001 21:49:59 +0000 Subject: [PATCH] line ending cleanup --- baseq2/config.cfg | 300 +- ctf/ctf.001 | 2018 ++++----- ctf/ctf.def | 4 +- ctf/ctf.dsp | 2014 ++++----- ctf/ctf.plg | 34 +- game/game.001 | 3238 +++++++-------- game/game.def | 4 +- game/game.dsp | 3236 +++++++-------- game/game.plg | 150 +- linux/Makefile | 2 +- makezip | 4 +- quake2.dsp | 4100 +++++++++--------- quake2.dsw | 154 +- quake2.mak | 9186 ++++++++++++++++++++--------------------- ref_gl/ref_gl.001 | 1504 +++---- ref_gl/ref_gl.def | 4 +- ref_gl/ref_gl.dsp | 1546 +++---- ref_gl/ref_gl.plg | 34 +- ref_soft/block16.inc | 232 +- ref_soft/block8.inc | 232 +- ref_soft/d_if.inc | 162 +- ref_soft/qasm.inc | 870 ++-- ref_soft/r_aclipa.asm | 400 +- ref_soft/r_draw16.asm | 2468 +++++------ ref_soft/r_drawa.asm | 1644 ++++---- ref_soft/r_edgea.asm | 1466 +++---- ref_soft/r_polysa.asm | 1624 ++++---- ref_soft/r_scana.asm | 146 +- ref_soft/r_spr8.asm | 1768 ++++---- ref_soft/r_surf8.asm | 1542 +++---- ref_soft/r_varsa.asm | 440 +- ref_soft/ref_soft.001 | 2996 +++++++------- ref_soft/ref_soft.def | 4 +- ref_soft/ref_soft.dsp | 2992 +++++++------- ref_soft/ref_soft.plg | 34 +- rhapsody/in_next.m | 380 +- rhapsody/r_next.m | 764 ++-- rhapsody/snd_next.m | 106 +- rhapsody/swimp_rhap.m | 22 +- rhapsody/sys_rhap.m | 50 +- unix/makefile | 16 +- win32/q2.rc | 144 +- win32/winquake.rc | 196 +- 43 files changed, 24115 insertions(+), 24115 deletions(-) diff --git a/baseq2/config.cfg b/baseq2/config.cfg index 86fe7a6..3e718de 100644 --- a/baseq2/config.cfg +++ b/baseq2/config.cfg @@ -1,150 +1,150 @@ -// generated by quake, do not modify -bind TAB "inven" -bind ENTER "invuse" -bind ESCAPE "togglemenu" -bind SPACE "+moveup" -bind ' "inven_drop" -bind + "sizeup" -bind , "+moveleft" -bind - "sizedown" -bind . "+moveright" -bind / "weapnext" -bind 0 "use BFG10K" -bind 1 "use Blaster" -bind 2 "use Shotgun" -bind 3 "use Super Shotgun" -bind 4 "use Machinegun" -bind 5 "use Chaingun" -bind 6 "use Grenade Launcher" -bind 7 "use Rocket Launcher" -bind 8 "use HyperBlaster" -bind 9 "use Railgun" -bind = "sizeup" -bind [ "invprev" -bind \ "+mlook" -bind ] "invnext" -bind ` "toggleconsole" -bind a "+moveleft" -bind b "use rebreather" -bind c "+movedown" -bind d "+moveright" -bind e "weapnext" -bind g "use grenades" -bind h "wave 0" -bind i "use invulnerability" -bind j "wave 1" -bind k "wave 2" -bind l "wave 3" -bind p "use shield" -bind q "invprev" -bind r "invuse" -bind s "+back" -bind t "messagemode" -bind u "wave 4" -bind w "+forward" -bind x "centerview" -bind z "+movedown" -bind ~ "toggleconsole" -bind BACKSPACE "invdrop" -bind UPARROW "+forward" -bind DOWNARROW "+back" -bind LEFTARROW "+left" -bind RIGHTARROW "+right" -bind ALT "+strafe" -bind CTRL "+attack" -bind SHIFT "+speed" -bind F1 "cmd help" -bind F2 "menu_savegame" -bind F3 "menu_loadgame" -bind F4 "give ammo" -bind F5 "give weapons" -bind F6 "r_speeds 0" -bind F7 "r_speeds 1" -bind F8 "notarget" -bind F9 "noclip" -bind F10 "god" -bind F11 "screenshot" -bind F12 "quit" -bind INS "+klook" -bind DEL "+lookdown" -bind PGDN "+lookup" -bind PGUP "+lookup" -bind END "centerview" -bind MOUSE1 "+attack" -bind MOUSE2 "+strafe" -bind MOUSE3 "+mlook" -bind PAUSE "pause" -set gl_3dlabs_broken "1" -set gl_swapinterval "1" -set gl_ext_compiled_vertex_array "1" -set gl_ext_pointparameters "1" -set gl_ext_multitexture "1" -set gl_ext_palettedtexture "1" -set gl_ext_swapinterval "1" -set gl_vertex_arrays "0" -set gl_texturesolidmode "default" -set gl_texturealphamode "default" -set gl_texturemode "GL_LINEAR_MIPMAP_NEAREST" -set gl_driver "opengl32" -set gl_finish "0" -set gl_shadows "0" -set gl_mode "3" -set gl_modulate "1" -set gl_particle_att_c "0.01" -set gl_particle_att_b "0.0" -set gl_particle_att_a "0.01" -set gl_particle_size "40" -set gl_particle_max_size "40" -set gl_particle_min_size "2" -set g_select_empty "0" -set in_joystick "0" -set in_mouse "1" -set cl_vwep "1" -set gender_auto "1" -set gender "male" -set fov "90" -set msg "1" -set rate "25000" -set freelook "0" -set cl_stereo_separation "0.4" -set adr8 "" -set adr7 "" -set adr6 "" -set adr5 "" -set adr4 "" -set adr3 "" -set adr2 "" -set adr1 "" -set adr0 "" -set cd_nocd "0" -set s_primary "0" -set s_mixahead "0.2" -set s_loadas8bit "1" -set s_khz "11" -set s_volume "0.7" -set sw_mode "0" -set sw_stipplealpha "0" -set sw_allow_modex "1" -set vid_gamma "1" -set vid_ypos "32" -set vid_xpos "115" -set vid_ref "gl" -set sv_reconnect_limit "3" -set allow_download_maps "1" -set allow_download_sounds "1" -set allow_download_models "1" -set allow_download_players "0" -set allow_download "0" -set hostname "noname" -set skin "male/grunt" -set name "hook" -set lookstrafe "0" -set lookspring "1" -set m_pitch "-0.022000" -set hand "2" -set cl_run "0" -set crosshair "1" -set sensitivity "9.000000" -set win_noalttab "0" -set vid_fullscreen "0" -set viewsize "100" +// generated by quake, do not modify +bind TAB "inven" +bind ENTER "invuse" +bind ESCAPE "togglemenu" +bind SPACE "+moveup" +bind ' "inven_drop" +bind + "sizeup" +bind , "+moveleft" +bind - "sizedown" +bind . "+moveright" +bind / "weapnext" +bind 0 "use BFG10K" +bind 1 "use Blaster" +bind 2 "use Shotgun" +bind 3 "use Super Shotgun" +bind 4 "use Machinegun" +bind 5 "use Chaingun" +bind 6 "use Grenade Launcher" +bind 7 "use Rocket Launcher" +bind 8 "use HyperBlaster" +bind 9 "use Railgun" +bind = "sizeup" +bind [ "invprev" +bind \ "+mlook" +bind ] "invnext" +bind ` "toggleconsole" +bind a "+moveleft" +bind b "use rebreather" +bind c "+movedown" +bind d "+moveright" +bind e "weapnext" +bind g "use grenades" +bind h "wave 0" +bind i "use invulnerability" +bind j "wave 1" +bind k "wave 2" +bind l "wave 3" +bind p "use shield" +bind q "invprev" +bind r "invuse" +bind s "+back" +bind t "messagemode" +bind u "wave 4" +bind w "+forward" +bind x "centerview" +bind z "+movedown" +bind ~ "toggleconsole" +bind BACKSPACE "invdrop" +bind UPARROW "+forward" +bind DOWNARROW "+back" +bind LEFTARROW "+left" +bind RIGHTARROW "+right" +bind ALT "+strafe" +bind CTRL "+attack" +bind SHIFT "+speed" +bind F1 "cmd help" +bind F2 "menu_savegame" +bind F3 "menu_loadgame" +bind F4 "give ammo" +bind F5 "give weapons" +bind F6 "r_speeds 0" +bind F7 "r_speeds 1" +bind F8 "notarget" +bind F9 "noclip" +bind F10 "god" +bind F11 "screenshot" +bind F12 "quit" +bind INS "+klook" +bind DEL "+lookdown" +bind PGDN "+lookup" +bind PGUP "+lookup" +bind END "centerview" +bind MOUSE1 "+attack" +bind MOUSE2 "+strafe" +bind MOUSE3 "+mlook" +bind PAUSE "pause" +set gl_3dlabs_broken "1" +set gl_swapinterval "1" +set gl_ext_compiled_vertex_array "1" +set gl_ext_pointparameters "1" +set gl_ext_multitexture "1" +set gl_ext_palettedtexture "1" +set gl_ext_swapinterval "1" +set gl_vertex_arrays "0" +set gl_texturesolidmode "default" +set gl_texturealphamode "default" +set gl_texturemode "GL_LINEAR_MIPMAP_NEAREST" +set gl_driver "opengl32" +set gl_finish "0" +set gl_shadows "0" +set gl_mode "3" +set gl_modulate "1" +set gl_particle_att_c "0.01" +set gl_particle_att_b "0.0" +set gl_particle_att_a "0.01" +set gl_particle_size "40" +set gl_particle_max_size "40" +set gl_particle_min_size "2" +set g_select_empty "0" +set in_joystick "0" +set in_mouse "1" +set cl_vwep "1" +set gender_auto "1" +set gender "male" +set fov "90" +set msg "1" +set rate "25000" +set freelook "0" +set cl_stereo_separation "0.4" +set adr8 "" +set adr7 "" +set adr6 "" +set adr5 "" +set adr4 "" +set adr3 "" +set adr2 "" +set adr1 "" +set adr0 "" +set cd_nocd "0" +set s_primary "0" +set s_mixahead "0.2" +set s_loadas8bit "1" +set s_khz "11" +set s_volume "0.7" +set sw_mode "0" +set sw_stipplealpha "0" +set sw_allow_modex "1" +set vid_gamma "1" +set vid_ypos "32" +set vid_xpos "115" +set vid_ref "gl" +set sv_reconnect_limit "3" +set allow_download_maps "1" +set allow_download_sounds "1" +set allow_download_models "1" +set allow_download_players "0" +set allow_download "0" +set hostname "noname" +set skin "male/grunt" +set name "hook" +set lookstrafe "0" +set lookspring "1" +set m_pitch "-0.022000" +set hand "2" +set cl_run "0" +set crosshair "1" +set sensitivity "9.000000" +set win_noalttab "0" +set vid_fullscreen "0" +set viewsize "100" diff --git a/ctf/ctf.001 b/ctf/ctf.001 index f227aaf..f6ea177 100644 --- a/ctf/ctf.001 +++ b/ctf/ctf.001 @@ -1,1009 +1,1009 @@ -# Microsoft Developer Studio Project File - Name="ctf" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=ctf - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ctf.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ctf.mak" CFG="ctf - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ctf - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ctf - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ctf - Win32 Debug Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "ctf - Win32 Release Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -# PROP WCE_Configuration "H/PC Ver. 2.00" - -!IF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 /out:".\release\gamex86.dll" - -!ELSEIF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:".\debug\gamex86.dll" /pdbtype:sept - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ctf___Wi" -# PROP BASE Intermediate_Dir "ctf___Wi" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAXP" -# PROP Intermediate_Dir ".\DebugAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c -# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debug\gamex86.dll" /pdbtype:sept -# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debugAXP\gameaxp.dll" /pdbtype:sept - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ctf___W0" -# PROP BASE Intermediate_Dir "ctf___W0" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\release\gamex86.dll" -# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\ReleaseAXP\gameaxp.dll" - -!ENDIF - -# Begin Target - -# Name "ctf - Win32 Release" -# Name "ctf - Win32 Debug" -# Name "ctf - Win32 Debug Alpha" -# Name "ctf - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "*.c" -# Begin Source File - -SOURCE=.\g_ai.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_AI_=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_AI_=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_chase.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_CHA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_CHA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_cmds.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_CMD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_CMD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_combat.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_COM=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_COM=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_ctf.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_CTF=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_CTF=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_func.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_FUN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_FUN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_items.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_ITE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_ITE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_main.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_MAI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_MAI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_misc.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_MIS=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_MIS=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_monster.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_MON=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_MON=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_phys.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_PHY=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_PHY=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_save.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_SAV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_SAV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_spawn.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_SPA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_SPA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_svcmds.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_SVC=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_SVC=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_target.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_TAR=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_TAR=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_trigger.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_TRI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_TRI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_utils.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_UTI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_UTI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_weapon.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_move.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_M_MOV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_M_MOV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_client.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_CLI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_CLI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_hud.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_HUD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_HUD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_menu.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_MEN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_MEN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_trail.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_TRA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_TRA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_view.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_VIE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_VIE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_weapon.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\q_shared.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "*.h" -# Begin Source File - -SOURCE=.\g_ctf.h -# End Source File -# Begin Source File - -SOURCE=.\g_local.h -# End Source File -# Begin Source File - -SOURCE=.\game.h -# End Source File -# Begin Source File - -SOURCE=.\m_player.h -# End Source File -# Begin Source File - -SOURCE=.\p_menu.h -# End Source File -# Begin Source File - -SOURCE=.\q_shared.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "*.def,*.res" -# Begin Source File - -SOURCE=.\ctf.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ctf" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=ctf - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ctf.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ctf.mak" CFG="ctf - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ctf - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ctf - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ctf - Win32 Debug Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "ctf - Win32 Release Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +# PROP WCE_Configuration "H/PC Ver. 2.00" + +!IF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 /out:".\release\gamex86.dll" + +!ELSEIF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:".\debug\gamex86.dll" /pdbtype:sept + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ctf___Wi" +# PROP BASE Intermediate_Dir "ctf___Wi" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAXP" +# PROP Intermediate_Dir ".\DebugAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c +# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debug\gamex86.dll" /pdbtype:sept +# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debugAXP\gameaxp.dll" /pdbtype:sept + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ctf___W0" +# PROP BASE Intermediate_Dir "ctf___W0" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\release\gamex86.dll" +# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\ReleaseAXP\gameaxp.dll" + +!ENDIF + +# Begin Target + +# Name "ctf - Win32 Release" +# Name "ctf - Win32 Debug" +# Name "ctf - Win32 Debug Alpha" +# Name "ctf - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "*.c" +# Begin Source File + +SOURCE=.\g_ai.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_AI_=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_AI_=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_chase.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_CHA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_CHA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_cmds.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_CMD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_CMD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_combat.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_COM=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_COM=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_ctf.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_CTF=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_CTF=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_func.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_FUN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_FUN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_items.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_ITE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_ITE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_main.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_MAI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_MAI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_misc.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_MIS=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_MIS=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_monster.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_MON=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_MON=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_phys.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_PHY=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_PHY=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_save.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_SAV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_SAV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_spawn.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_SPA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_SPA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_svcmds.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_SVC=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_SVC=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_target.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_TAR=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_TAR=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_trigger.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_TRI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_TRI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_utils.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_UTI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_UTI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_weapon.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_move.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_M_MOV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_M_MOV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_client.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_CLI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_CLI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_hud.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_HUD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_HUD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_menu.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_MEN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_MEN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_trail.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_TRA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_TRA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_view.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_VIE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_VIE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_weapon.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\q_shared.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=.\g_ctf.h +# End Source File +# Begin Source File + +SOURCE=.\g_local.h +# End Source File +# Begin Source File + +SOURCE=.\game.h +# End Source File +# Begin Source File + +SOURCE=.\m_player.h +# End Source File +# Begin Source File + +SOURCE=.\p_menu.h +# End Source File +# Begin Source File + +SOURCE=.\q_shared.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "*.def,*.res" +# Begin Source File + +SOURCE=.\ctf.def +# End Source File +# End Group +# End Target +# End Project diff --git a/ctf/ctf.def b/ctf/ctf.def index df4958f..4461243 100644 --- a/ctf/ctf.def +++ b/ctf/ctf.def @@ -1,2 +1,2 @@ -EXPORTS - GetGameAPI +EXPORTS + GetGameAPI diff --git a/ctf/ctf.dsp b/ctf/ctf.dsp index 1f3b1e6..466e2d4 100644 --- a/ctf/ctf.dsp +++ b/ctf/ctf.dsp @@ -1,1007 +1,1007 @@ -# Microsoft Developer Studio Project File - Name="ctf" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=ctf - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ctf.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ctf.mak" CFG="ctf - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ctf - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ctf - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ctf - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "ctf - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 /out:".\release\gamex86.dll" - -!ELSEIF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:".\debug\gamex86.dll" /pdbtype:sept - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ctf___Wi" -# PROP BASE Intermediate_Dir "ctf___Wi" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAXP" -# PROP Intermediate_Dir ".\DebugAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c -# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debug\gamex86.dll" /pdbtype:sept -# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debugAXP\gameaxp.dll" /pdbtype:sept - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ctf___W0" -# PROP BASE Intermediate_Dir "ctf___W0" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\release\gamex86.dll" -# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\ReleaseAXP\gameaxp.dll" - -!ENDIF - -# Begin Target - -# Name "ctf - Win32 Release" -# Name "ctf - Win32 Debug" -# Name "ctf - Win32 Debug Alpha" -# Name "ctf - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "*.c" -# Begin Source File - -SOURCE=.\g_ai.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_AI_=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_AI_=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_chase.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_CHA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_CHA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_cmds.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_CMD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_CMD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_combat.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_COM=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_COM=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_ctf.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_CTF=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_CTF=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_func.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_FUN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_FUN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_items.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_ITE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_ITE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_main.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_MAI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_MAI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_misc.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_MIS=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_MIS=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_monster.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_MON=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_MON=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_phys.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_PHY=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_PHY=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_save.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_SAV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_SAV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_spawn.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_SPA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_SPA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_svcmds.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_SVC=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_SVC=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_target.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_TAR=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_TAR=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_trigger.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_TRI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_TRI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_utils.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_UTI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_UTI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_weapon.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_G_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_G_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_move.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_M_MOV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_M_MOV=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_client.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_CLI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_CLI=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_hud.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_HUD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_HUD=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_menu.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_MEN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_MEN=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_trail.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_TRA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_TRA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_view.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_VIE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_VIE=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_weapon.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_P_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_P_WEA=\ - ".\g_ctf.h"\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\p_menu.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\q_shared.c - -!IF "$(CFG)" == "ctf - Win32 Release" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug" - -!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "*.h" -# Begin Source File - -SOURCE=.\g_ctf.h -# End Source File -# Begin Source File - -SOURCE=.\g_local.h -# End Source File -# Begin Source File - -SOURCE=.\game.h -# End Source File -# Begin Source File - -SOURCE=.\m_player.h -# End Source File -# Begin Source File - -SOURCE=.\p_menu.h -# End Source File -# Begin Source File - -SOURCE=.\q_shared.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "*.def,*.res" -# Begin Source File - -SOURCE=.\ctf.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ctf" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=ctf - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ctf.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ctf.mak" CFG="ctf - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ctf - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ctf - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ctf - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "ctf - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 /out:".\release\gamex86.dll" + +!ELSEIF "$(CFG)" == "ctf - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:".\debug\gamex86.dll" /pdbtype:sept + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ctf___Wi" +# PROP BASE Intermediate_Dir "ctf___Wi" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAXP" +# PROP Intermediate_Dir ".\DebugAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c +# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /MTd /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debug\gamex86.dll" /pdbtype:sept +# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /map /debug /machine:ALPHA /out:".\debugAXP\gameaxp.dll" /pdbtype:sept + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ctf___W0" +# PROP BASE Intermediate_Dir "ctf___W0" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\release\gamex86.dll" +# ADD LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /out:".\ReleaseAXP\gameaxp.dll" + +!ENDIF + +# Begin Target + +# Name "ctf - Win32 Release" +# Name "ctf - Win32 Debug" +# Name "ctf - Win32 Debug Alpha" +# Name "ctf - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "*.c" +# Begin Source File + +SOURCE=.\g_ai.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_AI_=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_AI_=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_chase.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_CHA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_CHA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_cmds.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_CMD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_CMD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_combat.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_COM=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_COM=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_ctf.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_CTF=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_CTF=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_func.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_FUN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_FUN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_items.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_ITE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_ITE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_main.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_MAI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_MAI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_misc.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_MIS=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_MIS=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_monster.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_MON=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_MON=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_phys.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_PHY=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_PHY=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_save.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_SAV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_SAV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_spawn.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_SPA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_SPA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_svcmds.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_SVC=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_SVC=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_target.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_TAR=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_TAR=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_trigger.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_TRI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_TRI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_utils.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_UTI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_UTI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_weapon.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_G_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_G_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_move.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_M_MOV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_M_MOV=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_client.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_CLI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_CLI=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_hud.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_HUD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_HUD=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_menu.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_MEN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_MEN=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_trail.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_TRA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_TRA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_view.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_VIE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_VIE=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_weapon.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_P_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_P_WEA=\ + ".\g_ctf.h"\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\p_menu.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\q_shared.c + +!IF "$(CFG)" == "ctf - Win32 Release" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug" + +!ELSEIF "$(CFG)" == "ctf - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ctf - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "*.h" +# Begin Source File + +SOURCE=.\g_ctf.h +# End Source File +# Begin Source File + +SOURCE=.\g_local.h +# End Source File +# Begin Source File + +SOURCE=.\game.h +# End Source File +# Begin Source File + +SOURCE=.\m_player.h +# End Source File +# Begin Source File + +SOURCE=.\p_menu.h +# End Source File +# Begin Source File + +SOURCE=.\q_shared.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "*.def,*.res" +# Begin Source File + +SOURCE=.\ctf.def +# End Source File +# End Group +# End Target +# End Project diff --git a/ctf/ctf.plg b/ctf/ctf.plg index 1a1c093..72f3ddc 100644 --- a/ctf/ctf.plg +++ b/ctf/ctf.plg @@ -1,17 +1,17 @@ ---------------------Configuration: ctf - Win32 Debug Alpha-------------------- -Begining build with project "G:\quake2\code\ctf\ctf.dsp", at root. -Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) - -Project's tools are: - "OLE Type Library Maker" with flags "/nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 " - "C/C++ Compiler for Alpha" with flags "/nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR".\DebugAXP/" /Fp".\DebugAXP/ctf.pch" /YX /Fo".\DebugAXP/" /Fd".\DebugAXP/" /FD /c " - "Win32 Resource Compiler" with flags "/l 0x409 /d "_DEBUG" " - "Browser Database Maker" with flags "/nologo /o"..\DebugAXP/ctf.bsc" " - "COFF Linker for Alpha" with flags "winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\DebugAXP/gameaxp.pdb" /map:".\DebugAXP/gameaxp.map" /debug /machine:ALPHA /def:".\ctf.def" /out:".\debugAXP\gameaxp.dll" /implib:"..\DebugAXP/gameaxp.lib" /pdbtype:sept " - "Custom Build" with flags "" - "" with flags "" - - - - -gameaxp.dll - 0 error(s), 0 warning(s) +--------------------Configuration: ctf - Win32 Debug Alpha-------------------- +Begining build with project "G:\quake2\code\ctf\ctf.dsp", at root. +Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) + +Project's tools are: + "OLE Type Library Maker" with flags "/nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 " + "C/C++ Compiler for Alpha" with flags "/nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR".\DebugAXP/" /Fp".\DebugAXP/ctf.pch" /YX /Fo".\DebugAXP/" /Fd".\DebugAXP/" /FD /c " + "Win32 Resource Compiler" with flags "/l 0x409 /d "_DEBUG" " + "Browser Database Maker" with flags "/nologo /o"..\DebugAXP/ctf.bsc" " + "COFF Linker for Alpha" with flags "winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\DebugAXP/gameaxp.pdb" /map:".\DebugAXP/gameaxp.map" /debug /machine:ALPHA /def:".\ctf.def" /out:".\debugAXP\gameaxp.dll" /implib:"..\DebugAXP/gameaxp.lib" /pdbtype:sept " + "Custom Build" with flags "" + "" with flags "" + + + + +gameaxp.dll - 0 error(s), 0 warning(s) diff --git a/game/game.001 b/game/game.001 index 1d8d7cc..6e84a17 100644 --- a/game/game.001 +++ b/game/game.001 @@ -1,1619 +1,1619 @@ -# Microsoft Developer Studio Project File - Name="game" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=game - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "game.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "game.mak" CFG="game - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "game - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "game - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "game - Win32 Debug Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "game - Win32 Release Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:I386 /out:"..\release\gamex86.dll" -# SUBTRACT LINK32 /incremental:yes /debug - -!ELSEIF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "BUILDING_REF_GL" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:"..\debug\gamex86.dll" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug Alpha" -# PROP BASE Intermediate_Dir "Debug Alpha" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA /out:"..\DebugAxp/gameaxp.dll" - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "game___W" -# PROP BASE Intermediate_Dir "game___W" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c -# SUBTRACT CPP /Z /Fr -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\Release/gamex86.dll" -# ADD LINK32 kernel32.lib user32.lib gdi32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\ReleaseAXP/gameaxp.dll" -# SUBTRACT LINK32 /debug - -!ENDIF - -# Begin Target - -# Name "game - Win32 Release" -# Name "game - Win32 Debug" -# Name "game - Win32 Debug Alpha" -# Name "game - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\g_ai.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_AI_=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_AI_=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_chase.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_CHA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_CHA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_cmds.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_CMD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_CMD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_combat.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_COM=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_COM=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_func.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_FUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_FUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_items.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_ITE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_ITE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_main.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_MAI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_MAI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_misc.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_MIS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_MIS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_monster.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_MON=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_MON=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_phys.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_PHY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_PHY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_save.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_SAV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_SAV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_spawn.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_SPA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_SPA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_svcmds.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_SVC=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_SVC=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_target.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_TAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_TAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_trigger.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_TRI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_TRI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_turret.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_TUR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_TUR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_utils.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_UTI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_UTI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_weapon.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_actor.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_ACT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_actor.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_ACT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_actor.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_berserk.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BER=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_berserk.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BER=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_berserk.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss2.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss2.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss2.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss3.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOSS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOSS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss31.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOSS3=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss31.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOSS3=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss31.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss32.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOSS32=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOSS32=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_brain.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_brain.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_brain.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_chick.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_CHI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_chick.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_CHI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_chick.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_flash.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLA=\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLA=\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_flipper.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flipper.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flipper.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_float.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLO=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_float.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLO=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_float.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_flyer.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flyer.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flyer.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_gladiator.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_GLA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gladiator.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_GLA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gladiator.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_gunner.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_GUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gunner.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_GUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gunner.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_hover.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_HOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_hover.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_HOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_hover.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_infantry.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_INF=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_infantry.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_INF=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_infantry.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_insane.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_INS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_insane.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_INS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_insane.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_medic.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_MED=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_medic.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_MED=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_medic.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_move.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_MOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_MOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_mutant.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_MUT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_mutant.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_MUT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_mutant.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_parasite.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_PAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_parasite.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_PAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_parasite.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_soldier.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_SOL=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_soldier.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_SOL=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_soldier.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_supertank.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_SUP=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_supertank.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_SUP=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_supertank.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_tank.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_TAN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_tank.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_TAN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_tank.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_client.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_CLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_CLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_hud.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_HUD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_HUD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_trail.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_TRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_TRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_view.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_VIE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_VIE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_weapon.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\q_shared.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\g_local.h -# End Source File -# Begin Source File - -SOURCE=.\game.h -# End Source File -# Begin Source File - -SOURCE=.\m_actor.h -# End Source File -# Begin Source File - -SOURCE=.\m_berserk.h -# End Source File -# Begin Source File - -SOURCE=.\m_boss2.h -# End Source File -# Begin Source File - -SOURCE=.\m_boss31.h -# End Source File -# Begin Source File - -SOURCE=.\m_boss32.h -# End Source File -# Begin Source File - -SOURCE=.\m_brain.h -# End Source File -# Begin Source File - -SOURCE=.\m_chick.h -# End Source File -# Begin Source File - -SOURCE=.\m_flipper.h -# End Source File -# Begin Source File - -SOURCE=.\m_float.h -# End Source File -# Begin Source File - -SOURCE=.\m_flyer.h -# End Source File -# Begin Source File - -SOURCE=.\m_gladiator.h -# End Source File -# Begin Source File - -SOURCE=.\m_gunner.h -# End Source File -# Begin Source File - -SOURCE=.\m_hover.h -# End Source File -# Begin Source File - -SOURCE=.\m_infantry.h -# End Source File -# Begin Source File - -SOURCE=.\m_insane.h -# End Source File -# Begin Source File - -SOURCE=.\m_medic.h -# End Source File -# Begin Source File - -SOURCE=.\m_mutant.h -# End Source File -# Begin Source File - -SOURCE=.\m_parasite.h -# End Source File -# Begin Source File - -SOURCE=.\m_player.h -# End Source File -# Begin Source File - -SOURCE=.\m_soldier.h -# End Source File -# Begin Source File - -SOURCE=.\m_supertank.h -# End Source File -# Begin Source File - -SOURCE=.\m_tank.h -# End Source File -# Begin Source File - -SOURCE=.\q_shared.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\game.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="game" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=game - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "game.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "game.mak" CFG="game - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "game - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "game - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "game - Win32 Debug Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "game - Win32 Release Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:I386 /out:"..\release\gamex86.dll" +# SUBTRACT LINK32 /incremental:yes /debug + +!ELSEIF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "BUILDING_REF_GL" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:"..\debug\gamex86.dll" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug Alpha" +# PROP BASE Intermediate_Dir "Debug Alpha" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA /out:"..\DebugAxp/gameaxp.dll" + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "game___W" +# PROP BASE Intermediate_Dir "game___W" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c +# SUBTRACT CPP /Z /Fr +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\Release/gamex86.dll" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\ReleaseAXP/gameaxp.dll" +# SUBTRACT LINK32 /debug + +!ENDIF + +# Begin Target + +# Name "game - Win32 Release" +# Name "game - Win32 Debug" +# Name "game - Win32 Debug Alpha" +# Name "game - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\g_ai.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_AI_=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_AI_=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_chase.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_CHA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_CHA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_cmds.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_CMD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_CMD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_combat.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_COM=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_COM=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_func.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_FUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_FUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_items.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_ITE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_ITE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_main.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_MAI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_MAI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_misc.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_MIS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_MIS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_monster.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_MON=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_MON=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_phys.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_PHY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_PHY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_save.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_SAV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_SAV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_spawn.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_SPA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_SPA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_svcmds.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_SVC=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_SVC=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_target.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_TAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_TAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_trigger.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_TRI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_TRI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_turret.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_TUR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_TUR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_utils.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_UTI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_UTI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_weapon.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_actor.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_ACT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_actor.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_ACT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_actor.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_berserk.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BER=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_berserk.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BER=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_berserk.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss2.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss2.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss2.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss3.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOSS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOSS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss31.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOSS3=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss31.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOSS3=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss31.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss32.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOSS32=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOSS32=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_brain.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_brain.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_brain.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_chick.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_CHI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_chick.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_CHI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_chick.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_flash.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLA=\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLA=\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_flipper.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flipper.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flipper.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_float.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLO=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_float.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLO=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_float.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_flyer.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flyer.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flyer.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_gladiator.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_GLA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gladiator.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_GLA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gladiator.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_gunner.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_GUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gunner.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_GUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gunner.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_hover.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_HOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_hover.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_HOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_hover.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_infantry.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_INF=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_infantry.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_INF=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_infantry.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_insane.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_INS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_insane.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_INS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_insane.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_medic.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_MED=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_medic.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_MED=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_medic.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_move.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_MOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_MOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_mutant.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_MUT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_mutant.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_MUT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_mutant.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_parasite.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_PAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_parasite.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_PAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_parasite.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_soldier.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_SOL=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_soldier.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_SOL=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_soldier.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_supertank.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_SUP=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_supertank.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_SUP=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_supertank.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_tank.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_TAN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_tank.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_TAN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_tank.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_client.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_CLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_CLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_hud.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_HUD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_HUD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_trail.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_TRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_TRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_view.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_VIE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_VIE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_weapon.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\q_shared.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\g_local.h +# End Source File +# Begin Source File + +SOURCE=.\game.h +# End Source File +# Begin Source File + +SOURCE=.\m_actor.h +# End Source File +# Begin Source File + +SOURCE=.\m_berserk.h +# End Source File +# Begin Source File + +SOURCE=.\m_boss2.h +# End Source File +# Begin Source File + +SOURCE=.\m_boss31.h +# End Source File +# Begin Source File + +SOURCE=.\m_boss32.h +# End Source File +# Begin Source File + +SOURCE=.\m_brain.h +# End Source File +# Begin Source File + +SOURCE=.\m_chick.h +# End Source File +# Begin Source File + +SOURCE=.\m_flipper.h +# End Source File +# Begin Source File + +SOURCE=.\m_float.h +# End Source File +# Begin Source File + +SOURCE=.\m_flyer.h +# End Source File +# Begin Source File + +SOURCE=.\m_gladiator.h +# End Source File +# Begin Source File + +SOURCE=.\m_gunner.h +# End Source File +# Begin Source File + +SOURCE=.\m_hover.h +# End Source File +# Begin Source File + +SOURCE=.\m_infantry.h +# End Source File +# Begin Source File + +SOURCE=.\m_insane.h +# End Source File +# Begin Source File + +SOURCE=.\m_medic.h +# End Source File +# Begin Source File + +SOURCE=.\m_mutant.h +# End Source File +# Begin Source File + +SOURCE=.\m_parasite.h +# End Source File +# Begin Source File + +SOURCE=.\m_player.h +# End Source File +# Begin Source File + +SOURCE=.\m_soldier.h +# End Source File +# Begin Source File + +SOURCE=.\m_supertank.h +# End Source File +# Begin Source File + +SOURCE=.\m_tank.h +# End Source File +# Begin Source File + +SOURCE=.\q_shared.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\game.def +# End Source File +# End Group +# End Target +# End Project diff --git a/game/game.def b/game/game.def index df4958f..4461243 100644 --- a/game/game.def +++ b/game/game.def @@ -1,2 +1,2 @@ -EXPORTS - GetGameAPI +EXPORTS + GetGameAPI diff --git a/game/game.dsp b/game/game.dsp index 76910cd..4ee4456 100644 --- a/game/game.dsp +++ b/game/game.dsp @@ -1,1618 +1,1618 @@ -# Microsoft Developer Studio Project File - Name="game" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=game - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "game.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "game.mak" CFG="game - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "game - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "game - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "game - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "game - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:I386 /out:"..\release\gamex86.dll" -# SUBTRACT LINK32 /incremental:yes /debug - -!ELSEIF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "BUILDING_REF_GL" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:"..\debug\gamex86.dll" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug Alpha" -# PROP BASE Intermediate_Dir "Debug Alpha" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA /out:"..\DebugAxp/gameaxp.dll" - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "game___W" -# PROP BASE Intermediate_Dir "game___W" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c -# SUBTRACT CPP /Z /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\Release/gamex86.dll" -# ADD LINK32 kernel32.lib user32.lib gdi32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\ReleaseAXP/gameaxp.dll" -# SUBTRACT LINK32 /debug - -!ENDIF - -# Begin Target - -# Name "game - Win32 Release" -# Name "game - Win32 Debug" -# Name "game - Win32 Debug Alpha" -# Name "game - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\g_ai.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_AI_=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_AI_=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_chase.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_CHA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_CHA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_cmds.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_CMD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_CMD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_combat.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_COM=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_COM=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_func.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_FUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_FUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_items.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_ITE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_ITE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_main.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_MAI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_MAI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_misc.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_MIS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_MIS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_monster.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_MON=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_MON=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_phys.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_PHY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_PHY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_save.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_SAV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_SAV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_spawn.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_SPA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_SPA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_svcmds.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_SVC=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_SVC=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_target.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_TAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_TAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_trigger.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_TRI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_TRI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_turret.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_TUR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_TUR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_utils.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_UTI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_UTI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\g_weapon.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_G_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_G_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_actor.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_ACT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_actor.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_ACT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_actor.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_berserk.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BER=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_berserk.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BER=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_berserk.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss2.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss2.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss2.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss3.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOSS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOSS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss31.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOSS3=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss31.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOSS3=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss31.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_boss32.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BOSS32=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BOSS32=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_boss32.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_brain.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_BRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_brain.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_BRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_brain.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_chick.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_CHI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_chick.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_CHI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_chick.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_flash.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLA=\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLA=\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_flipper.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flipper.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flipper.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_float.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLO=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_float.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLO=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_float.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_flyer.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_FLY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flyer.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_FLY=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_flyer.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_gladiator.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_GLA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gladiator.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_GLA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gladiator.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_gunner.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_GUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gunner.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_GUN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_gunner.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_hover.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_HOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_hover.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_HOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_hover.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_infantry.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_INF=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_infantry.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_INF=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_infantry.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_insane.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_INS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_insane.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_INS=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_insane.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_medic.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_MED=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_medic.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_MED=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_medic.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_move.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_MOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_MOV=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_mutant.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_MUT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_mutant.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_MUT=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_mutant.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_parasite.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_PAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_parasite.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_PAR=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_parasite.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_soldier.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_SOL=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_soldier.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_SOL=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_soldier.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_supertank.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_SUP=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_supertank.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_SUP=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_supertank.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\m_tank.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_M_TAN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_tank.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_M_TAN=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_tank.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_client.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_CLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_CLI=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_hud.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_HUD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_HUD=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_trail.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_TRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_TRA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_view.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_VIE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_VIE=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\p_weapon.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_P_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_P_WEA=\ - ".\g_local.h"\ - ".\game.h"\ - ".\m_player.h"\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\q_shared.c - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - ".\q_shared.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\g_local.h -# End Source File -# Begin Source File - -SOURCE=.\game.h -# End Source File -# Begin Source File - -SOURCE=.\m_actor.h -# End Source File -# Begin Source File - -SOURCE=.\m_berserk.h -# End Source File -# Begin Source File - -SOURCE=.\m_boss2.h -# End Source File -# Begin Source File - -SOURCE=.\m_boss31.h -# End Source File -# Begin Source File - -SOURCE=.\m_boss32.h -# End Source File -# Begin Source File - -SOURCE=.\m_brain.h -# End Source File -# Begin Source File - -SOURCE=.\m_chick.h -# End Source File -# Begin Source File - -SOURCE=.\m_flipper.h -# End Source File -# Begin Source File - -SOURCE=.\m_float.h -# End Source File -# Begin Source File - -SOURCE=.\m_flyer.h -# End Source File -# Begin Source File - -SOURCE=.\m_gladiator.h -# End Source File -# Begin Source File - -SOURCE=.\m_gunner.h -# End Source File -# Begin Source File - -SOURCE=.\m_hover.h -# End Source File -# Begin Source File - -SOURCE=.\m_infantry.h -# End Source File -# Begin Source File - -SOURCE=.\m_insane.h -# End Source File -# Begin Source File - -SOURCE=.\m_medic.h -# End Source File -# Begin Source File - -SOURCE=.\m_mutant.h -# End Source File -# Begin Source File - -SOURCE=.\m_parasite.h -# End Source File -# Begin Source File - -SOURCE=.\m_player.h -# End Source File -# Begin Source File - -SOURCE=.\m_soldier.h -# End Source File -# Begin Source File - -SOURCE=.\m_supertank.h -# End Source File -# Begin Source File - -SOURCE=.\m_tank.h -# End Source File -# Begin Source File - -SOURCE=.\q_shared.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\game.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="game" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=game - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "game.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "game.mak" CFG="game - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "game - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "game - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "game - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "game - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:I386 /out:"..\release\gamex86.dll" +# SUBTRACT LINK32 /incremental:yes /debug + +!ELSEIF "$(CFG)" == "game - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "BUILDING_REF_GL" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /out:"..\debug\gamex86.dll" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug Alpha" +# PROP BASE Intermediate_Dir "Debug Alpha" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x20000000" /subsystem:windows /dll /debug /machine:ALPHA /out:"..\DebugAxp/gameaxp.dll" + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "game___W" +# PROP BASE Intermediate_Dir "game___W" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /c +# SUBTRACT CPP /Z /Fr +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\Release/gamex86.dll" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /machine:ALPHA /out:"..\ReleaseAXP/gameaxp.dll" +# SUBTRACT LINK32 /debug + +!ENDIF + +# Begin Target + +# Name "game - Win32 Release" +# Name "game - Win32 Debug" +# Name "game - Win32 Debug Alpha" +# Name "game - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\g_ai.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_AI_=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_AI_=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_chase.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_CHA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_CHA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_cmds.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_CMD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_CMD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_combat.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_COM=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_COM=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_func.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_FUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_FUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_items.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_ITE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_ITE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_main.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_MAI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_MAI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_misc.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_MIS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_MIS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_monster.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_MON=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_MON=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_phys.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_PHY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_PHY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_save.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_SAV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_SAV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_spawn.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_SPA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_SPA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_svcmds.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_SVC=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_SVC=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_target.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_TAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_TAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_trigger.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_TRI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_TRI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_turret.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_TUR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_TUR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_utils.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_UTI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_UTI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\g_weapon.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_G_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_G_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_actor.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_ACT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_actor.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_ACT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_actor.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_berserk.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BER=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_berserk.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BER=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_berserk.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss2.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss2.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss2.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss3.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOSS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOSS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss31.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOSS3=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss31.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOSS3=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss31.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_boss32.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BOSS32=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BOSS32=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_boss32.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_brain.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_BRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_brain.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_BRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_brain.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_chick.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_CHI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_chick.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_CHI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_chick.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_flash.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLA=\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLA=\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_flipper.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flipper.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flipper.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_float.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLO=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_float.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLO=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_float.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_flyer.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_FLY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flyer.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_FLY=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_flyer.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_gladiator.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_GLA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gladiator.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_GLA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gladiator.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_gunner.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_GUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gunner.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_GUN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_gunner.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_hover.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_HOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_hover.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_HOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_hover.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_infantry.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_INF=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_infantry.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_INF=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_infantry.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_insane.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_INS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_insane.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_INS=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_insane.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_medic.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_MED=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_medic.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_MED=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_medic.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_move.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_MOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_MOV=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_mutant.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_MUT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_mutant.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_MUT=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_mutant.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_parasite.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_PAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_parasite.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_PAR=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_parasite.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_soldier.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_SOL=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_soldier.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_SOL=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_soldier.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_supertank.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_SUP=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_supertank.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_SUP=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_supertank.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\m_tank.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_M_TAN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_tank.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_M_TAN=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_tank.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_client.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_CLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_CLI=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_hud.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_HUD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_HUD=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_trail.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_TRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_TRA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_view.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_VIE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_VIE=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\p_weapon.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_P_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_P_WEA=\ + ".\g_local.h"\ + ".\game.h"\ + ".\m_player.h"\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\q_shared.c + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ELSEIF "$(CFG)" == "game - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "game - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + ".\q_shared.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\g_local.h +# End Source File +# Begin Source File + +SOURCE=.\game.h +# End Source File +# Begin Source File + +SOURCE=.\m_actor.h +# End Source File +# Begin Source File + +SOURCE=.\m_berserk.h +# End Source File +# Begin Source File + +SOURCE=.\m_boss2.h +# End Source File +# Begin Source File + +SOURCE=.\m_boss31.h +# End Source File +# Begin Source File + +SOURCE=.\m_boss32.h +# End Source File +# Begin Source File + +SOURCE=.\m_brain.h +# End Source File +# Begin Source File + +SOURCE=.\m_chick.h +# End Source File +# Begin Source File + +SOURCE=.\m_flipper.h +# End Source File +# Begin Source File + +SOURCE=.\m_float.h +# End Source File +# Begin Source File + +SOURCE=.\m_flyer.h +# End Source File +# Begin Source File + +SOURCE=.\m_gladiator.h +# End Source File +# Begin Source File + +SOURCE=.\m_gunner.h +# End Source File +# Begin Source File + +SOURCE=.\m_hover.h +# End Source File +# Begin Source File + +SOURCE=.\m_infantry.h +# End Source File +# Begin Source File + +SOURCE=.\m_insane.h +# End Source File +# Begin Source File + +SOURCE=.\m_medic.h +# End Source File +# Begin Source File + +SOURCE=.\m_mutant.h +# End Source File +# Begin Source File + +SOURCE=.\m_parasite.h +# End Source File +# Begin Source File + +SOURCE=.\m_player.h +# End Source File +# Begin Source File + +SOURCE=.\m_soldier.h +# End Source File +# Begin Source File + +SOURCE=.\m_supertank.h +# End Source File +# Begin Source File + +SOURCE=.\m_tank.h +# End Source File +# Begin Source File + +SOURCE=.\q_shared.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\game.def +# End Source File +# End Group +# End Target +# End Project diff --git a/game/game.plg b/game/game.plg index 60a1dca..3d0da9b 100644 --- a/game/game.plg +++ b/game/game.plg @@ -1,75 +1,75 @@ ---------------------Configuration: game - Win32 Release Alpha-------------------- -Begining build with project "G:\quake2\code\game\game.dsp", at root. -Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) - -Project's tools are: - "OLE Type Library Maker" with flags "/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 " - "C/C++ Compiler for Alpha" with flags "/nologo /QA21164 /MT /Gt0 /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /Fp".\ReleaseAXP/game.pch" /YX /Fo".\ReleaseAXP/" /Fd".\ReleaseAXP/" /FD /c " - "Win32 Resource Compiler" with flags "/l 0x409 /d "NDEBUG" " - "Browser Database Maker" with flags "/nologo /o"..\ReleaseAXP/game.bsc" " - "COFF Linker for Alpha" with flags "kernel32.lib user32.lib gdi32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /pdb:"..\ReleaseAXP/gameaxp.pdb" /debug /machine:ALPHA /def:".\game.def" /out:"..\ReleaseAXP/gameaxp.dll" /implib:"..\ReleaseAXP/gameaxp.lib" " - "Custom Build" with flags "" - "" with flags "" - -Creating temp file "C:\TEMP\RSPA6.tmp" with contents -Creating command line "cl.exe @C:\TEMP\RSPA6.tmp" -Creating temp file "C:\TEMP\RSPA7.tmp" with contents -Creating command line "link.exe @C:\TEMP\RSPA7.tmp" -Compiling... -p_weapon.c -Linking... - Creating library ..\ReleaseAXP/gameaxp.lib and object ..\ReleaseAXP/gameaxp.exp - - - -gameaxp.dll - 0 error(s), 0 warning(s) +--------------------Configuration: game - Win32 Release Alpha-------------------- +Begining build with project "G:\quake2\code\game\game.dsp", at root. +Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) + +Project's tools are: + "OLE Type Library Maker" with flags "/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 " + "C/C++ Compiler for Alpha" with flags "/nologo /QA21164 /MT /Gt0 /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /Fp".\ReleaseAXP/game.pch" /YX /Fo".\ReleaseAXP/" /Fd".\ReleaseAXP/" /FD /c " + "Win32 Resource Compiler" with flags "/l 0x409 /d "NDEBUG" " + "Browser Database Maker" with flags "/nologo /o"..\ReleaseAXP/game.bsc" " + "COFF Linker for Alpha" with flags "kernel32.lib user32.lib gdi32.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /pdb:"..\ReleaseAXP/gameaxp.pdb" /debug /machine:ALPHA /def:".\game.def" /out:"..\ReleaseAXP/gameaxp.dll" /implib:"..\ReleaseAXP/gameaxp.lib" " + "Custom Build" with flags "" + "" with flags "" + +Creating temp file "C:\TEMP\RSPA6.tmp" with contents +Creating command line "cl.exe @C:\TEMP\RSPA6.tmp" +Creating temp file "C:\TEMP\RSPA7.tmp" with contents +Creating command line "link.exe @C:\TEMP\RSPA7.tmp" +Compiling... +p_weapon.c +Linking... + Creating library ..\ReleaseAXP/gameaxp.lib and object ..\ReleaseAXP/gameaxp.exp + + + +gameaxp.dll - 0 error(s), 0 warning(s) diff --git a/linux/Makefile b/linux/Makefile index cac2ecd..d3e6032 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -29,7 +29,7 @@ ifeq ($(ARCH),axp) RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \ -fomit-frame-pointer -fexpensive-optimizations else -RELEASE_CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \ +RELEASE_CFLAGS=$(BASE_CFLAGS) -march=i686 -O6 -ffast-math -funroll-loops \ -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \ -malign-jumps=2 -malign-functions=2 endif diff --git a/makezip b/makezip index 2f68321..9c05c4a 100644 --- a/makezip +++ b/makezip @@ -1,2 +1,2 @@ -zip -9 -r code . - +zip -9 -r code . + diff --git a/quake2.dsp b/quake2.dsp index 61c6278..291e46c 100644 --- a/quake2.dsp +++ b/quake2.dsp @@ -1,2050 +1,2050 @@ -# Microsoft Developer Studio Project File - Name="quake2" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 -# TARGTYPE "Win32 (ALPHA) Application" 0x0601 - -CFG=quake2 - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "quake2.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "quake2.mak" CFG="quake2 - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "quake2 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "quake2 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE "quake2 - Win32 Debug Alpha" (based on "Win32 (ALPHA) Application") -!MESSAGE "quake2 - Win32 Release Alpha" (based on "Win32 (ALPHA) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "quake2 - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /machine:I386 -# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /machine:I386 -# SUBTRACT LINK32 /incremental:yes /debug /nodefaultlib - -!ELSEIF "$(CFG)" == "quake2 - 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 Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /debug /machine:I386 -# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /incremental:no /map /debug /machine:I386 -# SUBTRACT LINK32 /nodefaultlib - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "quake2__" -# PROP BASE Intermediate_Dir "quake2__" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir ".\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c -# SUBTRACT BASE CPP /Gy -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -# SUBTRACT CPP /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:ALPHA -# SUBTRACT BASE LINK32 /nodefaultlib -# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /debug /machine:ALPHA -# SUBTRACT LINK32 /nodefaultlib - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "quake2__" -# PROP BASE Intermediate_Dir "quake2__" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir ".\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -# SUBTRACT CPP /Z /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:ALPHA -# SUBTRACT BASE LINK32 /debug /nodefaultlib -# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /machine:ALPHA -# SUBTRACT LINK32 /debug /nodefaultlib - -!ENDIF - -# Begin Target - -# Name "quake2 - Win32 Release" -# Name "quake2 - Win32 Debug" -# Name "quake2 - Win32 Debug Alpha" -# Name "quake2 - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\win32\cd_win.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CD_WI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CD_WI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_cin.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_CI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_CI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_ents.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_EN=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_EN=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_fx.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_FX=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_FX=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_input.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_IN=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_IN=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_inv.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_INV=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_INV=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_main.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_MA=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_MA=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_newfx.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_NE=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_NE=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_parse.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_PA=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_PA=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_pred.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_PR=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_PR=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_scrn.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_SC=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_SC=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_tent.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_TE=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_TE=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\cl_view.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CL_VI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CL_VI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\cmd.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CMD_C=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CMD_C=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\cmodel.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CMODE=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CMODE=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\common.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_COMMO=\ - ".\client\anorms.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_COMMO=\ - ".\client\anorms.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\conproc.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CONPR=\ - ".\win32\conproc.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CONPR=\ - ".\win32\conproc.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\console.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CONSO=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CONSO=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\crc.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CRC_C=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CRC_C=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\cvar.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_CVAR_=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_CVAR_=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\files.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_FILES=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_FILES=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\in_win.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_IN_WI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_IN_WI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\keys.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_KEYS_=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_KEYS_=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\game\m_flash.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_M_FLA=\ - ".\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_M_FLA=\ - ".\game\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\md4.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\menu.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_MENU_=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\qmenu.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_MENU_=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\qmenu.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\net_chan.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_NET_C=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_NET_C=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\net_wins.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_NET_W=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_NET_W=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\qcommon\pmove.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_PMOVE=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_PMOVE=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\game\q_shared.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - ".\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - ".\game\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\q_shwin.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_Q_SHW=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_Q_SHW=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\qmenu.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_QMENU=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\qmenu.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_QMENU=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\qmenu.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\snd_dma.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SND_D=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SND_D=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\snd_mem.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SND_M=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SND_M=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\snd_mix.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SND_MI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SND_MI=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\snd_win.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SND_W=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SND_W=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_ccmds.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_CC=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_CC=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_ents.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_EN=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_EN=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_game.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_GA=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_GA=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_init.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_IN=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_IN=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_main.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_MA=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_MA=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_send.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_SE=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_SE=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_user.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_US=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_US=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\server\sv_world.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SV_WO=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SV_WO=\ - ".\game\game.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\sys_win.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_SYS_W=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\conproc.h"\ - ".\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_SYS_W=\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\conproc.h"\ - ".\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\vid_dll.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_VID_D=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_VID_D=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\win32\vid_menu.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_VID_M=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\qmenu.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_VID_M=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\qmenu.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\client\x86.c - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" - -DEP_CPP_X86_C=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" - -DEP_CPP_X86_C=\ - ".\client\cdaudio.h"\ - ".\client\client.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\game\q_shared.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\client\anorms.h -# End Source File -# Begin Source File - -SOURCE=.\qcommon\bspfile.h -# End Source File -# Begin Source File - -SOURCE=.\client\cdaudio.h -# End Source File -# Begin Source File - -SOURCE=.\client\client.h -# End Source File -# Begin Source File - -SOURCE=.\win32\conproc.h -# End Source File -# Begin Source File - -SOURCE=.\client\console.h -# End Source File -# Begin Source File - -SOURCE=.\game\game.h -# End Source File -# Begin Source File - -SOURCE=.\client\input.h -# End Source File -# Begin Source File - -SOURCE=.\client\keys.h -# End Source File -# Begin Source File - -SOURCE=.\game\q_shared.h -# End Source File -# Begin Source File - -SOURCE=.\qcommon\qcommon.h -# End Source File -# Begin Source File - -SOURCE=.\qcommon\qfiles.h -# End Source File -# Begin Source File - -SOURCE=.\client\qmenu.h -# End Source File -# Begin Source File - -SOURCE=.\client\ref.h -# End Source File -# Begin Source File - -SOURCE=.\client\screen.h -# End Source File -# Begin Source File - -SOURCE=.\server\server.h -# End Source File -# Begin Source File - -SOURCE=.\client\snd_loc.h -# End Source File -# Begin Source File - -SOURCE=.\client\sound.h -# End Source File -# Begin Source File - -SOURCE=.\client\vid.h -# End Source File -# Begin Source File - -SOURCE=.\win32\winquake.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\win32\q2.ico -# End Source File -# Begin Source File - -SOURCE=.\win32\q2.rc -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="quake2" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 +# TARGTYPE "Win32 (ALPHA) Application" 0x0601 + +CFG=quake2 - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "quake2.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "quake2.mak" CFG="quake2 - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "quake2 - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "quake2 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "quake2 - Win32 Debug Alpha" (based on "Win32 (ALPHA) Application") +!MESSAGE "quake2 - Win32 Release Alpha" (based on "Win32 (ALPHA) Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "quake2 - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /machine:I386 +# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /machine:I386 +# SUBTRACT LINK32 /incremental:yes /debug /nodefaultlib + +!ELSEIF "$(CFG)" == "quake2 - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /debug /machine:I386 +# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /incremental:no /map /debug /machine:I386 +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "quake2__" +# PROP BASE Intermediate_Dir "quake2__" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir ".\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c +# SUBTRACT BASE CPP /Gy +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +# SUBTRACT CPP /Fr +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /debug /machine:ALPHA +# SUBTRACT BASE LINK32 /nodefaultlib +# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /debug /machine:ALPHA +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "quake2__" +# PROP BASE Intermediate_Dir "quake2__" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir ".\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zd /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +# SUBTRACT CPP /Z /Fr +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /machine:ALPHA +# SUBTRACT BASE LINK32 /debug /nodefaultlib +# ADD LINK32 winmm.lib wsock32.lib kernel32.lib user32.lib gdi32.lib /nologo /subsystem:windows /machine:ALPHA +# SUBTRACT LINK32 /debug /nodefaultlib + +!ENDIF + +# Begin Target + +# Name "quake2 - Win32 Release" +# Name "quake2 - Win32 Debug" +# Name "quake2 - Win32 Debug Alpha" +# Name "quake2 - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\win32\cd_win.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CD_WI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CD_WI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_cin.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_CI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_CI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_ents.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_EN=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_EN=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_fx.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_FX=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_FX=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_input.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_IN=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_IN=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_inv.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_INV=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_INV=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_main.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_MA=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_MA=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_newfx.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_NE=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_NE=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_parse.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_PA=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_PA=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_pred.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_PR=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_PR=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_scrn.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_SC=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_SC=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_tent.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_TE=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_TE=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\cl_view.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CL_VI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CL_VI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\cmd.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CMD_C=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CMD_C=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\cmodel.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CMODE=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CMODE=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\common.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_COMMO=\ + ".\client\anorms.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_COMMO=\ + ".\client\anorms.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\conproc.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CONPR=\ + ".\win32\conproc.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CONPR=\ + ".\win32\conproc.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\console.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CONSO=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CONSO=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\crc.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CRC_C=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CRC_C=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\cvar.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_CVAR_=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_CVAR_=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\files.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_FILES=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_FILES=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\in_win.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_IN_WI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_IN_WI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\keys.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_KEYS_=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_KEYS_=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\game\m_flash.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_M_FLA=\ + ".\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_M_FLA=\ + ".\game\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\md4.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\menu.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_MENU_=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\qmenu.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_MENU_=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\qmenu.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\net_chan.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_NET_C=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_NET_C=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\net_wins.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_NET_W=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_NET_W=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\qcommon\pmove.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_PMOVE=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_PMOVE=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\game\q_shared.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + ".\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + ".\game\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\q_shwin.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_Q_SHW=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_Q_SHW=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\qmenu.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_QMENU=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\qmenu.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_QMENU=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\qmenu.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\snd_dma.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SND_D=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SND_D=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\snd_mem.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SND_M=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SND_M=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\snd_mix.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SND_MI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SND_MI=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\snd_win.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SND_W=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SND_W=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_ccmds.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_CC=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_CC=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_ents.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_EN=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_EN=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_game.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_GA=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_GA=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_init.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_IN=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_IN=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_main.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_MA=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_MA=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_send.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_SE=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_SE=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_user.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_US=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_US=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\server\sv_world.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SV_WO=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SV_WO=\ + ".\game\game.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\sys_win.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_SYS_W=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\conproc.h"\ + ".\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_SYS_W=\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\conproc.h"\ + ".\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\vid_dll.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_VID_D=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_VID_D=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\win32\vid_menu.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_VID_M=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\qmenu.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_VID_M=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\qmenu.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\client\x86.c + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug Alpha" + +DEP_CPP_X86_C=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Release Alpha" + +DEP_CPP_X86_C=\ + ".\client\cdaudio.h"\ + ".\client\client.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\game\q_shared.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\client\anorms.h +# End Source File +# Begin Source File + +SOURCE=.\qcommon\bspfile.h +# End Source File +# Begin Source File + +SOURCE=.\client\cdaudio.h +# End Source File +# Begin Source File + +SOURCE=.\client\client.h +# End Source File +# Begin Source File + +SOURCE=.\win32\conproc.h +# End Source File +# Begin Source File + +SOURCE=.\client\console.h +# End Source File +# Begin Source File + +SOURCE=.\game\game.h +# End Source File +# Begin Source File + +SOURCE=.\client\input.h +# End Source File +# Begin Source File + +SOURCE=.\client\keys.h +# End Source File +# Begin Source File + +SOURCE=.\game\q_shared.h +# End Source File +# Begin Source File + +SOURCE=.\qcommon\qcommon.h +# End Source File +# Begin Source File + +SOURCE=.\qcommon\qfiles.h +# End Source File +# Begin Source File + +SOURCE=.\client\qmenu.h +# End Source File +# Begin Source File + +SOURCE=.\client\ref.h +# End Source File +# Begin Source File + +SOURCE=.\client\screen.h +# End Source File +# Begin Source File + +SOURCE=.\server\server.h +# End Source File +# Begin Source File + +SOURCE=.\client\snd_loc.h +# End Source File +# Begin Source File + +SOURCE=.\client\sound.h +# End Source File +# Begin Source File + +SOURCE=.\client\vid.h +# End Source File +# Begin Source File + +SOURCE=.\win32\winquake.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\win32\q2.ico +# End Source File +# Begin Source File + +SOURCE=.\win32\q2.rc +# End Source File +# End Group +# End Target +# End Project diff --git a/quake2.dsw b/quake2.dsw index 50f50ce..01d3f83 100644 --- a/quake2.dsw +++ b/quake2.dsw @@ -1,77 +1,77 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "ctf"=.\ctf\ctf.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "game"=.\game\game.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "quake2"=.\quake2.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ref_gl"=.\ref_gl\ref_gl.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "ref_soft"=.\ref_soft\ref_soft.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "ctf"=.\ctf\ctf.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "game"=.\game\game.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "quake2"=.\quake2.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ref_gl"=.\ref_gl\ref_gl.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ref_soft"=.\ref_soft\ref_soft.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/quake2.mak b/quake2.mak index 885b264..f4eda05 100644 --- a/quake2.mak +++ b/quake2.mak @@ -1,4593 +1,4593 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -!IF "$(CFG)" == "" -CFG=ref_soft - Win32 Debug -!MESSAGE No configuration specified. Defaulting to ref_soft - Win32 Debug. -!ENDIF - -!IF "$(CFG)" != "quake2 - Win32 Release" && "$(CFG)" != "quake2 - Win32 Debug"\ - && "$(CFG)" != "ref_soft - Win32 Release" && "$(CFG)" !=\ - "ref_soft - Win32 Debug" && "$(CFG)" != "ref_gl - Win32 Release" && "$(CFG)" !=\ - "ref_gl - Win32 Debug" && "$(CFG)" != "game - Win32 Release" && "$(CFG)" !=\ - "game - 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 "quake2.mak" CFG="ref_soft - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "quake2 - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "quake2 - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE "ref_soft - Win32 Release" (based on\ - "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "game - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "game - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "ref_soft - Win32 Debug" - -!IF "$(CFG)" == "quake2 - 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 : "$(OUTDIR)\quake2.exe" - -CLEAN : - -@erase "$(INTDIR)\cd_win.obj" - -@erase "$(INTDIR)\cl_demo.obj" - -@erase "$(INTDIR)\cl_ents.obj" - -@erase "$(INTDIR)\cl_fx.obj" - -@erase "$(INTDIR)\cl_input.obj" - -@erase "$(INTDIR)\cl_main.obj" - -@erase "$(INTDIR)\cl_parse.obj" - -@erase "$(INTDIR)\cl_tent.obj" - -@erase "$(INTDIR)\cmd.obj" - -@erase "$(INTDIR)\cmodel.obj" - -@erase "$(INTDIR)\common.obj" - -@erase "$(INTDIR)\console.obj" - -@erase "$(INTDIR)\crc.obj" - -@erase "$(INTDIR)\cvar.obj" - -@erase "$(INTDIR)\files.obj" - -@erase "$(INTDIR)\in_win.obj" - -@erase "$(INTDIR)\keys.obj" - -@erase "$(INTDIR)\menu.obj" - -@erase "$(INTDIR)\net_chan.obj" - -@erase "$(INTDIR)\net_wins.obj" - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\sbar2.obj" - -@erase "$(INTDIR)\scr_cin.obj" - -@erase "$(INTDIR)\screen.obj" - -@erase "$(INTDIR)\snd_dma.obj" - -@erase "$(INTDIR)\snd_mem.obj" - -@erase "$(INTDIR)\snd_mix.obj" - -@erase "$(INTDIR)\snd_win.obj" - -@erase "$(INTDIR)\sv_ccmds.obj" - -@erase "$(INTDIR)\sv_ents.obj" - -@erase "$(INTDIR)\sv_game.obj" - -@erase "$(INTDIR)\sv_init.obj" - -@erase "$(INTDIR)\sv_main.obj" - -@erase "$(INTDIR)\sv_move.obj" - -@erase "$(INTDIR)\sv_phys.obj" - -@erase "$(INTDIR)\sv_send.obj" - -@erase "$(INTDIR)\sv_user.obj" - -@erase "$(INTDIR)\sv_world.obj" - -@erase "$(INTDIR)\sys_win.obj" - -@erase "$(INTDIR)\vid_dll.obj" - -@erase "$(INTDIR)\view.obj" - -@erase "$(OUTDIR)\quake2.exe" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /G5 /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ - /Fp"$(INTDIR)/quake2.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\Release/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -RSC=rc.exe -# 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)/quake2.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:windows /machine:I386 -# ADD LINK32 winmm.lib wsock32.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:windows /machine:I386 -# SUBTRACT LINK32 /incremental:yes /nodefaultlib -LINK32_FLAGS=winmm.lib wsock32.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:windows /incremental:no\ - /pdb:"$(OUTDIR)/quake2.pdb" /machine:I386 /out:"$(OUTDIR)/quake2.exe" -LINK32_OBJS= \ - "$(INTDIR)\cd_win.obj" \ - "$(INTDIR)\cl_demo.obj" \ - "$(INTDIR)\cl_ents.obj" \ - "$(INTDIR)\cl_fx.obj" \ - "$(INTDIR)\cl_input.obj" \ - "$(INTDIR)\cl_main.obj" \ - "$(INTDIR)\cl_parse.obj" \ - "$(INTDIR)\cl_tent.obj" \ - "$(INTDIR)\cmd.obj" \ - "$(INTDIR)\cmodel.obj" \ - "$(INTDIR)\common.obj" \ - "$(INTDIR)\console.obj" \ - "$(INTDIR)\crc.obj" \ - "$(INTDIR)\cvar.obj" \ - "$(INTDIR)\files.obj" \ - "$(INTDIR)\in_win.obj" \ - "$(INTDIR)\keys.obj" \ - "$(INTDIR)\menu.obj" \ - "$(INTDIR)\net_chan.obj" \ - "$(INTDIR)\net_wins.obj" \ - "$(INTDIR)\q_shared.obj" \ - "$(INTDIR)\sbar2.obj" \ - "$(INTDIR)\scr_cin.obj" \ - "$(INTDIR)\screen.obj" \ - "$(INTDIR)\snd_dma.obj" \ - "$(INTDIR)\snd_mem.obj" \ - "$(INTDIR)\snd_mix.obj" \ - "$(INTDIR)\snd_win.obj" \ - "$(INTDIR)\sv_ccmds.obj" \ - "$(INTDIR)\sv_ents.obj" \ - "$(INTDIR)\sv_game.obj" \ - "$(INTDIR)\sv_init.obj" \ - "$(INTDIR)\sv_main.obj" \ - "$(INTDIR)\sv_move.obj" \ - "$(INTDIR)\sv_phys.obj" \ - "$(INTDIR)\sv_send.obj" \ - "$(INTDIR)\sv_user.obj" \ - "$(INTDIR)\sv_world.obj" \ - "$(INTDIR)\sys_win.obj" \ - "$(INTDIR)\vid_dll.obj" \ - "$(INTDIR)\view.obj" - -"$(OUTDIR)\quake2.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "quake2 - 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 : "$(OUTDIR)\quake2.exe" "$(OUTDIR)\quake2.bsc" - -CLEAN : - -@erase "$(INTDIR)\cd_win.obj" - -@erase "$(INTDIR)\cd_win.sbr" - -@erase "$(INTDIR)\cl_demo.obj" - -@erase "$(INTDIR)\cl_demo.sbr" - -@erase "$(INTDIR)\cl_ents.obj" - -@erase "$(INTDIR)\cl_ents.sbr" - -@erase "$(INTDIR)\cl_fx.obj" - -@erase "$(INTDIR)\cl_fx.sbr" - -@erase "$(INTDIR)\cl_input.obj" - -@erase "$(INTDIR)\cl_input.sbr" - -@erase "$(INTDIR)\cl_main.obj" - -@erase "$(INTDIR)\cl_main.sbr" - -@erase "$(INTDIR)\cl_parse.obj" - -@erase "$(INTDIR)\cl_parse.sbr" - -@erase "$(INTDIR)\cl_tent.obj" - -@erase "$(INTDIR)\cl_tent.sbr" - -@erase "$(INTDIR)\cmd.obj" - -@erase "$(INTDIR)\cmd.sbr" - -@erase "$(INTDIR)\cmodel.obj" - -@erase "$(INTDIR)\cmodel.sbr" - -@erase "$(INTDIR)\common.obj" - -@erase "$(INTDIR)\common.sbr" - -@erase "$(INTDIR)\console.obj" - -@erase "$(INTDIR)\console.sbr" - -@erase "$(INTDIR)\crc.obj" - -@erase "$(INTDIR)\crc.sbr" - -@erase "$(INTDIR)\cvar.obj" - -@erase "$(INTDIR)\cvar.sbr" - -@erase "$(INTDIR)\files.obj" - -@erase "$(INTDIR)\files.sbr" - -@erase "$(INTDIR)\in_win.obj" - -@erase "$(INTDIR)\in_win.sbr" - -@erase "$(INTDIR)\keys.obj" - -@erase "$(INTDIR)\keys.sbr" - -@erase "$(INTDIR)\menu.obj" - -@erase "$(INTDIR)\menu.sbr" - -@erase "$(INTDIR)\net_chan.obj" - -@erase "$(INTDIR)\net_chan.sbr" - -@erase "$(INTDIR)\net_wins.obj" - -@erase "$(INTDIR)\net_wins.sbr" - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\q_shared.sbr" - -@erase "$(INTDIR)\sbar2.obj" - -@erase "$(INTDIR)\sbar2.sbr" - -@erase "$(INTDIR)\scr_cin.obj" - -@erase "$(INTDIR)\scr_cin.sbr" - -@erase "$(INTDIR)\screen.obj" - -@erase "$(INTDIR)\screen.sbr" - -@erase "$(INTDIR)\snd_dma.obj" - -@erase "$(INTDIR)\snd_dma.sbr" - -@erase "$(INTDIR)\snd_mem.obj" - -@erase "$(INTDIR)\snd_mem.sbr" - -@erase "$(INTDIR)\snd_mix.obj" - -@erase "$(INTDIR)\snd_mix.sbr" - -@erase "$(INTDIR)\snd_win.obj" - -@erase "$(INTDIR)\snd_win.sbr" - -@erase "$(INTDIR)\sv_ccmds.obj" - -@erase "$(INTDIR)\sv_ccmds.sbr" - -@erase "$(INTDIR)\sv_ents.obj" - -@erase "$(INTDIR)\sv_ents.sbr" - -@erase "$(INTDIR)\sv_game.obj" - -@erase "$(INTDIR)\sv_game.sbr" - -@erase "$(INTDIR)\sv_init.obj" - -@erase "$(INTDIR)\sv_init.sbr" - -@erase "$(INTDIR)\sv_main.obj" - -@erase "$(INTDIR)\sv_main.sbr" - -@erase "$(INTDIR)\sv_move.obj" - -@erase "$(INTDIR)\sv_move.sbr" - -@erase "$(INTDIR)\sv_phys.obj" - -@erase "$(INTDIR)\sv_phys.sbr" - -@erase "$(INTDIR)\sv_send.obj" - -@erase "$(INTDIR)\sv_send.sbr" - -@erase "$(INTDIR)\sv_user.obj" - -@erase "$(INTDIR)\sv_user.sbr" - -@erase "$(INTDIR)\sv_world.obj" - -@erase "$(INTDIR)\sv_world.sbr" - -@erase "$(INTDIR)\sys_win.obj" - -@erase "$(INTDIR)\sys_win.sbr" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(INTDIR)\vid_dll.obj" - -@erase "$(INTDIR)\vid_dll.sbr" - -@erase "$(INTDIR)\view.obj" - -@erase "$(INTDIR)\view.sbr" - -@erase "$(OUTDIR)\quake2.bsc" - -@erase "$(OUTDIR)\quake2.exe" - -@erase "$(OUTDIR)\quake2.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /c -# SUBTRACT CPP /Gy -CPP_PROJ=/nologo /G5 /MLd /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ - /FR"$(INTDIR)/" /Fp"$(INTDIR)/quake2.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/"\ - /c -CPP_OBJS=.\Debug/ -CPP_SBRS=.\Debug/ - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -RSC=rc.exe -# 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)/quake2.bsc" -BSC32_SBRS= \ - "$(INTDIR)\cd_win.sbr" \ - "$(INTDIR)\cl_demo.sbr" \ - "$(INTDIR)\cl_ents.sbr" \ - "$(INTDIR)\cl_fx.sbr" \ - "$(INTDIR)\cl_input.sbr" \ - "$(INTDIR)\cl_main.sbr" \ - "$(INTDIR)\cl_parse.sbr" \ - "$(INTDIR)\cl_tent.sbr" \ - "$(INTDIR)\cmd.sbr" \ - "$(INTDIR)\cmodel.sbr" \ - "$(INTDIR)\common.sbr" \ - "$(INTDIR)\console.sbr" \ - "$(INTDIR)\crc.sbr" \ - "$(INTDIR)\cvar.sbr" \ - "$(INTDIR)\files.sbr" \ - "$(INTDIR)\in_win.sbr" \ - "$(INTDIR)\keys.sbr" \ - "$(INTDIR)\menu.sbr" \ - "$(INTDIR)\net_chan.sbr" \ - "$(INTDIR)\net_wins.sbr" \ - "$(INTDIR)\q_shared.sbr" \ - "$(INTDIR)\sbar2.sbr" \ - "$(INTDIR)\scr_cin.sbr" \ - "$(INTDIR)\screen.sbr" \ - "$(INTDIR)\snd_dma.sbr" \ - "$(INTDIR)\snd_mem.sbr" \ - "$(INTDIR)\snd_mix.sbr" \ - "$(INTDIR)\snd_win.sbr" \ - "$(INTDIR)\sv_ccmds.sbr" \ - "$(INTDIR)\sv_ents.sbr" \ - "$(INTDIR)\sv_game.sbr" \ - "$(INTDIR)\sv_init.sbr" \ - "$(INTDIR)\sv_main.sbr" \ - "$(INTDIR)\sv_move.sbr" \ - "$(INTDIR)\sv_phys.sbr" \ - "$(INTDIR)\sv_send.sbr" \ - "$(INTDIR)\sv_user.sbr" \ - "$(INTDIR)\sv_world.sbr" \ - "$(INTDIR)\sys_win.sbr" \ - "$(INTDIR)\vid_dll.sbr" \ - "$(INTDIR)\view.sbr" - -"$(OUTDIR)\quake2.bsc" : "$(OUTDIR)" $(BSC32_SBRS) - $(BSC32) @<< - $(BSC32_FLAGS) $(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:windows /debug /machine:I386 -# ADD LINK32 winmm.lib wsock32.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:windows /incremental:no /debug /machine:I386 -# SUBTRACT LINK32 /nodefaultlib -LINK32_FLAGS=winmm.lib wsock32.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:windows /incremental:no\ - /pdb:"$(OUTDIR)/quake2.pdb" /debug /machine:I386 /out:"$(OUTDIR)/quake2.exe" -LINK32_OBJS= \ - "$(INTDIR)\cd_win.obj" \ - "$(INTDIR)\cl_demo.obj" \ - "$(INTDIR)\cl_ents.obj" \ - "$(INTDIR)\cl_fx.obj" \ - "$(INTDIR)\cl_input.obj" \ - "$(INTDIR)\cl_main.obj" \ - "$(INTDIR)\cl_parse.obj" \ - "$(INTDIR)\cl_tent.obj" \ - "$(INTDIR)\cmd.obj" \ - "$(INTDIR)\cmodel.obj" \ - "$(INTDIR)\common.obj" \ - "$(INTDIR)\console.obj" \ - "$(INTDIR)\crc.obj" \ - "$(INTDIR)\cvar.obj" \ - "$(INTDIR)\files.obj" \ - "$(INTDIR)\in_win.obj" \ - "$(INTDIR)\keys.obj" \ - "$(INTDIR)\menu.obj" \ - "$(INTDIR)\net_chan.obj" \ - "$(INTDIR)\net_wins.obj" \ - "$(INTDIR)\q_shared.obj" \ - "$(INTDIR)\sbar2.obj" \ - "$(INTDIR)\scr_cin.obj" \ - "$(INTDIR)\screen.obj" \ - "$(INTDIR)\snd_dma.obj" \ - "$(INTDIR)\snd_mem.obj" \ - "$(INTDIR)\snd_mix.obj" \ - "$(INTDIR)\snd_win.obj" \ - "$(INTDIR)\sv_ccmds.obj" \ - "$(INTDIR)\sv_ents.obj" \ - "$(INTDIR)\sv_game.obj" \ - "$(INTDIR)\sv_init.obj" \ - "$(INTDIR)\sv_main.obj" \ - "$(INTDIR)\sv_move.obj" \ - "$(INTDIR)\sv_phys.obj" \ - "$(INTDIR)\sv_send.obj" \ - "$(INTDIR)\sv_user.obj" \ - "$(INTDIR)\sv_world.obj" \ - "$(INTDIR)\sys_win.obj" \ - "$(INTDIR)\vid_dll.obj" \ - "$(INTDIR)\view.obj" - -"$(OUTDIR)\quake2.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ref_soft\ref_soft" -# PROP BASE Intermediate_Dir "ref_soft\ref_soft" -# PROP BASE Target_Dir "ref_soft" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "ref_soft\Release" -# PROP Target_Dir "ref_soft" -OUTDIR=.\Release -INTDIR=.\ref_soft\Release - -ALL : "$(OUTDIR)\ref_soft.dll" - -CLEAN : - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\r_aclip.obj" - -@erase "$(INTDIR)\r_alias.obj" - -@erase "$(INTDIR)\r_bsp.obj" - -@erase "$(INTDIR)\r_draw.obj" - -@erase "$(INTDIR)\r_edge.obj" - -@erase "$(INTDIR)\r_image.obj" - -@erase "$(INTDIR)\r_inter.obj" - -@erase "$(INTDIR)\r_light.obj" - -@erase "$(INTDIR)\r_main.obj" - -@erase "$(INTDIR)\r_misc.obj" - -@erase "$(INTDIR)\r_model.obj" - -@erase "$(INTDIR)\r_part.obj" - -@erase "$(INTDIR)\r_poly.obj" - -@erase "$(INTDIR)\r_polyse.obj" - -@erase "$(INTDIR)\r_rast.obj" - -@erase "$(INTDIR)\r_scan.obj" - -@erase "$(INTDIR)\r_sprite.obj" - -@erase "$(INTDIR)\r_surf.obj" - -@erase "$(INTDIR)\rw_ddraw.obj" - -@erase "$(INTDIR)\rw_dib.obj" - -@erase "$(INTDIR)\rw_imp.obj" - -@erase "$(OUTDIR)\ref_soft.dll" - -@erase "$(OUTDIR)\ref_soft.exp" - -@erase "$(OUTDIR)\ref_soft.lib" - -@erase ".\Release\r_aclipa.obj" - -@erase ".\Release\r_draw16.obj" - -@erase ".\Release\r_drawa.obj" - -@erase ".\Release\r_edgea.obj" - -@erase ".\Release\r_scana.obj" - -@erase ".\Release\r_spr8.obj" - -@erase ".\Release\r_surf8.obj" - -@erase ".\Release\r_varsa.obj" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ - /Fp"$(INTDIR)/ref_soft.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\ref_soft\Release/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -RSC=rc.exe -# 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)/ref_soft.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:windows /dll /machine:I386 -# ADD LINK32 winmm.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:windows /dll /machine:I386 /nodefaultlib:"libc" -# SUBTRACT LINK32 /nodefaultlib -LINK32_FLAGS=winmm.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:windows /dll /incremental:no\ - /pdb:"$(OUTDIR)/ref_soft.pdb" /machine:I386 /nodefaultlib:"libc"\ - /def:".\ref_soft\ref_soft.def" /out:"$(OUTDIR)/ref_soft.dll"\ - /implib:"$(OUTDIR)/ref_soft.lib" -DEF_FILE= \ - ".\ref_soft\ref_soft.def" -LINK32_OBJS= \ - "$(INTDIR)\q_shared.obj" \ - "$(INTDIR)\r_aclip.obj" \ - "$(INTDIR)\r_alias.obj" \ - "$(INTDIR)\r_bsp.obj" \ - "$(INTDIR)\r_draw.obj" \ - "$(INTDIR)\r_edge.obj" \ - "$(INTDIR)\r_image.obj" \ - "$(INTDIR)\r_inter.obj" \ - "$(INTDIR)\r_light.obj" \ - "$(INTDIR)\r_main.obj" \ - "$(INTDIR)\r_misc.obj" \ - "$(INTDIR)\r_model.obj" \ - "$(INTDIR)\r_part.obj" \ - "$(INTDIR)\r_poly.obj" \ - "$(INTDIR)\r_polyse.obj" \ - "$(INTDIR)\r_rast.obj" \ - "$(INTDIR)\r_scan.obj" \ - "$(INTDIR)\r_sprite.obj" \ - "$(INTDIR)\r_surf.obj" \ - "$(INTDIR)\rw_ddraw.obj" \ - "$(INTDIR)\rw_dib.obj" \ - "$(INTDIR)\rw_imp.obj" \ - ".\Release\r_aclipa.obj" \ - ".\Release\r_draw16.obj" \ - ".\Release\r_drawa.obj" \ - ".\Release\r_edgea.obj" \ - ".\Release\r_scana.obj" \ - ".\Release\r_spr8.obj" \ - ".\Release\r_surf8.obj" \ - ".\Release\r_varsa.obj" - -"$(OUTDIR)\ref_soft.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ref_soft\ref_soft" -# PROP BASE Intermediate_Dir "ref_soft\ref_soft" -# PROP BASE Target_Dir "ref_soft" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "ref_soft\Debug" -# PROP Target_Dir "ref_soft" -OUTDIR=.\Debug -INTDIR=.\ref_soft\Debug - -ALL : "$(OUTDIR)\ref_soft.dll" - -CLEAN : - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\r_aclip.obj" - -@erase "$(INTDIR)\r_alias.obj" - -@erase "$(INTDIR)\r_bsp.obj" - -@erase "$(INTDIR)\r_draw.obj" - -@erase "$(INTDIR)\r_edge.obj" - -@erase "$(INTDIR)\r_image.obj" - -@erase "$(INTDIR)\r_inter.obj" - -@erase "$(INTDIR)\r_light.obj" - -@erase "$(INTDIR)\r_main.obj" - -@erase "$(INTDIR)\r_misc.obj" - -@erase "$(INTDIR)\r_model.obj" - -@erase "$(INTDIR)\r_part.obj" - -@erase "$(INTDIR)\r_poly.obj" - -@erase "$(INTDIR)\r_polyse.obj" - -@erase "$(INTDIR)\r_rast.obj" - -@erase "$(INTDIR)\r_scan.obj" - -@erase "$(INTDIR)\r_sprite.obj" - -@erase "$(INTDIR)\r_surf.obj" - -@erase "$(INTDIR)\rw_ddraw.obj" - -@erase "$(INTDIR)\rw_dib.obj" - -@erase "$(INTDIR)\rw_imp.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\ref_soft.dll" - -@erase "$(OUTDIR)\ref_soft.exp" - -@erase "$(OUTDIR)\ref_soft.lib" - -@erase "$(OUTDIR)\ref_soft.pdb" - -@erase ".\Debug\r_aclipa.obj" - -@erase ".\Debug\r_draw16.obj" - -@erase ".\Debug\r_drawa.obj" - -@erase ".\Debug\r_edgea.obj" - -@erase ".\Debug\r_scana.obj" - -@erase ".\Debug\r_spr8.obj" - -@erase ".\Debug\r_surf8.obj" - -@erase ".\Debug\r_varsa.obj" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D\ - "_WINDOWS" /Fp"$(INTDIR)/ref_soft.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\ref_soft\Debug/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -RSC=rc.exe -# 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)/ref_soft.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:windows /dll /debug /machine:I386 -# ADD LINK32 winmm.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:windows /dll /incremental:no /debug /machine:I386 /nodefaultlib:"libc" -# SUBTRACT LINK32 /nodefaultlib -LINK32_FLAGS=winmm.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:windows /dll /incremental:no\ - /pdb:"$(OUTDIR)/ref_soft.pdb" /debug /machine:I386 /nodefaultlib:"libc"\ - /def:".\ref_soft\ref_soft.def" /out:"$(OUTDIR)/ref_soft.dll"\ - /implib:"$(OUTDIR)/ref_soft.lib" -DEF_FILE= \ - ".\ref_soft\ref_soft.def" -LINK32_OBJS= \ - "$(INTDIR)\q_shared.obj" \ - "$(INTDIR)\r_aclip.obj" \ - "$(INTDIR)\r_alias.obj" \ - "$(INTDIR)\r_bsp.obj" \ - "$(INTDIR)\r_draw.obj" \ - "$(INTDIR)\r_edge.obj" \ - "$(INTDIR)\r_image.obj" \ - "$(INTDIR)\r_inter.obj" \ - "$(INTDIR)\r_light.obj" \ - "$(INTDIR)\r_main.obj" \ - "$(INTDIR)\r_misc.obj" \ - "$(INTDIR)\r_model.obj" \ - "$(INTDIR)\r_part.obj" \ - "$(INTDIR)\r_poly.obj" \ - "$(INTDIR)\r_polyse.obj" \ - "$(INTDIR)\r_rast.obj" \ - "$(INTDIR)\r_scan.obj" \ - "$(INTDIR)\r_sprite.obj" \ - "$(INTDIR)\r_surf.obj" \ - "$(INTDIR)\rw_ddraw.obj" \ - "$(INTDIR)\rw_dib.obj" \ - "$(INTDIR)\rw_imp.obj" \ - ".\Debug\r_aclipa.obj" \ - ".\Debug\r_draw16.obj" \ - ".\Debug\r_drawa.obj" \ - ".\Debug\r_edgea.obj" \ - ".\Debug\r_scana.obj" \ - ".\Debug\r_spr8.obj" \ - ".\Debug\r_surf8.obj" \ - ".\Debug\r_varsa.obj" - -"$(OUTDIR)\ref_soft.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ref_gl\ref_gl__" -# PROP BASE Intermediate_Dir "ref_gl\ref_gl__" -# PROP BASE Target_Dir "ref_gl" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "ref_gl\Release" -# PROP Target_Dir "ref_gl" -OUTDIR=.\Release -INTDIR=.\ref_gl\Release - -ALL : "$(OUTDIR)\ref_gl.dll" - -CLEAN : - -@erase "$(INTDIR)\gl_draw.obj" - -@erase "$(INTDIR)\gl_inter.obj" - -@erase "$(INTDIR)\gl_light.obj" - -@erase "$(INTDIR)\gl_mesh.obj" - -@erase "$(INTDIR)\gl_model.obj" - -@erase "$(INTDIR)\gl_rmain.obj" - -@erase "$(INTDIR)\gl_rmisc.obj" - -@erase "$(INTDIR)\gl_rsurf.obj" - -@erase "$(INTDIR)\gl_textr.obj" - -@erase "$(INTDIR)\gl_warp.obj" - -@erase "$(INTDIR)\glw_imp.obj" - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\qgl_win.obj" - -@erase "$(OUTDIR)\ref_gl.dll" - -@erase "$(OUTDIR)\ref_gl.exp" - -@erase "$(OUTDIR)\ref_gl.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ - /Fp"$(INTDIR)/ref_gl.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\ref_gl\Release/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -RSC=rc.exe -# 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)/ref_gl.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:windows /dll /machine:I386 -# ADD LINK32 winmm.lib opengl32.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:windows /dll /machine:I386 -LINK32_FLAGS=winmm.lib opengl32.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:windows /dll\ - /incremental:no /pdb:"$(OUTDIR)/ref_gl.pdb" /machine:I386\ - /def:".\ref_gl\ref_gl.def" /out:"$(OUTDIR)/ref_gl.dll"\ - /implib:"$(OUTDIR)/ref_gl.lib" -DEF_FILE= \ - ".\ref_gl\ref_gl.def" -LINK32_OBJS= \ - "$(INTDIR)\gl_draw.obj" \ - "$(INTDIR)\gl_inter.obj" \ - "$(INTDIR)\gl_light.obj" \ - "$(INTDIR)\gl_mesh.obj" \ - "$(INTDIR)\gl_model.obj" \ - "$(INTDIR)\gl_rmain.obj" \ - "$(INTDIR)\gl_rmisc.obj" \ - "$(INTDIR)\gl_rsurf.obj" \ - "$(INTDIR)\gl_textr.obj" \ - "$(INTDIR)\gl_warp.obj" \ - "$(INTDIR)\glw_imp.obj" \ - "$(INTDIR)\q_shared.obj" \ - "$(INTDIR)\qgl_win.obj" - -"$(OUTDIR)\ref_gl.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "ref_gl\ref_gl__" -# PROP BASE Intermediate_Dir "ref_gl\ref_gl__" -# PROP BASE Target_Dir "ref_gl" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "ref_gl\Debug" -# PROP Target_Dir "ref_gl" -OUTDIR=.\Debug -INTDIR=.\ref_gl\Debug - -ALL : "$(OUTDIR)\ref_gl.dll" - -CLEAN : - -@erase "$(INTDIR)\gl_draw.obj" - -@erase "$(INTDIR)\gl_inter.obj" - -@erase "$(INTDIR)\gl_light.obj" - -@erase "$(INTDIR)\gl_mesh.obj" - -@erase "$(INTDIR)\gl_model.obj" - -@erase "$(INTDIR)\gl_rmain.obj" - -@erase "$(INTDIR)\gl_rmisc.obj" - -@erase "$(INTDIR)\gl_rsurf.obj" - -@erase "$(INTDIR)\gl_textr.obj" - -@erase "$(INTDIR)\gl_warp.obj" - -@erase "$(INTDIR)\glw_imp.obj" - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\qgl_win.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\ref_gl.dll" - -@erase "$(OUTDIR)\ref_gl.exp" - -@erase "$(OUTDIR)\ref_gl.lib" - -@erase "$(OUTDIR)\ref_gl.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D\ - "_WINDOWS" /Fp"$(INTDIR)/ref_gl.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\ref_gl\Debug/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -RSC=rc.exe -# 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)/ref_gl.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:windows /dll /debug /machine:I386 -# ADD LINK32 winmm.lib opengl32.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:windows /dll /incremental:no /debug /machine:I386 -LINK32_FLAGS=winmm.lib opengl32.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:windows /dll\ - /incremental:no /pdb:"$(OUTDIR)/ref_gl.pdb" /debug /machine:I386\ - /def:".\ref_gl\ref_gl.def" /out:"$(OUTDIR)/ref_gl.dll"\ - /implib:"$(OUTDIR)/ref_gl.lib" -DEF_FILE= \ - ".\ref_gl\ref_gl.def" -LINK32_OBJS= \ - "$(INTDIR)\gl_draw.obj" \ - "$(INTDIR)\gl_inter.obj" \ - "$(INTDIR)\gl_light.obj" \ - "$(INTDIR)\gl_mesh.obj" \ - "$(INTDIR)\gl_model.obj" \ - "$(INTDIR)\gl_rmain.obj" \ - "$(INTDIR)\gl_rmisc.obj" \ - "$(INTDIR)\gl_rsurf.obj" \ - "$(INTDIR)\gl_textr.obj" \ - "$(INTDIR)\gl_warp.obj" \ - "$(INTDIR)\glw_imp.obj" \ - "$(INTDIR)\q_shared.obj" \ - "$(INTDIR)\qgl_win.obj" - -"$(OUTDIR)\ref_gl.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "game - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "game\Release" -# PROP BASE Intermediate_Dir "game\Release" -# PROP BASE Target_Dir "game" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "game\Release" -# PROP Target_Dir "game" -OUTDIR=.\Release -INTDIR=.\game\Release - -ALL : "$(OUTDIR)\game.dll" - -CLEAN : - -@erase "$(INTDIR)\g_ai.obj" - -@erase "$(INTDIR)\g_bersrk.obj" - -@erase "$(INTDIR)\g_brain.obj" - -@erase "$(INTDIR)\g_chick.obj" - -@erase "$(INTDIR)\g_client.obj" - -@erase "$(INTDIR)\g_cmds.obj" - -@erase "$(INTDIR)\g_combat.obj" - -@erase "$(INTDIR)\g_flipper.obj" - -@erase "$(INTDIR)\g_float.obj" - -@erase "$(INTDIR)\g_flyer.obj" - -@erase "$(INTDIR)\g_func.obj" - -@erase "$(INTDIR)\g_gladtr.obj" - -@erase "$(INTDIR)\g_gunner.obj" - -@erase "$(INTDIR)\g_hover.obj" - -@erase "$(INTDIR)\g_inftry.obj" - -@erase "$(INTDIR)\g_items.obj" - -@erase "$(INTDIR)\g_main.obj" - -@erase "$(INTDIR)\g_medic.obj" - -@erase "$(INTDIR)\g_misc.obj" - -@erase "$(INTDIR)\g_monster.obj" - -@erase "$(INTDIR)\g_parasite.obj" - -@erase "$(INTDIR)\g_player.obj" - -@erase "$(INTDIR)\g_pmove.obj" - -@erase "$(INTDIR)\g_ptrail.obj" - -@erase "$(INTDIR)\g_pview.obj" - -@erase "$(INTDIR)\g_pweapon.obj" - -@erase "$(INTDIR)\g_soldier.obj" - -@erase "$(INTDIR)\g_tank.obj" - -@erase "$(INTDIR)\g_target.obj" - -@erase "$(INTDIR)\g_trigger.obj" - -@erase "$(INTDIR)\g_utils.obj" - -@erase "$(INTDIR)\g_weapon.obj" - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(OUTDIR)\game.dll" - -@erase "$(OUTDIR)\game.exp" - -@erase "$(OUTDIR)\game.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ - /Fp"$(INTDIR)/game.pch" /YX /Fo"$(INTDIR)/" /c -CPP_OBJS=.\game\Release/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -RSC=rc.exe -# 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)/game.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:windows /dll /machine:I386 -# ADD 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 /base:0x20000000 /subsystem:windows /dll /machine:I386 -LINK32_FLAGS=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 /base:0x20000000 /subsystem:windows /dll /incremental:no\ - /pdb:"$(OUTDIR)/game.pdb" /machine:I386 /def:".\game\game.def"\ - /out:"$(OUTDIR)/game.dll" /implib:"$(OUTDIR)/game.lib" -DEF_FILE= \ - ".\game\game.def" -LINK32_OBJS= \ - "$(INTDIR)\g_ai.obj" \ - "$(INTDIR)\g_bersrk.obj" \ - "$(INTDIR)\g_brain.obj" \ - "$(INTDIR)\g_chick.obj" \ - "$(INTDIR)\g_client.obj" \ - "$(INTDIR)\g_cmds.obj" \ - "$(INTDIR)\g_combat.obj" \ - "$(INTDIR)\g_flipper.obj" \ - "$(INTDIR)\g_float.obj" \ - "$(INTDIR)\g_flyer.obj" \ - "$(INTDIR)\g_func.obj" \ - "$(INTDIR)\g_gladtr.obj" \ - "$(INTDIR)\g_gunner.obj" \ - "$(INTDIR)\g_hover.obj" \ - "$(INTDIR)\g_inftry.obj" \ - "$(INTDIR)\g_items.obj" \ - "$(INTDIR)\g_main.obj" \ - "$(INTDIR)\g_medic.obj" \ - "$(INTDIR)\g_misc.obj" \ - "$(INTDIR)\g_monster.obj" \ - "$(INTDIR)\g_parasite.obj" \ - "$(INTDIR)\g_player.obj" \ - "$(INTDIR)\g_pmove.obj" \ - "$(INTDIR)\g_ptrail.obj" \ - "$(INTDIR)\g_pview.obj" \ - "$(INTDIR)\g_pweapon.obj" \ - "$(INTDIR)\g_soldier.obj" \ - "$(INTDIR)\g_tank.obj" \ - "$(INTDIR)\g_target.obj" \ - "$(INTDIR)\g_trigger.obj" \ - "$(INTDIR)\g_utils.obj" \ - "$(INTDIR)\g_weapon.obj" \ - "$(INTDIR)\q_shared.obj" - -"$(OUTDIR)\game.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "game\Debug" -# PROP BASE Intermediate_Dir "game\Debug" -# PROP BASE Target_Dir "game" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "game\Debug" -# PROP Target_Dir "game" -OUTDIR=.\Debug -INTDIR=.\game\Debug - -ALL : "$(OUTDIR)\game.dll" - -CLEAN : - -@erase "$(INTDIR)\g_ai.obj" - -@erase "$(INTDIR)\g_bersrk.obj" - -@erase "$(INTDIR)\g_brain.obj" - -@erase "$(INTDIR)\g_chick.obj" - -@erase "$(INTDIR)\g_client.obj" - -@erase "$(INTDIR)\g_cmds.obj" - -@erase "$(INTDIR)\g_combat.obj" - -@erase "$(INTDIR)\g_flipper.obj" - -@erase "$(INTDIR)\g_float.obj" - -@erase "$(INTDIR)\g_flyer.obj" - -@erase "$(INTDIR)\g_func.obj" - -@erase "$(INTDIR)\g_gladtr.obj" - -@erase "$(INTDIR)\g_gunner.obj" - -@erase "$(INTDIR)\g_hover.obj" - -@erase "$(INTDIR)\g_inftry.obj" - -@erase "$(INTDIR)\g_items.obj" - -@erase "$(INTDIR)\g_main.obj" - -@erase "$(INTDIR)\g_medic.obj" - -@erase "$(INTDIR)\g_misc.obj" - -@erase "$(INTDIR)\g_monster.obj" - -@erase "$(INTDIR)\g_parasite.obj" - -@erase "$(INTDIR)\g_player.obj" - -@erase "$(INTDIR)\g_pmove.obj" - -@erase "$(INTDIR)\g_ptrail.obj" - -@erase "$(INTDIR)\g_pview.obj" - -@erase "$(INTDIR)\g_pweapon.obj" - -@erase "$(INTDIR)\g_soldier.obj" - -@erase "$(INTDIR)\g_tank.obj" - -@erase "$(INTDIR)\g_target.obj" - -@erase "$(INTDIR)\g_trigger.obj" - -@erase "$(INTDIR)\g_utils.obj" - -@erase "$(INTDIR)\g_weapon.obj" - -@erase "$(INTDIR)\q_shared.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" - -@erase "$(OUTDIR)\game.dll" - -@erase "$(OUTDIR)\game.exp" - -@erase "$(OUTDIR)\game.lib" - -@erase "$(OUTDIR)\game.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ - /Fp"$(INTDIR)/game.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c -CPP_OBJS=.\game\Debug/ -CPP_SBRS=.\. - -.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) $< - -MTL=mktyplib.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -RSC=rc.exe -# 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)/game.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:windows /dll /debug /machine:I386 -# ADD 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 /base:0x20000000 /subsystem:windows /dll /incremental:no /debug /machine:I386 -LINK32_FLAGS=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 /base:0x20000000 /subsystem:windows /dll /incremental:no\ - /pdb:"$(OUTDIR)/game.pdb" /debug /machine:I386 /def:".\game\game.def"\ - /out:"$(OUTDIR)/game.dll" /implib:"$(OUTDIR)/game.lib" -DEF_FILE= \ - ".\game\game.def" -LINK32_OBJS= \ - "$(INTDIR)\g_ai.obj" \ - "$(INTDIR)\g_bersrk.obj" \ - "$(INTDIR)\g_brain.obj" \ - "$(INTDIR)\g_chick.obj" \ - "$(INTDIR)\g_client.obj" \ - "$(INTDIR)\g_cmds.obj" \ - "$(INTDIR)\g_combat.obj" \ - "$(INTDIR)\g_flipper.obj" \ - "$(INTDIR)\g_float.obj" \ - "$(INTDIR)\g_flyer.obj" \ - "$(INTDIR)\g_func.obj" \ - "$(INTDIR)\g_gladtr.obj" \ - "$(INTDIR)\g_gunner.obj" \ - "$(INTDIR)\g_hover.obj" \ - "$(INTDIR)\g_inftry.obj" \ - "$(INTDIR)\g_items.obj" \ - "$(INTDIR)\g_main.obj" \ - "$(INTDIR)\g_medic.obj" \ - "$(INTDIR)\g_misc.obj" \ - "$(INTDIR)\g_monster.obj" \ - "$(INTDIR)\g_parasite.obj" \ - "$(INTDIR)\g_player.obj" \ - "$(INTDIR)\g_pmove.obj" \ - "$(INTDIR)\g_ptrail.obj" \ - "$(INTDIR)\g_pview.obj" \ - "$(INTDIR)\g_pweapon.obj" \ - "$(INTDIR)\g_soldier.obj" \ - "$(INTDIR)\g_tank.obj" \ - "$(INTDIR)\g_target.obj" \ - "$(INTDIR)\g_trigger.obj" \ - "$(INTDIR)\g_utils.obj" \ - "$(INTDIR)\g_weapon.obj" \ - "$(INTDIR)\q_shared.obj" - -"$(OUTDIR)\game.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - -################################################################################ -# Begin Target - -# Name "quake2 - Win32 Release" -# Name "quake2 - Win32 Debug" - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\cmodel.c -DEP_CPP_CMODE=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cmodel.obj" : $(SOURCE) $(DEP_CPP_CMODE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cmodel.obj" : $(SOURCE) $(DEP_CPP_CMODE) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cmodel.sbr" : $(SOURCE) $(DEP_CPP_CMODE) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\common.c -DEP_CPP_COMMO=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\common.obj" : $(SOURCE) $(DEP_CPP_COMMO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\common.obj" : $(SOURCE) $(DEP_CPP_COMMO) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\common.sbr" : $(SOURCE) $(DEP_CPP_COMMO) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\cvar.c -DEP_CPP_CVAR_=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cvar.obj" : $(SOURCE) $(DEP_CPP_CVAR_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cvar.obj" : $(SOURCE) $(DEP_CPP_CVAR_) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cvar.sbr" : $(SOURCE) $(DEP_CPP_CVAR_) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\files.c -DEP_CPP_FILES=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\files.obj" : $(SOURCE) $(DEP_CPP_FILES) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\files.obj" : $(SOURCE) $(DEP_CPP_FILES) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\files.sbr" : $(SOURCE) $(DEP_CPP_FILES) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\net_chan.c -DEP_CPP_NET_C=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\net_chan.obj" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\net_chan.obj" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\net_chan.sbr" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\cmd.c -DEP_CPP_CMD_C=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cmd.obj" : $(SOURCE) $(DEP_CPP_CMD_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cmd.obj" : $(SOURCE) $(DEP_CPP_CMD_C) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cmd.sbr" : $(SOURCE) $(DEP_CPP_CMD_C) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\view.c -DEP_CPP_VIEW_=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\view.obj" : $(SOURCE) $(DEP_CPP_VIEW_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\view.obj" : $(SOURCE) $(DEP_CPP_VIEW_) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\view.sbr" : $(SOURCE) $(DEP_CPP_VIEW_) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_demo.c -DEP_CPP_CL_DE=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_demo.obj" : $(SOURCE) $(DEP_CPP_CL_DE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_demo.obj" : $(SOURCE) $(DEP_CPP_CL_DE) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_demo.sbr" : $(SOURCE) $(DEP_CPP_CL_DE) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_ents.c -DEP_CPP_CL_EN=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_ents.obj" : $(SOURCE) $(DEP_CPP_CL_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_ents.obj" : $(SOURCE) $(DEP_CPP_CL_EN) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_ents.sbr" : $(SOURCE) $(DEP_CPP_CL_EN) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_input.c -DEP_CPP_CL_IN=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_input.obj" : $(SOURCE) $(DEP_CPP_CL_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_input.obj" : $(SOURCE) $(DEP_CPP_CL_IN) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_input.sbr" : $(SOURCE) $(DEP_CPP_CL_IN) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_main.c -DEP_CPP_CL_MA=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_main.obj" : $(SOURCE) $(DEP_CPP_CL_MA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_main.obj" : $(SOURCE) $(DEP_CPP_CL_MA) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_main.sbr" : $(SOURCE) $(DEP_CPP_CL_MA) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_parse.c -DEP_CPP_CL_PA=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_parse.obj" : $(SOURCE) $(DEP_CPP_CL_PA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_parse.obj" : $(SOURCE) $(DEP_CPP_CL_PA) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_parse.sbr" : $(SOURCE) $(DEP_CPP_CL_PA) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_tent.c -DEP_CPP_CL_TE=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_tent.obj" : $(SOURCE) $(DEP_CPP_CL_TE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_tent.obj" : $(SOURCE) $(DEP_CPP_CL_TE) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_tent.sbr" : $(SOURCE) $(DEP_CPP_CL_TE) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\console.c -DEP_CPP_CONSO=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\console.obj" : $(SOURCE) $(DEP_CPP_CONSO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\console.obj" : $(SOURCE) $(DEP_CPP_CONSO) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\console.sbr" : $(SOURCE) $(DEP_CPP_CONSO) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\keys.c -DEP_CPP_KEYS_=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\keys.obj" : $(SOURCE) $(DEP_CPP_KEYS_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\keys.obj" : $(SOURCE) $(DEP_CPP_KEYS_) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\keys.sbr" : $(SOURCE) $(DEP_CPP_KEYS_) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\menu.c -DEP_CPP_MENU_=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\menu.obj" : $(SOURCE) $(DEP_CPP_MENU_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\menu.obj" : $(SOURCE) $(DEP_CPP_MENU_) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\menu.sbr" : $(SOURCE) $(DEP_CPP_MENU_) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\screen.c -DEP_CPP_SCREE=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\screen.obj" : $(SOURCE) $(DEP_CPP_SCREE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\screen.obj" : $(SOURCE) $(DEP_CPP_SCREE) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\screen.sbr" : $(SOURCE) $(DEP_CPP_SCREE) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\snd_dma.c -DEP_CPP_SND_D=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - ".\win32\winquake.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\snd_dma.obj" : $(SOURCE) $(DEP_CPP_SND_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\snd_dma.obj" : $(SOURCE) $(DEP_CPP_SND_D) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\snd_dma.sbr" : $(SOURCE) $(DEP_CPP_SND_D) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\snd_mem.c -DEP_CPP_SND_M=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\snd_mem.obj" : $(SOURCE) $(DEP_CPP_SND_M) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\snd_mem.obj" : $(SOURCE) $(DEP_CPP_SND_M) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\snd_mem.sbr" : $(SOURCE) $(DEP_CPP_SND_M) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\snd_mix.c -DEP_CPP_SND_MI=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - ".\win32\winquake.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\snd_mix.obj" : $(SOURCE) $(DEP_CPP_SND_MI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\snd_mix.obj" : $(SOURCE) $(DEP_CPP_SND_MI) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\snd_mix.sbr" : $(SOURCE) $(DEP_CPP_SND_MI) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_ccmds.c -DEP_CPP_SV_CC=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_ccmds.obj" : $(SOURCE) $(DEP_CPP_SV_CC) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_ccmds.obj" : $(SOURCE) $(DEP_CPP_SV_CC) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_ccmds.sbr" : $(SOURCE) $(DEP_CPP_SV_CC) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_ents.c -DEP_CPP_SV_EN=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_ents.obj" : $(SOURCE) $(DEP_CPP_SV_EN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_ents.obj" : $(SOURCE) $(DEP_CPP_SV_EN) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_ents.sbr" : $(SOURCE) $(DEP_CPP_SV_EN) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_init.c -DEP_CPP_SV_IN=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_init.obj" : $(SOURCE) $(DEP_CPP_SV_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_init.obj" : $(SOURCE) $(DEP_CPP_SV_IN) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_init.sbr" : $(SOURCE) $(DEP_CPP_SV_IN) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_main.c -DEP_CPP_SV_MA=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_main.obj" : $(SOURCE) $(DEP_CPP_SV_MA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_main.obj" : $(SOURCE) $(DEP_CPP_SV_MA) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_main.sbr" : $(SOURCE) $(DEP_CPP_SV_MA) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_phys.c -DEP_CPP_SV_PH=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_phys.obj" : $(SOURCE) $(DEP_CPP_SV_PH) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_phys.obj" : $(SOURCE) $(DEP_CPP_SV_PH) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_phys.sbr" : $(SOURCE) $(DEP_CPP_SV_PH) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_send.c -DEP_CPP_SV_SE=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_send.obj" : $(SOURCE) $(DEP_CPP_SV_SE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_send.obj" : $(SOURCE) $(DEP_CPP_SV_SE) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_send.sbr" : $(SOURCE) $(DEP_CPP_SV_SE) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_user.c -DEP_CPP_SV_US=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_user.obj" : $(SOURCE) $(DEP_CPP_SV_US) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_user.obj" : $(SOURCE) $(DEP_CPP_SV_US) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_user.sbr" : $(SOURCE) $(DEP_CPP_SV_US) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\qcommon.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\client.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\server.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\vid_dll.c -DEP_CPP_VID_D=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - ".\win32\winquake.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\vid_dll.obj" : $(SOURCE) $(DEP_CPP_VID_D) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\vid_dll.obj" : $(SOURCE) $(DEP_CPP_VID_D) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\vid_dll.sbr" : $(SOURCE) $(DEP_CPP_VID_D) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\in_win.c -DEP_CPP_IN_WI=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - ".\win32\winquake.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\in_win.obj" : $(SOURCE) $(DEP_CPP_IN_WI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\in_win.obj" : $(SOURCE) $(DEP_CPP_IN_WI) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\in_win.sbr" : $(SOURCE) $(DEP_CPP_IN_WI) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\net_wins.c -DEP_CPP_NET_W=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\net_wins.obj" : $(SOURCE) $(DEP_CPP_NET_W) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\net_wins.obj" : $(SOURCE) $(DEP_CPP_NET_W) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\net_wins.sbr" : $(SOURCE) $(DEP_CPP_NET_W) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\snd_win.c -DEP_CPP_SND_W=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\snd_loc.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - ".\win32\winquake.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\snd_win.obj" : $(SOURCE) $(DEP_CPP_SND_W) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\snd_win.obj" : $(SOURCE) $(DEP_CPP_SND_W) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\snd_win.sbr" : $(SOURCE) $(DEP_CPP_SND_W) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\sys_win.c -DEP_CPP_SYS_W=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\winquake.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sys_win.obj" : $(SOURCE) $(DEP_CPP_SYS_W) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sys_win.obj" : $(SOURCE) $(DEP_CPP_SYS_W) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sys_win.sbr" : $(SOURCE) $(DEP_CPP_SYS_W) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\cd_win.c -DEP_CPP_CD_WI=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cd_win.obj" : $(SOURCE) $(DEP_CPP_CD_WI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cd_win.obj" : $(SOURCE) $(DEP_CPP_CD_WI) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cd_win.sbr" : $(SOURCE) $(DEP_CPP_CD_WI) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\bspfile.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\sbar2.c -DEP_CPP_SBAR2=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sbar2.obj" : $(SOURCE) $(DEP_CPP_SBAR2) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sbar2.obj" : $(SOURCE) $(DEP_CPP_SBAR2) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sbar2.sbr" : $(SOURCE) $(DEP_CPP_SBAR2) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\ref.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_game.c -DEP_CPP_SV_GA=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_game.obj" : $(SOURCE) $(DEP_CPP_SV_GA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_game.obj" : $(SOURCE) $(DEP_CPP_SV_GA) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_game.sbr" : $(SOURCE) $(DEP_CPP_SV_GA) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\snd_loc.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_move.c -DEP_CPP_SV_MO=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_move.obj" : $(SOURCE) $(DEP_CPP_SV_MO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_move.obj" : $(SOURCE) $(DEP_CPP_SV_MO) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_move.sbr" : $(SOURCE) $(DEP_CPP_SV_MO) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\crc.c -DEP_CPP_CRC_C=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\crc.obj" : $(SOURCE) $(DEP_CPP_CRC_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\crc.obj" : $(SOURCE) $(DEP_CPP_CRC_C) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\crc.sbr" : $(SOURCE) $(DEP_CPP_CRC_C) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\cl_fx.c -DEP_CPP_CL_FX=\ - ".\client\anorms.h"\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\cl_fx.obj" : $(SOURCE) $(DEP_CPP_CL_FX) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\cl_fx.obj" : $(SOURCE) $(DEP_CPP_CL_FX) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\cl_fx.sbr" : $(SOURCE) $(DEP_CPP_CL_FX) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\client\scr_cin.c -DEP_CPP_SCR_C=\ - ".\client\cdaudio.h"\ - ".\client\console.h"\ - ".\client\input.h"\ - ".\client\keys.h"\ - ".\client\ref.h"\ - ".\client\sbar.h"\ - ".\client\screen.h"\ - ".\client\sound.h"\ - ".\client\vid.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\win32\..\client\client.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\scr_cin.obj" : $(SOURCE) $(DEP_CPP_SCR_C) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\scr_cin.obj" : $(SOURCE) $(DEP_CPP_SCR_C) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\scr_cin.sbr" : $(SOURCE) $(DEP_CPP_SCR_C) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\qfiles.h - -!IF "$(CFG)" == "quake2 - Win32 Release" - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\server\sv_world.c -DEP_CPP_SV_WO=\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\sv_world.obj" : $(SOURCE) $(DEP_CPP_SV_WO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\sv_world.obj" : $(SOURCE) $(DEP_CPP_SV_WO) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\sv_world.sbr" : $(SOURCE) $(DEP_CPP_SV_WO) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\q_shared.c -DEP_CPP_Q_SHA=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -!IF "$(CFG)" == "quake2 - Win32 Release" - - -"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" - - -BuildCmds= \ - $(CPP) $(CPP_PROJ) $(SOURCE) \ - - -"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" - $(BuildCmds) - -"$(INTDIR)\q_shared.sbr" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" - $(BuildCmds) - -!ENDIF - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "ref_soft - Win32 Release" -# Name "ref_soft - Win32 Debug" - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_aclip.c -DEP_CPP_R_ACL=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_aclip.obj" : $(SOURCE) $(DEP_CPP_R_ACL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_alias.c -DEP_CPP_R_ALI=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\anorms.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_alias.obj" : $(SOURCE) $(DEP_CPP_R_ALI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_bsp.c -DEP_CPP_R_BSP=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_bsp.obj" : $(SOURCE) $(DEP_CPP_R_BSP) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_draw.c -DEP_CPP_R_DRA=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_draw.obj" : $(SOURCE) $(DEP_CPP_R_DRA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_edge.c -DEP_CPP_R_EDG=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_edge.obj" : $(SOURCE) $(DEP_CPP_R_EDG) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_inter.c -DEP_CPP_R_INT=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_inter.obj" : $(SOURCE) $(DEP_CPP_R_INT) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_light.c -DEP_CPP_R_LIG=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_light.obj" : $(SOURCE) $(DEP_CPP_R_LIG) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_main.c -DEP_CPP_R_MAI=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_main.obj" : $(SOURCE) $(DEP_CPP_R_MAI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_misc.c -DEP_CPP_R_MIS=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_misc.obj" : $(SOURCE) $(DEP_CPP_R_MIS) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_part.c -DEP_CPP_R_PAR=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_part.obj" : $(SOURCE) $(DEP_CPP_R_PAR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_sprite.c -DEP_CPP_R_SPR=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_sprite.obj" : $(SOURCE) $(DEP_CPP_R_SPR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_surf.c -DEP_CPP_R_SUR=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_surf.obj" : $(SOURCE) $(DEP_CPP_R_SUR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_aclipa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_aclipa.asm -InputName=r_aclipa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_aclipa.asm -InputName=r_aclipa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_drawa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_drawa.asm -InputName=r_drawa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_drawa.asm -InputName=r_drawa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_edgea.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_edgea.asm -InputName=r_edgea - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_edgea.asm -InputName=r_edgea - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_varsa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_varsa.asm -InputName=r_varsa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_varsa.asm -InputName=r_varsa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\ref_soft.def - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_local.h - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_image.c -DEP_CPP_R_IMA=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_image.obj" : $(SOURCE) $(DEP_CPP_R_IMA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_poly.c -DEP_CPP_R_POL=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_poly.obj" : $(SOURCE) $(DEP_CPP_R_POL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_polyse.c -DEP_CPP_R_POLY=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\adivtab.h"\ - ".\ref_soft\r_model.h"\ - ".\ref_soft\rand1k.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_polyse.obj" : $(SOURCE) $(DEP_CPP_R_POLY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_model.c -DEP_CPP_R_MOD=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_model.obj" : $(SOURCE) $(DEP_CPP_R_MOD) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_rast.c -DEP_CPP_R_RAS=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_rast.obj" : $(SOURCE) $(DEP_CPP_R_RAS) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_surf8.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_surf8.asm -InputName=r_surf8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_surf8.asm -InputName=r_surf8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_spr8.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_spr8.asm -InputName=r_spr8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_spr8.asm -InputName=r_spr8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_scana.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_scana.asm -InputName=r_scana - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_scana.asm -InputName=r_scana - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_scan.c -DEP_CPP_R_SCA=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - - -"$(INTDIR)\r_scan.obj" : $(SOURCE) $(DEP_CPP_R_SCA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_soft\r_draw16.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\Release -InputPath=.\ref_soft\r_draw16.asm -InputName=r_draw16 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\Debug -InputPath=.\ref_soft\r_draw16.asm -InputName=r_draw16 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\rw_dib.c -DEP_CPP_RW_DI=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - ".\win32\rw_win.h"\ - - -"$(INTDIR)\rw_dib.obj" : $(SOURCE) $(DEP_CPP_RW_DI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\rw_imp.c -DEP_CPP_RW_IM=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - ".\win32\rw_win.h"\ - - -"$(INTDIR)\rw_imp.obj" : $(SOURCE) $(DEP_CPP_RW_IM) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\q_shared.c -DEP_CPP_Q_SHA=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\rw_ddraw.c -DEP_CPP_RW_DD=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_soft\r_model.h"\ - ".\win32\..\ref_soft\r_local.h"\ - ".\win32\rw_win.h"\ - - -"$(INTDIR)\rw_ddraw.obj" : $(SOURCE) $(DEP_CPP_RW_DD) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "ref_gl - Win32 Release" -# Name "ref_gl - Win32 Debug" - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_inter.c -DEP_CPP_GL_IN=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_inter.obj" : $(SOURCE) $(DEP_CPP_GL_IN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_light.c -DEP_CPP_GL_LI=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_light.obj" : $(SOURCE) $(DEP_CPP_GL_LI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_mesh.c -DEP_CPP_GL_ME=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\anorms.h"\ - ".\ref_gl\anormtab.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_mesh.obj" : $(SOURCE) $(DEP_CPP_GL_ME) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_model.c -DEP_CPP_GL_MO=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_model.obj" : $(SOURCE) $(DEP_CPP_GL_MO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_rmain.c -DEP_CPP_GL_RM=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_rmain.obj" : $(SOURCE) $(DEP_CPP_GL_RM) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_rmisc.c -DEP_CPP_GL_RMI=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_rmisc.obj" : $(SOURCE) $(DEP_CPP_GL_RMI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_rsurf.c -DEP_CPP_GL_RS=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_rsurf.obj" : $(SOURCE) $(DEP_CPP_GL_RS) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_textr.c -DEP_CPP_GL_TE=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_textr.obj" : $(SOURCE) $(DEP_CPP_GL_TE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_warp.c -DEP_CPP_GL_WA=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - ".\ref_gl\warpsin.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_warp.obj" : $(SOURCE) $(DEP_CPP_GL_WA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_draw.c -DEP_CPP_GL_DR=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\gl_draw.obj" : $(SOURCE) $(DEP_CPP_GL_DR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\ref_gl.def - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\ref_gl.h - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\gl_model.h - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ref_gl\qgl.h - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\qgl_win.c -DEP_CPP_QGL_W=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - ".\win32\glw_win.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\qgl_win.obj" : $(SOURCE) $(DEP_CPP_QGL_W) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\win32\glw_imp.c -DEP_CPP_GLW_I=\ - ".\client\ref.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\ref_gl\gl_local.h"\ - ".\ref_gl\gl_model.h"\ - ".\ref_gl\qgl.h"\ - ".\win32\glw_win.h"\ - ".\win32\winquake.h"\ - {$(INCLUDE)}"\gl\gl.h"\ - - -"$(INTDIR)\glw_imp.obj" : $(SOURCE) $(DEP_CPP_GLW_I) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\q_shared.c -DEP_CPP_Q_SHA=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -################################################################################ -# Begin Target - -# Name "game - Win32 Release" -# Name "game - Win32 Debug" - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\game\g_ai.c -DEP_CPP_G_AI_=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_ai.obj" : $(SOURCE) $(DEP_CPP_G_AI_) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_bersrk.c -DEP_CPP_G_BER=\ - ".\game\g_bersrk.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_bersrk.obj" : $(SOURCE) $(DEP_CPP_G_BER) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_bersrk.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_client.c -DEP_CPP_G_CLI=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_client.obj" : $(SOURCE) $(DEP_CPP_G_CLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_combat.c -DEP_CPP_G_COM=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_combat.obj" : $(SOURCE) $(DEP_CPP_G_COM) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_func.c -DEP_CPP_G_FUN=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_func.obj" : $(SOURCE) $(DEP_CPP_G_FUN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_gladtr.c -DEP_CPP_G_GLA=\ - ".\game\g_gladtr.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_gladtr.obj" : $(SOURCE) $(DEP_CPP_G_GLA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_gladtr.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_gunner.c -DEP_CPP_G_GUN=\ - ".\game\g_gunner.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_gunner.obj" : $(SOURCE) $(DEP_CPP_G_GUN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_gunner.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_inftry.c -DEP_CPP_G_INF=\ - ".\game\g_inftry.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_inftry.obj" : $(SOURCE) $(DEP_CPP_G_INF) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_inftry.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_items.c -DEP_CPP_G_ITE=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_items.obj" : $(SOURCE) $(DEP_CPP_G_ITE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_local.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_main.c -DEP_CPP_G_MAI=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_main.obj" : $(SOURCE) $(DEP_CPP_G_MAI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_misc.c -DEP_CPP_G_MIS=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_misc.obj" : $(SOURCE) $(DEP_CPP_G_MIS) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_monster.c -DEP_CPP_G_MON=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_monster.obj" : $(SOURCE) $(DEP_CPP_G_MON) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_pmove.c -DEP_CPP_G_PMO=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_pmove.obj" : $(SOURCE) $(DEP_CPP_G_PMO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_pweapon.c -DEP_CPP_G_PWE=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_pweapon.obj" : $(SOURCE) $(DEP_CPP_G_PWE) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_soldier.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_utils.c -DEP_CPP_G_UTI=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_utils.obj" : $(SOURCE) $(DEP_CPP_G_UTI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_weapon.c -DEP_CPP_G_WEA=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_weapon.obj" : $(SOURCE) $(DEP_CPP_G_WEA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_target.c -DEP_CPP_G_TAR=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_target.obj" : $(SOURCE) $(DEP_CPP_G_TAR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_trigger.c -DEP_CPP_G_TRI=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_trigger.obj" : $(SOURCE) $(DEP_CPP_G_TRI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_tank.c -DEP_CPP_G_TAN=\ - ".\game\g_local.h"\ - ".\game\g_tank.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_tank.obj" : $(SOURCE) $(DEP_CPP_G_TAN) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_soldier.c -DEP_CPP_G_SOL=\ - ".\game\g_local.h"\ - ".\game\g_soldier.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_soldier.obj" : $(SOURCE) $(DEP_CPP_G_SOL) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\game.def - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\game.h - -!IF "$(CFG)" == "game - Win32 Release" - -!ELSEIF "$(CFG)" == "game - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_medic.c -DEP_CPP_G_MED=\ - ".\game\g_local.h"\ - ".\game\g_medic.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_medic.obj" : $(SOURCE) $(DEP_CPP_G_MED) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_flipper.c -DEP_CPP_G_FLI=\ - ".\game\g_flipper.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_flipper.obj" : $(SOURCE) $(DEP_CPP_G_FLI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_chick.c -DEP_CPP_G_CHI=\ - ".\game\g_chick.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_chick.obj" : $(SOURCE) $(DEP_CPP_G_CHI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_parasite.c -DEP_CPP_G_PAR=\ - ".\game\g_local.h"\ - ".\game\g_parasite.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_parasite.obj" : $(SOURCE) $(DEP_CPP_G_PAR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_flyer.c -DEP_CPP_G_FLY=\ - ".\game\g_flyer.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_flyer.obj" : $(SOURCE) $(DEP_CPP_G_FLY) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_ptrail.c -DEP_CPP_G_PTR=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_ptrail.obj" : $(SOURCE) $(DEP_CPP_G_PTR) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_hover.c -DEP_CPP_G_HOV=\ - ".\game\g_hover.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_hover.obj" : $(SOURCE) $(DEP_CPP_G_HOV) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_float.c -DEP_CPP_G_FLO=\ - ".\game\g_float.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_float.obj" : $(SOURCE) $(DEP_CPP_G_FLO) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_brain.c -DEP_CPP_G_BRA=\ - ".\game\g_brain.h"\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_brain.obj" : $(SOURCE) $(DEP_CPP_G_BRA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_cmds.c -DEP_CPP_G_CMD=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_cmds.obj" : $(SOURCE) $(DEP_CPP_G_CMD) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_player.c -DEP_CPP_G_PLA=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_player.obj" : $(SOURCE) $(DEP_CPP_G_PLA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\game\g_pview.c -DEP_CPP_G_PVI=\ - ".\game\g_local.h"\ - ".\game\game.h"\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - ".\server\server.h"\ - - -"$(INTDIR)\g_pview.obj" : $(SOURCE) $(DEP_CPP_G_PVI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qcommon\q_shared.c -DEP_CPP_Q_SHA=\ - ".\qcommon\qcommon.h"\ - ".\qcommon\qfiles.h"\ - - -"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) - - -# End Source File -# End Target -# End Project -################################################################################ +# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Application" 0x0101 +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +!IF "$(CFG)" == "" +CFG=ref_soft - Win32 Debug +!MESSAGE No configuration specified. Defaulting to ref_soft - Win32 Debug. +!ENDIF + +!IF "$(CFG)" != "quake2 - Win32 Release" && "$(CFG)" != "quake2 - Win32 Debug"\ + && "$(CFG)" != "ref_soft - Win32 Release" && "$(CFG)" !=\ + "ref_soft - Win32 Debug" && "$(CFG)" != "ref_gl - Win32 Release" && "$(CFG)" !=\ + "ref_gl - Win32 Debug" && "$(CFG)" != "game - Win32 Release" && "$(CFG)" !=\ + "game - 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 "quake2.mak" CFG="ref_soft - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "quake2 - Win32 Release" (based on "Win32 (x86) Application") +!MESSAGE "quake2 - Win32 Debug" (based on "Win32 (x86) Application") +!MESSAGE "ref_soft - Win32 Release" (based on\ + "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "game - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "game - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE +!ERROR An invalid configuration is specified. +!ENDIF + +!IF "$(OS)" == "Windows_NT" +NULL= +!ELSE +NULL=nul +!ENDIF +################################################################################ +# Begin Project +# PROP Target_Last_Scanned "ref_soft - Win32 Debug" + +!IF "$(CFG)" == "quake2 - 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 : "$(OUTDIR)\quake2.exe" + +CLEAN : + -@erase "$(INTDIR)\cd_win.obj" + -@erase "$(INTDIR)\cl_demo.obj" + -@erase "$(INTDIR)\cl_ents.obj" + -@erase "$(INTDIR)\cl_fx.obj" + -@erase "$(INTDIR)\cl_input.obj" + -@erase "$(INTDIR)\cl_main.obj" + -@erase "$(INTDIR)\cl_parse.obj" + -@erase "$(INTDIR)\cl_tent.obj" + -@erase "$(INTDIR)\cmd.obj" + -@erase "$(INTDIR)\cmodel.obj" + -@erase "$(INTDIR)\common.obj" + -@erase "$(INTDIR)\console.obj" + -@erase "$(INTDIR)\crc.obj" + -@erase "$(INTDIR)\cvar.obj" + -@erase "$(INTDIR)\files.obj" + -@erase "$(INTDIR)\in_win.obj" + -@erase "$(INTDIR)\keys.obj" + -@erase "$(INTDIR)\menu.obj" + -@erase "$(INTDIR)\net_chan.obj" + -@erase "$(INTDIR)\net_wins.obj" + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\sbar2.obj" + -@erase "$(INTDIR)\scr_cin.obj" + -@erase "$(INTDIR)\screen.obj" + -@erase "$(INTDIR)\snd_dma.obj" + -@erase "$(INTDIR)\snd_mem.obj" + -@erase "$(INTDIR)\snd_mix.obj" + -@erase "$(INTDIR)\snd_win.obj" + -@erase "$(INTDIR)\sv_ccmds.obj" + -@erase "$(INTDIR)\sv_ents.obj" + -@erase "$(INTDIR)\sv_game.obj" + -@erase "$(INTDIR)\sv_init.obj" + -@erase "$(INTDIR)\sv_main.obj" + -@erase "$(INTDIR)\sv_move.obj" + -@erase "$(INTDIR)\sv_phys.obj" + -@erase "$(INTDIR)\sv_send.obj" + -@erase "$(INTDIR)\sv_user.obj" + -@erase "$(INTDIR)\sv_world.obj" + -@erase "$(INTDIR)\sys_win.obj" + -@erase "$(INTDIR)\vid_dll.obj" + -@erase "$(INTDIR)\view.obj" + -@erase "$(OUTDIR)\quake2.exe" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /G5 /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ + /Fp"$(INTDIR)/quake2.pch" /YX /Fo"$(INTDIR)/" /c +CPP_OBJS=.\Release/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /win32 +MTL_PROJ=/nologo /D "NDEBUG" /win32 +RSC=rc.exe +# 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)/quake2.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:windows /machine:I386 +# ADD LINK32 winmm.lib wsock32.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:windows /machine:I386 +# SUBTRACT LINK32 /incremental:yes /nodefaultlib +LINK32_FLAGS=winmm.lib wsock32.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:windows /incremental:no\ + /pdb:"$(OUTDIR)/quake2.pdb" /machine:I386 /out:"$(OUTDIR)/quake2.exe" +LINK32_OBJS= \ + "$(INTDIR)\cd_win.obj" \ + "$(INTDIR)\cl_demo.obj" \ + "$(INTDIR)\cl_ents.obj" \ + "$(INTDIR)\cl_fx.obj" \ + "$(INTDIR)\cl_input.obj" \ + "$(INTDIR)\cl_main.obj" \ + "$(INTDIR)\cl_parse.obj" \ + "$(INTDIR)\cl_tent.obj" \ + "$(INTDIR)\cmd.obj" \ + "$(INTDIR)\cmodel.obj" \ + "$(INTDIR)\common.obj" \ + "$(INTDIR)\console.obj" \ + "$(INTDIR)\crc.obj" \ + "$(INTDIR)\cvar.obj" \ + "$(INTDIR)\files.obj" \ + "$(INTDIR)\in_win.obj" \ + "$(INTDIR)\keys.obj" \ + "$(INTDIR)\menu.obj" \ + "$(INTDIR)\net_chan.obj" \ + "$(INTDIR)\net_wins.obj" \ + "$(INTDIR)\q_shared.obj" \ + "$(INTDIR)\sbar2.obj" \ + "$(INTDIR)\scr_cin.obj" \ + "$(INTDIR)\screen.obj" \ + "$(INTDIR)\snd_dma.obj" \ + "$(INTDIR)\snd_mem.obj" \ + "$(INTDIR)\snd_mix.obj" \ + "$(INTDIR)\snd_win.obj" \ + "$(INTDIR)\sv_ccmds.obj" \ + "$(INTDIR)\sv_ents.obj" \ + "$(INTDIR)\sv_game.obj" \ + "$(INTDIR)\sv_init.obj" \ + "$(INTDIR)\sv_main.obj" \ + "$(INTDIR)\sv_move.obj" \ + "$(INTDIR)\sv_phys.obj" \ + "$(INTDIR)\sv_send.obj" \ + "$(INTDIR)\sv_user.obj" \ + "$(INTDIR)\sv_world.obj" \ + "$(INTDIR)\sys_win.obj" \ + "$(INTDIR)\vid_dll.obj" \ + "$(INTDIR)\view.obj" + +"$(OUTDIR)\quake2.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "quake2 - 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 : "$(OUTDIR)\quake2.exe" "$(OUTDIR)\quake2.bsc" + +CLEAN : + -@erase "$(INTDIR)\cd_win.obj" + -@erase "$(INTDIR)\cd_win.sbr" + -@erase "$(INTDIR)\cl_demo.obj" + -@erase "$(INTDIR)\cl_demo.sbr" + -@erase "$(INTDIR)\cl_ents.obj" + -@erase "$(INTDIR)\cl_ents.sbr" + -@erase "$(INTDIR)\cl_fx.obj" + -@erase "$(INTDIR)\cl_fx.sbr" + -@erase "$(INTDIR)\cl_input.obj" + -@erase "$(INTDIR)\cl_input.sbr" + -@erase "$(INTDIR)\cl_main.obj" + -@erase "$(INTDIR)\cl_main.sbr" + -@erase "$(INTDIR)\cl_parse.obj" + -@erase "$(INTDIR)\cl_parse.sbr" + -@erase "$(INTDIR)\cl_tent.obj" + -@erase "$(INTDIR)\cl_tent.sbr" + -@erase "$(INTDIR)\cmd.obj" + -@erase "$(INTDIR)\cmd.sbr" + -@erase "$(INTDIR)\cmodel.obj" + -@erase "$(INTDIR)\cmodel.sbr" + -@erase "$(INTDIR)\common.obj" + -@erase "$(INTDIR)\common.sbr" + -@erase "$(INTDIR)\console.obj" + -@erase "$(INTDIR)\console.sbr" + -@erase "$(INTDIR)\crc.obj" + -@erase "$(INTDIR)\crc.sbr" + -@erase "$(INTDIR)\cvar.obj" + -@erase "$(INTDIR)\cvar.sbr" + -@erase "$(INTDIR)\files.obj" + -@erase "$(INTDIR)\files.sbr" + -@erase "$(INTDIR)\in_win.obj" + -@erase "$(INTDIR)\in_win.sbr" + -@erase "$(INTDIR)\keys.obj" + -@erase "$(INTDIR)\keys.sbr" + -@erase "$(INTDIR)\menu.obj" + -@erase "$(INTDIR)\menu.sbr" + -@erase "$(INTDIR)\net_chan.obj" + -@erase "$(INTDIR)\net_chan.sbr" + -@erase "$(INTDIR)\net_wins.obj" + -@erase "$(INTDIR)\net_wins.sbr" + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\q_shared.sbr" + -@erase "$(INTDIR)\sbar2.obj" + -@erase "$(INTDIR)\sbar2.sbr" + -@erase "$(INTDIR)\scr_cin.obj" + -@erase "$(INTDIR)\scr_cin.sbr" + -@erase "$(INTDIR)\screen.obj" + -@erase "$(INTDIR)\screen.sbr" + -@erase "$(INTDIR)\snd_dma.obj" + -@erase "$(INTDIR)\snd_dma.sbr" + -@erase "$(INTDIR)\snd_mem.obj" + -@erase "$(INTDIR)\snd_mem.sbr" + -@erase "$(INTDIR)\snd_mix.obj" + -@erase "$(INTDIR)\snd_mix.sbr" + -@erase "$(INTDIR)\snd_win.obj" + -@erase "$(INTDIR)\snd_win.sbr" + -@erase "$(INTDIR)\sv_ccmds.obj" + -@erase "$(INTDIR)\sv_ccmds.sbr" + -@erase "$(INTDIR)\sv_ents.obj" + -@erase "$(INTDIR)\sv_ents.sbr" + -@erase "$(INTDIR)\sv_game.obj" + -@erase "$(INTDIR)\sv_game.sbr" + -@erase "$(INTDIR)\sv_init.obj" + -@erase "$(INTDIR)\sv_init.sbr" + -@erase "$(INTDIR)\sv_main.obj" + -@erase "$(INTDIR)\sv_main.sbr" + -@erase "$(INTDIR)\sv_move.obj" + -@erase "$(INTDIR)\sv_move.sbr" + -@erase "$(INTDIR)\sv_phys.obj" + -@erase "$(INTDIR)\sv_phys.sbr" + -@erase "$(INTDIR)\sv_send.obj" + -@erase "$(INTDIR)\sv_send.sbr" + -@erase "$(INTDIR)\sv_user.obj" + -@erase "$(INTDIR)\sv_user.sbr" + -@erase "$(INTDIR)\sv_world.obj" + -@erase "$(INTDIR)\sv_world.sbr" + -@erase "$(INTDIR)\sys_win.obj" + -@erase "$(INTDIR)\sys_win.sbr" + -@erase "$(INTDIR)\vc40.pdb" + -@erase "$(INTDIR)\vid_dll.obj" + -@erase "$(INTDIR)\vid_dll.sbr" + -@erase "$(INTDIR)\view.obj" + -@erase "$(INTDIR)\view.sbr" + -@erase "$(OUTDIR)\quake2.bsc" + -@erase "$(OUTDIR)\quake2.exe" + -@erase "$(OUTDIR)\quake2.pdb" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /c +# SUBTRACT CPP /Gy +CPP_PROJ=/nologo /G5 /MLd /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ + /FR"$(INTDIR)/" /Fp"$(INTDIR)/quake2.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/"\ + /c +CPP_OBJS=.\Debug/ +CPP_SBRS=.\Debug/ + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /win32 +MTL_PROJ=/nologo /D "_DEBUG" /win32 +RSC=rc.exe +# 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)/quake2.bsc" +BSC32_SBRS= \ + "$(INTDIR)\cd_win.sbr" \ + "$(INTDIR)\cl_demo.sbr" \ + "$(INTDIR)\cl_ents.sbr" \ + "$(INTDIR)\cl_fx.sbr" \ + "$(INTDIR)\cl_input.sbr" \ + "$(INTDIR)\cl_main.sbr" \ + "$(INTDIR)\cl_parse.sbr" \ + "$(INTDIR)\cl_tent.sbr" \ + "$(INTDIR)\cmd.sbr" \ + "$(INTDIR)\cmodel.sbr" \ + "$(INTDIR)\common.sbr" \ + "$(INTDIR)\console.sbr" \ + "$(INTDIR)\crc.sbr" \ + "$(INTDIR)\cvar.sbr" \ + "$(INTDIR)\files.sbr" \ + "$(INTDIR)\in_win.sbr" \ + "$(INTDIR)\keys.sbr" \ + "$(INTDIR)\menu.sbr" \ + "$(INTDIR)\net_chan.sbr" \ + "$(INTDIR)\net_wins.sbr" \ + "$(INTDIR)\q_shared.sbr" \ + "$(INTDIR)\sbar2.sbr" \ + "$(INTDIR)\scr_cin.sbr" \ + "$(INTDIR)\screen.sbr" \ + "$(INTDIR)\snd_dma.sbr" \ + "$(INTDIR)\snd_mem.sbr" \ + "$(INTDIR)\snd_mix.sbr" \ + "$(INTDIR)\snd_win.sbr" \ + "$(INTDIR)\sv_ccmds.sbr" \ + "$(INTDIR)\sv_ents.sbr" \ + "$(INTDIR)\sv_game.sbr" \ + "$(INTDIR)\sv_init.sbr" \ + "$(INTDIR)\sv_main.sbr" \ + "$(INTDIR)\sv_move.sbr" \ + "$(INTDIR)\sv_phys.sbr" \ + "$(INTDIR)\sv_send.sbr" \ + "$(INTDIR)\sv_user.sbr" \ + "$(INTDIR)\sv_world.sbr" \ + "$(INTDIR)\sys_win.sbr" \ + "$(INTDIR)\vid_dll.sbr" \ + "$(INTDIR)\view.sbr" + +"$(OUTDIR)\quake2.bsc" : "$(OUTDIR)" $(BSC32_SBRS) + $(BSC32) @<< + $(BSC32_FLAGS) $(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:windows /debug /machine:I386 +# ADD LINK32 winmm.lib wsock32.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:windows /incremental:no /debug /machine:I386 +# SUBTRACT LINK32 /nodefaultlib +LINK32_FLAGS=winmm.lib wsock32.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:windows /incremental:no\ + /pdb:"$(OUTDIR)/quake2.pdb" /debug /machine:I386 /out:"$(OUTDIR)/quake2.exe" +LINK32_OBJS= \ + "$(INTDIR)\cd_win.obj" \ + "$(INTDIR)\cl_demo.obj" \ + "$(INTDIR)\cl_ents.obj" \ + "$(INTDIR)\cl_fx.obj" \ + "$(INTDIR)\cl_input.obj" \ + "$(INTDIR)\cl_main.obj" \ + "$(INTDIR)\cl_parse.obj" \ + "$(INTDIR)\cl_tent.obj" \ + "$(INTDIR)\cmd.obj" \ + "$(INTDIR)\cmodel.obj" \ + "$(INTDIR)\common.obj" \ + "$(INTDIR)\console.obj" \ + "$(INTDIR)\crc.obj" \ + "$(INTDIR)\cvar.obj" \ + "$(INTDIR)\files.obj" \ + "$(INTDIR)\in_win.obj" \ + "$(INTDIR)\keys.obj" \ + "$(INTDIR)\menu.obj" \ + "$(INTDIR)\net_chan.obj" \ + "$(INTDIR)\net_wins.obj" \ + "$(INTDIR)\q_shared.obj" \ + "$(INTDIR)\sbar2.obj" \ + "$(INTDIR)\scr_cin.obj" \ + "$(INTDIR)\screen.obj" \ + "$(INTDIR)\snd_dma.obj" \ + "$(INTDIR)\snd_mem.obj" \ + "$(INTDIR)\snd_mix.obj" \ + "$(INTDIR)\snd_win.obj" \ + "$(INTDIR)\sv_ccmds.obj" \ + "$(INTDIR)\sv_ents.obj" \ + "$(INTDIR)\sv_game.obj" \ + "$(INTDIR)\sv_init.obj" \ + "$(INTDIR)\sv_main.obj" \ + "$(INTDIR)\sv_move.obj" \ + "$(INTDIR)\sv_phys.obj" \ + "$(INTDIR)\sv_send.obj" \ + "$(INTDIR)\sv_user.obj" \ + "$(INTDIR)\sv_world.obj" \ + "$(INTDIR)\sys_win.obj" \ + "$(INTDIR)\vid_dll.obj" \ + "$(INTDIR)\view.obj" + +"$(OUTDIR)\quake2.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ref_soft\ref_soft" +# PROP BASE Intermediate_Dir "ref_soft\ref_soft" +# PROP BASE Target_Dir "ref_soft" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "ref_soft\Release" +# PROP Target_Dir "ref_soft" +OUTDIR=.\Release +INTDIR=.\ref_soft\Release + +ALL : "$(OUTDIR)\ref_soft.dll" + +CLEAN : + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\r_aclip.obj" + -@erase "$(INTDIR)\r_alias.obj" + -@erase "$(INTDIR)\r_bsp.obj" + -@erase "$(INTDIR)\r_draw.obj" + -@erase "$(INTDIR)\r_edge.obj" + -@erase "$(INTDIR)\r_image.obj" + -@erase "$(INTDIR)\r_inter.obj" + -@erase "$(INTDIR)\r_light.obj" + -@erase "$(INTDIR)\r_main.obj" + -@erase "$(INTDIR)\r_misc.obj" + -@erase "$(INTDIR)\r_model.obj" + -@erase "$(INTDIR)\r_part.obj" + -@erase "$(INTDIR)\r_poly.obj" + -@erase "$(INTDIR)\r_polyse.obj" + -@erase "$(INTDIR)\r_rast.obj" + -@erase "$(INTDIR)\r_scan.obj" + -@erase "$(INTDIR)\r_sprite.obj" + -@erase "$(INTDIR)\r_surf.obj" + -@erase "$(INTDIR)\rw_ddraw.obj" + -@erase "$(INTDIR)\rw_dib.obj" + -@erase "$(INTDIR)\rw_imp.obj" + -@erase "$(OUTDIR)\ref_soft.dll" + -@erase "$(OUTDIR)\ref_soft.exp" + -@erase "$(OUTDIR)\ref_soft.lib" + -@erase ".\Release\r_aclipa.obj" + -@erase ".\Release\r_draw16.obj" + -@erase ".\Release\r_drawa.obj" + -@erase ".\Release\r_edgea.obj" + -@erase ".\Release\r_scana.obj" + -@erase ".\Release\r_spr8.obj" + -@erase ".\Release\r_surf8.obj" + -@erase ".\Release\r_varsa.obj" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ + /Fp"$(INTDIR)/ref_soft.pch" /YX /Fo"$(INTDIR)/" /c +CPP_OBJS=.\ref_soft\Release/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /win32 +MTL_PROJ=/nologo /D "NDEBUG" /win32 +RSC=rc.exe +# 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)/ref_soft.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:windows /dll /machine:I386 +# ADD LINK32 winmm.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:windows /dll /machine:I386 /nodefaultlib:"libc" +# SUBTRACT LINK32 /nodefaultlib +LINK32_FLAGS=winmm.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:windows /dll /incremental:no\ + /pdb:"$(OUTDIR)/ref_soft.pdb" /machine:I386 /nodefaultlib:"libc"\ + /def:".\ref_soft\ref_soft.def" /out:"$(OUTDIR)/ref_soft.dll"\ + /implib:"$(OUTDIR)/ref_soft.lib" +DEF_FILE= \ + ".\ref_soft\ref_soft.def" +LINK32_OBJS= \ + "$(INTDIR)\q_shared.obj" \ + "$(INTDIR)\r_aclip.obj" \ + "$(INTDIR)\r_alias.obj" \ + "$(INTDIR)\r_bsp.obj" \ + "$(INTDIR)\r_draw.obj" \ + "$(INTDIR)\r_edge.obj" \ + "$(INTDIR)\r_image.obj" \ + "$(INTDIR)\r_inter.obj" \ + "$(INTDIR)\r_light.obj" \ + "$(INTDIR)\r_main.obj" \ + "$(INTDIR)\r_misc.obj" \ + "$(INTDIR)\r_model.obj" \ + "$(INTDIR)\r_part.obj" \ + "$(INTDIR)\r_poly.obj" \ + "$(INTDIR)\r_polyse.obj" \ + "$(INTDIR)\r_rast.obj" \ + "$(INTDIR)\r_scan.obj" \ + "$(INTDIR)\r_sprite.obj" \ + "$(INTDIR)\r_surf.obj" \ + "$(INTDIR)\rw_ddraw.obj" \ + "$(INTDIR)\rw_dib.obj" \ + "$(INTDIR)\rw_imp.obj" \ + ".\Release\r_aclipa.obj" \ + ".\Release\r_draw16.obj" \ + ".\Release\r_drawa.obj" \ + ".\Release\r_edgea.obj" \ + ".\Release\r_scana.obj" \ + ".\Release\r_spr8.obj" \ + ".\Release\r_surf8.obj" \ + ".\Release\r_varsa.obj" + +"$(OUTDIR)\ref_soft.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ref_soft\ref_soft" +# PROP BASE Intermediate_Dir "ref_soft\ref_soft" +# PROP BASE Target_Dir "ref_soft" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "ref_soft\Debug" +# PROP Target_Dir "ref_soft" +OUTDIR=.\Debug +INTDIR=.\ref_soft\Debug + +ALL : "$(OUTDIR)\ref_soft.dll" + +CLEAN : + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\r_aclip.obj" + -@erase "$(INTDIR)\r_alias.obj" + -@erase "$(INTDIR)\r_bsp.obj" + -@erase "$(INTDIR)\r_draw.obj" + -@erase "$(INTDIR)\r_edge.obj" + -@erase "$(INTDIR)\r_image.obj" + -@erase "$(INTDIR)\r_inter.obj" + -@erase "$(INTDIR)\r_light.obj" + -@erase "$(INTDIR)\r_main.obj" + -@erase "$(INTDIR)\r_misc.obj" + -@erase "$(INTDIR)\r_model.obj" + -@erase "$(INTDIR)\r_part.obj" + -@erase "$(INTDIR)\r_poly.obj" + -@erase "$(INTDIR)\r_polyse.obj" + -@erase "$(INTDIR)\r_rast.obj" + -@erase "$(INTDIR)\r_scan.obj" + -@erase "$(INTDIR)\r_sprite.obj" + -@erase "$(INTDIR)\r_surf.obj" + -@erase "$(INTDIR)\rw_ddraw.obj" + -@erase "$(INTDIR)\rw_dib.obj" + -@erase "$(INTDIR)\rw_imp.obj" + -@erase "$(INTDIR)\vc40.idb" + -@erase "$(INTDIR)\vc40.pdb" + -@erase "$(OUTDIR)\ref_soft.dll" + -@erase "$(OUTDIR)\ref_soft.exp" + -@erase "$(OUTDIR)\ref_soft.lib" + -@erase "$(OUTDIR)\ref_soft.pdb" + -@erase ".\Debug\r_aclipa.obj" + -@erase ".\Debug\r_draw16.obj" + -@erase ".\Debug\r_drawa.obj" + -@erase ".\Debug\r_edgea.obj" + -@erase ".\Debug\r_scana.obj" + -@erase ".\Debug\r_spr8.obj" + -@erase ".\Debug\r_surf8.obj" + -@erase ".\Debug\r_varsa.obj" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D\ + "_WINDOWS" /Fp"$(INTDIR)/ref_soft.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c +CPP_OBJS=.\ref_soft\Debug/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /win32 +MTL_PROJ=/nologo /D "_DEBUG" /win32 +RSC=rc.exe +# 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)/ref_soft.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:windows /dll /debug /machine:I386 +# ADD LINK32 winmm.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:windows /dll /incremental:no /debug /machine:I386 /nodefaultlib:"libc" +# SUBTRACT LINK32 /nodefaultlib +LINK32_FLAGS=winmm.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:windows /dll /incremental:no\ + /pdb:"$(OUTDIR)/ref_soft.pdb" /debug /machine:I386 /nodefaultlib:"libc"\ + /def:".\ref_soft\ref_soft.def" /out:"$(OUTDIR)/ref_soft.dll"\ + /implib:"$(OUTDIR)/ref_soft.lib" +DEF_FILE= \ + ".\ref_soft\ref_soft.def" +LINK32_OBJS= \ + "$(INTDIR)\q_shared.obj" \ + "$(INTDIR)\r_aclip.obj" \ + "$(INTDIR)\r_alias.obj" \ + "$(INTDIR)\r_bsp.obj" \ + "$(INTDIR)\r_draw.obj" \ + "$(INTDIR)\r_edge.obj" \ + "$(INTDIR)\r_image.obj" \ + "$(INTDIR)\r_inter.obj" \ + "$(INTDIR)\r_light.obj" \ + "$(INTDIR)\r_main.obj" \ + "$(INTDIR)\r_misc.obj" \ + "$(INTDIR)\r_model.obj" \ + "$(INTDIR)\r_part.obj" \ + "$(INTDIR)\r_poly.obj" \ + "$(INTDIR)\r_polyse.obj" \ + "$(INTDIR)\r_rast.obj" \ + "$(INTDIR)\r_scan.obj" \ + "$(INTDIR)\r_sprite.obj" \ + "$(INTDIR)\r_surf.obj" \ + "$(INTDIR)\rw_ddraw.obj" \ + "$(INTDIR)\rw_dib.obj" \ + "$(INTDIR)\rw_imp.obj" \ + ".\Debug\r_aclipa.obj" \ + ".\Debug\r_draw16.obj" \ + ".\Debug\r_drawa.obj" \ + ".\Debug\r_edgea.obj" \ + ".\Debug\r_scana.obj" \ + ".\Debug\r_spr8.obj" \ + ".\Debug\r_surf8.obj" \ + ".\Debug\r_varsa.obj" + +"$(OUTDIR)\ref_soft.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ref_gl\ref_gl__" +# PROP BASE Intermediate_Dir "ref_gl\ref_gl__" +# PROP BASE Target_Dir "ref_gl" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "ref_gl\Release" +# PROP Target_Dir "ref_gl" +OUTDIR=.\Release +INTDIR=.\ref_gl\Release + +ALL : "$(OUTDIR)\ref_gl.dll" + +CLEAN : + -@erase "$(INTDIR)\gl_draw.obj" + -@erase "$(INTDIR)\gl_inter.obj" + -@erase "$(INTDIR)\gl_light.obj" + -@erase "$(INTDIR)\gl_mesh.obj" + -@erase "$(INTDIR)\gl_model.obj" + -@erase "$(INTDIR)\gl_rmain.obj" + -@erase "$(INTDIR)\gl_rmisc.obj" + -@erase "$(INTDIR)\gl_rsurf.obj" + -@erase "$(INTDIR)\gl_textr.obj" + -@erase "$(INTDIR)\gl_warp.obj" + -@erase "$(INTDIR)\glw_imp.obj" + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\qgl_win.obj" + -@erase "$(OUTDIR)\ref_gl.dll" + -@erase "$(OUTDIR)\ref_gl.exp" + -@erase "$(OUTDIR)\ref_gl.lib" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /G5 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ + /Fp"$(INTDIR)/ref_gl.pch" /YX /Fo"$(INTDIR)/" /c +CPP_OBJS=.\ref_gl\Release/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /win32 +MTL_PROJ=/nologo /D "NDEBUG" /win32 +RSC=rc.exe +# 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)/ref_gl.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:windows /dll /machine:I386 +# ADD LINK32 winmm.lib opengl32.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:windows /dll /machine:I386 +LINK32_FLAGS=winmm.lib opengl32.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:windows /dll\ + /incremental:no /pdb:"$(OUTDIR)/ref_gl.pdb" /machine:I386\ + /def:".\ref_gl\ref_gl.def" /out:"$(OUTDIR)/ref_gl.dll"\ + /implib:"$(OUTDIR)/ref_gl.lib" +DEF_FILE= \ + ".\ref_gl\ref_gl.def" +LINK32_OBJS= \ + "$(INTDIR)\gl_draw.obj" \ + "$(INTDIR)\gl_inter.obj" \ + "$(INTDIR)\gl_light.obj" \ + "$(INTDIR)\gl_mesh.obj" \ + "$(INTDIR)\gl_model.obj" \ + "$(INTDIR)\gl_rmain.obj" \ + "$(INTDIR)\gl_rmisc.obj" \ + "$(INTDIR)\gl_rsurf.obj" \ + "$(INTDIR)\gl_textr.obj" \ + "$(INTDIR)\gl_warp.obj" \ + "$(INTDIR)\glw_imp.obj" \ + "$(INTDIR)\q_shared.obj" \ + "$(INTDIR)\qgl_win.obj" + +"$(OUTDIR)\ref_gl.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "ref_gl\ref_gl__" +# PROP BASE Intermediate_Dir "ref_gl\ref_gl__" +# PROP BASE Target_Dir "ref_gl" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "ref_gl\Debug" +# PROP Target_Dir "ref_gl" +OUTDIR=.\Debug +INTDIR=.\ref_gl\Debug + +ALL : "$(OUTDIR)\ref_gl.dll" + +CLEAN : + -@erase "$(INTDIR)\gl_draw.obj" + -@erase "$(INTDIR)\gl_inter.obj" + -@erase "$(INTDIR)\gl_light.obj" + -@erase "$(INTDIR)\gl_mesh.obj" + -@erase "$(INTDIR)\gl_model.obj" + -@erase "$(INTDIR)\gl_rmain.obj" + -@erase "$(INTDIR)\gl_rmisc.obj" + -@erase "$(INTDIR)\gl_rsurf.obj" + -@erase "$(INTDIR)\gl_textr.obj" + -@erase "$(INTDIR)\gl_warp.obj" + -@erase "$(INTDIR)\glw_imp.obj" + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\qgl_win.obj" + -@erase "$(INTDIR)\vc40.idb" + -@erase "$(INTDIR)\vc40.pdb" + -@erase "$(OUTDIR)\ref_gl.dll" + -@erase "$(OUTDIR)\ref_gl.exp" + -@erase "$(OUTDIR)\ref_gl.lib" + -@erase "$(OUTDIR)\ref_gl.pdb" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D\ + "_WINDOWS" /Fp"$(INTDIR)/ref_gl.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c +CPP_OBJS=.\ref_gl\Debug/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /win32 +MTL_PROJ=/nologo /D "_DEBUG" /win32 +RSC=rc.exe +# 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)/ref_gl.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:windows /dll /debug /machine:I386 +# ADD LINK32 winmm.lib opengl32.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:windows /dll /incremental:no /debug /machine:I386 +LINK32_FLAGS=winmm.lib opengl32.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:windows /dll\ + /incremental:no /pdb:"$(OUTDIR)/ref_gl.pdb" /debug /machine:I386\ + /def:".\ref_gl\ref_gl.def" /out:"$(OUTDIR)/ref_gl.dll"\ + /implib:"$(OUTDIR)/ref_gl.lib" +DEF_FILE= \ + ".\ref_gl\ref_gl.def" +LINK32_OBJS= \ + "$(INTDIR)\gl_draw.obj" \ + "$(INTDIR)\gl_inter.obj" \ + "$(INTDIR)\gl_light.obj" \ + "$(INTDIR)\gl_mesh.obj" \ + "$(INTDIR)\gl_model.obj" \ + "$(INTDIR)\gl_rmain.obj" \ + "$(INTDIR)\gl_rmisc.obj" \ + "$(INTDIR)\gl_rsurf.obj" \ + "$(INTDIR)\gl_textr.obj" \ + "$(INTDIR)\gl_warp.obj" \ + "$(INTDIR)\glw_imp.obj" \ + "$(INTDIR)\q_shared.obj" \ + "$(INTDIR)\qgl_win.obj" + +"$(OUTDIR)\ref_gl.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "game - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "game\Release" +# PROP BASE Intermediate_Dir "game\Release" +# PROP BASE Target_Dir "game" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "game\Release" +# PROP Target_Dir "game" +OUTDIR=.\Release +INTDIR=.\game\Release + +ALL : "$(OUTDIR)\game.dll" + +CLEAN : + -@erase "$(INTDIR)\g_ai.obj" + -@erase "$(INTDIR)\g_bersrk.obj" + -@erase "$(INTDIR)\g_brain.obj" + -@erase "$(INTDIR)\g_chick.obj" + -@erase "$(INTDIR)\g_client.obj" + -@erase "$(INTDIR)\g_cmds.obj" + -@erase "$(INTDIR)\g_combat.obj" + -@erase "$(INTDIR)\g_flipper.obj" + -@erase "$(INTDIR)\g_float.obj" + -@erase "$(INTDIR)\g_flyer.obj" + -@erase "$(INTDIR)\g_func.obj" + -@erase "$(INTDIR)\g_gladtr.obj" + -@erase "$(INTDIR)\g_gunner.obj" + -@erase "$(INTDIR)\g_hover.obj" + -@erase "$(INTDIR)\g_inftry.obj" + -@erase "$(INTDIR)\g_items.obj" + -@erase "$(INTDIR)\g_main.obj" + -@erase "$(INTDIR)\g_medic.obj" + -@erase "$(INTDIR)\g_misc.obj" + -@erase "$(INTDIR)\g_monster.obj" + -@erase "$(INTDIR)\g_parasite.obj" + -@erase "$(INTDIR)\g_player.obj" + -@erase "$(INTDIR)\g_pmove.obj" + -@erase "$(INTDIR)\g_ptrail.obj" + -@erase "$(INTDIR)\g_pview.obj" + -@erase "$(INTDIR)\g_pweapon.obj" + -@erase "$(INTDIR)\g_soldier.obj" + -@erase "$(INTDIR)\g_tank.obj" + -@erase "$(INTDIR)\g_target.obj" + -@erase "$(INTDIR)\g_trigger.obj" + -@erase "$(INTDIR)\g_utils.obj" + -@erase "$(INTDIR)\g_weapon.obj" + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(OUTDIR)\game.dll" + -@erase "$(OUTDIR)\game.exp" + -@erase "$(OUTDIR)\game.lib" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\ + /Fp"$(INTDIR)/game.pch" /YX /Fo"$(INTDIR)/" /c +CPP_OBJS=.\game\Release/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /win32 +MTL_PROJ=/nologo /D "NDEBUG" /win32 +RSC=rc.exe +# 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)/game.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:windows /dll /machine:I386 +# ADD 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 /base:0x20000000 /subsystem:windows /dll /machine:I386 +LINK32_FLAGS=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 /base:0x20000000 /subsystem:windows /dll /incremental:no\ + /pdb:"$(OUTDIR)/game.pdb" /machine:I386 /def:".\game\game.def"\ + /out:"$(OUTDIR)/game.dll" /implib:"$(OUTDIR)/game.lib" +DEF_FILE= \ + ".\game\game.def" +LINK32_OBJS= \ + "$(INTDIR)\g_ai.obj" \ + "$(INTDIR)\g_bersrk.obj" \ + "$(INTDIR)\g_brain.obj" \ + "$(INTDIR)\g_chick.obj" \ + "$(INTDIR)\g_client.obj" \ + "$(INTDIR)\g_cmds.obj" \ + "$(INTDIR)\g_combat.obj" \ + "$(INTDIR)\g_flipper.obj" \ + "$(INTDIR)\g_float.obj" \ + "$(INTDIR)\g_flyer.obj" \ + "$(INTDIR)\g_func.obj" \ + "$(INTDIR)\g_gladtr.obj" \ + "$(INTDIR)\g_gunner.obj" \ + "$(INTDIR)\g_hover.obj" \ + "$(INTDIR)\g_inftry.obj" \ + "$(INTDIR)\g_items.obj" \ + "$(INTDIR)\g_main.obj" \ + "$(INTDIR)\g_medic.obj" \ + "$(INTDIR)\g_misc.obj" \ + "$(INTDIR)\g_monster.obj" \ + "$(INTDIR)\g_parasite.obj" \ + "$(INTDIR)\g_player.obj" \ + "$(INTDIR)\g_pmove.obj" \ + "$(INTDIR)\g_ptrail.obj" \ + "$(INTDIR)\g_pview.obj" \ + "$(INTDIR)\g_pweapon.obj" \ + "$(INTDIR)\g_soldier.obj" \ + "$(INTDIR)\g_tank.obj" \ + "$(INTDIR)\g_target.obj" \ + "$(INTDIR)\g_trigger.obj" \ + "$(INTDIR)\g_utils.obj" \ + "$(INTDIR)\g_weapon.obj" \ + "$(INTDIR)\q_shared.obj" + +"$(OUTDIR)\game.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "game\Debug" +# PROP BASE Intermediate_Dir "game\Debug" +# PROP BASE Target_Dir "game" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "game\Debug" +# PROP Target_Dir "game" +OUTDIR=.\Debug +INTDIR=.\game\Debug + +ALL : "$(OUTDIR)\game.dll" + +CLEAN : + -@erase "$(INTDIR)\g_ai.obj" + -@erase "$(INTDIR)\g_bersrk.obj" + -@erase "$(INTDIR)\g_brain.obj" + -@erase "$(INTDIR)\g_chick.obj" + -@erase "$(INTDIR)\g_client.obj" + -@erase "$(INTDIR)\g_cmds.obj" + -@erase "$(INTDIR)\g_combat.obj" + -@erase "$(INTDIR)\g_flipper.obj" + -@erase "$(INTDIR)\g_float.obj" + -@erase "$(INTDIR)\g_flyer.obj" + -@erase "$(INTDIR)\g_func.obj" + -@erase "$(INTDIR)\g_gladtr.obj" + -@erase "$(INTDIR)\g_gunner.obj" + -@erase "$(INTDIR)\g_hover.obj" + -@erase "$(INTDIR)\g_inftry.obj" + -@erase "$(INTDIR)\g_items.obj" + -@erase "$(INTDIR)\g_main.obj" + -@erase "$(INTDIR)\g_medic.obj" + -@erase "$(INTDIR)\g_misc.obj" + -@erase "$(INTDIR)\g_monster.obj" + -@erase "$(INTDIR)\g_parasite.obj" + -@erase "$(INTDIR)\g_player.obj" + -@erase "$(INTDIR)\g_pmove.obj" + -@erase "$(INTDIR)\g_ptrail.obj" + -@erase "$(INTDIR)\g_pview.obj" + -@erase "$(INTDIR)\g_pweapon.obj" + -@erase "$(INTDIR)\g_soldier.obj" + -@erase "$(INTDIR)\g_tank.obj" + -@erase "$(INTDIR)\g_target.obj" + -@erase "$(INTDIR)\g_trigger.obj" + -@erase "$(INTDIR)\g_utils.obj" + -@erase "$(INTDIR)\g_weapon.obj" + -@erase "$(INTDIR)\q_shared.obj" + -@erase "$(INTDIR)\vc40.idb" + -@erase "$(INTDIR)\vc40.pdb" + -@erase "$(OUTDIR)\game.dll" + -@erase "$(OUTDIR)\game.exp" + -@erase "$(OUTDIR)\game.lib" + -@erase "$(OUTDIR)\game.pdb" + +"$(OUTDIR)" : + if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" + +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ + /Fp"$(INTDIR)/game.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c +CPP_OBJS=.\game\Debug/ +CPP_SBRS=.\. + +.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) $< + +MTL=mktyplib.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /win32 +MTL_PROJ=/nologo /D "_DEBUG" /win32 +RSC=rc.exe +# 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)/game.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:windows /dll /debug /machine:I386 +# ADD 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 /base:0x20000000 /subsystem:windows /dll /incremental:no /debug /machine:I386 +LINK32_FLAGS=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 /base:0x20000000 /subsystem:windows /dll /incremental:no\ + /pdb:"$(OUTDIR)/game.pdb" /debug /machine:I386 /def:".\game\game.def"\ + /out:"$(OUTDIR)/game.dll" /implib:"$(OUTDIR)/game.lib" +DEF_FILE= \ + ".\game\game.def" +LINK32_OBJS= \ + "$(INTDIR)\g_ai.obj" \ + "$(INTDIR)\g_bersrk.obj" \ + "$(INTDIR)\g_brain.obj" \ + "$(INTDIR)\g_chick.obj" \ + "$(INTDIR)\g_client.obj" \ + "$(INTDIR)\g_cmds.obj" \ + "$(INTDIR)\g_combat.obj" \ + "$(INTDIR)\g_flipper.obj" \ + "$(INTDIR)\g_float.obj" \ + "$(INTDIR)\g_flyer.obj" \ + "$(INTDIR)\g_func.obj" \ + "$(INTDIR)\g_gladtr.obj" \ + "$(INTDIR)\g_gunner.obj" \ + "$(INTDIR)\g_hover.obj" \ + "$(INTDIR)\g_inftry.obj" \ + "$(INTDIR)\g_items.obj" \ + "$(INTDIR)\g_main.obj" \ + "$(INTDIR)\g_medic.obj" \ + "$(INTDIR)\g_misc.obj" \ + "$(INTDIR)\g_monster.obj" \ + "$(INTDIR)\g_parasite.obj" \ + "$(INTDIR)\g_player.obj" \ + "$(INTDIR)\g_pmove.obj" \ + "$(INTDIR)\g_ptrail.obj" \ + "$(INTDIR)\g_pview.obj" \ + "$(INTDIR)\g_pweapon.obj" \ + "$(INTDIR)\g_soldier.obj" \ + "$(INTDIR)\g_tank.obj" \ + "$(INTDIR)\g_target.obj" \ + "$(INTDIR)\g_trigger.obj" \ + "$(INTDIR)\g_utils.obj" \ + "$(INTDIR)\g_weapon.obj" \ + "$(INTDIR)\q_shared.obj" + +"$(OUTDIR)\game.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + +!ENDIF + +################################################################################ +# Begin Target + +# Name "quake2 - Win32 Release" +# Name "quake2 - Win32 Debug" + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\cmodel.c +DEP_CPP_CMODE=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cmodel.obj" : $(SOURCE) $(DEP_CPP_CMODE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cmodel.obj" : $(SOURCE) $(DEP_CPP_CMODE) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cmodel.sbr" : $(SOURCE) $(DEP_CPP_CMODE) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\common.c +DEP_CPP_COMMO=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\common.obj" : $(SOURCE) $(DEP_CPP_COMMO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\common.obj" : $(SOURCE) $(DEP_CPP_COMMO) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\common.sbr" : $(SOURCE) $(DEP_CPP_COMMO) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\cvar.c +DEP_CPP_CVAR_=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cvar.obj" : $(SOURCE) $(DEP_CPP_CVAR_) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cvar.obj" : $(SOURCE) $(DEP_CPP_CVAR_) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cvar.sbr" : $(SOURCE) $(DEP_CPP_CVAR_) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\files.c +DEP_CPP_FILES=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\files.obj" : $(SOURCE) $(DEP_CPP_FILES) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\files.obj" : $(SOURCE) $(DEP_CPP_FILES) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\files.sbr" : $(SOURCE) $(DEP_CPP_FILES) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\net_chan.c +DEP_CPP_NET_C=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\net_chan.obj" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\net_chan.obj" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\net_chan.sbr" : $(SOURCE) $(DEP_CPP_NET_C) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\cmd.c +DEP_CPP_CMD_C=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cmd.obj" : $(SOURCE) $(DEP_CPP_CMD_C) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cmd.obj" : $(SOURCE) $(DEP_CPP_CMD_C) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cmd.sbr" : $(SOURCE) $(DEP_CPP_CMD_C) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\view.c +DEP_CPP_VIEW_=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\view.obj" : $(SOURCE) $(DEP_CPP_VIEW_) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\view.obj" : $(SOURCE) $(DEP_CPP_VIEW_) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\view.sbr" : $(SOURCE) $(DEP_CPP_VIEW_) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_demo.c +DEP_CPP_CL_DE=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_demo.obj" : $(SOURCE) $(DEP_CPP_CL_DE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_demo.obj" : $(SOURCE) $(DEP_CPP_CL_DE) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_demo.sbr" : $(SOURCE) $(DEP_CPP_CL_DE) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_ents.c +DEP_CPP_CL_EN=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_ents.obj" : $(SOURCE) $(DEP_CPP_CL_EN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_ents.obj" : $(SOURCE) $(DEP_CPP_CL_EN) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_ents.sbr" : $(SOURCE) $(DEP_CPP_CL_EN) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_input.c +DEP_CPP_CL_IN=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_input.obj" : $(SOURCE) $(DEP_CPP_CL_IN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_input.obj" : $(SOURCE) $(DEP_CPP_CL_IN) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_input.sbr" : $(SOURCE) $(DEP_CPP_CL_IN) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_main.c +DEP_CPP_CL_MA=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_main.obj" : $(SOURCE) $(DEP_CPP_CL_MA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_main.obj" : $(SOURCE) $(DEP_CPP_CL_MA) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_main.sbr" : $(SOURCE) $(DEP_CPP_CL_MA) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_parse.c +DEP_CPP_CL_PA=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_parse.obj" : $(SOURCE) $(DEP_CPP_CL_PA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_parse.obj" : $(SOURCE) $(DEP_CPP_CL_PA) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_parse.sbr" : $(SOURCE) $(DEP_CPP_CL_PA) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_tent.c +DEP_CPP_CL_TE=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_tent.obj" : $(SOURCE) $(DEP_CPP_CL_TE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_tent.obj" : $(SOURCE) $(DEP_CPP_CL_TE) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_tent.sbr" : $(SOURCE) $(DEP_CPP_CL_TE) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\console.c +DEP_CPP_CONSO=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\console.obj" : $(SOURCE) $(DEP_CPP_CONSO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\console.obj" : $(SOURCE) $(DEP_CPP_CONSO) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\console.sbr" : $(SOURCE) $(DEP_CPP_CONSO) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\keys.c +DEP_CPP_KEYS_=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\keys.obj" : $(SOURCE) $(DEP_CPP_KEYS_) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\keys.obj" : $(SOURCE) $(DEP_CPP_KEYS_) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\keys.sbr" : $(SOURCE) $(DEP_CPP_KEYS_) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\menu.c +DEP_CPP_MENU_=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\menu.obj" : $(SOURCE) $(DEP_CPP_MENU_) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\menu.obj" : $(SOURCE) $(DEP_CPP_MENU_) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\menu.sbr" : $(SOURCE) $(DEP_CPP_MENU_) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\screen.c +DEP_CPP_SCREE=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\screen.obj" : $(SOURCE) $(DEP_CPP_SCREE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\screen.obj" : $(SOURCE) $(DEP_CPP_SCREE) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\screen.sbr" : $(SOURCE) $(DEP_CPP_SCREE) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\snd_dma.c +DEP_CPP_SND_D=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + ".\win32\winquake.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\snd_dma.obj" : $(SOURCE) $(DEP_CPP_SND_D) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\snd_dma.obj" : $(SOURCE) $(DEP_CPP_SND_D) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\snd_dma.sbr" : $(SOURCE) $(DEP_CPP_SND_D) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\snd_mem.c +DEP_CPP_SND_M=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\snd_mem.obj" : $(SOURCE) $(DEP_CPP_SND_M) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\snd_mem.obj" : $(SOURCE) $(DEP_CPP_SND_M) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\snd_mem.sbr" : $(SOURCE) $(DEP_CPP_SND_M) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\snd_mix.c +DEP_CPP_SND_MI=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + ".\win32\winquake.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\snd_mix.obj" : $(SOURCE) $(DEP_CPP_SND_MI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\snd_mix.obj" : $(SOURCE) $(DEP_CPP_SND_MI) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\snd_mix.sbr" : $(SOURCE) $(DEP_CPP_SND_MI) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_ccmds.c +DEP_CPP_SV_CC=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_ccmds.obj" : $(SOURCE) $(DEP_CPP_SV_CC) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_ccmds.obj" : $(SOURCE) $(DEP_CPP_SV_CC) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_ccmds.sbr" : $(SOURCE) $(DEP_CPP_SV_CC) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_ents.c +DEP_CPP_SV_EN=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_ents.obj" : $(SOURCE) $(DEP_CPP_SV_EN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_ents.obj" : $(SOURCE) $(DEP_CPP_SV_EN) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_ents.sbr" : $(SOURCE) $(DEP_CPP_SV_EN) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_init.c +DEP_CPP_SV_IN=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_init.obj" : $(SOURCE) $(DEP_CPP_SV_IN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_init.obj" : $(SOURCE) $(DEP_CPP_SV_IN) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_init.sbr" : $(SOURCE) $(DEP_CPP_SV_IN) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_main.c +DEP_CPP_SV_MA=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_main.obj" : $(SOURCE) $(DEP_CPP_SV_MA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_main.obj" : $(SOURCE) $(DEP_CPP_SV_MA) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_main.sbr" : $(SOURCE) $(DEP_CPP_SV_MA) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_phys.c +DEP_CPP_SV_PH=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_phys.obj" : $(SOURCE) $(DEP_CPP_SV_PH) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_phys.obj" : $(SOURCE) $(DEP_CPP_SV_PH) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_phys.sbr" : $(SOURCE) $(DEP_CPP_SV_PH) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_send.c +DEP_CPP_SV_SE=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_send.obj" : $(SOURCE) $(DEP_CPP_SV_SE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_send.obj" : $(SOURCE) $(DEP_CPP_SV_SE) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_send.sbr" : $(SOURCE) $(DEP_CPP_SV_SE) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_user.c +DEP_CPP_SV_US=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_user.obj" : $(SOURCE) $(DEP_CPP_SV_US) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_user.obj" : $(SOURCE) $(DEP_CPP_SV_US) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_user.sbr" : $(SOURCE) $(DEP_CPP_SV_US) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\qcommon.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\client.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\server.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\vid_dll.c +DEP_CPP_VID_D=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + ".\win32\winquake.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\vid_dll.obj" : $(SOURCE) $(DEP_CPP_VID_D) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\vid_dll.obj" : $(SOURCE) $(DEP_CPP_VID_D) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\vid_dll.sbr" : $(SOURCE) $(DEP_CPP_VID_D) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\in_win.c +DEP_CPP_IN_WI=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + ".\win32\winquake.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\in_win.obj" : $(SOURCE) $(DEP_CPP_IN_WI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\in_win.obj" : $(SOURCE) $(DEP_CPP_IN_WI) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\in_win.sbr" : $(SOURCE) $(DEP_CPP_IN_WI) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\net_wins.c +DEP_CPP_NET_W=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\net_wins.obj" : $(SOURCE) $(DEP_CPP_NET_W) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\net_wins.obj" : $(SOURCE) $(DEP_CPP_NET_W) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\net_wins.sbr" : $(SOURCE) $(DEP_CPP_NET_W) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\snd_win.c +DEP_CPP_SND_W=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\snd_loc.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + ".\win32\winquake.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\snd_win.obj" : $(SOURCE) $(DEP_CPP_SND_W) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\snd_win.obj" : $(SOURCE) $(DEP_CPP_SND_W) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\snd_win.sbr" : $(SOURCE) $(DEP_CPP_SND_W) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\sys_win.c +DEP_CPP_SYS_W=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\winquake.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sys_win.obj" : $(SOURCE) $(DEP_CPP_SYS_W) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sys_win.obj" : $(SOURCE) $(DEP_CPP_SYS_W) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sys_win.sbr" : $(SOURCE) $(DEP_CPP_SYS_W) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\cd_win.c +DEP_CPP_CD_WI=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cd_win.obj" : $(SOURCE) $(DEP_CPP_CD_WI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cd_win.obj" : $(SOURCE) $(DEP_CPP_CD_WI) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cd_win.sbr" : $(SOURCE) $(DEP_CPP_CD_WI) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\bspfile.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\sbar2.c +DEP_CPP_SBAR2=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sbar2.obj" : $(SOURCE) $(DEP_CPP_SBAR2) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sbar2.obj" : $(SOURCE) $(DEP_CPP_SBAR2) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sbar2.sbr" : $(SOURCE) $(DEP_CPP_SBAR2) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\ref.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_game.c +DEP_CPP_SV_GA=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_game.obj" : $(SOURCE) $(DEP_CPP_SV_GA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_game.obj" : $(SOURCE) $(DEP_CPP_SV_GA) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_game.sbr" : $(SOURCE) $(DEP_CPP_SV_GA) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\snd_loc.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_move.c +DEP_CPP_SV_MO=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_move.obj" : $(SOURCE) $(DEP_CPP_SV_MO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_move.obj" : $(SOURCE) $(DEP_CPP_SV_MO) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_move.sbr" : $(SOURCE) $(DEP_CPP_SV_MO) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\crc.c +DEP_CPP_CRC_C=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\crc.obj" : $(SOURCE) $(DEP_CPP_CRC_C) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\crc.obj" : $(SOURCE) $(DEP_CPP_CRC_C) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\crc.sbr" : $(SOURCE) $(DEP_CPP_CRC_C) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\cl_fx.c +DEP_CPP_CL_FX=\ + ".\client\anorms.h"\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\cl_fx.obj" : $(SOURCE) $(DEP_CPP_CL_FX) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\cl_fx.obj" : $(SOURCE) $(DEP_CPP_CL_FX) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\cl_fx.sbr" : $(SOURCE) $(DEP_CPP_CL_FX) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\client\scr_cin.c +DEP_CPP_SCR_C=\ + ".\client\cdaudio.h"\ + ".\client\console.h"\ + ".\client\input.h"\ + ".\client\keys.h"\ + ".\client\ref.h"\ + ".\client\sbar.h"\ + ".\client\screen.h"\ + ".\client\sound.h"\ + ".\client\vid.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\win32\..\client\client.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\scr_cin.obj" : $(SOURCE) $(DEP_CPP_SCR_C) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\scr_cin.obj" : $(SOURCE) $(DEP_CPP_SCR_C) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\scr_cin.sbr" : $(SOURCE) $(DEP_CPP_SCR_C) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\qfiles.h + +!IF "$(CFG)" == "quake2 - Win32 Release" + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\server\sv_world.c +DEP_CPP_SV_WO=\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\sv_world.obj" : $(SOURCE) $(DEP_CPP_SV_WO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\sv_world.obj" : $(SOURCE) $(DEP_CPP_SV_WO) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\sv_world.sbr" : $(SOURCE) $(DEP_CPP_SV_WO) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\q_shared.c +DEP_CPP_Q_SHA=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +!IF "$(CFG)" == "quake2 - Win32 Release" + + +"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +!ELSEIF "$(CFG)" == "quake2 - Win32 Debug" + + +BuildCmds= \ + $(CPP) $(CPP_PROJ) $(SOURCE) \ + + +"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" + $(BuildCmds) + +"$(INTDIR)\q_shared.sbr" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" + $(BuildCmds) + +!ENDIF + +# End Source File +# End Target +################################################################################ +# Begin Target + +# Name "ref_soft - Win32 Release" +# Name "ref_soft - Win32 Debug" + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ENDIF + +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_aclip.c +DEP_CPP_R_ACL=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_aclip.obj" : $(SOURCE) $(DEP_CPP_R_ACL) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_alias.c +DEP_CPP_R_ALI=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\anorms.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_alias.obj" : $(SOURCE) $(DEP_CPP_R_ALI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_bsp.c +DEP_CPP_R_BSP=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_bsp.obj" : $(SOURCE) $(DEP_CPP_R_BSP) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_draw.c +DEP_CPP_R_DRA=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_draw.obj" : $(SOURCE) $(DEP_CPP_R_DRA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_edge.c +DEP_CPP_R_EDG=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_edge.obj" : $(SOURCE) $(DEP_CPP_R_EDG) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_inter.c +DEP_CPP_R_INT=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_inter.obj" : $(SOURCE) $(DEP_CPP_R_INT) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_light.c +DEP_CPP_R_LIG=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_light.obj" : $(SOURCE) $(DEP_CPP_R_LIG) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_main.c +DEP_CPP_R_MAI=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_main.obj" : $(SOURCE) $(DEP_CPP_R_MAI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_misc.c +DEP_CPP_R_MIS=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_misc.obj" : $(SOURCE) $(DEP_CPP_R_MIS) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_part.c +DEP_CPP_R_PAR=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_part.obj" : $(SOURCE) $(DEP_CPP_R_PAR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_sprite.c +DEP_CPP_R_SPR=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_sprite.obj" : $(SOURCE) $(DEP_CPP_R_SPR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_surf.c +DEP_CPP_R_SUR=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_surf.obj" : $(SOURCE) $(DEP_CPP_R_SUR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_aclipa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_aclipa.asm +InputName=r_aclipa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_aclipa.asm +InputName=r_aclipa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_drawa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_drawa.asm +InputName=r_drawa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_drawa.asm +InputName=r_drawa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_edgea.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_edgea.asm +InputName=r_edgea + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_edgea.asm +InputName=r_edgea + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_varsa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_varsa.asm +InputName=r_varsa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_varsa.asm +InputName=r_varsa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\ref_soft.def + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_local.h + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_image.c +DEP_CPP_R_IMA=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_image.obj" : $(SOURCE) $(DEP_CPP_R_IMA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_poly.c +DEP_CPP_R_POL=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_poly.obj" : $(SOURCE) $(DEP_CPP_R_POL) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_polyse.c +DEP_CPP_R_POLY=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\adivtab.h"\ + ".\ref_soft\r_model.h"\ + ".\ref_soft\rand1k.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_polyse.obj" : $(SOURCE) $(DEP_CPP_R_POLY) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_model.c +DEP_CPP_R_MOD=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_model.obj" : $(SOURCE) $(DEP_CPP_R_MOD) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_rast.c +DEP_CPP_R_RAS=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_rast.obj" : $(SOURCE) $(DEP_CPP_R_RAS) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_surf8.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_surf8.asm +InputName=r_surf8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_surf8.asm +InputName=r_surf8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_spr8.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_spr8.asm +InputName=r_spr8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_spr8.asm +InputName=r_spr8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_scana.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_scana.asm +InputName=r_scana + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_scana.asm +InputName=r_scana + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_scan.c +DEP_CPP_R_SCA=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + + +"$(INTDIR)\r_scan.obj" : $(SOURCE) $(DEP_CPP_R_SCA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_soft\r_draw16.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\Release +InputPath=.\ref_soft\r_draw16.asm +InputName=r_draw16 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\Debug +InputPath=.\ref_soft\r_draw16.asm +InputName=r_draw16 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\rw_dib.c +DEP_CPP_RW_DI=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + ".\win32\rw_win.h"\ + + +"$(INTDIR)\rw_dib.obj" : $(SOURCE) $(DEP_CPP_RW_DI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\rw_imp.c +DEP_CPP_RW_IM=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + ".\win32\rw_win.h"\ + + +"$(INTDIR)\rw_imp.obj" : $(SOURCE) $(DEP_CPP_RW_IM) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\q_shared.c +DEP_CPP_Q_SHA=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\rw_ddraw.c +DEP_CPP_RW_DD=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_soft\r_model.h"\ + ".\win32\..\ref_soft\r_local.h"\ + ".\win32\rw_win.h"\ + + +"$(INTDIR)\rw_ddraw.obj" : $(SOURCE) $(DEP_CPP_RW_DD) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +# End Target +################################################################################ +# Begin Target + +# Name "ref_gl - Win32 Release" +# Name "ref_gl - Win32 Debug" + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ENDIF + +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_inter.c +DEP_CPP_GL_IN=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_inter.obj" : $(SOURCE) $(DEP_CPP_GL_IN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_light.c +DEP_CPP_GL_LI=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_light.obj" : $(SOURCE) $(DEP_CPP_GL_LI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_mesh.c +DEP_CPP_GL_ME=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\anorms.h"\ + ".\ref_gl\anormtab.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_mesh.obj" : $(SOURCE) $(DEP_CPP_GL_ME) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_model.c +DEP_CPP_GL_MO=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_model.obj" : $(SOURCE) $(DEP_CPP_GL_MO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_rmain.c +DEP_CPP_GL_RM=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_rmain.obj" : $(SOURCE) $(DEP_CPP_GL_RM) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_rmisc.c +DEP_CPP_GL_RMI=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_rmisc.obj" : $(SOURCE) $(DEP_CPP_GL_RMI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_rsurf.c +DEP_CPP_GL_RS=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_rsurf.obj" : $(SOURCE) $(DEP_CPP_GL_RS) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_textr.c +DEP_CPP_GL_TE=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_textr.obj" : $(SOURCE) $(DEP_CPP_GL_TE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_warp.c +DEP_CPP_GL_WA=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + ".\ref_gl\warpsin.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_warp.obj" : $(SOURCE) $(DEP_CPP_GL_WA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_draw.c +DEP_CPP_GL_DR=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\gl_draw.obj" : $(SOURCE) $(DEP_CPP_GL_DR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\ref_gl.def + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\ref_gl.h + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\gl_model.h + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\ref_gl\qgl.h + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\qgl_win.c +DEP_CPP_QGL_W=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + ".\win32\glw_win.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\qgl_win.obj" : $(SOURCE) $(DEP_CPP_QGL_W) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\win32\glw_imp.c +DEP_CPP_GLW_I=\ + ".\client\ref.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\ref_gl\gl_local.h"\ + ".\ref_gl\gl_model.h"\ + ".\ref_gl\qgl.h"\ + ".\win32\glw_win.h"\ + ".\win32\winquake.h"\ + {$(INCLUDE)}"\gl\gl.h"\ + + +"$(INTDIR)\glw_imp.obj" : $(SOURCE) $(DEP_CPP_GLW_I) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\q_shared.c +DEP_CPP_Q_SHA=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +# End Target +################################################################################ +# Begin Target + +# Name "game - Win32 Release" +# Name "game - Win32 Debug" + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +################################################################################ +# Begin Source File + +SOURCE=.\game\g_ai.c +DEP_CPP_G_AI_=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_ai.obj" : $(SOURCE) $(DEP_CPP_G_AI_) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_bersrk.c +DEP_CPP_G_BER=\ + ".\game\g_bersrk.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_bersrk.obj" : $(SOURCE) $(DEP_CPP_G_BER) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_bersrk.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_client.c +DEP_CPP_G_CLI=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_client.obj" : $(SOURCE) $(DEP_CPP_G_CLI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_combat.c +DEP_CPP_G_COM=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_combat.obj" : $(SOURCE) $(DEP_CPP_G_COM) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_func.c +DEP_CPP_G_FUN=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_func.obj" : $(SOURCE) $(DEP_CPP_G_FUN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_gladtr.c +DEP_CPP_G_GLA=\ + ".\game\g_gladtr.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_gladtr.obj" : $(SOURCE) $(DEP_CPP_G_GLA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_gladtr.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_gunner.c +DEP_CPP_G_GUN=\ + ".\game\g_gunner.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_gunner.obj" : $(SOURCE) $(DEP_CPP_G_GUN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_gunner.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_inftry.c +DEP_CPP_G_INF=\ + ".\game\g_inftry.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_inftry.obj" : $(SOURCE) $(DEP_CPP_G_INF) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_inftry.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_items.c +DEP_CPP_G_ITE=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_items.obj" : $(SOURCE) $(DEP_CPP_G_ITE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_local.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_main.c +DEP_CPP_G_MAI=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_main.obj" : $(SOURCE) $(DEP_CPP_G_MAI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_misc.c +DEP_CPP_G_MIS=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_misc.obj" : $(SOURCE) $(DEP_CPP_G_MIS) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_monster.c +DEP_CPP_G_MON=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_monster.obj" : $(SOURCE) $(DEP_CPP_G_MON) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_pmove.c +DEP_CPP_G_PMO=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_pmove.obj" : $(SOURCE) $(DEP_CPP_G_PMO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_pweapon.c +DEP_CPP_G_PWE=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_pweapon.obj" : $(SOURCE) $(DEP_CPP_G_PWE) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_soldier.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_utils.c +DEP_CPP_G_UTI=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_utils.obj" : $(SOURCE) $(DEP_CPP_G_UTI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_weapon.c +DEP_CPP_G_WEA=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_weapon.obj" : $(SOURCE) $(DEP_CPP_G_WEA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_target.c +DEP_CPP_G_TAR=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_target.obj" : $(SOURCE) $(DEP_CPP_G_TAR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_trigger.c +DEP_CPP_G_TRI=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_trigger.obj" : $(SOURCE) $(DEP_CPP_G_TRI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_tank.c +DEP_CPP_G_TAN=\ + ".\game\g_local.h"\ + ".\game\g_tank.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_tank.obj" : $(SOURCE) $(DEP_CPP_G_TAN) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_soldier.c +DEP_CPP_G_SOL=\ + ".\game\g_local.h"\ + ".\game\g_soldier.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_soldier.obj" : $(SOURCE) $(DEP_CPP_G_SOL) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\game.def + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\game.h + +!IF "$(CFG)" == "game - Win32 Release" + +!ELSEIF "$(CFG)" == "game - Win32 Debug" + +!ENDIF + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_medic.c +DEP_CPP_G_MED=\ + ".\game\g_local.h"\ + ".\game\g_medic.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_medic.obj" : $(SOURCE) $(DEP_CPP_G_MED) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_flipper.c +DEP_CPP_G_FLI=\ + ".\game\g_flipper.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_flipper.obj" : $(SOURCE) $(DEP_CPP_G_FLI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_chick.c +DEP_CPP_G_CHI=\ + ".\game\g_chick.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_chick.obj" : $(SOURCE) $(DEP_CPP_G_CHI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_parasite.c +DEP_CPP_G_PAR=\ + ".\game\g_local.h"\ + ".\game\g_parasite.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_parasite.obj" : $(SOURCE) $(DEP_CPP_G_PAR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_flyer.c +DEP_CPP_G_FLY=\ + ".\game\g_flyer.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_flyer.obj" : $(SOURCE) $(DEP_CPP_G_FLY) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_ptrail.c +DEP_CPP_G_PTR=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_ptrail.obj" : $(SOURCE) $(DEP_CPP_G_PTR) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_hover.c +DEP_CPP_G_HOV=\ + ".\game\g_hover.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_hover.obj" : $(SOURCE) $(DEP_CPP_G_HOV) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_float.c +DEP_CPP_G_FLO=\ + ".\game\g_float.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_float.obj" : $(SOURCE) $(DEP_CPP_G_FLO) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_brain.c +DEP_CPP_G_BRA=\ + ".\game\g_brain.h"\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_brain.obj" : $(SOURCE) $(DEP_CPP_G_BRA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_cmds.c +DEP_CPP_G_CMD=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_cmds.obj" : $(SOURCE) $(DEP_CPP_G_CMD) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_player.c +DEP_CPP_G_PLA=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_player.obj" : $(SOURCE) $(DEP_CPP_G_PLA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\game\g_pview.c +DEP_CPP_G_PVI=\ + ".\game\g_local.h"\ + ".\game\game.h"\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + ".\server\server.h"\ + + +"$(INTDIR)\g_pview.obj" : $(SOURCE) $(DEP_CPP_G_PVI) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +################################################################################ +# Begin Source File + +SOURCE=.\qcommon\q_shared.c +DEP_CPP_Q_SHA=\ + ".\qcommon\qcommon.h"\ + ".\qcommon\qfiles.h"\ + + +"$(INTDIR)\q_shared.obj" : $(SOURCE) $(DEP_CPP_Q_SHA) "$(INTDIR)" + $(CPP) $(CPP_PROJ) $(SOURCE) + + +# End Source File +# End Target +# End Project +################################################################################ diff --git a/ref_gl/ref_gl.001 b/ref_gl/ref_gl.001 index c6bdc1d..eef41bf 100644 --- a/ref_gl/ref_gl.001 +++ b/ref_gl/ref_gl.001 @@ -1,752 +1,752 @@ -# Microsoft Developer Studio Project File - Name="ref_gl" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=ref_gl - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ref_gl.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ref_gl.mak" CFG="ref_gl - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ref_gl - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Debug Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Release Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\ref_gl__" -# PROP BASE Intermediate_Dir ".\ref_gl__" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\release" -# PROP Intermediate_Dir ".\release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 -# SUBTRACT LINK32 /incremental:yes /debug - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\ref_gl__" -# PROP BASE Intermediate_Dir ".\ref_gl__" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\debug" -# PROP Intermediate_Dir ".\debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 -# SUBTRACT LINK32 /profile - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug Alpha" -# PROP BASE Intermediate_Dir "Debug Alpha" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib opengl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA -# ADD LINK32 opengl32.lib kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ref_gl__" -# PROP BASE Intermediate_Dir "ref_gl__" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -# SUBTRACT CPP /Z /Fr -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /subsystem:windows /dll /machine:ALPHA -# SUBTRACT BASE LINK32 /debug -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA -# SUBTRACT LINK32 /debug - -!ENDIF - -# Begin Target - -# Name "ref_gl - Win32 Release" -# Name "ref_gl - Win32 Debug" -# Name "ref_gl - Win32 Debug Alpha" -# Name "ref_gl - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\gl_draw.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_DR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_DR=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_DR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_image.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_IM=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_light.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_LI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_LI=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_LI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_mesh.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_ME=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\anormtab.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_ME=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_ME=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\anormtab.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_model.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_MO=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_MO=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_MO=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_rmain.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_RM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RM=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_RM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_rmisc.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_RMI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RMI=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_RMI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_rsurf.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_RS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RS=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_RS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_warp.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_WA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - ".\warpsin.h"\ - -NODEP_CPP_GL_WA=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_WA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - ".\warpsin.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\glw_imp.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GLW_I=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - "..\win32\winquake.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GLW_I=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GLW_I=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - "..\win32\winquake.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\game\q_shared.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\q_shwin.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\qgl_win.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_QGL_W=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_QGL_W=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_QGL_W=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - {$(INCLUDE)}"GL\gl.h"\ - {$(INCLUDE)}"GL\glu.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\anorms.h -# End Source File -# Begin Source File - -SOURCE=.\anormtab.h -# End Source File -# Begin Source File - -SOURCE=.\gl_local.h -# End Source File -# Begin Source File - -SOURCE=.\gl_model.h -# End Source File -# Begin Source File - -SOURCE=..\win32\glw_win.h -# End Source File -# Begin Source File - -SOURCE=..\game\q_shared.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qcommon.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qfiles.h -# End Source File -# Begin Source File - -SOURCE=.\qgl.h -# End Source File -# Begin Source File - -SOURCE=.\qmenu.h -# End Source File -# Begin Source File - -SOURCE=..\client\ref.h -# End Source File -# Begin Source File - -SOURCE=.\ref_gl.h -# End Source File -# Begin Source File - -SOURCE=.\warpsin.h -# End Source File -# Begin Source File - -SOURCE=..\win32\winquake.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\ref_gl.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ref_gl" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=ref_gl - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ref_gl.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ref_gl.mak" CFG="ref_gl - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ref_gl - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Debug Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Release Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir ".\ref_gl__" +# PROP BASE Intermediate_Dir ".\ref_gl__" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\release" +# PROP Intermediate_Dir ".\release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 +# SUBTRACT LINK32 /incremental:yes /debug + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir ".\ref_gl__" +# PROP BASE Intermediate_Dir ".\ref_gl__" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\debug" +# PROP Intermediate_Dir ".\debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 +# SUBTRACT LINK32 /profile + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug Alpha" +# PROP BASE Intermediate_Dir "Debug Alpha" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib opengl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA +# ADD LINK32 opengl32.lib kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ref_gl__" +# PROP BASE Intermediate_Dir "ref_gl__" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +# SUBTRACT CPP /Z /Fr +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /subsystem:windows /dll /machine:ALPHA +# SUBTRACT BASE LINK32 /debug +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA +# SUBTRACT LINK32 /debug + +!ENDIF + +# Begin Target + +# Name "ref_gl - Win32 Release" +# Name "ref_gl - Win32 Debug" +# Name "ref_gl - Win32 Debug Alpha" +# Name "ref_gl - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\gl_draw.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_DR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_DR=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_DR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_image.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_IM=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_light.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_LI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_LI=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_LI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_mesh.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_ME=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\anormtab.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_ME=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_ME=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\anormtab.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_model.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_MO=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_MO=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_MO=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_rmain.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_RM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RM=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_RM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_rmisc.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_RMI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RMI=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_RMI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_rsurf.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_RS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RS=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_RS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_warp.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_WA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + ".\warpsin.h"\ + +NODEP_CPP_GL_WA=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_WA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + ".\warpsin.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\glw_imp.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GLW_I=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + "..\win32\winquake.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GLW_I=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GLW_I=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + "..\win32\winquake.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\game\q_shared.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\q_shwin.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\qgl_win.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_QGL_W=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_QGL_W=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_QGL_W=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + {$(INCLUDE)}"GL\gl.h"\ + {$(INCLUDE)}"GL\glu.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\anorms.h +# End Source File +# Begin Source File + +SOURCE=.\anormtab.h +# End Source File +# Begin Source File + +SOURCE=.\gl_local.h +# End Source File +# Begin Source File + +SOURCE=.\gl_model.h +# End Source File +# Begin Source File + +SOURCE=..\win32\glw_win.h +# End Source File +# Begin Source File + +SOURCE=..\game\q_shared.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qcommon.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qfiles.h +# End Source File +# Begin Source File + +SOURCE=.\qgl.h +# End Source File +# Begin Source File + +SOURCE=.\qmenu.h +# End Source File +# Begin Source File + +SOURCE=..\client\ref.h +# End Source File +# Begin Source File + +SOURCE=.\ref_gl.h +# End Source File +# Begin Source File + +SOURCE=.\warpsin.h +# End Source File +# Begin Source File + +SOURCE=..\win32\winquake.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\ref_gl.def +# End Source File +# End Group +# End Target +# End Project diff --git a/ref_gl/ref_gl.def b/ref_gl/ref_gl.def index 2fefbd3..cfbb471 100644 --- a/ref_gl/ref_gl.def +++ b/ref_gl/ref_gl.def @@ -1,2 +1,2 @@ -EXPORTS - GetRefAPI +EXPORTS + GetRefAPI diff --git a/ref_gl/ref_gl.dsp b/ref_gl/ref_gl.dsp index c63ef4b..4c12284 100644 --- a/ref_gl/ref_gl.dsp +++ b/ref_gl/ref_gl.dsp @@ -1,773 +1,773 @@ -# Microsoft Developer Studio Project File - Name="ref_gl" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=ref_gl - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ref_gl.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ref_gl.mak" CFG="ref_gl - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ref_gl - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "ref_gl - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\ref_gl__" -# PROP BASE Intermediate_Dir ".\ref_gl__" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\release" -# PROP Intermediate_Dir ".\release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 -# SUBTRACT LINK32 /incremental:yes /debug - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\ref_gl__" -# PROP BASE Intermediate_Dir ".\ref_gl__" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\debug" -# PROP Intermediate_Dir ".\debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 -# SUBTRACT LINK32 /profile - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug Alpha" -# PROP BASE Intermediate_Dir "Debug Alpha" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib opengl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA -# ADD LINK32 opengl32.lib kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ref_gl__" -# PROP BASE Intermediate_Dir "ref_gl__" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -# SUBTRACT CPP /Z /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /subsystem:windows /dll /machine:ALPHA -# SUBTRACT BASE LINK32 /debug -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA -# SUBTRACT LINK32 /debug - -!ENDIF - -# Begin Target - -# Name "ref_gl - Win32 Release" -# Name "ref_gl - Win32 Debug" -# Name "ref_gl - Win32 Debug Alpha" -# Name "ref_gl - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=.\gl_draw.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_DR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_DR=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_DR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_DR=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_image.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_IM=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_IM=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_light.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_LI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_LI=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_LI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_LI=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_mesh.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_ME=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\anormtab.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_ME=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_ME=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\anormtab.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_ME=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_model.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_MO=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_MO=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_MO=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_MO=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_rmain.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_RM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RM=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_RM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RM=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_rmisc.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_RMI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RMI=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_RMI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RMI=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_rsurf.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_RS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RS=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_RS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GL_RS=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\gl_warp.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GL_WA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - ".\warpsin.h"\ - -NODEP_CPP_GL_WA=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GL_WA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - ".\warpsin.h"\ - -NODEP_CPP_GL_WA=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\glw_imp.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_GLW_I=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - "..\win32\winquake.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GLW_I=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_GLW_I=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - "..\win32\winquake.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_GLW_I=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\game\q_shared.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\q_shwin.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\qgl_win.c - -!IF "$(CFG)" == "ref_gl - Win32 Release" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" - -DEP_CPP_QGL_W=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_QGL_W=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" - -DEP_CPP_QGL_W=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\glw_win.h"\ - ".\gl_local.h"\ - ".\gl_model.h"\ - ".\qgl.h"\ - -NODEP_CPP_QGL_W=\ - ".\L\gl.h"\ - ".\L\glu.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\anorms.h -# End Source File -# Begin Source File - -SOURCE=.\anormtab.h -# End Source File -# Begin Source File - -SOURCE=.\gl_local.h -# End Source File -# Begin Source File - -SOURCE=.\gl_model.h -# End Source File -# Begin Source File - -SOURCE=..\win32\glw_win.h -# End Source File -# Begin Source File - -SOURCE=..\game\q_shared.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qcommon.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qfiles.h -# End Source File -# Begin Source File - -SOURCE=.\qgl.h -# End Source File -# Begin Source File - -SOURCE=.\qmenu.h -# End Source File -# Begin Source File - -SOURCE=..\client\ref.h -# End Source File -# Begin Source File - -SOURCE=.\ref_gl.h -# End Source File -# Begin Source File - -SOURCE=.\warpsin.h -# End Source File -# Begin Source File - -SOURCE=..\win32\winquake.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\ref_gl.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ref_gl" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=ref_gl - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ref_gl.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ref_gl.mak" CFG="ref_gl - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ref_gl - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "ref_gl - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir ".\ref_gl__" +# PROP BASE Intermediate_Dir ".\ref_gl__" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\release" +# PROP Intermediate_Dir ".\release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 +# SUBTRACT LINK32 /incremental:yes /debug + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir ".\ref_gl__" +# PROP BASE Intermediate_Dir ".\ref_gl__" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\debug" +# PROP Intermediate_Dir ".\debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 +# SUBTRACT LINK32 /profile + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug Alpha" +# PROP BASE Intermediate_Dir "Debug Alpha" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib opengl32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA +# ADD LINK32 opengl32.lib kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ref_gl__" +# PROP BASE Intermediate_Dir "ref_gl__" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +# SUBTRACT CPP /Z /Fr +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /subsystem:windows /dll /machine:ALPHA +# SUBTRACT BASE LINK32 /debug +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA +# SUBTRACT LINK32 /debug + +!ENDIF + +# Begin Target + +# Name "ref_gl - Win32 Release" +# Name "ref_gl - Win32 Debug" +# Name "ref_gl - Win32 Debug Alpha" +# Name "ref_gl - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\gl_draw.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_DR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_DR=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_DR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_DR=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_image.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_IM=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_IM=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_light.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_LI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_LI=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_LI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_LI=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_mesh.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_ME=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\anormtab.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_ME=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_ME=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\anormtab.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_ME=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_model.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_MO=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_MO=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_MO=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_MO=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_rmain.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_RM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RM=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_RM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RM=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_rmisc.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_RMI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RMI=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_RMI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RMI=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_rsurf.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_RS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RS=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_RS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GL_RS=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\gl_warp.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GL_WA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + ".\warpsin.h"\ + +NODEP_CPP_GL_WA=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GL_WA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + ".\warpsin.h"\ + +NODEP_CPP_GL_WA=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\glw_imp.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_GLW_I=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + "..\win32\winquake.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GLW_I=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_GLW_I=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + "..\win32\winquake.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_GLW_I=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\game\q_shared.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\q_shwin.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\qgl_win.c + +!IF "$(CFG)" == "ref_gl - Win32 Release" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Debug Alpha" + +DEP_CPP_QGL_W=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_QGL_W=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ELSEIF "$(CFG)" == "ref_gl - Win32 Release Alpha" + +DEP_CPP_QGL_W=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\glw_win.h"\ + ".\gl_local.h"\ + ".\gl_model.h"\ + ".\qgl.h"\ + +NODEP_CPP_QGL_W=\ + ".\L\gl.h"\ + ".\L\glu.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\anorms.h +# End Source File +# Begin Source File + +SOURCE=.\anormtab.h +# End Source File +# Begin Source File + +SOURCE=.\gl_local.h +# End Source File +# Begin Source File + +SOURCE=.\gl_model.h +# End Source File +# Begin Source File + +SOURCE=..\win32\glw_win.h +# End Source File +# Begin Source File + +SOURCE=..\game\q_shared.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qcommon.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qfiles.h +# End Source File +# Begin Source File + +SOURCE=.\qgl.h +# End Source File +# Begin Source File + +SOURCE=.\qmenu.h +# End Source File +# Begin Source File + +SOURCE=..\client\ref.h +# End Source File +# Begin Source File + +SOURCE=.\ref_gl.h +# End Source File +# Begin Source File + +SOURCE=.\warpsin.h +# End Source File +# Begin Source File + +SOURCE=..\win32\winquake.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\ref_gl.def +# End Source File +# End Group +# End Target +# End Project diff --git a/ref_gl/ref_gl.plg b/ref_gl/ref_gl.plg index 3ea38af..7119ee2 100644 --- a/ref_gl/ref_gl.plg +++ b/ref_gl/ref_gl.plg @@ -1,17 +1,17 @@ ---------------------Configuration: ref_gl - Win32 Release Alpha-------------------- -Begining build with project "G:\quake2\code\ref_gl\ref_gl.dsp", at root. -Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) - -Project's tools are: - "OLE Type Library Maker" with flags "/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 " - "C/C++ Compiler for Alpha" with flags "/nologo /QA21164 /MT /Gt0 /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /Fp".\ReleaseAXP/ref_gl.pch" /YX /Fo".\ReleaseAXP/" /Fd".\ReleaseAXP/" /FD /QAieee1 /c " - "Win32 Resource Compiler" with flags "/l 0x409 /d "NDEBUG" " - "Browser Database Maker" with flags "/nologo /o"..\ReleaseAXP/ref_gl.bsc" " - "COFF Linker for Alpha" with flags "kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\ReleaseAXP/ref_gl.pdb" /debug /machine:ALPHA /def:".\ref_gl.def" /out:"..\ReleaseAXP/ref_gl.dll" /implib:"..\ReleaseAXP/ref_gl.lib" " - "Custom Build" with flags "" - "" with flags "" - - - - -ref_gl.dll - 0 error(s), 0 warning(s) +--------------------Configuration: ref_gl - Win32 Release Alpha-------------------- +Begining build with project "G:\quake2\code\ref_gl\ref_gl.dsp", at root. +Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) + +Project's tools are: + "OLE Type Library Maker" with flags "/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 " + "C/C++ Compiler for Alpha" with flags "/nologo /QA21164 /MT /Gt0 /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /Fp".\ReleaseAXP/ref_gl.pch" /YX /Fo".\ReleaseAXP/" /Fd".\ReleaseAXP/" /FD /QAieee1 /c " + "Win32 Resource Compiler" with flags "/l 0x409 /d "NDEBUG" " + "Browser Database Maker" with flags "/nologo /o"..\ReleaseAXP/ref_gl.bsc" " + "COFF Linker for Alpha" with flags "kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\ReleaseAXP/ref_gl.pdb" /debug /machine:ALPHA /def:".\ref_gl.def" /out:"..\ReleaseAXP/ref_gl.dll" /implib:"..\ReleaseAXP/ref_gl.lib" " + "Custom Build" with flags "" + "" with flags "" + + + + +ref_gl.dll - 0 error(s), 0 warning(s) diff --git a/ref_soft/block16.inc b/ref_soft/block16.inc index 11a439a..3c6c44c 100644 --- a/ref_soft/block16.inc +++ b/ref_soft/block16.inc @@ -1,116 +1,116 @@ -LEnter16_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch0: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch1: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch2: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch3: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch4: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch5: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch6: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch7: - mov ds:word ptr[2+edi],cx - add edi,04h -LEnter8_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch8: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch9: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch10: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch11: - mov ds:word ptr[2+edi],cx - add edi,04h -LEnter4_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch12: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch13: - mov ds:word ptr[2+edi],cx - add edi,04h -LEnter2_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch14: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch15: - mov ds:word ptr[2+edi],cx - add edi,04h +LEnter16_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch0: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch1: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch2: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch3: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch4: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch5: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch6: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch7: + mov ds:word ptr[2+edi],cx + add edi,04h +LEnter8_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch8: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch9: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch10: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch11: + mov ds:word ptr[2+edi],cx + add edi,04h +LEnter4_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch12: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch13: + mov ds:word ptr[2+edi],cx + add edi,04h +LEnter2_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch14: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch15: + mov ds:word ptr[2+edi],cx + add edi,04h diff --git a/ref_soft/block8.inc b/ref_soft/block8.inc index 11a439a..3c6c44c 100644 --- a/ref_soft/block8.inc +++ b/ref_soft/block8.inc @@ -1,116 +1,116 @@ -LEnter16_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch0: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch1: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch2: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch3: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch4: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch5: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch6: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch7: - mov ds:word ptr[2+edi],cx - add edi,04h -LEnter8_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch8: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch9: - mov ds:word ptr[2+edi],cx - add edi,04h - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch10: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch11: - mov ds:word ptr[2+edi],cx - add edi,04h -LEnter4_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch12: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch13: - mov ds:word ptr[2+edi],cx - add edi,04h -LEnter2_16: - mov al,ds:byte ptr[esi] - mov cl,ds:byte ptr[esi+ebx] - mov ah,dh - add edx,ebp - mov ch,dh - lea esi,ds:dword ptr[esi+ebx*2] - mov ax,ds:word ptr[12345678h+eax*2] -LBPatch14: - add edx,ebp - mov ds:word ptr[edi],ax - mov cx,ds:word ptr[12345678h+ecx*2] -LBPatch15: - mov ds:word ptr[2+edi],cx - add edi,04h +LEnter16_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch0: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch1: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch2: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch3: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch4: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch5: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch6: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch7: + mov ds:word ptr[2+edi],cx + add edi,04h +LEnter8_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch8: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch9: + mov ds:word ptr[2+edi],cx + add edi,04h + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch10: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch11: + mov ds:word ptr[2+edi],cx + add edi,04h +LEnter4_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch12: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch13: + mov ds:word ptr[2+edi],cx + add edi,04h +LEnter2_16: + mov al,ds:byte ptr[esi] + mov cl,ds:byte ptr[esi+ebx] + mov ah,dh + add edx,ebp + mov ch,dh + lea esi,ds:dword ptr[esi+ebx*2] + mov ax,ds:word ptr[12345678h+eax*2] +LBPatch14: + add edx,ebp + mov ds:word ptr[edi],ax + mov cx,ds:word ptr[12345678h+ecx*2] +LBPatch15: + mov ds:word ptr[2+edi],cx + add edi,04h diff --git a/ref_soft/d_if.inc b/ref_soft/d_if.inc index cf1c032..39ada43 100644 --- a/ref_soft/d_if.inc +++ b/ref_soft/d_if.inc @@ -1,81 +1,81 @@ -; -; d_ifacea.h -; -; Include file for asm driver interface. -; - -; -; !!! note that this file must match the corresponding C structures in -; d_iface.h at all times !!! -; - -; !!! if this is changed, it must be changed in r_shared.h too !!! -ALIAS_ONSEAM equ 00020h - -; !!! if this is changed, it must be changed in d_iface.h too !!! -TURB_TEX_SIZE equ 64 - -; !!! if this is changed, it must be changed in d_iface.h too !!! -CYCLE equ 128 - -; !!! if this is changed, it must be changed in r_shared.h too !!! -MAXHEIGHT equ 1024 - -; !!! if this is changed, it must be changed in quakedef.h too !!! -CACHE_SIZE equ 32 - -; particle_t structure -; !!! if this is changed, it must be changed in d_iface.h too !!! -; driver-usable fields -pt_org equ 0 -pt_color equ 12 -; drivers never touch the following fields -pt_next equ 16 -pt_vel equ 20 -pt_ramp equ 32 -pt_die equ 36 -pt_type equ 40 -pt_size equ 44 - -PARTICLE_Z_CLIP equ 8.0 - -; finalvert_t structure -; !!! if this is changed, it must be changed in d_iface.h too !!! -fv_v equ 0 ; !!! if this is moved, cases where the !!! - ; !!! address of this field is pushed in !!! - ; !!! d_polysa.s must be changed !!! -fv_flags equ 24 -fv_reserved equ 28 -fv_size equ 32 -fv_shift equ 5 - - -; stvert_t structure -; !!! if this is changed, it must be changed in modelgen.h too !!! -stv_onseam equ 0 -stv_s equ 4 -stv_t equ 8 -stv_size equ 12 - - -; trivertx_t structure -; !!! if this is changed, it must be changed in modelgen.h too !!! -tv_v equ 0 -tv_lightnormalindex equ 3 -tv_size equ 4 - -; affinetridesc_t structure -; !!! if this is changed, it must be changed in d_iface.h too !!! -atd_pskin equ 0 -atd_pskindesc equ 4 -atd_skinwidth equ 8 -atd_skinheight equ 12 -atd_ptriangles equ 16 -atd_pfinalverts equ 20 -atd_numtriangles equ 24 -atd_drawtype equ 28 -atd_seamfixupX16 equ 32 -atd_do_vis_thresh equ 36 -atd_vis_thresh equ 40 -atd_size equ 44 - +; +; d_ifacea.h +; +; Include file for asm driver interface. +; + +; +; !!! note that this file must match the corresponding C structures in +; d_iface.h at all times !!! +; + +; !!! if this is changed, it must be changed in r_shared.h too !!! +ALIAS_ONSEAM equ 00020h + +; !!! if this is changed, it must be changed in d_iface.h too !!! +TURB_TEX_SIZE equ 64 + +; !!! if this is changed, it must be changed in d_iface.h too !!! +CYCLE equ 128 + +; !!! if this is changed, it must be changed in r_shared.h too !!! +MAXHEIGHT equ 1024 + +; !!! if this is changed, it must be changed in quakedef.h too !!! +CACHE_SIZE equ 32 + +; particle_t structure +; !!! if this is changed, it must be changed in d_iface.h too !!! +; driver-usable fields +pt_org equ 0 +pt_color equ 12 +; drivers never touch the following fields +pt_next equ 16 +pt_vel equ 20 +pt_ramp equ 32 +pt_die equ 36 +pt_type equ 40 +pt_size equ 44 + +PARTICLE_Z_CLIP equ 8.0 + +; finalvert_t structure +; !!! if this is changed, it must be changed in d_iface.h too !!! +fv_v equ 0 ; !!! if this is moved, cases where the !!! + ; !!! address of this field is pushed in !!! + ; !!! d_polysa.s must be changed !!! +fv_flags equ 24 +fv_reserved equ 28 +fv_size equ 32 +fv_shift equ 5 + + +; stvert_t structure +; !!! if this is changed, it must be changed in modelgen.h too !!! +stv_onseam equ 0 +stv_s equ 4 +stv_t equ 8 +stv_size equ 12 + + +; trivertx_t structure +; !!! if this is changed, it must be changed in modelgen.h too !!! +tv_v equ 0 +tv_lightnormalindex equ 3 +tv_size equ 4 + +; affinetridesc_t structure +; !!! if this is changed, it must be changed in d_iface.h too !!! +atd_pskin equ 0 +atd_pskindesc equ 4 +atd_skinwidth equ 8 +atd_skinheight equ 12 +atd_ptriangles equ 16 +atd_pfinalverts equ 20 +atd_numtriangles equ 24 +atd_drawtype equ 28 +atd_seamfixupX16 equ 32 +atd_do_vis_thresh equ 36 +atd_vis_thresh equ 40 +atd_size equ 44 + diff --git a/ref_soft/qasm.inc b/ref_soft/qasm.inc index 4a5e1de..71d189b 100644 --- a/ref_soft/qasm.inc +++ b/ref_soft/qasm.inc @@ -1,435 +1,435 @@ -; -; qasm.inc -; -; Include file for asm routines. -; - -; -; !!! note that this file must match the corresponding C structures at all -; times !!! -; - -; set to 0 to skip all asm code -id386 equ 1 - -; !!! must be kept the same as in d_iface.h !!! -TRANSPARENT_COLOR equ 255 - -ifndef GLQUAKE - externdef _d_zistepu:dword - externdef _d_pzbuffer:dword - externdef _d_zistepv:dword - externdef _d_zrowbytes:dword - externdef _d_ziorigin:dword - externdef _r_turb_s:dword - externdef _r_turb_t:dword - externdef _r_turb_pdest:dword - externdef _r_turb_spancount:dword - externdef _r_turb_turb:dword - externdef _r_turb_pbase:dword - externdef _r_turb_sstep:dword - externdef _r_turb_tstep:dword - externdef _r_bmodelactive:dword - externdef _d_sdivzstepu:dword - externdef _d_tdivzstepu:dword - externdef _d_sdivzstepv:dword - externdef _d_tdivzstepv:dword - externdef _d_sdivzorigin:dword - externdef _d_tdivzorigin:dword - externdef _sadjust:dword - externdef _tadjust:dword - externdef _bbextents:dword - externdef _bbextentt:dword - externdef _cacheblock:dword - externdef _d_viewbuffer:dword - externdef _cachewidth:dword - externdef _d_pzbuffer:dword - externdef _d_zrowbytes:dword - externdef _d_zwidth:dword - externdef _d_scantable:dword - externdef _r_lightptr:dword - externdef _r_numvblocks:dword - externdef _prowdestbase:dword - externdef _pbasesource:dword - externdef _r_lightwidth:dword - externdef _lightright:dword - externdef _lightrightstep:dword - externdef _lightdeltastep:dword - externdef _lightdelta:dword - externdef _lightright:dword - externdef _lightdelta:dword - externdef _sourcetstep:dword - externdef _surfrowbytes:dword - externdef _lightrightstep:dword - externdef _lightdeltastep:dword - externdef _r_sourcemax:dword - externdef _r_stepback:dword - externdef _colormap:dword - externdef _blocksize:dword - externdef _sourcesstep:dword - externdef _lightleft:dword - externdef _blockdivshift:dword - externdef _blockdivmask:dword - externdef _lightleftstep:dword - externdef _r_origin:dword - externdef _r_ppn:dword - externdef _r_pup:dword - externdef _r_pright:dword - externdef _ycenter:dword - externdef _xcenter:dword - externdef _d_vrectbottom_particle:dword - externdef _d_vrectright_particle:dword - externdef _d_vrecty:dword - externdef _d_vrectx:dword - externdef _d_pix_shift:dword - externdef _d_pix_min:dword - externdef _d_pix_max:dword - externdef _d_y_aspect_shift:dword - externdef _screenwidth:dword - externdef _r_leftclipped:dword - externdef _r_leftenter:dword - externdef _r_rightclipped:dword - externdef _r_rightenter:dword - externdef _modelorg:dword - externdef _xscale:dword - externdef _r_refdef:dword - externdef _yscale:dword - externdef _r_leftexit:dword - externdef _r_rightexit:dword - externdef _r_lastvertvalid:dword - externdef _cacheoffset:dword - externdef _newedges:dword - externdef _removeedges:dword - externdef _r_pedge:dword - externdef _r_framecount:dword - externdef _r_u1:dword - externdef _r_emitted:dword - externdef _edge_p:dword - externdef _surface_p:dword - externdef _surfaces:dword - externdef _r_lzi1:dword - externdef _r_v1:dword - externdef _r_ceilv1:dword - externdef _r_nearzi:dword - externdef _r_nearzionly:dword - externdef _edge_aftertail:dword - externdef _edge_tail:dword - externdef _current_iv:dword - externdef _edge_head_u_shift20:dword - externdef _span_p:dword - externdef _edge_head:dword - externdef _fv:dword - externdef _edge_tail_u_shift20:dword - externdef _r_apverts:dword - externdef _r_anumverts:dword - externdef _aliastransform:dword - externdef _r_avertexnormals:dword - externdef _r_plightvec:dword - externdef _r_ambientlight:dword - externdef _r_shadelight:dword - externdef _aliasxcenter:dword - externdef _aliasycenter:dword - externdef _a_sstepxfrac:dword - externdef _r_affinetridesc:dword - externdef _acolormap:dword - externdef _d_pcolormap:dword - externdef _r_affinetridesc:dword - externdef _d_sfrac:dword - externdef _d_ptex:dword - externdef _d_pedgespanpackage:dword - externdef _d_tfrac:dword - externdef _d_light:dword - externdef _d_zi:dword - externdef _d_pdest:dword - externdef _d_pz:dword - externdef _d_aspancount:dword - externdef _erroradjustup:dword - externdef _errorterm:dword - externdef _d_xdenom:dword - externdef _r_p0:dword - externdef _r_p1:dword - externdef _r_p2:dword - externdef _a_tstepxfrac:dword - externdef _r_sstepx:dword - externdef _r_tstepx:dword - externdef _a_ststepxwhole:dword - externdef _zspantable:dword - externdef _skintable:dword - externdef _r_zistepx:dword - externdef _erroradjustdown:dword - externdef _d_countextrastep:dword - externdef _ubasestep:dword - externdef _a_ststepxwhole:dword - externdef _a_tstepxfrac:dword - externdef _r_lstepx:dword - externdef _a_spans:dword - externdef _erroradjustdown:dword - externdef _d_pdestextrastep:dword - externdef _d_pzextrastep:dword - externdef _d_sfracextrastep:dword - externdef _d_ptexextrastep:dword - externdef _d_countextrastep:dword - externdef _d_tfracextrastep:dword - externdef _d_lightextrastep:dword - externdef _d_ziextrastep:dword - externdef _d_pdestbasestep:dword - externdef _d_pzbasestep:dword - externdef _d_sfracbasestep:dword - externdef _d_ptexbasestep:dword - externdef _ubasestep:dword - externdef _d_tfracbasestep:dword - externdef _d_lightbasestep:dword - externdef _d_zibasestep:dword - externdef _zspantable:dword - externdef _r_lstepy:dword - externdef _r_sstepy:dword - externdef _r_tstepy:dword - externdef _r_zistepy:dword - externdef _D_PolysetSetEdgeTable:dword - externdef _D_RasterizeAliasPolySmooth:dword - - externdef float_point5:dword - externdef Float2ToThe31nd:dword - externdef izistep:dword - externdef izi:dword - externdef FloatMinus2ToThe31nd:dword - externdef float_1:dword - externdef float_particle_z_clip:dword - externdef float_minus_1:dword - externdef float_0:dword - externdef fp_16:dword - externdef fp_64k:dword - externdef fp_1m:dword - externdef fp_1m_minus_1:dword - externdef fp_8 :dword - externdef entryvec_table:dword - externdef advancetable:dword - externdef sstep:dword - externdef tstep:dword - externdef pspantemp:dword - externdef counttemp:dword - externdef jumptemp:dword - externdef reciprocal_table:dword - externdef DP_Count:dword - externdef DP_u:dword - externdef DP_v:dword - externdef DP_32768:dword - externdef DP_Color:dword - externdef DP_Pix:dword - externdef DP_EntryTable:dword - externdef pbase:dword - externdef s:dword - externdef t:dword - externdef sfracf:dword - externdef tfracf:dword - externdef snext:dword - externdef tnext:dword - externdef spancountminus1:dword - externdef zi16stepu:dword - externdef sdivz16stepu:dword - externdef tdivz16stepu:dword - externdef zi8stepu:dword - externdef sdivz8stepu:dword - externdef tdivz8stepu:dword - externdef reciprocal_table_16:dword - externdef entryvec_table_16:dword - externdef fp_64kx64k:dword - externdef pz:dword - externdef spr8entryvec_table:dword -endif - - externdef _fpu_ceil_cw:dword - externdef _fpu_chop_cw:dword - externdef _snd_scaletable:dword - externdef _paintbuffer:dword - externdef _snd_linear_count:dword - externdef _snd_p:dword - externdef _snd_vol:dword - externdef _snd_out:dword - externdef _vright:dword - externdef _vup:dword - externdef _vpn:dword - externdef _BOPS_Error:dword - -; plane_t structure -; !!! if this is changed, it must be changed in model.h too !!! -; !!! if the size of this is changed, the array lookup in SV_HullPointContents -; must be changed too !!! -pl_normal equ 0 -pl_dist equ 12 -pl_type equ 16 -pl_signbits equ 17 -pl_pad equ 18 -pl_size equ 20 - -; hull_t structure -; !!! if this is changed, it must be changed in model.h too !!! -hu_clipnodes equ 0 -hu_planes equ 4 -hu_firstclipnode equ 8 -hu_lastclipnode equ 12 -hu_clip_mins equ 16 -hu_clip_maxs equ 28 -hu_size equ 40 - -; dnode_t structure -; !!! if this is changed, it must be changed in bspfile.h too !!! -nd_planenum equ 0 -nd_children equ 4 -nd_mins equ 8 -nd_maxs equ 20 -nd_firstface equ 32 -nd_numfaces equ 36 -nd_size equ 40 - -; sfxcache_t structure -; !!! if this is changed, it much be changed in sound.h too !!! -sfxc_length equ 0 -sfxc_loopstart equ 4 -sfxc_speed equ 8 -sfxc_width equ 12 -sfxc_stereo equ 16 -sfxc_data equ 20 - -; channel_t structure -; !!! if this is changed, it much be changed in sound.h too !!! -ch_sfx equ 0 -ch_leftvol equ 4 -ch_rightvol equ 8 -ch_end equ 12 -ch_pos equ 16 -ch_looping equ 20 -ch_entnum equ 24 -ch_entchannel equ 28 -ch_origin equ 32 -ch_dist_mult equ 44 -ch_master_vol equ 48 -ch_size equ 52 - -; portable_samplepair_t structure -; !!! if this is changed, it much be changed in sound.h too !!! -psp_left equ 0 -psp_right equ 4 -psp_size equ 8 - -; !!! if this is changed, it must be changed in r_local.h too !!! -NEAR_CLIP equ 0.01 - -; !!! if this is changed, it must be changed in r_local.h too !!! -CYCLE equ 128 - -; espan_t structure -; !!! if this is changed, it must be changed in r_shared.h too !!! -espan_t_u equ 0 -espan_t_v equ 4 -espan_t_count equ 8 -espan_t_pnext equ 12 -espan_t_size equ 16 - -; sspan_t structure -; !!! if this is changed, it must be changed in d_local.h too !!! -sspan_t_u equ 0 -sspan_t_v equ 4 -sspan_t_count equ 8 -sspan_t_size equ 12 - -; spanpackage_t structure -; !!! if this is changed, it must be changed in d_polyset.c too !!! -spanpackage_t_pdest equ 0 -spanpackage_t_pz equ 4 -spanpackage_t_count equ 8 -spanpackage_t_ptex equ 12 -spanpackage_t_sfrac equ 16 -spanpackage_t_tfrac equ 20 -spanpackage_t_light equ 24 -spanpackage_t_zi equ 28 -spanpackage_t_size equ 32 - -; edge_t structure -; !!! if this is changed, it must be changed in r_shared.h too !!! -et_u equ 0 -et_u_step equ 4 -et_prev equ 8 -et_next equ 12 -et_surfs equ 16 -et_nextremove equ 20 -et_nearzi equ 24 -et_owner equ 28 -et_size equ 32 - -; surf_t structure -; !!! if this is changed, it must be changed in r_shared.h too !!! -SURF_T_SHIFT equ 6 -st_next equ 0 -st_prev equ 4 -st_spans equ 8 -st_key equ 12 -st_last_u equ 16 -st_spanstate equ 20 -st_flags equ 24 -st_data equ 28 -st_entity equ 32 -st_nearzi equ 36 -st_insubmodel equ 40 -st_d_ziorigin equ 44 -st_d_zistepu equ 48 -st_d_zistepv equ 52 -st_pad equ 56 -st_size equ 64 - -; clipplane_t structure -; !!! if this is changed, it must be changed in r_local.h too !!! -cp_normal equ 0 -cp_dist equ 12 -cp_next equ 16 -cp_leftedge equ 20 -cp_rightedge equ 21 -cp_reserved equ 22 -cp_size equ 24 - -; medge_t structure -; !!! if this is changed, it must be changed in model.h too !!! -me_v equ 0 -me_cachededgeoffset equ 4 -me_size equ 8 - -; mvertex_t structure -; !!! if this is changed, it must be changed in model.h too !!! -mv_position equ 0 -mv_size equ 12 - -; refdef_t structure -; !!! if this is changed, it must be changed in render.h too !!! -rd_vrect equ 0 -rd_aliasvrect equ 20 -rd_vrectright equ 40 -rd_vrectbottom equ 44 -rd_aliasvrectright equ 48 -rd_aliasvrectbottom equ 52 -rd_vrectrightedge equ 56 -rd_fvrectx equ 60 -rd_fvrecty equ 64 -rd_fvrectx_adj equ 68 -rd_fvrecty_adj equ 72 -rd_vrect_x_adj_shift20 equ 76 -rd_vrectright_adj_shift20 equ 80 -rd_fvrectright_adj equ 84 -rd_fvrectbottom_adj equ 88 -rd_fvrectright equ 92 -rd_fvrectbottom equ 96 -rd_horizontalFieldOfView equ 100 -rd_xOrigin equ 104 -rd_yOrigin equ 108 -rd_vieworg equ 112 -rd_viewangles equ 124 -rd_ambientlight equ 136 -rd_size equ 140 - -; mtriangle_t structure -; !!! if this is changed, it must be changed in model.h too !!! -mtri_facesfront equ 0 -mtri_vertindex equ 4 -mtri_size equ 16 ; !!! if this changes, array indexing in !!! - ; !!! d_polysa.s must be changed to match !!! -mtri_shift equ 4 - +; +; qasm.inc +; +; Include file for asm routines. +; + +; +; !!! note that this file must match the corresponding C structures at all +; times !!! +; + +; set to 0 to skip all asm code +id386 equ 1 + +; !!! must be kept the same as in d_iface.h !!! +TRANSPARENT_COLOR equ 255 + +ifndef GLQUAKE + externdef _d_zistepu:dword + externdef _d_pzbuffer:dword + externdef _d_zistepv:dword + externdef _d_zrowbytes:dword + externdef _d_ziorigin:dword + externdef _r_turb_s:dword + externdef _r_turb_t:dword + externdef _r_turb_pdest:dword + externdef _r_turb_spancount:dword + externdef _r_turb_turb:dword + externdef _r_turb_pbase:dword + externdef _r_turb_sstep:dword + externdef _r_turb_tstep:dword + externdef _r_bmodelactive:dword + externdef _d_sdivzstepu:dword + externdef _d_tdivzstepu:dword + externdef _d_sdivzstepv:dword + externdef _d_tdivzstepv:dword + externdef _d_sdivzorigin:dword + externdef _d_tdivzorigin:dword + externdef _sadjust:dword + externdef _tadjust:dword + externdef _bbextents:dword + externdef _bbextentt:dword + externdef _cacheblock:dword + externdef _d_viewbuffer:dword + externdef _cachewidth:dword + externdef _d_pzbuffer:dword + externdef _d_zrowbytes:dword + externdef _d_zwidth:dword + externdef _d_scantable:dword + externdef _r_lightptr:dword + externdef _r_numvblocks:dword + externdef _prowdestbase:dword + externdef _pbasesource:dword + externdef _r_lightwidth:dword + externdef _lightright:dword + externdef _lightrightstep:dword + externdef _lightdeltastep:dword + externdef _lightdelta:dword + externdef _lightright:dword + externdef _lightdelta:dword + externdef _sourcetstep:dword + externdef _surfrowbytes:dword + externdef _lightrightstep:dword + externdef _lightdeltastep:dword + externdef _r_sourcemax:dword + externdef _r_stepback:dword + externdef _colormap:dword + externdef _blocksize:dword + externdef _sourcesstep:dword + externdef _lightleft:dword + externdef _blockdivshift:dword + externdef _blockdivmask:dword + externdef _lightleftstep:dword + externdef _r_origin:dword + externdef _r_ppn:dword + externdef _r_pup:dword + externdef _r_pright:dword + externdef _ycenter:dword + externdef _xcenter:dword + externdef _d_vrectbottom_particle:dword + externdef _d_vrectright_particle:dword + externdef _d_vrecty:dword + externdef _d_vrectx:dword + externdef _d_pix_shift:dword + externdef _d_pix_min:dword + externdef _d_pix_max:dword + externdef _d_y_aspect_shift:dword + externdef _screenwidth:dword + externdef _r_leftclipped:dword + externdef _r_leftenter:dword + externdef _r_rightclipped:dword + externdef _r_rightenter:dword + externdef _modelorg:dword + externdef _xscale:dword + externdef _r_refdef:dword + externdef _yscale:dword + externdef _r_leftexit:dword + externdef _r_rightexit:dword + externdef _r_lastvertvalid:dword + externdef _cacheoffset:dword + externdef _newedges:dword + externdef _removeedges:dword + externdef _r_pedge:dword + externdef _r_framecount:dword + externdef _r_u1:dword + externdef _r_emitted:dword + externdef _edge_p:dword + externdef _surface_p:dword + externdef _surfaces:dword + externdef _r_lzi1:dword + externdef _r_v1:dword + externdef _r_ceilv1:dword + externdef _r_nearzi:dword + externdef _r_nearzionly:dword + externdef _edge_aftertail:dword + externdef _edge_tail:dword + externdef _current_iv:dword + externdef _edge_head_u_shift20:dword + externdef _span_p:dword + externdef _edge_head:dword + externdef _fv:dword + externdef _edge_tail_u_shift20:dword + externdef _r_apverts:dword + externdef _r_anumverts:dword + externdef _aliastransform:dword + externdef _r_avertexnormals:dword + externdef _r_plightvec:dword + externdef _r_ambientlight:dword + externdef _r_shadelight:dword + externdef _aliasxcenter:dword + externdef _aliasycenter:dword + externdef _a_sstepxfrac:dword + externdef _r_affinetridesc:dword + externdef _acolormap:dword + externdef _d_pcolormap:dword + externdef _r_affinetridesc:dword + externdef _d_sfrac:dword + externdef _d_ptex:dword + externdef _d_pedgespanpackage:dword + externdef _d_tfrac:dword + externdef _d_light:dword + externdef _d_zi:dword + externdef _d_pdest:dword + externdef _d_pz:dword + externdef _d_aspancount:dword + externdef _erroradjustup:dword + externdef _errorterm:dword + externdef _d_xdenom:dword + externdef _r_p0:dword + externdef _r_p1:dword + externdef _r_p2:dword + externdef _a_tstepxfrac:dword + externdef _r_sstepx:dword + externdef _r_tstepx:dword + externdef _a_ststepxwhole:dword + externdef _zspantable:dword + externdef _skintable:dword + externdef _r_zistepx:dword + externdef _erroradjustdown:dword + externdef _d_countextrastep:dword + externdef _ubasestep:dword + externdef _a_ststepxwhole:dword + externdef _a_tstepxfrac:dword + externdef _r_lstepx:dword + externdef _a_spans:dword + externdef _erroradjustdown:dword + externdef _d_pdestextrastep:dword + externdef _d_pzextrastep:dword + externdef _d_sfracextrastep:dword + externdef _d_ptexextrastep:dword + externdef _d_countextrastep:dword + externdef _d_tfracextrastep:dword + externdef _d_lightextrastep:dword + externdef _d_ziextrastep:dword + externdef _d_pdestbasestep:dword + externdef _d_pzbasestep:dword + externdef _d_sfracbasestep:dword + externdef _d_ptexbasestep:dword + externdef _ubasestep:dword + externdef _d_tfracbasestep:dword + externdef _d_lightbasestep:dword + externdef _d_zibasestep:dword + externdef _zspantable:dword + externdef _r_lstepy:dword + externdef _r_sstepy:dword + externdef _r_tstepy:dword + externdef _r_zistepy:dword + externdef _D_PolysetSetEdgeTable:dword + externdef _D_RasterizeAliasPolySmooth:dword + + externdef float_point5:dword + externdef Float2ToThe31nd:dword + externdef izistep:dword + externdef izi:dword + externdef FloatMinus2ToThe31nd:dword + externdef float_1:dword + externdef float_particle_z_clip:dword + externdef float_minus_1:dword + externdef float_0:dword + externdef fp_16:dword + externdef fp_64k:dword + externdef fp_1m:dword + externdef fp_1m_minus_1:dword + externdef fp_8 :dword + externdef entryvec_table:dword + externdef advancetable:dword + externdef sstep:dword + externdef tstep:dword + externdef pspantemp:dword + externdef counttemp:dword + externdef jumptemp:dword + externdef reciprocal_table:dword + externdef DP_Count:dword + externdef DP_u:dword + externdef DP_v:dword + externdef DP_32768:dword + externdef DP_Color:dword + externdef DP_Pix:dword + externdef DP_EntryTable:dword + externdef pbase:dword + externdef s:dword + externdef t:dword + externdef sfracf:dword + externdef tfracf:dword + externdef snext:dword + externdef tnext:dword + externdef spancountminus1:dword + externdef zi16stepu:dword + externdef sdivz16stepu:dword + externdef tdivz16stepu:dword + externdef zi8stepu:dword + externdef sdivz8stepu:dword + externdef tdivz8stepu:dword + externdef reciprocal_table_16:dword + externdef entryvec_table_16:dword + externdef fp_64kx64k:dword + externdef pz:dword + externdef spr8entryvec_table:dword +endif + + externdef _fpu_ceil_cw:dword + externdef _fpu_chop_cw:dword + externdef _snd_scaletable:dword + externdef _paintbuffer:dword + externdef _snd_linear_count:dword + externdef _snd_p:dword + externdef _snd_vol:dword + externdef _snd_out:dword + externdef _vright:dword + externdef _vup:dword + externdef _vpn:dword + externdef _BOPS_Error:dword + +; plane_t structure +; !!! if this is changed, it must be changed in model.h too !!! +; !!! if the size of this is changed, the array lookup in SV_HullPointContents +; must be changed too !!! +pl_normal equ 0 +pl_dist equ 12 +pl_type equ 16 +pl_signbits equ 17 +pl_pad equ 18 +pl_size equ 20 + +; hull_t structure +; !!! if this is changed, it must be changed in model.h too !!! +hu_clipnodes equ 0 +hu_planes equ 4 +hu_firstclipnode equ 8 +hu_lastclipnode equ 12 +hu_clip_mins equ 16 +hu_clip_maxs equ 28 +hu_size equ 40 + +; dnode_t structure +; !!! if this is changed, it must be changed in bspfile.h too !!! +nd_planenum equ 0 +nd_children equ 4 +nd_mins equ 8 +nd_maxs equ 20 +nd_firstface equ 32 +nd_numfaces equ 36 +nd_size equ 40 + +; sfxcache_t structure +; !!! if this is changed, it much be changed in sound.h too !!! +sfxc_length equ 0 +sfxc_loopstart equ 4 +sfxc_speed equ 8 +sfxc_width equ 12 +sfxc_stereo equ 16 +sfxc_data equ 20 + +; channel_t structure +; !!! if this is changed, it much be changed in sound.h too !!! +ch_sfx equ 0 +ch_leftvol equ 4 +ch_rightvol equ 8 +ch_end equ 12 +ch_pos equ 16 +ch_looping equ 20 +ch_entnum equ 24 +ch_entchannel equ 28 +ch_origin equ 32 +ch_dist_mult equ 44 +ch_master_vol equ 48 +ch_size equ 52 + +; portable_samplepair_t structure +; !!! if this is changed, it much be changed in sound.h too !!! +psp_left equ 0 +psp_right equ 4 +psp_size equ 8 + +; !!! if this is changed, it must be changed in r_local.h too !!! +NEAR_CLIP equ 0.01 + +; !!! if this is changed, it must be changed in r_local.h too !!! +CYCLE equ 128 + +; espan_t structure +; !!! if this is changed, it must be changed in r_shared.h too !!! +espan_t_u equ 0 +espan_t_v equ 4 +espan_t_count equ 8 +espan_t_pnext equ 12 +espan_t_size equ 16 + +; sspan_t structure +; !!! if this is changed, it must be changed in d_local.h too !!! +sspan_t_u equ 0 +sspan_t_v equ 4 +sspan_t_count equ 8 +sspan_t_size equ 12 + +; spanpackage_t structure +; !!! if this is changed, it must be changed in d_polyset.c too !!! +spanpackage_t_pdest equ 0 +spanpackage_t_pz equ 4 +spanpackage_t_count equ 8 +spanpackage_t_ptex equ 12 +spanpackage_t_sfrac equ 16 +spanpackage_t_tfrac equ 20 +spanpackage_t_light equ 24 +spanpackage_t_zi equ 28 +spanpackage_t_size equ 32 + +; edge_t structure +; !!! if this is changed, it must be changed in r_shared.h too !!! +et_u equ 0 +et_u_step equ 4 +et_prev equ 8 +et_next equ 12 +et_surfs equ 16 +et_nextremove equ 20 +et_nearzi equ 24 +et_owner equ 28 +et_size equ 32 + +; surf_t structure +; !!! if this is changed, it must be changed in r_shared.h too !!! +SURF_T_SHIFT equ 6 +st_next equ 0 +st_prev equ 4 +st_spans equ 8 +st_key equ 12 +st_last_u equ 16 +st_spanstate equ 20 +st_flags equ 24 +st_data equ 28 +st_entity equ 32 +st_nearzi equ 36 +st_insubmodel equ 40 +st_d_ziorigin equ 44 +st_d_zistepu equ 48 +st_d_zistepv equ 52 +st_pad equ 56 +st_size equ 64 + +; clipplane_t structure +; !!! if this is changed, it must be changed in r_local.h too !!! +cp_normal equ 0 +cp_dist equ 12 +cp_next equ 16 +cp_leftedge equ 20 +cp_rightedge equ 21 +cp_reserved equ 22 +cp_size equ 24 + +; medge_t structure +; !!! if this is changed, it must be changed in model.h too !!! +me_v equ 0 +me_cachededgeoffset equ 4 +me_size equ 8 + +; mvertex_t structure +; !!! if this is changed, it must be changed in model.h too !!! +mv_position equ 0 +mv_size equ 12 + +; refdef_t structure +; !!! if this is changed, it must be changed in render.h too !!! +rd_vrect equ 0 +rd_aliasvrect equ 20 +rd_vrectright equ 40 +rd_vrectbottom equ 44 +rd_aliasvrectright equ 48 +rd_aliasvrectbottom equ 52 +rd_vrectrightedge equ 56 +rd_fvrectx equ 60 +rd_fvrecty equ 64 +rd_fvrectx_adj equ 68 +rd_fvrecty_adj equ 72 +rd_vrect_x_adj_shift20 equ 76 +rd_vrectright_adj_shift20 equ 80 +rd_fvrectright_adj equ 84 +rd_fvrectbottom_adj equ 88 +rd_fvrectright equ 92 +rd_fvrectbottom equ 96 +rd_horizontalFieldOfView equ 100 +rd_xOrigin equ 104 +rd_yOrigin equ 108 +rd_vieworg equ 112 +rd_viewangles equ 124 +rd_ambientlight equ 136 +rd_size equ 140 + +; mtriangle_t structure +; !!! if this is changed, it must be changed in model.h too !!! +mtri_facesfront equ 0 +mtri_vertindex equ 4 +mtri_size equ 16 ; !!! if this changes, array indexing in !!! + ; !!! d_polysa.s must be changed to match !!! +mtri_shift equ 4 + diff --git a/ref_soft/r_aclipa.asm b/ref_soft/r_aclipa.asm index 6c4e7b6..b457380 100644 --- a/ref_soft/r_aclipa.asm +++ b/ref_soft/r_aclipa.asm @@ -1,200 +1,200 @@ - .386P - .model FLAT -; -; r_aliasa.s -; x86 assembly-language Alias model transform and project code. -; - -include qasm.inc -include d_if.inc - -if id386 - -_DATA SEGMENT -Ltemp0 dd 0 -Ltemp1 dd 0 - -_DATA ENDS -_TEXT SEGMENT - -pfv0 equ 8+4 -pfv1 equ 8+8 -outparm equ 8+12 - - public _R_Alias_clip_bottom -_R_Alias_clip_bottom: - push esi - push edi - - mov esi,ds:dword ptr[pfv0+esp] - mov edi,ds:dword ptr[pfv1+esp] - - mov eax,ds:dword ptr[_r_refdef+rd_aliasvrectbottom] - -LDoForwardOrBackward: - - mov edx,ds:dword ptr[fv_v+4+esi] - mov ecx,ds:dword ptr[fv_v+4+edi] - - cmp edx,ecx - jl LDoForward - - mov ecx,ds:dword ptr[fv_v+4+esi] - mov edx,ds:dword ptr[fv_v+4+edi] - mov edi,ds:dword ptr[pfv0+esp] - mov esi,ds:dword ptr[pfv1+esp] - -LDoForward: - - sub ecx,edx - sub eax,edx - mov ds:dword ptr[Ltemp1],ecx - mov ds:dword ptr[Ltemp0],eax - fild ds:dword ptr[Ltemp1] - fild ds:dword ptr[Ltemp0] - mov edx,ds:dword ptr[outparm+esp] - mov eax,2 - - fdivrp st(1),st(0) ; scale - -LDo3Forward: - fild ds:dword ptr[fv_v+0+esi] ; fv0v0 | scale - fild ds:dword ptr[fv_v+0+edi] ; fv1v0 | fv0v0 | scale - fild ds:dword ptr[fv_v+4+esi] ; fv0v1 | fv1v0 | fv0v0 | scale - fild ds:dword ptr[fv_v+4+edi] ; fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale - fild ds:dword ptr[fv_v+8+esi] ; fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale - fild ds:dword ptr[fv_v+8+edi] ; fv1v2 | fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | -; scale - fxch st(5) ; fv0v0 | fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv1v2 | -; scale - fsub st(4),st(0) ; fv0v0 | fv0v2 | fv1v1 | fv0v1 | fv1v0-fv0v0 | -; fv1v2 | scale - fxch st(3) ; fv0v1 | fv0v2 | fv1v1 | fv0v0 | fv1v0-fv0v0 | -; fv1v2 | scale - fsub st(2),st(0) ; fv0v1 | fv0v2 | fv1v1-fv0v1 | fv0v0 | -; fv1v0-fv0v0 | fv1v2 | scale - fxch st(1) ; fv0v2 | fv0v1 | fv1v1-fv0v1 | fv0v0 | -; fv1v0-fv0v0 | fv1v2 | scale - fsub st(5),st(0) ; fv0v2 | fv0v1 | fv1v1-fv0v1 | fv0v0 | -; fv1v0-fv0v0 | fv1v2-fv0v2 | scale - fxch st(6) ; scale | fv0v1 | fv1v1-fv0v1 | fv0v0 | -; fv1v0-fv0v0 | fv1v2-fv0v2 | fv0v2 - fmul st(4),st(0) ; scale | fv0v1 | fv1v1-fv0v1 | fv0v0 | -; (fv1v0-fv0v0)*scale | fv1v2-fv0v2 | fv0v2 - add edi,12 - fmul st(2),st(0) ; scale | fv0v1 | (fv1v1-fv0v1)*scale | fv0v0 | -; (fv1v0-fv0v0)*scale | fv1v2-fv0v2 | fv0v2 - add esi,12 - add edx,12 - fmul st(5),st(0) ; scale | fv0v1 | (fv1v1-fv0v1)*scale | fv0v0 | -; (fv1v0-fv0v0)*scale | (fv1v2-fv0v2)*scale | -; fv0v2 - fxch st(3) ; fv0v0 | fv0v1 | (fv1v1-fv0v1)*scale | scale | -; (fv1v0-fv0v0)*scale | (fv1v2-fv0v2)*scale | -; fv0v2 - faddp st(4),st(0) ; fv0v1 | (fv1v1-fv0v1)*scale | scale | -; fv0v0+(fv1v0-fv0v0)*scale | -; (fv1v2-fv0v2)*scale | fv0v2 - faddp st(1),st(0) ; fv0v1+(fv1v1-fv0v1)*scale | scale | -; fv0v0+(fv1v0-fv0v0)*scale | -; (fv1v2-fv0v2)*scale | fv0v2 - fxch st(4) ; fv0v2 | scale | fv0v0+(fv1v0-fv0v0)*scale | -; (fv1v2-fv0v2)*scale | fv0v1+(fv1v1-fv0v1)*scale - faddp st(3),st(0) ; scale | fv0v0+(fv1v0-fv0v0)*scale | -; fv0v2+(fv1v2-fv0v2)*scale | -; fv0v1+(fv1v1-fv0v1)*scale - fxch st(1) ; fv0v0+(fv1v0-fv0v0)*scale | scale | -; fv0v2+(fv1v2-fv0v2)*scale | -; fv0v1+(fv1v1-fv0v1)*scale - fadd ds:dword ptr[float_point5] - fxch st(3) ; fv0v1+(fv1v1-fv0v1)*scale | scale | -; fv0v2+(fv1v2-fv0v2)*scale | -; fv0v0+(fv1v0-fv0v0)*scale - fadd ds:dword ptr[float_point5] - fxch st(2) ; fv0v2+(fv1v2-fv0v2)*scale | scale | -; fv0v1+(fv1v1-fv0v1)*scale | -; fv0v0+(fv1v0-fv0v0)*scale - fadd ds:dword ptr[float_point5] - fxch st(3) ; fv0v0+(fv1v0-fv0v0)*scale | scale | -; fv0v1+(fv1v1-fv0v1)*scale | -; fv0v2+(fv1v2-fv0v2)*scale - fistp ds:dword ptr[fv_v+0-12+edx] ; scale | fv0v1+(fv1v1-fv0v1)*scale | -; fv0v2+(fv1v2-fv0v2)*scale - fxch st(1) ; fv0v1+(fv1v1-fv0v1)*scale | scale | -; fv0v2+(fv1v2-fv0v2)*scale | scale - fistp ds:dword ptr[fv_v+4-12+edx] ; scale | fv0v2+(fv1v2-fv0v2)*scale - fxch st(1) ; fv0v2+(fv1v2-fv0v2)*sc | scale - fistp ds:dword ptr[fv_v+8-12+edx] ; scale - - dec eax - jnz LDo3Forward - - fstp st(0) - - pop edi - pop esi - - ret - - - public _R_Alias_clip_top -_R_Alias_clip_top: - push esi - push edi - - mov esi,ds:dword ptr[pfv0+esp] - mov edi,ds:dword ptr[pfv1+esp] - - mov eax,ds:dword ptr[_r_refdef+rd_aliasvrect+4] - jmp LDoForwardOrBackward - - - - public _R_Alias_clip_right -_R_Alias_clip_right: - push esi - push edi - - mov esi,ds:dword ptr[pfv0+esp] - mov edi,ds:dword ptr[pfv1+esp] - - mov eax,ds:dword ptr[_r_refdef+rd_aliasvrectright] - -LRightLeftEntry: - - - mov edx,ds:dword ptr[fv_v+4+esi] - mov ecx,ds:dword ptr[fv_v+4+edi] - - cmp edx,ecx - mov edx,ds:dword ptr[fv_v+0+esi] - - mov ecx,ds:dword ptr[fv_v+0+edi] - jl LDoForward2 - - mov ecx,ds:dword ptr[fv_v+0+esi] - mov edx,ds:dword ptr[fv_v+0+edi] - mov edi,ds:dword ptr[pfv0+esp] - mov esi,ds:dword ptr[pfv1+esp] - -LDoForward2: - - jmp LDoForward - - - public _R_Alias_clip_left -_R_Alias_clip_left: - push esi - push edi - - mov esi,ds:dword ptr[pfv0+esp] - mov edi,ds:dword ptr[pfv1+esp] - - mov eax,ds:dword ptr[_r_refdef+rd_aliasvrect+0] - jmp LRightLeftEntry - - - -_TEXT ENDS -endif ;id386 - END + .386P + .model FLAT +; +; r_aliasa.s +; x86 assembly-language Alias model transform and project code. +; + +include qasm.inc +include d_if.inc + +if id386 + +_DATA SEGMENT +Ltemp0 dd 0 +Ltemp1 dd 0 + +_DATA ENDS +_TEXT SEGMENT + +pfv0 equ 8+4 +pfv1 equ 8+8 +outparm equ 8+12 + + public _R_Alias_clip_bottom +_R_Alias_clip_bottom: + push esi + push edi + + mov esi,ds:dword ptr[pfv0+esp] + mov edi,ds:dword ptr[pfv1+esp] + + mov eax,ds:dword ptr[_r_refdef+rd_aliasvrectbottom] + +LDoForwardOrBackward: + + mov edx,ds:dword ptr[fv_v+4+esi] + mov ecx,ds:dword ptr[fv_v+4+edi] + + cmp edx,ecx + jl LDoForward + + mov ecx,ds:dword ptr[fv_v+4+esi] + mov edx,ds:dword ptr[fv_v+4+edi] + mov edi,ds:dword ptr[pfv0+esp] + mov esi,ds:dword ptr[pfv1+esp] + +LDoForward: + + sub ecx,edx + sub eax,edx + mov ds:dword ptr[Ltemp1],ecx + mov ds:dword ptr[Ltemp0],eax + fild ds:dword ptr[Ltemp1] + fild ds:dword ptr[Ltemp0] + mov edx,ds:dword ptr[outparm+esp] + mov eax,2 + + fdivrp st(1),st(0) ; scale + +LDo3Forward: + fild ds:dword ptr[fv_v+0+esi] ; fv0v0 | scale + fild ds:dword ptr[fv_v+0+edi] ; fv1v0 | fv0v0 | scale + fild ds:dword ptr[fv_v+4+esi] ; fv0v1 | fv1v0 | fv0v0 | scale + fild ds:dword ptr[fv_v+4+edi] ; fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale + fild ds:dword ptr[fv_v+8+esi] ; fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale + fild ds:dword ptr[fv_v+8+edi] ; fv1v2 | fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | +; scale + fxch st(5) ; fv0v0 | fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv1v2 | +; scale + fsub st(4),st(0) ; fv0v0 | fv0v2 | fv1v1 | fv0v1 | fv1v0-fv0v0 | +; fv1v2 | scale + fxch st(3) ; fv0v1 | fv0v2 | fv1v1 | fv0v0 | fv1v0-fv0v0 | +; fv1v2 | scale + fsub st(2),st(0) ; fv0v1 | fv0v2 | fv1v1-fv0v1 | fv0v0 | +; fv1v0-fv0v0 | fv1v2 | scale + fxch st(1) ; fv0v2 | fv0v1 | fv1v1-fv0v1 | fv0v0 | +; fv1v0-fv0v0 | fv1v2 | scale + fsub st(5),st(0) ; fv0v2 | fv0v1 | fv1v1-fv0v1 | fv0v0 | +; fv1v0-fv0v0 | fv1v2-fv0v2 | scale + fxch st(6) ; scale | fv0v1 | fv1v1-fv0v1 | fv0v0 | +; fv1v0-fv0v0 | fv1v2-fv0v2 | fv0v2 + fmul st(4),st(0) ; scale | fv0v1 | fv1v1-fv0v1 | fv0v0 | +; (fv1v0-fv0v0)*scale | fv1v2-fv0v2 | fv0v2 + add edi,12 + fmul st(2),st(0) ; scale | fv0v1 | (fv1v1-fv0v1)*scale | fv0v0 | +; (fv1v0-fv0v0)*scale | fv1v2-fv0v2 | fv0v2 + add esi,12 + add edx,12 + fmul st(5),st(0) ; scale | fv0v1 | (fv1v1-fv0v1)*scale | fv0v0 | +; (fv1v0-fv0v0)*scale | (fv1v2-fv0v2)*scale | +; fv0v2 + fxch st(3) ; fv0v0 | fv0v1 | (fv1v1-fv0v1)*scale | scale | +; (fv1v0-fv0v0)*scale | (fv1v2-fv0v2)*scale | +; fv0v2 + faddp st(4),st(0) ; fv0v1 | (fv1v1-fv0v1)*scale | scale | +; fv0v0+(fv1v0-fv0v0)*scale | +; (fv1v2-fv0v2)*scale | fv0v2 + faddp st(1),st(0) ; fv0v1+(fv1v1-fv0v1)*scale | scale | +; fv0v0+(fv1v0-fv0v0)*scale | +; (fv1v2-fv0v2)*scale | fv0v2 + fxch st(4) ; fv0v2 | scale | fv0v0+(fv1v0-fv0v0)*scale | +; (fv1v2-fv0v2)*scale | fv0v1+(fv1v1-fv0v1)*scale + faddp st(3),st(0) ; scale | fv0v0+(fv1v0-fv0v0)*scale | +; fv0v2+(fv1v2-fv0v2)*scale | +; fv0v1+(fv1v1-fv0v1)*scale + fxch st(1) ; fv0v0+(fv1v0-fv0v0)*scale | scale | +; fv0v2+(fv1v2-fv0v2)*scale | +; fv0v1+(fv1v1-fv0v1)*scale + fadd ds:dword ptr[float_point5] + fxch st(3) ; fv0v1+(fv1v1-fv0v1)*scale | scale | +; fv0v2+(fv1v2-fv0v2)*scale | +; fv0v0+(fv1v0-fv0v0)*scale + fadd ds:dword ptr[float_point5] + fxch st(2) ; fv0v2+(fv1v2-fv0v2)*scale | scale | +; fv0v1+(fv1v1-fv0v1)*scale | +; fv0v0+(fv1v0-fv0v0)*scale + fadd ds:dword ptr[float_point5] + fxch st(3) ; fv0v0+(fv1v0-fv0v0)*scale | scale | +; fv0v1+(fv1v1-fv0v1)*scale | +; fv0v2+(fv1v2-fv0v2)*scale + fistp ds:dword ptr[fv_v+0-12+edx] ; scale | fv0v1+(fv1v1-fv0v1)*scale | +; fv0v2+(fv1v2-fv0v2)*scale + fxch st(1) ; fv0v1+(fv1v1-fv0v1)*scale | scale | +; fv0v2+(fv1v2-fv0v2)*scale | scale + fistp ds:dword ptr[fv_v+4-12+edx] ; scale | fv0v2+(fv1v2-fv0v2)*scale + fxch st(1) ; fv0v2+(fv1v2-fv0v2)*sc | scale + fistp ds:dword ptr[fv_v+8-12+edx] ; scale + + dec eax + jnz LDo3Forward + + fstp st(0) + + pop edi + pop esi + + ret + + + public _R_Alias_clip_top +_R_Alias_clip_top: + push esi + push edi + + mov esi,ds:dword ptr[pfv0+esp] + mov edi,ds:dword ptr[pfv1+esp] + + mov eax,ds:dword ptr[_r_refdef+rd_aliasvrect+4] + jmp LDoForwardOrBackward + + + + public _R_Alias_clip_right +_R_Alias_clip_right: + push esi + push edi + + mov esi,ds:dword ptr[pfv0+esp] + mov edi,ds:dword ptr[pfv1+esp] + + mov eax,ds:dword ptr[_r_refdef+rd_aliasvrectright] + +LRightLeftEntry: + + + mov edx,ds:dword ptr[fv_v+4+esi] + mov ecx,ds:dword ptr[fv_v+4+edi] + + cmp edx,ecx + mov edx,ds:dword ptr[fv_v+0+esi] + + mov ecx,ds:dword ptr[fv_v+0+edi] + jl LDoForward2 + + mov ecx,ds:dword ptr[fv_v+0+esi] + mov edx,ds:dword ptr[fv_v+0+edi] + mov edi,ds:dword ptr[pfv0+esp] + mov esi,ds:dword ptr[pfv1+esp] + +LDoForward2: + + jmp LDoForward + + + public _R_Alias_clip_left +_R_Alias_clip_left: + push esi + push edi + + mov esi,ds:dword ptr[pfv0+esp] + mov edi,ds:dword ptr[pfv1+esp] + + mov eax,ds:dword ptr[_r_refdef+rd_aliasvrect+0] + jmp LRightLeftEntry + + + +_TEXT ENDS +endif ;id386 + END diff --git a/ref_soft/r_draw16.asm b/ref_soft/r_draw16.asm index 4147d1f..d777015 100644 --- a/ref_soft/r_draw16.asm +++ b/ref_soft/r_draw16.asm @@ -1,1234 +1,1234 @@ - .386P - .model FLAT -; -; d_draw16.s -; x86 assembly-language horizontal 8-bpp span-drawing code, with 16-pixel -; subdivision. -; - -include qasm.inc -include d_if.inc - -if id386 - -;---------------------------------------------------------------------- -; 8-bpp horizontal span drawing code for polygons, with no transparency and -; 16-pixel subdivision. -; -; Assumes there is at least one span in pspans, and that every span -; contains at least one pixel -;---------------------------------------------------------------------- - -_DATA SEGMENT - -_DATA ENDS -_TEXT SEGMENT - -; out-of-line, rarely-needed clamping code - -LClampHigh0: - mov esi,ds:dword ptr[_bbextents] - jmp LClampReentry0 -LClampHighOrLow0: - jg LClampHigh0 - xor esi,esi - jmp LClampReentry0 - -LClampHigh1: - mov edx,ds:dword ptr[_bbextentt] - jmp LClampReentry1 -LClampHighOrLow1: - jg LClampHigh1 - xor edx,edx - jmp LClampReentry1 - -LClampLow2: - mov ebp,4096 - jmp LClampReentry2 -LClampHigh2: - mov ebp,ds:dword ptr[_bbextents] - jmp LClampReentry2 - -LClampLow3: - mov ecx,4096 - jmp LClampReentry3 -LClampHigh3: - mov ecx,ds:dword ptr[_bbextentt] - jmp LClampReentry3 - -LClampLow4: - mov eax,4096 - jmp LClampReentry4 -LClampHigh4: - mov eax,ds:dword ptr[_bbextents] - jmp LClampReentry4 - -LClampLow5: - mov ebx,4096 - jmp LClampReentry5 -LClampHigh5: - mov ebx,ds:dword ptr[_bbextentt] - jmp LClampReentry5 - - -pspans equ 4+16 - - align 4 - public _D_DrawSpans16 -_D_DrawSpans16: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; -; set up scaled-by-16 steps, for 16-long segments; also set up cacheblock -; and span list pointers -; -; TODO: any overlap from rearranging? - fld ds:dword ptr[_d_sdivzstepu] - fmul ds:dword ptr[fp_16] - mov edx,ds:dword ptr[_cacheblock] - fld ds:dword ptr[_d_tdivzstepu] - fmul ds:dword ptr[fp_16] - mov ebx,ds:dword ptr[pspans+esp] ; point to the first span descriptor - fld ds:dword ptr[_d_zistepu] - fmul ds:dword ptr[fp_16] - mov ds:dword ptr[pbase],edx ; pbase = cacheblock - fstp ds:dword ptr[zi16stepu] - fstp ds:dword ptr[tdivz16stepu] - fstp ds:dword ptr[sdivz16stepu] - -LSpanLoop: -; -; set up the initial s/z, t/z, and 1/z on the FP stack, and generate the -; initial s and t values -; -; FIXME: pipeline FILD? - fild ds:dword ptr[espan_t_v+ebx] - fild ds:dword ptr[espan_t_u+ebx] - - fld st(1) ; dv | du | dv - fmul ds:dword ptr[_d_sdivzstepv] ; dv*d_sdivzstepv | du | dv - fld st(1) ; du | dv*d_sdivzstepv | du | dv - fmul ds:dword ptr[_d_sdivzstepu] ; du*d_sdivzstepu | dv*d_sdivzstepv | du | dv - fld st(2) ; du | du*d_sdivzstepu | dv*d_sdivzstepv | du | dv - fmul ds:dword ptr[_d_tdivzstepu] ; du*d_tdivzstepu | du*d_sdivzstepu | -; dv*d_sdivzstepv | du | dv - fxch st(1) ; du*d_sdivzstepu | du*d_tdivzstepu | -; dv*d_sdivzstepv | du | dv - faddp st(2),st(0) ; du*d_tdivzstepu | -; du*d_sdivzstepu + dv*d_sdivzstepv | du | dv - fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | -; du*d_tdivzstepu | du | dv - fld st(3) ; dv | du*d_sdivzstepu + dv*d_sdivzstepv | -; du*d_tdivzstepu | du | dv - fmul ds:dword ptr[_d_tdivzstepv] ; dv*d_tdivzstepv | -; du*d_sdivzstepu + dv*d_sdivzstepv | -; du*d_tdivzstepu | du | dv - fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | -; dv*d_tdivzstepv | du*d_tdivzstepu | du | dv - fadd ds:dword ptr[_d_sdivzorigin] ; sdivz = d_sdivzorigin + dv*d_sdivzstepv + -; du*d_sdivzstepu; stays in %st(2) at end - fxch st(4) ; dv | dv*d_tdivzstepv | du*d_tdivzstepu | du | -; s/z - fmul ds:dword ptr[_d_zistepv] ; dv*d_zistepv | dv*d_tdivzstepv | -; du*d_tdivzstepu | du | s/z - fxch st(1) ; dv*d_tdivzstepv | dv*d_zistepv | -; du*d_tdivzstepu | du | s/z - faddp st(2),st(0) ; dv*d_zistepv | -; dv*d_tdivzstepv + du*d_tdivzstepu | du | s/z - fxch st(2) ; du | dv*d_tdivzstepv + du*d_tdivzstepu | -; dv*d_zistepv | s/z - fmul ds:dword ptr[_d_zistepu] ; du*d_zistepu | -; dv*d_tdivzstepv + du*d_tdivzstepu | -; dv*d_zistepv | s/z - fxch st(1) ; dv*d_tdivzstepv + du*d_tdivzstepu | -; du*d_zistepu | dv*d_zistepv | s/z - fadd ds:dword ptr[_d_tdivzorigin] ; tdivz = d_tdivzorigin + dv*d_tdivzstepv + -; du*d_tdivzstepu; stays in %st(1) at end - fxch st(2) ; dv*d_zistepv | du*d_zistepu | t/z | s/z - faddp st(1),st(0) ; dv*d_zistepv + du*d_zistepu | t/z | s/z - - fld ds:dword ptr[fp_64k] ; fp_64k | dv*d_zistepv + du*d_zistepu | t/z | s/z - fxch st(1) ; dv*d_zistepv + du*d_zistepu | fp_64k | t/z | s/z - fadd ds:dword ptr[_d_ziorigin] ; zi = d_ziorigin + dv*d_zistepv + -; du*d_zistepu; stays in %st(0) at end -; 1/z | fp_64k | t/z | s/z -; -; calculate and clamp s & t -; - fdiv st(1),st(0) ; 1/z | z*64k | t/z | s/z - -; -; point %edi to the first pixel in the span -; - mov ecx,ds:dword ptr[_d_viewbuffer] - mov eax,ds:dword ptr[espan_t_v+ebx] - mov ds:dword ptr[pspantemp],ebx ; preserve spans pointer - - mov edx,ds:dword ptr[_tadjust] - mov esi,ds:dword ptr[_sadjust] - mov edi,ds:dword ptr[_d_scantable+eax*4] ; v * screenwidth - add edi,ecx - mov ecx,ds:dword ptr[espan_t_u+ebx] - add edi,ecx ; pdest = &pdestspan[scans->u]; - mov ecx,ds:dword ptr[espan_t_count+ebx] - -; -; now start the FDIV for the end of the span -; - cmp ecx,16 - ja LSetupNotLast1 - - dec ecx - jz LCleanup1 ; if only one pixel, no need to start an FDIV - mov ds:dword ptr[spancountminus1],ecx - -; finish up the s and t calcs - fxch st(1) ; z*64k | 1/z | t/z | s/z - - fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z - fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z - fxch st(1) ; z*64k | s | 1/z | t/z | s/z - fmul st(0),st(3) ; t | s | 1/z | t/z | s/z - fxch st(1) ; s | t | 1/z | t/z | s/z - fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z - fistp ds:dword ptr[t] ; 1/z | t/z | s/z - - fild ds:dword ptr[spancountminus1] - - fld ds:dword ptr[_d_tdivzstepu] ; C(d_tdivzstepu) | spancountminus1 - fld ds:dword ptr[_d_zistepu] ; C(d_zistepu) | C(d_tdivzstepu) | spancountminus1 - fmul st(0),st(2) ; C(d_zistepu)*scm1 | C(d_tdivzstepu) | scm1 - fxch st(1) ; C(d_tdivzstepu) | C(d_zistepu)*scm1 | scm1 - fmul st(0),st(2) ; C(d_tdivzstepu)*scm1 | C(d_zistepu)*scm1 | scm1 - fxch st(2) ; scm1 | C(d_zistepu)*scm1 | C(d_tdivzstepu)*scm1 - fmul ds:dword ptr[_d_sdivzstepu] ; C(d_sdivzstepu)*scm1 | C(d_zistepu)*scm1 | -; C(d_tdivzstepu)*scm1 - fxch st(1) ; C(d_zistepu)*scm1 | C(d_sdivzstepu)*scm1 | -; C(d_tdivzstepu)*scm1 - faddp st(3),st(0) ; C(d_sdivzstepu)*scm1 | C(d_tdivzstepu)*scm1 - fxch st(1) ; C(d_tdivzstepu)*scm1 | C(d_sdivzstepu)*scm1 - faddp st(3),st(0) ; C(d_sdivzstepu)*scm1 - faddp st(3),st(0) - - fld ds:dword ptr[fp_64k] - fdiv st(0),st(1) ; this is what we've gone to all this trouble to -; overlap - jmp LFDIVInFlight1 - -LCleanup1: -; finish up the s and t calcs - fxch st(1) ; z*64k | 1/z | t/z | s/z - - fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z - fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z - fxch st(1) ; z*64k | s | 1/z | t/z | s/z - fmul st(0),st(3) ; t | s | 1/z | t/z | s/z - fxch st(1) ; s | t | 1/z | t/z | s/z - fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z - fistp ds:dword ptr[t] ; 1/z | t/z | s/z - jmp LFDIVInFlight1 - - align 4 -LSetupNotLast1: -; finish up the s and t calcs - fxch st(1) ; z*64k | 1/z | t/z | s/z - - fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z - fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z - fxch st(1) ; z*64k | s | 1/z | t/z | s/z - fmul st(0),st(3) ; t | s | 1/z | t/z | s/z - fxch st(1) ; s | t | 1/z | t/z | s/z - fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z - fistp ds:dword ptr[t] ; 1/z | t/z | s/z - - fadd ds:dword ptr[zi16stepu] - fxch st(2) - fadd ds:dword ptr[sdivz16stepu] - fxch st(2) - fld ds:dword ptr[tdivz16stepu] - faddp st(2),st(0) - fld ds:dword ptr[fp_64k] - fdiv st(0),st(1) ; z = 1/1/z -; this is what we've gone to all this trouble to -; overlap -LFDIVInFlight1: - - add esi,ds:dword ptr[s] - add edx,ds:dword ptr[t] - mov ebx,ds:dword ptr[_bbextents] - mov ebp,ds:dword ptr[_bbextentt] - cmp esi,ebx - ja LClampHighOrLow0 -LClampReentry0: - mov ds:dword ptr[s],esi - mov ebx,ds:dword ptr[pbase] - shl esi,16 - cmp edx,ebp - mov ds:dword ptr[sfracf],esi - ja LClampHighOrLow1 -LClampReentry1: - mov ds:dword ptr[t],edx - mov esi,ds:dword ptr[s] ; sfrac = scans->sfrac; - shl edx,16 - mov eax,ds:dword ptr[t] ; tfrac = scans->tfrac; - sar esi,16 - mov ds:dword ptr[tfracf],edx - -; -; calculate the texture starting address -; - sar eax,16 - mov edx,ds:dword ptr[_cachewidth] - imul eax,edx ; (tfrac >> 16) * cachewidth - add esi,ebx - add esi,eax ; psource = pbase + (sfrac >> 16) + -; ((tfrac >> 16) * cachewidth); -; -; determine whether last span or not -; - cmp ecx,16 - jna LLastSegment - -; -; not the last segment; do full 16-wide segment -; -LNotLastSegment: - -; -; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to -; get there -; - -; pick up after the FDIV that was left in flight previously - - fld st(0) ; duplicate it - fmul st(0),st(4) ; s = s/z * z - fxch st(1) - fmul st(0),st(3) ; t = t/z * z - fxch st(1) - fistp ds:dword ptr[snext] - fistp ds:dword ptr[tnext] - mov eax,ds:dword ptr[snext] - mov edx,ds:dword ptr[tnext] - - mov bl,ds:byte ptr[esi] ; get first source texel - sub ecx,16 ; count off this segments' pixels - mov ebp,ds:dword ptr[_sadjust] - mov ds:dword ptr[counttemp],ecx ; remember count of remaining pixels - - mov ecx,ds:dword ptr[_tadjust] - mov ds:byte ptr[edi],bl ; store first dest pixel - - add ebp,eax - add ecx,edx - - mov eax,ds:dword ptr[_bbextents] - mov edx,ds:dword ptr[_bbextentt] - - cmp ebp,4096 - jl LClampLow2 - cmp ebp,eax - ja LClampHigh2 -LClampReentry2: - - cmp ecx,4096 - jl LClampLow3 - cmp ecx,edx - ja LClampHigh3 -LClampReentry3: - - mov ds:dword ptr[snext],ebp - mov ds:dword ptr[tnext],ecx - - sub ebp,ds:dword ptr[s] - sub ecx,ds:dword ptr[t] - -; -; set up advancetable -; - mov eax,ecx - mov edx,ebp - sar eax,20 ; tstep >>= 16; - jz LZero - sar edx,20 ; sstep >>= 16; - mov ebx,ds:dword ptr[_cachewidth] - imul eax,ebx - jmp LSetUp1 - -LZero: - sar edx,20 ; sstep >>= 16; - mov ebx,ds:dword ptr[_cachewidth] - -LSetUp1: - - add eax,edx ; add in sstep -; (tstep >> 16) * cachewidth + (sstep >> 16); - mov edx,ds:dword ptr[tfracf] - mov ds:dword ptr[advancetable+4],eax ; advance base in t - add eax,ebx ; ((tstep >> 16) + 1) * cachewidth + -; (sstep >> 16); - shl ebp,12 ; left-justify sstep fractional part - mov ebx,ds:dword ptr[sfracf] - shl ecx,12 ; left-justify tstep fractional part - mov ds:dword ptr[advancetable],eax ; advance extra in t - - mov ds:dword ptr[tstep],ecx - add edx,ecx ; advance tfrac fractional part by tstep frac - - sbb ecx,ecx ; turn tstep carry into -1 (0 if none) - add ebx,ebp ; advance sfrac fractional part by sstep frac - adc esi,ds:dword ptr[advancetable+4+ecx*4] ; point to next source texel - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov al,ds:byte ptr[esi] - add ebx,ebp - mov ds:byte ptr[1+edi],al - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[2+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[3+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[4+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[5+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[6+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[7+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - -; -; start FDIV for end of next segment in flight, so it can overlap -; - mov ecx,ds:dword ptr[counttemp] - cmp ecx,16 ; more than one segment after this? - ja LSetupNotLast2 ; yes - - dec ecx - jz LFDIVInFlight2 ; if only one pixel, no need to start an FDIV - mov ds:dword ptr[spancountminus1],ecx - fild ds:dword ptr[spancountminus1] - - fld ds:dword ptr[_d_zistepu] ; C(d_zistepu) | spancountminus1 - fmul st(0),st(1) ; C(d_zistepu)*scm1 | scm1 - fld ds:dword ptr[_d_tdivzstepu] ; C(d_tdivzstepu) | C(d_zistepu)*scm1 | scm1 - fmul st(0),st(2) ; C(d_tdivzstepu)*scm1 | C(d_zistepu)*scm1 | scm1 - fxch st(1) ; C(d_zistepu)*scm1 | C(d_tdivzstepu)*scm1 | scm1 - faddp st(3),st(0) ; C(d_tdivzstepu)*scm1 | scm1 - fxch st(1) ; scm1 | C(d_tdivzstepu)*scm1 - fmul ds:dword ptr[_d_sdivzstepu] ; C(d_sdivzstepu)*scm1 | C(d_tdivzstepu)*scm1 - fxch st(1) ; C(d_tdivzstepu)*scm1 | C(d_sdivzstepu)*scm1 - faddp st(3),st(0) ; C(d_sdivzstepu)*scm1 - fld ds:dword ptr[fp_64k] ; 64k | C(d_sdivzstepu)*scm1 - fxch st(1) ; C(d_sdivzstepu)*scm1 | 64k - faddp st(4),st(0) ; 64k - - fdiv st(0),st(1) ; this is what we've gone to all this trouble to -; overlap - jmp LFDIVInFlight2 - - align 4 -LSetupNotLast2: - fadd ds:dword ptr[zi16stepu] - fxch st(2) - fadd ds:dword ptr[sdivz16stepu] - fxch st(2) - fld ds:dword ptr[tdivz16stepu] - faddp st(2),st(0) - fld ds:dword ptr[fp_64k] - fdiv st(0),st(1) ; z = 1/1/z -; this is what we've gone to all this trouble to -; overlap -LFDIVInFlight2: - mov ds:dword ptr[counttemp],ecx - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[8+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[9+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[10+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[11+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[12+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[13+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[14+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edi,16 - mov ds:dword ptr[tfracf],edx - mov edx,ds:dword ptr[snext] - mov ds:dword ptr[sfracf],ebx - mov ebx,ds:dword ptr[tnext] - mov ds:dword ptr[s],edx - mov ds:dword ptr[t],ebx - - mov ecx,ds:dword ptr[counttemp] ; retrieve count - -; -; determine whether last span or not -; - cmp ecx,16 ; are there multiple segments remaining? - mov ds:byte ptr[-1+edi],al - ja LNotLastSegment ; yes - -; -; last segment of scan -; -LLastSegment: - -; -; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to -; get there. The number of pixels left is variable, and we want to land on the -; last pixel, not step one past it, so we can't run into arithmetic problems -; - test ecx,ecx - jz LNoSteps ; just draw the last pixel and we're done - -; pick up after the FDIV that was left in flight previously - - - fld st(0) ; duplicate it - fmul st(0),st(4) ; s = s/z * z - fxch st(1) - fmul st(0),st(3) ; t = t/z * z - fxch st(1) - fistp ds:dword ptr[snext] - fistp ds:dword ptr[tnext] - - mov al,ds:byte ptr[esi] ; load first texel in segment - mov ebx,ds:dword ptr[_tadjust] - mov ds:byte ptr[edi],al ; store first pixel in segment - mov eax,ds:dword ptr[_sadjust] - - add eax,ds:dword ptr[snext] - add ebx,ds:dword ptr[tnext] - - mov ebp,ds:dword ptr[_bbextents] - mov edx,ds:dword ptr[_bbextentt] - - cmp eax,4096 - jl LClampLow4 - cmp eax,ebp - ja LClampHigh4 -LClampReentry4: - mov ds:dword ptr[snext],eax - - cmp ebx,4096 - jl LClampLow5 - cmp ebx,edx - ja LClampHigh5 -LClampReentry5: - - cmp ecx,1 ; don't bother - je LOnlyOneStep ; if two pixels in segment, there's only one step, -; of the segment length - sub eax,ds:dword ptr[s] - sub ebx,ds:dword ptr[t] - - add eax,eax ; convert to 15.17 format so multiply by 1.31 - add ebx,ebx ; reciprocal yields 16.48 - - imul ds:dword ptr[reciprocal_table_16-8+ecx*4] ; sstep = (snext - s) / -; (spancount-1) - mov ebp,edx - - mov eax,ebx - imul ds:dword ptr[reciprocal_table_16-8+ecx*4] ; tstep = (tnext - t) / -; (spancount-1) -LSetEntryvec: -; -; set up advancetable -; - mov ebx,ds:dword ptr[entryvec_table_16+ecx*4] - mov eax,edx - mov ds:dword ptr[jumptemp],ebx ; entry point into code for RET later - mov ecx,ebp - sar edx,16 ; tstep >>= 16; - mov ebx,ds:dword ptr[_cachewidth] - sar ecx,16 ; sstep >>= 16; - imul edx,ebx - - add edx,ecx ; add in sstep -; (tstep >> 16) * cachewidth + (sstep >> 16); - mov ecx,ds:dword ptr[tfracf] - mov ds:dword ptr[advancetable+4],edx ; advance base in t - add edx,ebx ; ((tstep >> 16) + 1) * cachewidth + -; (sstep >> 16); - shl ebp,16 ; left-justify sstep fractional part - mov ebx,ds:dword ptr[sfracf] - shl eax,16 ; left-justify tstep fractional part - mov ds:dword ptr[advancetable],edx ; advance extra in t - - mov ds:dword ptr[tstep],eax - mov edx,ecx - add edx,eax - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - jmp dword ptr[jumptemp] ; jump to the number-of-pixels handler - -;---------------------------------------- - -LNoSteps: - mov al,ds:byte ptr[esi] ; load first texel in segment - sub edi,15 ; adjust for hardwired offset - jmp LEndSpan - - -LOnlyOneStep: - sub eax,ds:dword ptr[s] - sub ebx,ds:dword ptr[t] - mov ebp,eax - mov edx,ebx - jmp LSetEntryvec - -;---------------------------------------- - - public Entry2_16, Entry3_16, Entry4_16, Entry5_16 - public Entry6_16, Entry7_16, Entry8_16, Entry9_16 - public Entry10_16, Entry11_16, Entry12_16, Entry13_16 - public Entry14_16, Entry15_16, Entry16_16 - -Entry2_16: - sub edi,14 ; adjust for hardwired offsets - mov al,ds:byte ptr[esi] - jmp LEntry2_16 - -;---------------------------------------- - -Entry3_16: - sub edi,13 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - jmp LEntry3_16 - -;---------------------------------------- - -Entry4_16: - sub edi,12 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry4_16 - -;---------------------------------------- - -Entry5_16: - sub edi,11 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry5_16 - -;---------------------------------------- - -Entry6_16: - sub edi,10 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry6_16 - -;---------------------------------------- - -Entry7_16: - sub edi,9 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry7_16 - -;---------------------------------------- - -Entry8_16: - sub edi,8 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry8_16 - -;---------------------------------------- - -Entry9_16: - sub edi,7 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry9_16 - -;---------------------------------------- - -Entry10_16: - sub edi,6 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry10_16 - -;---------------------------------------- - -Entry11_16: - sub edi,5 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry11_16 - -;---------------------------------------- - -Entry12_16: - sub edi,4 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry12_16 - -;---------------------------------------- - -Entry13_16: - sub edi,3 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry13_16 - -;---------------------------------------- - -Entry14_16: - sub edi,2 ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry14_16 - -;---------------------------------------- - -Entry15_16: - dec edi ; adjust for hardwired offsets - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] - jmp LEntry15_16 - -;---------------------------------------- - -Entry16_16: - add edx,eax - mov al,ds:byte ptr[esi] - sbb ecx,ecx - add ebx,ebp - adc esi,ds:dword ptr[advancetable+4+ecx*4] - - add edx,ds:dword ptr[tstep] - sbb ecx,ecx - mov ds:byte ptr[1+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry15_16: - sbb ecx,ecx - mov ds:byte ptr[2+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry14_16: - sbb ecx,ecx - mov ds:byte ptr[3+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry13_16: - sbb ecx,ecx - mov ds:byte ptr[4+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry12_16: - sbb ecx,ecx - mov ds:byte ptr[5+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry11_16: - sbb ecx,ecx - mov ds:byte ptr[6+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry10_16: - sbb ecx,ecx - mov ds:byte ptr[7+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry9_16: - sbb ecx,ecx - mov ds:byte ptr[8+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry8_16: - sbb ecx,ecx - mov ds:byte ptr[9+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry7_16: - sbb ecx,ecx - mov ds:byte ptr[10+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry6_16: - sbb ecx,ecx - mov ds:byte ptr[11+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry5_16: - sbb ecx,ecx - mov ds:byte ptr[12+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] - add edx,ds:dword ptr[tstep] -LEntry4_16: - sbb ecx,ecx - mov ds:byte ptr[13+edi],al - add ebx,ebp - mov al,ds:byte ptr[esi] - adc esi,ds:dword ptr[advancetable+4+ecx*4] -LEntry3_16: - mov ds:byte ptr[14+edi],al - mov al,ds:byte ptr[esi] -LEntry2_16: - -LEndSpan: - -; -; clear s/z, t/z, 1/z from FP stack -; - fstp st(0) - fstp st(0) - fstp st(0) - - mov ebx,ds:dword ptr[pspantemp] ; restore spans pointer - mov ebx,ds:dword ptr[espan_t_pnext+ebx] ; point to next span - test ebx,ebx ; any more spans? - mov ds:byte ptr[15+edi],al - jnz LSpanLoop ; more spans - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - -;---------------------------------------------------------------------- -; 8-bpp horizontal span z drawing codefor polygons, with no transparency. -; -; Assumes there is at least one span in pzspans, and that every span -; contains at least one pixel -;---------------------------------------------------------------------- - - - -; z-clamp on a non-negative gradient span -LClamp: - mov edx,040000000h - xor ebx,ebx - fstp st(0) - jmp LZDraw - -; z-clamp on a negative gradient span -LClampNeg: - mov edx,040000000h - xor ebx,ebx - fstp st(0) - jmp LZDrawNeg - - -pzspans equ 4+16 - - public _D_DrawZSpans -_D_DrawZSpans: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - - fld ds:dword ptr[_d_zistepu] - mov eax,ds:dword ptr[_d_zistepu] - mov esi,ds:dword ptr[pzspans+esp] - test eax,eax - jz LFNegSpan - - fmul ds:dword ptr[Float2ToThe31nd] - fistp ds:dword ptr[izistep] ; note: we are relying on FP exceptions being turned -; off here to avoid range problems - mov ebx,ds:dword ptr[izistep] ; remains loaded for all spans - -LFSpanLoop: -; set up the initial 1/z value - fild ds:dword ptr[espan_t_v+esi] - fild ds:dword ptr[espan_t_u+esi] - mov ecx,ds:dword ptr[espan_t_v+esi] - mov edi,ds:dword ptr[_d_pzbuffer] - fmul ds:dword ptr[_d_zistepu] - fxch st(1) - fmul ds:dword ptr[_d_zistepv] - fxch st(1) - fadd ds:dword ptr[_d_ziorigin] - imul ecx,ds:dword ptr[_d_zrowbytes] - faddp st(1),st(0) - -; clamp if z is nearer than 2 (1/z > 0.5) - fcom ds:dword ptr[float_point5] - add edi,ecx - mov edx,ds:dword ptr[espan_t_u+esi] - add edx,edx ; word count - mov ecx,ds:dword ptr[espan_t_count+esi] - add edi,edx ; pdest = &pdestspan[scans->u]; - push esi ; preserve spans pointer - fnstsw ax - test ah,045h - jz LClamp - - fmul ds:dword ptr[Float2ToThe31nd] - fistp ds:dword ptr[izi] ; note: we are relying on FP exceptions being turned -; off here to avoid problems when the span is closer -; than 1/(2**31) - mov edx,ds:dword ptr[izi] - -; at this point: -; %ebx = izistep -; %ecx = count -; %edx = izi -; %edi = pdest - -LZDraw: - -; do a single pixel up front, if necessary to dword align the destination - test edi,2 - jz LFMiddle - mov eax,edx - add edx,ebx - shr eax,16 - dec ecx - mov ds:word ptr[edi],ax - add edi,2 - -; do middle a pair of aligned dwords at a time -LFMiddle: - push ecx - shr ecx,1 ; count / 2 - jz LFLast ; no aligned dwords to do - shr ecx,1 ; (count / 2) / 2 - jnc LFMiddleLoop ; even number of aligned dwords to do - - mov eax,edx - add edx,ebx - shr eax,16 - mov esi,edx - add edx,ebx - and esi,0FFFF0000h - or eax,esi - mov ds:dword ptr[edi],eax - add edi,4 - and ecx,ecx - jz LFLast - -LFMiddleLoop: - mov eax,edx - add edx,ebx - shr eax,16 - mov esi,edx - add edx,ebx - and esi,0FFFF0000h - or eax,esi - mov ebp,edx - mov ds:dword ptr[edi],eax - add edx,ebx - shr ebp,16 - mov esi,edx - add edx,ebx - and esi,0FFFF0000h - or ebp,esi - mov ds:dword ptr[4+edi],ebp ; FIXME: eliminate register contention - add edi,8 - - dec ecx - jnz LFMiddleLoop - -LFLast: - pop ecx ; retrieve count - pop esi ; retrieve span pointer - -; do the last, unaligned pixel, if there is one - and ecx,1 ; is there an odd pixel left to do? - jz LFSpanDone ; no - shr edx,16 - mov ds:word ptr[edi],dx ; do the final pixel's z - -LFSpanDone: - mov esi,ds:dword ptr[espan_t_pnext+esi] - test esi,esi - jnz LFSpanLoop - - jmp LFDone - -LFNegSpan: - fmul ds:dword ptr[FloatMinus2ToThe31nd] - fistp ds:dword ptr[izistep] ; note: we are relying on FP exceptions being turned -; off here to avoid range problems - mov ebx,ds:dword ptr[izistep] ; remains loaded for all spans - -LFNegSpanLoop: -; set up the initial 1/z value - fild ds:dword ptr[espan_t_v+esi] - fild ds:dword ptr[espan_t_u+esi] - mov ecx,ds:dword ptr[espan_t_v+esi] - mov edi,ds:dword ptr[_d_pzbuffer] - fmul ds:dword ptr[_d_zistepu] - fxch st(1) - fmul ds:dword ptr[_d_zistepv] - fxch st(1) - fadd ds:dword ptr[_d_ziorigin] - imul ecx,ds:dword ptr[_d_zrowbytes] - faddp st(1),st(0) - -; clamp if z is nearer than 2 (1/z > 0.5) - fcom ds:dword ptr[float_point5] - add edi,ecx - mov edx,ds:dword ptr[espan_t_u+esi] - add edx,edx ; word count - mov ecx,ds:dword ptr[espan_t_count+esi] - add edi,edx ; pdest = &pdestspan[scans->u]; - push esi ; preserve spans pointer - fnstsw ax - test ah,045h - jz LClampNeg - - fmul ds:dword ptr[Float2ToThe31nd] - fistp ds:dword ptr[izi] ; note: we are relying on FP exceptions being turned -; off here to avoid problems when the span is closer -; than 1/(2**31) - mov edx,ds:dword ptr[izi] - -; at this point: -; %ebx = izistep -; %ecx = count -; %edx = izi -; %edi = pdest - -LZDrawNeg: - -; do a single pixel up front, if necessary to dword align the destination - test edi,2 - jz LFNegMiddle - mov eax,edx - sub edx,ebx - shr eax,16 - dec ecx - mov ds:word ptr[edi],ax - add edi,2 - -; do middle a pair of aligned dwords at a time -LFNegMiddle: - push ecx - shr ecx,1 ; count / 2 - jz LFNegLast ; no aligned dwords to do - shr ecx,1 ; (count / 2) / 2 - jnc LFNegMiddleLoop ; even number of aligned dwords to do - - mov eax,edx - sub edx,ebx - shr eax,16 - mov esi,edx - sub edx,ebx - and esi,0FFFF0000h - or eax,esi - mov ds:dword ptr[edi],eax - add edi,4 - and ecx,ecx - jz LFNegLast - -LFNegMiddleLoop: - mov eax,edx - sub edx,ebx - shr eax,16 - mov esi,edx - sub edx,ebx - and esi,0FFFF0000h - or eax,esi - mov ebp,edx - mov ds:dword ptr[edi],eax - sub edx,ebx - shr ebp,16 - mov esi,edx - sub edx,ebx - and esi,0FFFF0000h - or ebp,esi - mov ds:dword ptr[4+edi],ebp ; FIXME: eliminate register contention - add edi,8 - - dec ecx - jnz LFNegMiddleLoop - -LFNegLast: - pop ecx ; retrieve count - pop esi ; retrieve span pointer - -; do the last, unaligned pixel, if there is one - and ecx,1 ; is there an odd pixel left to do? - jz LFNegSpanDone ; no - shr edx,16 - mov ds:word ptr[edi],dx ; do the final pixel's z - -LFNegSpanDone: - mov esi,ds:dword ptr[espan_t_pnext+esi] - test esi,esi - jnz LFNegSpanLoop - -LFDone: - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - - -_TEXT ENDS -endif ;id386 - END + .386P + .model FLAT +; +; d_draw16.s +; x86 assembly-language horizontal 8-bpp span-drawing code, with 16-pixel +; subdivision. +; + +include qasm.inc +include d_if.inc + +if id386 + +;---------------------------------------------------------------------- +; 8-bpp horizontal span drawing code for polygons, with no transparency and +; 16-pixel subdivision. +; +; Assumes there is at least one span in pspans, and that every span +; contains at least one pixel +;---------------------------------------------------------------------- + +_DATA SEGMENT + +_DATA ENDS +_TEXT SEGMENT + +; out-of-line, rarely-needed clamping code + +LClampHigh0: + mov esi,ds:dword ptr[_bbextents] + jmp LClampReentry0 +LClampHighOrLow0: + jg LClampHigh0 + xor esi,esi + jmp LClampReentry0 + +LClampHigh1: + mov edx,ds:dword ptr[_bbextentt] + jmp LClampReentry1 +LClampHighOrLow1: + jg LClampHigh1 + xor edx,edx + jmp LClampReentry1 + +LClampLow2: + mov ebp,4096 + jmp LClampReentry2 +LClampHigh2: + mov ebp,ds:dword ptr[_bbextents] + jmp LClampReentry2 + +LClampLow3: + mov ecx,4096 + jmp LClampReentry3 +LClampHigh3: + mov ecx,ds:dword ptr[_bbextentt] + jmp LClampReentry3 + +LClampLow4: + mov eax,4096 + jmp LClampReentry4 +LClampHigh4: + mov eax,ds:dword ptr[_bbextents] + jmp LClampReentry4 + +LClampLow5: + mov ebx,4096 + jmp LClampReentry5 +LClampHigh5: + mov ebx,ds:dword ptr[_bbextentt] + jmp LClampReentry5 + + +pspans equ 4+16 + + align 4 + public _D_DrawSpans16 +_D_DrawSpans16: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; +; set up scaled-by-16 steps, for 16-long segments; also set up cacheblock +; and span list pointers +; +; TODO: any overlap from rearranging? + fld ds:dword ptr[_d_sdivzstepu] + fmul ds:dword ptr[fp_16] + mov edx,ds:dword ptr[_cacheblock] + fld ds:dword ptr[_d_tdivzstepu] + fmul ds:dword ptr[fp_16] + mov ebx,ds:dword ptr[pspans+esp] ; point to the first span descriptor + fld ds:dword ptr[_d_zistepu] + fmul ds:dword ptr[fp_16] + mov ds:dword ptr[pbase],edx ; pbase = cacheblock + fstp ds:dword ptr[zi16stepu] + fstp ds:dword ptr[tdivz16stepu] + fstp ds:dword ptr[sdivz16stepu] + +LSpanLoop: +; +; set up the initial s/z, t/z, and 1/z on the FP stack, and generate the +; initial s and t values +; +; FIXME: pipeline FILD? + fild ds:dword ptr[espan_t_v+ebx] + fild ds:dword ptr[espan_t_u+ebx] + + fld st(1) ; dv | du | dv + fmul ds:dword ptr[_d_sdivzstepv] ; dv*d_sdivzstepv | du | dv + fld st(1) ; du | dv*d_sdivzstepv | du | dv + fmul ds:dword ptr[_d_sdivzstepu] ; du*d_sdivzstepu | dv*d_sdivzstepv | du | dv + fld st(2) ; du | du*d_sdivzstepu | dv*d_sdivzstepv | du | dv + fmul ds:dword ptr[_d_tdivzstepu] ; du*d_tdivzstepu | du*d_sdivzstepu | +; dv*d_sdivzstepv | du | dv + fxch st(1) ; du*d_sdivzstepu | du*d_tdivzstepu | +; dv*d_sdivzstepv | du | dv + faddp st(2),st(0) ; du*d_tdivzstepu | +; du*d_sdivzstepu + dv*d_sdivzstepv | du | dv + fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | +; du*d_tdivzstepu | du | dv + fld st(3) ; dv | du*d_sdivzstepu + dv*d_sdivzstepv | +; du*d_tdivzstepu | du | dv + fmul ds:dword ptr[_d_tdivzstepv] ; dv*d_tdivzstepv | +; du*d_sdivzstepu + dv*d_sdivzstepv | +; du*d_tdivzstepu | du | dv + fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | +; dv*d_tdivzstepv | du*d_tdivzstepu | du | dv + fadd ds:dword ptr[_d_sdivzorigin] ; sdivz = d_sdivzorigin + dv*d_sdivzstepv + +; du*d_sdivzstepu; stays in %st(2) at end + fxch st(4) ; dv | dv*d_tdivzstepv | du*d_tdivzstepu | du | +; s/z + fmul ds:dword ptr[_d_zistepv] ; dv*d_zistepv | dv*d_tdivzstepv | +; du*d_tdivzstepu | du | s/z + fxch st(1) ; dv*d_tdivzstepv | dv*d_zistepv | +; du*d_tdivzstepu | du | s/z + faddp st(2),st(0) ; dv*d_zistepv | +; dv*d_tdivzstepv + du*d_tdivzstepu | du | s/z + fxch st(2) ; du | dv*d_tdivzstepv + du*d_tdivzstepu | +; dv*d_zistepv | s/z + fmul ds:dword ptr[_d_zistepu] ; du*d_zistepu | +; dv*d_tdivzstepv + du*d_tdivzstepu | +; dv*d_zistepv | s/z + fxch st(1) ; dv*d_tdivzstepv + du*d_tdivzstepu | +; du*d_zistepu | dv*d_zistepv | s/z + fadd ds:dword ptr[_d_tdivzorigin] ; tdivz = d_tdivzorigin + dv*d_tdivzstepv + +; du*d_tdivzstepu; stays in %st(1) at end + fxch st(2) ; dv*d_zistepv | du*d_zistepu | t/z | s/z + faddp st(1),st(0) ; dv*d_zistepv + du*d_zistepu | t/z | s/z + + fld ds:dword ptr[fp_64k] ; fp_64k | dv*d_zistepv + du*d_zistepu | t/z | s/z + fxch st(1) ; dv*d_zistepv + du*d_zistepu | fp_64k | t/z | s/z + fadd ds:dword ptr[_d_ziorigin] ; zi = d_ziorigin + dv*d_zistepv + +; du*d_zistepu; stays in %st(0) at end +; 1/z | fp_64k | t/z | s/z +; +; calculate and clamp s & t +; + fdiv st(1),st(0) ; 1/z | z*64k | t/z | s/z + +; +; point %edi to the first pixel in the span +; + mov ecx,ds:dword ptr[_d_viewbuffer] + mov eax,ds:dword ptr[espan_t_v+ebx] + mov ds:dword ptr[pspantemp],ebx ; preserve spans pointer + + mov edx,ds:dword ptr[_tadjust] + mov esi,ds:dword ptr[_sadjust] + mov edi,ds:dword ptr[_d_scantable+eax*4] ; v * screenwidth + add edi,ecx + mov ecx,ds:dword ptr[espan_t_u+ebx] + add edi,ecx ; pdest = &pdestspan[scans->u]; + mov ecx,ds:dword ptr[espan_t_count+ebx] + +; +; now start the FDIV for the end of the span +; + cmp ecx,16 + ja LSetupNotLast1 + + dec ecx + jz LCleanup1 ; if only one pixel, no need to start an FDIV + mov ds:dword ptr[spancountminus1],ecx + +; finish up the s and t calcs + fxch st(1) ; z*64k | 1/z | t/z | s/z + + fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z + fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z + fxch st(1) ; z*64k | s | 1/z | t/z | s/z + fmul st(0),st(3) ; t | s | 1/z | t/z | s/z + fxch st(1) ; s | t | 1/z | t/z | s/z + fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z + fistp ds:dword ptr[t] ; 1/z | t/z | s/z + + fild ds:dword ptr[spancountminus1] + + fld ds:dword ptr[_d_tdivzstepu] ; C(d_tdivzstepu) | spancountminus1 + fld ds:dword ptr[_d_zistepu] ; C(d_zistepu) | C(d_tdivzstepu) | spancountminus1 + fmul st(0),st(2) ; C(d_zistepu)*scm1 | C(d_tdivzstepu) | scm1 + fxch st(1) ; C(d_tdivzstepu) | C(d_zistepu)*scm1 | scm1 + fmul st(0),st(2) ; C(d_tdivzstepu)*scm1 | C(d_zistepu)*scm1 | scm1 + fxch st(2) ; scm1 | C(d_zistepu)*scm1 | C(d_tdivzstepu)*scm1 + fmul ds:dword ptr[_d_sdivzstepu] ; C(d_sdivzstepu)*scm1 | C(d_zistepu)*scm1 | +; C(d_tdivzstepu)*scm1 + fxch st(1) ; C(d_zistepu)*scm1 | C(d_sdivzstepu)*scm1 | +; C(d_tdivzstepu)*scm1 + faddp st(3),st(0) ; C(d_sdivzstepu)*scm1 | C(d_tdivzstepu)*scm1 + fxch st(1) ; C(d_tdivzstepu)*scm1 | C(d_sdivzstepu)*scm1 + faddp st(3),st(0) ; C(d_sdivzstepu)*scm1 + faddp st(3),st(0) + + fld ds:dword ptr[fp_64k] + fdiv st(0),st(1) ; this is what we've gone to all this trouble to +; overlap + jmp LFDIVInFlight1 + +LCleanup1: +; finish up the s and t calcs + fxch st(1) ; z*64k | 1/z | t/z | s/z + + fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z + fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z + fxch st(1) ; z*64k | s | 1/z | t/z | s/z + fmul st(0),st(3) ; t | s | 1/z | t/z | s/z + fxch st(1) ; s | t | 1/z | t/z | s/z + fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z + fistp ds:dword ptr[t] ; 1/z | t/z | s/z + jmp LFDIVInFlight1 + + align 4 +LSetupNotLast1: +; finish up the s and t calcs + fxch st(1) ; z*64k | 1/z | t/z | s/z + + fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z + fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z + fxch st(1) ; z*64k | s | 1/z | t/z | s/z + fmul st(0),st(3) ; t | s | 1/z | t/z | s/z + fxch st(1) ; s | t | 1/z | t/z | s/z + fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z + fistp ds:dword ptr[t] ; 1/z | t/z | s/z + + fadd ds:dword ptr[zi16stepu] + fxch st(2) + fadd ds:dword ptr[sdivz16stepu] + fxch st(2) + fld ds:dword ptr[tdivz16stepu] + faddp st(2),st(0) + fld ds:dword ptr[fp_64k] + fdiv st(0),st(1) ; z = 1/1/z +; this is what we've gone to all this trouble to +; overlap +LFDIVInFlight1: + + add esi,ds:dword ptr[s] + add edx,ds:dword ptr[t] + mov ebx,ds:dword ptr[_bbextents] + mov ebp,ds:dword ptr[_bbextentt] + cmp esi,ebx + ja LClampHighOrLow0 +LClampReentry0: + mov ds:dword ptr[s],esi + mov ebx,ds:dword ptr[pbase] + shl esi,16 + cmp edx,ebp + mov ds:dword ptr[sfracf],esi + ja LClampHighOrLow1 +LClampReentry1: + mov ds:dword ptr[t],edx + mov esi,ds:dword ptr[s] ; sfrac = scans->sfrac; + shl edx,16 + mov eax,ds:dword ptr[t] ; tfrac = scans->tfrac; + sar esi,16 + mov ds:dword ptr[tfracf],edx + +; +; calculate the texture starting address +; + sar eax,16 + mov edx,ds:dword ptr[_cachewidth] + imul eax,edx ; (tfrac >> 16) * cachewidth + add esi,ebx + add esi,eax ; psource = pbase + (sfrac >> 16) + +; ((tfrac >> 16) * cachewidth); +; +; determine whether last span or not +; + cmp ecx,16 + jna LLastSegment + +; +; not the last segment; do full 16-wide segment +; +LNotLastSegment: + +; +; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to +; get there +; + +; pick up after the FDIV that was left in flight previously + + fld st(0) ; duplicate it + fmul st(0),st(4) ; s = s/z * z + fxch st(1) + fmul st(0),st(3) ; t = t/z * z + fxch st(1) + fistp ds:dword ptr[snext] + fistp ds:dword ptr[tnext] + mov eax,ds:dword ptr[snext] + mov edx,ds:dword ptr[tnext] + + mov bl,ds:byte ptr[esi] ; get first source texel + sub ecx,16 ; count off this segments' pixels + mov ebp,ds:dword ptr[_sadjust] + mov ds:dword ptr[counttemp],ecx ; remember count of remaining pixels + + mov ecx,ds:dword ptr[_tadjust] + mov ds:byte ptr[edi],bl ; store first dest pixel + + add ebp,eax + add ecx,edx + + mov eax,ds:dword ptr[_bbextents] + mov edx,ds:dword ptr[_bbextentt] + + cmp ebp,4096 + jl LClampLow2 + cmp ebp,eax + ja LClampHigh2 +LClampReentry2: + + cmp ecx,4096 + jl LClampLow3 + cmp ecx,edx + ja LClampHigh3 +LClampReentry3: + + mov ds:dword ptr[snext],ebp + mov ds:dword ptr[tnext],ecx + + sub ebp,ds:dword ptr[s] + sub ecx,ds:dword ptr[t] + +; +; set up advancetable +; + mov eax,ecx + mov edx,ebp + sar eax,20 ; tstep >>= 16; + jz LZero + sar edx,20 ; sstep >>= 16; + mov ebx,ds:dword ptr[_cachewidth] + imul eax,ebx + jmp LSetUp1 + +LZero: + sar edx,20 ; sstep >>= 16; + mov ebx,ds:dword ptr[_cachewidth] + +LSetUp1: + + add eax,edx ; add in sstep +; (tstep >> 16) * cachewidth + (sstep >> 16); + mov edx,ds:dword ptr[tfracf] + mov ds:dword ptr[advancetable+4],eax ; advance base in t + add eax,ebx ; ((tstep >> 16) + 1) * cachewidth + +; (sstep >> 16); + shl ebp,12 ; left-justify sstep fractional part + mov ebx,ds:dword ptr[sfracf] + shl ecx,12 ; left-justify tstep fractional part + mov ds:dword ptr[advancetable],eax ; advance extra in t + + mov ds:dword ptr[tstep],ecx + add edx,ecx ; advance tfrac fractional part by tstep frac + + sbb ecx,ecx ; turn tstep carry into -1 (0 if none) + add ebx,ebp ; advance sfrac fractional part by sstep frac + adc esi,ds:dword ptr[advancetable+4+ecx*4] ; point to next source texel + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov al,ds:byte ptr[esi] + add ebx,ebp + mov ds:byte ptr[1+edi],al + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[2+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[3+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[4+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[5+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[6+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[7+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + +; +; start FDIV for end of next segment in flight, so it can overlap +; + mov ecx,ds:dword ptr[counttemp] + cmp ecx,16 ; more than one segment after this? + ja LSetupNotLast2 ; yes + + dec ecx + jz LFDIVInFlight2 ; if only one pixel, no need to start an FDIV + mov ds:dword ptr[spancountminus1],ecx + fild ds:dword ptr[spancountminus1] + + fld ds:dword ptr[_d_zistepu] ; C(d_zistepu) | spancountminus1 + fmul st(0),st(1) ; C(d_zistepu)*scm1 | scm1 + fld ds:dword ptr[_d_tdivzstepu] ; C(d_tdivzstepu) | C(d_zistepu)*scm1 | scm1 + fmul st(0),st(2) ; C(d_tdivzstepu)*scm1 | C(d_zistepu)*scm1 | scm1 + fxch st(1) ; C(d_zistepu)*scm1 | C(d_tdivzstepu)*scm1 | scm1 + faddp st(3),st(0) ; C(d_tdivzstepu)*scm1 | scm1 + fxch st(1) ; scm1 | C(d_tdivzstepu)*scm1 + fmul ds:dword ptr[_d_sdivzstepu] ; C(d_sdivzstepu)*scm1 | C(d_tdivzstepu)*scm1 + fxch st(1) ; C(d_tdivzstepu)*scm1 | C(d_sdivzstepu)*scm1 + faddp st(3),st(0) ; C(d_sdivzstepu)*scm1 + fld ds:dword ptr[fp_64k] ; 64k | C(d_sdivzstepu)*scm1 + fxch st(1) ; C(d_sdivzstepu)*scm1 | 64k + faddp st(4),st(0) ; 64k + + fdiv st(0),st(1) ; this is what we've gone to all this trouble to +; overlap + jmp LFDIVInFlight2 + + align 4 +LSetupNotLast2: + fadd ds:dword ptr[zi16stepu] + fxch st(2) + fadd ds:dword ptr[sdivz16stepu] + fxch st(2) + fld ds:dword ptr[tdivz16stepu] + faddp st(2),st(0) + fld ds:dword ptr[fp_64k] + fdiv st(0),st(1) ; z = 1/1/z +; this is what we've gone to all this trouble to +; overlap +LFDIVInFlight2: + mov ds:dword ptr[counttemp],ecx + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[8+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[9+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[10+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[11+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[12+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[13+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[14+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edi,16 + mov ds:dword ptr[tfracf],edx + mov edx,ds:dword ptr[snext] + mov ds:dword ptr[sfracf],ebx + mov ebx,ds:dword ptr[tnext] + mov ds:dword ptr[s],edx + mov ds:dword ptr[t],ebx + + mov ecx,ds:dword ptr[counttemp] ; retrieve count + +; +; determine whether last span or not +; + cmp ecx,16 ; are there multiple segments remaining? + mov ds:byte ptr[-1+edi],al + ja LNotLastSegment ; yes + +; +; last segment of scan +; +LLastSegment: + +; +; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to +; get there. The number of pixels left is variable, and we want to land on the +; last pixel, not step one past it, so we can't run into arithmetic problems +; + test ecx,ecx + jz LNoSteps ; just draw the last pixel and we're done + +; pick up after the FDIV that was left in flight previously + + + fld st(0) ; duplicate it + fmul st(0),st(4) ; s = s/z * z + fxch st(1) + fmul st(0),st(3) ; t = t/z * z + fxch st(1) + fistp ds:dword ptr[snext] + fistp ds:dword ptr[tnext] + + mov al,ds:byte ptr[esi] ; load first texel in segment + mov ebx,ds:dword ptr[_tadjust] + mov ds:byte ptr[edi],al ; store first pixel in segment + mov eax,ds:dword ptr[_sadjust] + + add eax,ds:dword ptr[snext] + add ebx,ds:dword ptr[tnext] + + mov ebp,ds:dword ptr[_bbextents] + mov edx,ds:dword ptr[_bbextentt] + + cmp eax,4096 + jl LClampLow4 + cmp eax,ebp + ja LClampHigh4 +LClampReentry4: + mov ds:dword ptr[snext],eax + + cmp ebx,4096 + jl LClampLow5 + cmp ebx,edx + ja LClampHigh5 +LClampReentry5: + + cmp ecx,1 ; don't bother + je LOnlyOneStep ; if two pixels in segment, there's only one step, +; of the segment length + sub eax,ds:dword ptr[s] + sub ebx,ds:dword ptr[t] + + add eax,eax ; convert to 15.17 format so multiply by 1.31 + add ebx,ebx ; reciprocal yields 16.48 + + imul ds:dword ptr[reciprocal_table_16-8+ecx*4] ; sstep = (snext - s) / +; (spancount-1) + mov ebp,edx + + mov eax,ebx + imul ds:dword ptr[reciprocal_table_16-8+ecx*4] ; tstep = (tnext - t) / +; (spancount-1) +LSetEntryvec: +; +; set up advancetable +; + mov ebx,ds:dword ptr[entryvec_table_16+ecx*4] + mov eax,edx + mov ds:dword ptr[jumptemp],ebx ; entry point into code for RET later + mov ecx,ebp + sar edx,16 ; tstep >>= 16; + mov ebx,ds:dword ptr[_cachewidth] + sar ecx,16 ; sstep >>= 16; + imul edx,ebx + + add edx,ecx ; add in sstep +; (tstep >> 16) * cachewidth + (sstep >> 16); + mov ecx,ds:dword ptr[tfracf] + mov ds:dword ptr[advancetable+4],edx ; advance base in t + add edx,ebx ; ((tstep >> 16) + 1) * cachewidth + +; (sstep >> 16); + shl ebp,16 ; left-justify sstep fractional part + mov ebx,ds:dword ptr[sfracf] + shl eax,16 ; left-justify tstep fractional part + mov ds:dword ptr[advancetable],edx ; advance extra in t + + mov ds:dword ptr[tstep],eax + mov edx,ecx + add edx,eax + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + jmp dword ptr[jumptemp] ; jump to the number-of-pixels handler + +;---------------------------------------- + +LNoSteps: + mov al,ds:byte ptr[esi] ; load first texel in segment + sub edi,15 ; adjust for hardwired offset + jmp LEndSpan + + +LOnlyOneStep: + sub eax,ds:dword ptr[s] + sub ebx,ds:dword ptr[t] + mov ebp,eax + mov edx,ebx + jmp LSetEntryvec + +;---------------------------------------- + + public Entry2_16, Entry3_16, Entry4_16, Entry5_16 + public Entry6_16, Entry7_16, Entry8_16, Entry9_16 + public Entry10_16, Entry11_16, Entry12_16, Entry13_16 + public Entry14_16, Entry15_16, Entry16_16 + +Entry2_16: + sub edi,14 ; adjust for hardwired offsets + mov al,ds:byte ptr[esi] + jmp LEntry2_16 + +;---------------------------------------- + +Entry3_16: + sub edi,13 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + jmp LEntry3_16 + +;---------------------------------------- + +Entry4_16: + sub edi,12 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry4_16 + +;---------------------------------------- + +Entry5_16: + sub edi,11 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry5_16 + +;---------------------------------------- + +Entry6_16: + sub edi,10 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry6_16 + +;---------------------------------------- + +Entry7_16: + sub edi,9 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry7_16 + +;---------------------------------------- + +Entry8_16: + sub edi,8 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry8_16 + +;---------------------------------------- + +Entry9_16: + sub edi,7 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry9_16 + +;---------------------------------------- + +Entry10_16: + sub edi,6 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry10_16 + +;---------------------------------------- + +Entry11_16: + sub edi,5 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry11_16 + +;---------------------------------------- + +Entry12_16: + sub edi,4 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry12_16 + +;---------------------------------------- + +Entry13_16: + sub edi,3 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry13_16 + +;---------------------------------------- + +Entry14_16: + sub edi,2 ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry14_16 + +;---------------------------------------- + +Entry15_16: + dec edi ; adjust for hardwired offsets + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] + jmp LEntry15_16 + +;---------------------------------------- + +Entry16_16: + add edx,eax + mov al,ds:byte ptr[esi] + sbb ecx,ecx + add ebx,ebp + adc esi,ds:dword ptr[advancetable+4+ecx*4] + + add edx,ds:dword ptr[tstep] + sbb ecx,ecx + mov ds:byte ptr[1+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry15_16: + sbb ecx,ecx + mov ds:byte ptr[2+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry14_16: + sbb ecx,ecx + mov ds:byte ptr[3+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry13_16: + sbb ecx,ecx + mov ds:byte ptr[4+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry12_16: + sbb ecx,ecx + mov ds:byte ptr[5+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry11_16: + sbb ecx,ecx + mov ds:byte ptr[6+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry10_16: + sbb ecx,ecx + mov ds:byte ptr[7+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry9_16: + sbb ecx,ecx + mov ds:byte ptr[8+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry8_16: + sbb ecx,ecx + mov ds:byte ptr[9+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry7_16: + sbb ecx,ecx + mov ds:byte ptr[10+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry6_16: + sbb ecx,ecx + mov ds:byte ptr[11+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry5_16: + sbb ecx,ecx + mov ds:byte ptr[12+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] + add edx,ds:dword ptr[tstep] +LEntry4_16: + sbb ecx,ecx + mov ds:byte ptr[13+edi],al + add ebx,ebp + mov al,ds:byte ptr[esi] + adc esi,ds:dword ptr[advancetable+4+ecx*4] +LEntry3_16: + mov ds:byte ptr[14+edi],al + mov al,ds:byte ptr[esi] +LEntry2_16: + +LEndSpan: + +; +; clear s/z, t/z, 1/z from FP stack +; + fstp st(0) + fstp st(0) + fstp st(0) + + mov ebx,ds:dword ptr[pspantemp] ; restore spans pointer + mov ebx,ds:dword ptr[espan_t_pnext+ebx] ; point to next span + test ebx,ebx ; any more spans? + mov ds:byte ptr[15+edi],al + jnz LSpanLoop ; more spans + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + +;---------------------------------------------------------------------- +; 8-bpp horizontal span z drawing codefor polygons, with no transparency. +; +; Assumes there is at least one span in pzspans, and that every span +; contains at least one pixel +;---------------------------------------------------------------------- + + + +; z-clamp on a non-negative gradient span +LClamp: + mov edx,040000000h + xor ebx,ebx + fstp st(0) + jmp LZDraw + +; z-clamp on a negative gradient span +LClampNeg: + mov edx,040000000h + xor ebx,ebx + fstp st(0) + jmp LZDrawNeg + + +pzspans equ 4+16 + + public _D_DrawZSpans +_D_DrawZSpans: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + + fld ds:dword ptr[_d_zistepu] + mov eax,ds:dword ptr[_d_zistepu] + mov esi,ds:dword ptr[pzspans+esp] + test eax,eax + jz LFNegSpan + + fmul ds:dword ptr[Float2ToThe31nd] + fistp ds:dword ptr[izistep] ; note: we are relying on FP exceptions being turned +; off here to avoid range problems + mov ebx,ds:dword ptr[izistep] ; remains loaded for all spans + +LFSpanLoop: +; set up the initial 1/z value + fild ds:dword ptr[espan_t_v+esi] + fild ds:dword ptr[espan_t_u+esi] + mov ecx,ds:dword ptr[espan_t_v+esi] + mov edi,ds:dword ptr[_d_pzbuffer] + fmul ds:dword ptr[_d_zistepu] + fxch st(1) + fmul ds:dword ptr[_d_zistepv] + fxch st(1) + fadd ds:dword ptr[_d_ziorigin] + imul ecx,ds:dword ptr[_d_zrowbytes] + faddp st(1),st(0) + +; clamp if z is nearer than 2 (1/z > 0.5) + fcom ds:dword ptr[float_point5] + add edi,ecx + mov edx,ds:dword ptr[espan_t_u+esi] + add edx,edx ; word count + mov ecx,ds:dword ptr[espan_t_count+esi] + add edi,edx ; pdest = &pdestspan[scans->u]; + push esi ; preserve spans pointer + fnstsw ax + test ah,045h + jz LClamp + + fmul ds:dword ptr[Float2ToThe31nd] + fistp ds:dword ptr[izi] ; note: we are relying on FP exceptions being turned +; off here to avoid problems when the span is closer +; than 1/(2**31) + mov edx,ds:dword ptr[izi] + +; at this point: +; %ebx = izistep +; %ecx = count +; %edx = izi +; %edi = pdest + +LZDraw: + +; do a single pixel up front, if necessary to dword align the destination + test edi,2 + jz LFMiddle + mov eax,edx + add edx,ebx + shr eax,16 + dec ecx + mov ds:word ptr[edi],ax + add edi,2 + +; do middle a pair of aligned dwords at a time +LFMiddle: + push ecx + shr ecx,1 ; count / 2 + jz LFLast ; no aligned dwords to do + shr ecx,1 ; (count / 2) / 2 + jnc LFMiddleLoop ; even number of aligned dwords to do + + mov eax,edx + add edx,ebx + shr eax,16 + mov esi,edx + add edx,ebx + and esi,0FFFF0000h + or eax,esi + mov ds:dword ptr[edi],eax + add edi,4 + and ecx,ecx + jz LFLast + +LFMiddleLoop: + mov eax,edx + add edx,ebx + shr eax,16 + mov esi,edx + add edx,ebx + and esi,0FFFF0000h + or eax,esi + mov ebp,edx + mov ds:dword ptr[edi],eax + add edx,ebx + shr ebp,16 + mov esi,edx + add edx,ebx + and esi,0FFFF0000h + or ebp,esi + mov ds:dword ptr[4+edi],ebp ; FIXME: eliminate register contention + add edi,8 + + dec ecx + jnz LFMiddleLoop + +LFLast: + pop ecx ; retrieve count + pop esi ; retrieve span pointer + +; do the last, unaligned pixel, if there is one + and ecx,1 ; is there an odd pixel left to do? + jz LFSpanDone ; no + shr edx,16 + mov ds:word ptr[edi],dx ; do the final pixel's z + +LFSpanDone: + mov esi,ds:dword ptr[espan_t_pnext+esi] + test esi,esi + jnz LFSpanLoop + + jmp LFDone + +LFNegSpan: + fmul ds:dword ptr[FloatMinus2ToThe31nd] + fistp ds:dword ptr[izistep] ; note: we are relying on FP exceptions being turned +; off here to avoid range problems + mov ebx,ds:dword ptr[izistep] ; remains loaded for all spans + +LFNegSpanLoop: +; set up the initial 1/z value + fild ds:dword ptr[espan_t_v+esi] + fild ds:dword ptr[espan_t_u+esi] + mov ecx,ds:dword ptr[espan_t_v+esi] + mov edi,ds:dword ptr[_d_pzbuffer] + fmul ds:dword ptr[_d_zistepu] + fxch st(1) + fmul ds:dword ptr[_d_zistepv] + fxch st(1) + fadd ds:dword ptr[_d_ziorigin] + imul ecx,ds:dword ptr[_d_zrowbytes] + faddp st(1),st(0) + +; clamp if z is nearer than 2 (1/z > 0.5) + fcom ds:dword ptr[float_point5] + add edi,ecx + mov edx,ds:dword ptr[espan_t_u+esi] + add edx,edx ; word count + mov ecx,ds:dword ptr[espan_t_count+esi] + add edi,edx ; pdest = &pdestspan[scans->u]; + push esi ; preserve spans pointer + fnstsw ax + test ah,045h + jz LClampNeg + + fmul ds:dword ptr[Float2ToThe31nd] + fistp ds:dword ptr[izi] ; note: we are relying on FP exceptions being turned +; off here to avoid problems when the span is closer +; than 1/(2**31) + mov edx,ds:dword ptr[izi] + +; at this point: +; %ebx = izistep +; %ecx = count +; %edx = izi +; %edi = pdest + +LZDrawNeg: + +; do a single pixel up front, if necessary to dword align the destination + test edi,2 + jz LFNegMiddle + mov eax,edx + sub edx,ebx + shr eax,16 + dec ecx + mov ds:word ptr[edi],ax + add edi,2 + +; do middle a pair of aligned dwords at a time +LFNegMiddle: + push ecx + shr ecx,1 ; count / 2 + jz LFNegLast ; no aligned dwords to do + shr ecx,1 ; (count / 2) / 2 + jnc LFNegMiddleLoop ; even number of aligned dwords to do + + mov eax,edx + sub edx,ebx + shr eax,16 + mov esi,edx + sub edx,ebx + and esi,0FFFF0000h + or eax,esi + mov ds:dword ptr[edi],eax + add edi,4 + and ecx,ecx + jz LFNegLast + +LFNegMiddleLoop: + mov eax,edx + sub edx,ebx + shr eax,16 + mov esi,edx + sub edx,ebx + and esi,0FFFF0000h + or eax,esi + mov ebp,edx + mov ds:dword ptr[edi],eax + sub edx,ebx + shr ebp,16 + mov esi,edx + sub edx,ebx + and esi,0FFFF0000h + or ebp,esi + mov ds:dword ptr[4+edi],ebp ; FIXME: eliminate register contention + add edi,8 + + dec ecx + jnz LFNegMiddleLoop + +LFNegLast: + pop ecx ; retrieve count + pop esi ; retrieve span pointer + +; do the last, unaligned pixel, if there is one + and ecx,1 ; is there an odd pixel left to do? + jz LFNegSpanDone ; no + shr edx,16 + mov ds:word ptr[edi],dx ; do the final pixel's z + +LFNegSpanDone: + mov esi,ds:dword ptr[espan_t_pnext+esi] + test esi,esi + jnz LFNegSpanLoop + +LFDone: + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + + +_TEXT ENDS +endif ;id386 + END diff --git a/ref_soft/r_drawa.asm b/ref_soft/r_drawa.asm index 9e98585..ab25f17 100644 --- a/ref_soft/r_drawa.asm +++ b/ref_soft/r_drawa.asm @@ -1,822 +1,822 @@ - .386P - .model FLAT -; -; r_drawa.s -; x86 assembly-language edge clipping and emission code -; - -include qasm.inc -include d_if.inc - -if id386 - -; !!! if these are changed, they must be changed in r_draw.c too !!! -FULLY_CLIPPED_CACHED equ 080000000h -FRAMECOUNT_MASK equ 07FFFFFFFh - -_DATA SEGMENT - -Ld0 dd 0.0 -Ld1 dd 0.0 -Lstack dd 0 -Lfp_near_clip dd NEAR_CLIP -Lceilv0 dd 0 -Lv dd 0 -Lu0 dd 0 -Lv0 dd 0 -Lzi0 dd 0 - -_DATA ENDS -_TEXT SEGMENT - -;---------------------------------------------------------------------- -; edge clipping code -;---------------------------------------------------------------------- - -pv0 equ 4+12 -pv1 equ 8+12 -clip equ 12+12 - - align 4 - public _R_ClipEdge -_R_ClipEdge: - push esi ; preserve register variables - push edi - push ebx - mov ds:dword ptr[Lstack],esp ; for clearing the stack later - -; float d0, d1, f; -; mvertex_t clipvert; - - mov ebx,ds:dword ptr[clip+esp] - mov esi,ds:dword ptr[pv0+esp] - mov edx,ds:dword ptr[pv1+esp] - -; if (clip) -; { - test ebx,ebx - jz Lemit - -; do -; { - -Lcliploop: - -; d0 = DotProduct (pv0->position, clip->normal) - clip->dist; -; d1 = DotProduct (pv1->position, clip->normal) - clip->dist; - fld ds:dword ptr[mv_position+0+esi] - fmul ds:dword ptr[cp_normal+0+ebx] - fld ds:dword ptr[mv_position+4+esi] - fmul ds:dword ptr[cp_normal+4+ebx] - fld ds:dword ptr[mv_position+8+esi] - fmul ds:dword ptr[cp_normal+8+ebx] - fxch st(1) - faddp st(2),st(0) ; d0mul2 | d0add0 - - fld ds:dword ptr[mv_position+0+edx] - fmul ds:dword ptr[cp_normal+0+ebx] - fld ds:dword ptr[mv_position+4+edx] - fmul ds:dword ptr[cp_normal+4+ebx] - fld ds:dword ptr[mv_position+8+edx] - fmul ds:dword ptr[cp_normal+8+ebx] - fxch st(1) - faddp st(2),st(0) ; d1mul2 | d1add0 | d0mul2 | d0add0 - fxch st(3) ; d0add0 | d1add0 | d0mul2 | d1mul2 - - faddp st(2),st(0) ; d1add0 | dot0 | d1mul2 - faddp st(2),st(0) ; dot0 | dot1 - - fsub ds:dword ptr[cp_dist+ebx] ; d0 | dot1 - fxch st(1) ; dot1 | d0 - fsub ds:dword ptr[cp_dist+ebx] ; d1 | d0 - fxch st(1) - fstp ds:dword ptr[Ld0] - fstp ds:dword ptr[Ld1] - -; if (d0 >= 0) -; { - mov eax,ds:dword ptr[Ld0] - mov ecx,ds:dword ptr[Ld1] - or ecx,eax - js Lp2 - -; both points are unclipped - -Lcontinue: - -; -; R_ClipEdge (&clipvert, pv1, clip->next); -; return; -; } -; } while ((clip = clip->next) != NULL); - mov ebx,ds:dword ptr[cp_next+ebx] - test ebx,ebx - jnz Lcliploop - -; } - -;// add the edge -; R_EmitEdge (pv0, pv1); -Lemit: - -; -; set integer rounding to ceil mode, set to single precision -; -; FIXME: do away with by manually extracting integers from floats? -; FIXME: set less often - fldcw ds:word ptr[_fpu_ceil_cw] - -; edge_t *edge, *pcheck; -; int u_check; -; float u, u_step; -; vec3_t local, transformed; -; float *world; -; int v, v2, ceilv0; -; float scale, lzi0, u0, v0; -; int side; - -; if (r_lastvertvalid) -; { - cmp ds:dword ptr[_r_lastvertvalid],0 - jz LCalcFirst - -; u0 = r_u1; -; v0 = r_v1; -; lzi0 = r_lzi1; -; ceilv0 = r_ceilv1; - mov eax,ds:dword ptr[_r_lzi1] - mov ecx,ds:dword ptr[_r_u1] - mov ds:dword ptr[Lzi0],eax - mov ds:dword ptr[Lu0],ecx - mov ecx,ds:dword ptr[_r_v1] - mov eax,ds:dword ptr[_r_ceilv1] - mov ds:dword ptr[Lv0],ecx - mov ds:dword ptr[Lceilv0],eax - jmp LCalcSecond - -; } - -LCalcFirst: - -; else -; { -; world = &pv0->position[0]; - - call near ptr LTransformAndProject ; v0 | lzi0 | u0 - - fst ds:dword ptr[Lv0] - fxch st(2) ; u0 | lzi0 | v0 - fstp ds:dword ptr[Lu0] ; lzi0 | v0 - fstp ds:dword ptr[Lzi0] ; v0 - -; ceilv0 = (int)(v0 - 2000) + 2000; // ceil(v0); - fistp ds:dword ptr[Lceilv0] - -; } - -LCalcSecond: - -; world = &pv1->position[0]; - mov esi,edx - - call near ptr LTransformAndProject ; v1 | lzi1 | u1 - - fld ds:dword ptr[Lu0] ; u0 | v1 | lzi1 | u1 - fxch st(3) ; u1 | v1 | lzi1 | u0 - fld ds:dword ptr[Lzi0] ; lzi0 | u1 | v1 | lzi1 | u0 - fxch st(3) ; lzi1 | u1 | v1 | lzi0 | u0 - fld ds:dword ptr[Lv0] ; v0 | lzi1 | u1 | v1 | lzi0 | u0 - fxch st(3) ; v1 | lzi1 | u1 | v0 | lzi0 | u0 - -; r_ceilv1 = (int)(r_v1 - 2000) + 2000; // ceil(r_v1); - fist ds:dword ptr[_r_ceilv1] - - fldcw ds:word ptr[_fpu_chop_cw] ; put back normal floating-point state - - fst ds:dword ptr[_r_v1] - fxch st(4) ; lzi0 | lzi1 | u1 | v0 | v1 | u0 - -; if (r_lzi1 > lzi0) -; lzi0 = r_lzi1; - fcom st(1) - fnstsw ax - test ah,1 - jz LP0 - fstp st(0) - fld st(0) -LP0: - - fxch st(1) ; lzi1 | lzi0 | u1 | v0 | v1 | u0 - fstp ds:dword ptr[_r_lzi1] ; lzi0 | u1 | v0 | v1 | u0 - fxch st(1) - fst ds:dword ptr[_r_u1] - fxch st(1) - -; if (lzi0 > r_nearzi) // for mipmap finding -; r_nearzi = lzi0; - fcom ds:dword ptr[_r_nearzi] - fnstsw ax - test ah,045h - jnz LP1 - fst ds:dword ptr[_r_nearzi] -LP1: - -; // for right edges, all we want is the effect on 1/z -; if (r_nearzionly) -; return; - mov eax,ds:dword ptr[_r_nearzionly] - test eax,eax - jz LP2 -LPop5AndDone: - mov eax,ds:dword ptr[_cacheoffset] - mov edx,ds:dword ptr[_r_framecount] - cmp eax,07FFFFFFFh - jz LDoPop - and edx,offset FRAMECOUNT_MASK - or edx,offset FULLY_CLIPPED_CACHED - mov ds:dword ptr[_cacheoffset],edx - -LDoPop: - fstp st(0) ; u1 | v0 | v1 | u0 - fstp st(0) ; v0 | v1 | u0 - fstp st(0) ; v1 | u0 - fstp st(0) ; u0 - fstp st(0) - jmp Ldone - -LP2: - -; // create the edge -; if (ceilv0 == r_ceilv1) -; return; // horizontal edge - mov ebx,ds:dword ptr[Lceilv0] - mov edi,ds:dword ptr[_edge_p] - mov ecx,ds:dword ptr[_r_ceilv1] - mov edx,edi - mov esi,ds:dword ptr[_r_pedge] - add edx,offset et_size - cmp ebx,ecx - jz LPop5AndDone - - mov eax,ds:dword ptr[_r_pedge] - mov ds:dword ptr[et_owner+edi],eax - -; side = ceilv0 > r_ceilv1; -; -; edge->nearzi = lzi0; - fstp ds:dword ptr[et_nearzi+edi] ; u1 | v0 | v1 | u0 - -; if (side == 1) -; { - jc LSide0 - -LSide1: - -; // leading edge (go from p2 to p1) - -; u_step = ((u0 - r_u1) / (v0 - r_v1)); - fsubp st(3),st(0) ; v0 | v1 | u0-u1 - fsub st(0),st(1) ; v0-v1 | v1 | u0-u1 - fdivp st(2),st(0) ; v1 | ustep - -; r_emitted = 1; - mov ds:dword ptr[_r_emitted],1 - -; edge = edge_p++; - mov ds:dword ptr[_edge_p],edx - -; pretouch next edge - mov eax,ds:dword ptr[edx] - -; v2 = ceilv0 - 1; -; v = r_ceilv1; - mov eax,ecx - lea ecx,ds:dword ptr[-1+ebx] - mov ebx,eax - -; edge->surfs[0] = 0; -; edge->surfs[1] = surface_p - surfaces; - mov eax,ds:dword ptr[_surface_p] - mov esi,ds:dword ptr[_surfaces] - sub edx,edx - sub eax,esi - shr eax,offset SURF_T_SHIFT - mov ds:dword ptr[et_surfs+edi],edx - mov ds:dword ptr[et_surfs+2+edi],eax - - sub esi,esi - -; u = r_u1 + ((float)v - r_v1) * u_step; - mov ds:dword ptr[Lv],ebx - fild ds:dword ptr[Lv] ; v | v1 | ustep - fsubrp st(1),st(0) ; v-v1 | ustep - fmul st(0),st(1) ; (v-v1)*ustep | ustep - fadd ds:dword ptr[_r_u1] ; u | ustep - - jmp LSideDone - -; } - -LSide0: - -; else -; { -; // trailing edge (go from p1 to p2) - -; u_step = ((r_u1 - u0) / (r_v1 - v0)); - fsub st(0),st(3) ; u1-u0 | v0 | v1 | u0 - fxch st(2) ; v1 | v0 | u1-u0 | u0 - fsub st(0),st(1) ; v1-v0 | v0 | u1-u0 | u0 - fdivp st(2),st(0) ; v0 | ustep | u0 - -; r_emitted = 1; - mov ds:dword ptr[_r_emitted],1 - -; edge = edge_p++; - mov ds:dword ptr[_edge_p],edx - -; pretouch next edge - mov eax,ds:dword ptr[edx] - -; v = ceilv0; -; v2 = r_ceilv1 - 1; - dec ecx - -; edge->surfs[0] = surface_p - surfaces; -; edge->surfs[1] = 0; - mov eax,ds:dword ptr[_surface_p] - mov esi,ds:dword ptr[_surfaces] - sub edx,edx - sub eax,esi - shr eax,offset SURF_T_SHIFT - mov ds:dword ptr[et_surfs+2+edi],edx - mov ds:dword ptr[et_surfs+edi],eax - - mov esi,1 - -; u = u0 + ((float)v - v0) * u_step; - mov ds:dword ptr[Lv],ebx - fild ds:dword ptr[Lv] ; v | v0 | ustep | u0 - fsubrp st(1),st(0) ; v-v0 | ustep | u0 - fmul st(0),st(1) ; (v-v0)*ustep | ustep | u0 - faddp st(2),st(0) ; ustep | u - fxch st(1) ; u | ustep - -; } - -LSideDone: - -; edge->u_step = u_step*0x100000; -; edge->u = u*0x100000 + 0xFFFFF; - - fmul ds:dword ptr[fp_1m] ; u*0x100000 | ustep - fxch st(1) ; ustep | u*0x100000 - fmul ds:dword ptr[fp_1m] ; ustep*0x100000 | u*0x100000 - fxch st(1) ; u*0x100000 | ustep*0x100000 - fadd ds:dword ptr[fp_1m_minus_1] ; u*0x100000 + 0xFFFFF | ustep*0x100000 - fxch st(1) ; ustep*0x100000 | u*0x100000 + 0xFFFFF - fistp ds:dword ptr[et_u_step+edi] ; u*0x100000 + 0xFFFFF - fistp ds:dword ptr[et_u+edi] - -; // we need to do this to avoid stepping off the edges if a very nearly -; // horizontal edge is less than epsilon above a scan, and numeric error -; // causes it to incorrectly extend to the scan, and the extension of the -; // line goes off the edge of the screen -; // FIXME: is this actually needed? -; if (edge->u < r_refdef.vrect_x_adj_shift20) -; edge->u = r_refdef.vrect_x_adj_shift20; -; if (edge->u > r_refdef.vrectright_adj_shift20) -; edge->u = r_refdef.vrectright_adj_shift20; - mov eax,ds:dword ptr[et_u+edi] - mov edx,ds:dword ptr[_r_refdef+rd_vrect_x_adj_shift20] - cmp eax,edx - jl LP4 - mov edx,ds:dword ptr[_r_refdef+rd_vrectright_adj_shift20] - cmp eax,edx - jng LP5 -LP4: - mov ds:dword ptr[et_u+edi],edx - mov eax,edx -LP5: - -; // sort the edge in normally -; u_check = edge->u; -; -; if (edge->surfs[0]) -; u_check++; // sort trailers after leaders - add eax,esi - -; if (!newedges[v] || newedges[v]->u >= u_check) -; { - mov esi,ds:dword ptr[_newedges+ebx*4] - test esi,esi - jz LDoFirst - cmp ds:dword ptr[et_u+esi],eax - jl LNotFirst -LDoFirst: - -; edge->next = newedges[v]; -; newedges[v] = edge; - mov ds:dword ptr[et_next+edi],esi - mov ds:dword ptr[_newedges+ebx*4],edi - - jmp LSetRemove - -; } - -LNotFirst: - -; else -; { -; pcheck = newedges[v]; -; -; while (pcheck->next && pcheck->next->u < u_check) -; pcheck = pcheck->next; -LFindInsertLoop: - mov edx,esi - mov esi,ds:dword ptr[et_next+esi] - test esi,esi - jz LInsertFound - cmp ds:dword ptr[et_u+esi],eax - jl LFindInsertLoop - -LInsertFound: - -; edge->next = pcheck->next; -; pcheck->next = edge; - mov ds:dword ptr[et_next+edi],esi - mov ds:dword ptr[et_next+edx],edi - -; } - -LSetRemove: - -; edge->nextremove = removeedges[v2]; -; removeedges[v2] = edge; - mov eax,ds:dword ptr[_removeedges+ecx*4] - mov ds:dword ptr[_removeedges+ecx*4],edi - mov ds:dword ptr[et_nextremove+edi],eax - -Ldone: - mov esp,ds:dword ptr[Lstack] ; clear temporary variables from stack - - pop ebx ; restore register variables - pop edi - pop esi - ret - -; at least one point is clipped - -Lp2: - test eax,eax - jns Lp1 - -; else -; { -; // point 0 is clipped - -; if (d1 < 0) -; { - mov eax,ds:dword ptr[Ld1] - test eax,eax - jns Lp3 - -; // both points are clipped -; // we do cache fully clipped edges -; if (!leftclipped) - mov eax,ds:dword ptr[_r_leftclipped] - mov ecx,ds:dword ptr[_r_pedge] - test eax,eax - jnz Ldone - -; r_pedge->framecount = r_framecount; - mov eax,ds:dword ptr[_r_framecount] - and eax,offset FRAMECOUNT_MASK - or eax,offset FULLY_CLIPPED_CACHED - mov ds:dword ptr[_cacheoffset],eax - -; return; - jmp Ldone - -; } - -Lp1: - -; // point 0 is unclipped -; if (d1 >= 0) -; { -; // both points are unclipped -; continue; - -; // only point 1 is clipped - -; f = d0 / (d0 - d1); - fld ds:dword ptr[Ld0] - fld ds:dword ptr[Ld1] - fsubr st(0),st(1) - -; // we don't cache partially clipped edges - mov ds:dword ptr[_cacheoffset],07FFFFFFFh - - fdivp st(1),st(0) - - sub esp,offset mv_size ; allocate space for clipvert - -; clipvert.position[0] = pv0->position[0] + -; f * (pv1->position[0] - pv0->position[0]); -; clipvert.position[1] = pv0->position[1] + -; f * (pv1->position[1] - pv0->position[1]); -; clipvert.position[2] = pv0->position[2] + -; f * (pv1->position[2] - pv0->position[2]); - fld ds:dword ptr[mv_position+8+edx] - fsub ds:dword ptr[mv_position+8+esi] - fld ds:dword ptr[mv_position+4+edx] - fsub ds:dword ptr[mv_position+4+esi] - fld ds:dword ptr[mv_position+0+edx] - fsub ds:dword ptr[mv_position+0+esi] ; 0 | 1 | 2 - -; replace pv1 with the clip point - mov edx,esp - mov eax,ds:dword ptr[cp_leftedge+ebx] - test al,al - - fmul st(0),st(3) - fxch st(1) ; 1 | 0 | 2 - fmul st(0),st(3) - fxch st(2) ; 2 | 0 | 1 - fmulp st(3),st(0) ; 0 | 1 | 2 - fadd ds:dword ptr[mv_position+0+esi] - fxch st(1) ; 1 | 0 | 2 - fadd ds:dword ptr[mv_position+4+esi] - fxch st(2) ; 2 | 0 | 1 - fadd ds:dword ptr[mv_position+8+esi] - fxch st(1) ; 0 | 2 | 1 - fstp ds:dword ptr[mv_position+0+esp] ; 2 | 1 - fstp ds:dword ptr[mv_position+8+esp] ; 1 - fstp ds:dword ptr[mv_position+4+esp] - -; if (clip->leftedge) -; { - jz Ltestright - -; r_leftclipped = true; -; r_leftexit = clipvert; - mov ds:dword ptr[_r_leftclipped],1 - mov eax,ds:dword ptr[mv_position+0+esp] - mov ds:dword ptr[_r_leftexit+mv_position+0],eax - mov eax,ds:dword ptr[mv_position+4+esp] - mov ds:dword ptr[_r_leftexit+mv_position+4],eax - mov eax,ds:dword ptr[mv_position+8+esp] - mov ds:dword ptr[_r_leftexit+mv_position+8],eax - - jmp Lcontinue - -; } - -Ltestright: -; else if (clip->rightedge) -; { - test ah,ah - jz Lcontinue - -; r_rightclipped = true; -; r_rightexit = clipvert; - mov ds:dword ptr[_r_rightclipped],1 - mov eax,ds:dword ptr[mv_position+0+esp] - mov ds:dword ptr[_r_rightexit+mv_position+0],eax - mov eax,ds:dword ptr[mv_position+4+esp] - mov ds:dword ptr[_r_rightexit+mv_position+4],eax - mov eax,ds:dword ptr[mv_position+8+esp] - mov ds:dword ptr[_r_rightexit+mv_position+8],eax - -; } -; -; R_ClipEdge (pv0, &clipvert, clip->next); -; return; -; } - jmp Lcontinue - -; } - -Lp3: - -; // only point 0 is clipped -; r_lastvertvalid = false; - - mov ds:dword ptr[_r_lastvertvalid],0 - -; f = d0 / (d0 - d1); - fld ds:dword ptr[Ld0] - fld ds:dword ptr[Ld1] - fsubr st(0),st(1) - -; // we don't cache partially clipped edges - mov ds:dword ptr[_cacheoffset],07FFFFFFFh - - fdivp st(1),st(0) - - sub esp,offset mv_size ; allocate space for clipvert - -; clipvert.position[0] = pv0->position[0] + -; f * (pv1->position[0] - pv0->position[0]); -; clipvert.position[1] = pv0->position[1] + -; f * (pv1->position[1] - pv0->position[1]); -; clipvert.position[2] = pv0->position[2] + -; f * (pv1->position[2] - pv0->position[2]); - fld ds:dword ptr[mv_position+8+edx] - fsub ds:dword ptr[mv_position+8+esi] - fld ds:dword ptr[mv_position+4+edx] - fsub ds:dword ptr[mv_position+4+esi] - fld ds:dword ptr[mv_position+0+edx] - fsub ds:dword ptr[mv_position+0+esi] ; 0 | 1 | 2 - - mov eax,ds:dword ptr[cp_leftedge+ebx] - test al,al - - fmul st(0),st(3) - fxch st(1) ; 1 | 0 | 2 - fmul st(0),st(3) - fxch st(2) ; 2 | 0 | 1 - fmulp st(3),st(0) ; 0 | 1 | 2 - fadd ds:dword ptr[mv_position+0+esi] - fxch st(1) ; 1 | 0 | 2 - fadd ds:dword ptr[mv_position+4+esi] - fxch st(2) ; 2 | 0 | 1 - fadd ds:dword ptr[mv_position+8+esi] - fxch st(1) ; 0 | 2 | 1 - fstp ds:dword ptr[mv_position+0+esp] ; 2 | 1 - fstp ds:dword ptr[mv_position+8+esp] ; 1 - fstp ds:dword ptr[mv_position+4+esp] - -; replace pv0 with the clip point - mov esi,esp - -; if (clip->leftedge) -; { - jz Ltestright2 - -; r_leftclipped = true; -; r_leftenter = clipvert; - mov ds:dword ptr[_r_leftclipped],1 - mov eax,ds:dword ptr[mv_position+0+esp] - mov ds:dword ptr[_r_leftenter+mv_position+0],eax - mov eax,ds:dword ptr[mv_position+4+esp] - mov ds:dword ptr[_r_leftenter+mv_position+4],eax - mov eax,ds:dword ptr[mv_position+8+esp] - mov ds:dword ptr[_r_leftenter+mv_position+8],eax - - jmp Lcontinue - -; } - -Ltestright2: -; else if (clip->rightedge) -; { - test ah,ah - jz Lcontinue - -; r_rightclipped = true; -; r_rightenter = clipvert; - mov ds:dword ptr[_r_rightclipped],1 - mov eax,ds:dword ptr[mv_position+0+esp] - mov ds:dword ptr[_r_rightenter+mv_position+0],eax - mov eax,ds:dword ptr[mv_position+4+esp] - mov ds:dword ptr[_r_rightenter+mv_position+4],eax - mov eax,ds:dword ptr[mv_position+8+esp] - mov ds:dword ptr[_r_rightenter+mv_position+8],eax - -; } - jmp Lcontinue - -; %esi = vec3_t point to transform and project -; %edx preserved -LTransformAndProject: - -; // transform and project -; VectorSubtract (world, modelorg, local); - fld ds:dword ptr[mv_position+0+esi] - fsub ds:dword ptr[_modelorg+0] - fld ds:dword ptr[mv_position+4+esi] - fsub ds:dword ptr[_modelorg+4] - fld ds:dword ptr[mv_position+8+esi] - fsub ds:dword ptr[_modelorg+8] - fxch st(2) ; local[0] | local[1] | local[2] - -; TransformVector (local, transformed); -; -; if (transformed[2] < NEAR_CLIP) -; transformed[2] = NEAR_CLIP; -; -; lzi0 = 1.0 / transformed[2]; - fld st(0) ; local[0] | local[0] | local[1] | local[2] - fmul ds:dword ptr[_vpn+0] ; zm0 | local[0] | local[1] | local[2] - fld st(1) ; local[0] | zm0 | local[0] | local[1] | -; local[2] - fmul ds:dword ptr[_vright+0] ; xm0 | zm0 | local[0] | local[1] | local[2] - fxch st(2) ; local[0] | zm0 | xm0 | local[1] | local[2] - fmul ds:dword ptr[_vup+0] ; ym0 | zm0 | xm0 | local[1] | local[2] - fld st(3) ; local[1] | ym0 | zm0 | xm0 | local[1] | -; local[2] - fmul ds:dword ptr[_vpn+4] ; zm1 | ym0 | zm0 | xm0 | local[1] | -; local[2] - fld st(4) ; local[1] | zm1 | ym0 | zm0 | xm0 | -; local[1] | local[2] - fmul ds:dword ptr[_vright+4] ; xm1 | zm1 | ym0 | zm0 | xm0 | -; local[1] | local[2] - fxch st(5) ; local[1] | zm1 | ym0 | zm0 | xm0 | -; xm1 | local[2] - fmul ds:dword ptr[_vup+4] ; ym1 | zm1 | ym0 | zm0 | xm0 | -; xm1 | local[2] - fxch st(1) ; zm1 | ym1 | ym0 | zm0 | xm0 | -; xm1 | local[2] - faddp st(3),st(0) ; ym1 | ym0 | zm2 | xm0 | xm1 | local[2] - fxch st(3) ; xm0 | ym0 | zm2 | ym1 | xm1 | local[2] - faddp st(4),st(0) ; ym0 | zm2 | ym1 | xm2 | local[2] - faddp st(2),st(0) ; zm2 | ym2 | xm2 | local[2] - fld st(3) ; local[2] | zm2 | ym2 | xm2 | local[2] - fmul ds:dword ptr[_vpn+8] ; zm3 | zm2 | ym2 | xm2 | local[2] - fld st(4) ; local[2] | zm3 | zm2 | ym2 | xm2 | local[2] - fmul ds:dword ptr[_vright+8] ; xm3 | zm3 | zm2 | ym2 | xm2 | local[2] - fxch st(5) ; local[2] | zm3 | zm2 | ym2 | xm2 | xm3 - fmul ds:dword ptr[_vup+8] ; ym3 | zm3 | zm2 | ym2 | xm2 | xm3 - fxch st(1) ; zm3 | ym3 | zm2 | ym2 | xm2 | xm3 - faddp st(2),st(0) ; ym3 | zm4 | ym2 | xm2 | xm3 - fxch st(4) ; xm3 | zm4 | ym2 | xm2 | ym3 - faddp st(3),st(0) ; zm4 | ym2 | xm4 | ym3 - fxch st(1) ; ym2 | zm4 | xm4 | ym3 - faddp st(3),st(0) ; zm4 | xm4 | ym4 - - fcom ds:dword ptr[Lfp_near_clip] - fnstsw ax - test ah,1 - jz LNoClip - fstp st(0) - fld ds:dword ptr[Lfp_near_clip] - -LNoClip: - - fdivr ds:dword ptr[float_1] ; lzi0 | x | y - fxch st(1) ; x | lzi0 | y - -; // FIXME: build x/yscale into transform? -; scale = xscale * lzi0; -; u0 = (xcenter + scale*transformed[0]); - fld ds:dword ptr[_xscale] ; xscale | x | lzi0 | y - fmul st(0),st(2) ; scale | x | lzi0 | y - fmulp st(1),st(0) ; scale*x | lzi0 | y - fadd ds:dword ptr[_xcenter] ; u0 | lzi0 | y - -; if (u0 < r_refdef.fvrectx_adj) -; u0 = r_refdef.fvrectx_adj; -; if (u0 > r_refdef.fvrectright_adj) -; u0 = r_refdef.fvrectright_adj; -; FIXME: use integer compares of floats? - fcom ds:dword ptr[_r_refdef+rd_fvrectx_adj] - fnstsw ax - test ah,1 - jz LClampP0 - fstp st(0) - fld ds:dword ptr[_r_refdef+rd_fvrectx_adj] -LClampP0: - fcom ds:dword ptr[_r_refdef+rd_fvrectright_adj] - fnstsw ax - test ah,045h - jnz LClampP1 - fstp st(0) - fld ds:dword ptr[_r_refdef+rd_fvrectright_adj] -LClampP1: - - fld st(1) ; lzi0 | u0 | lzi0 | y - -; scale = yscale * lzi0; -; v0 = (ycenter - scale*transformed[1]); - fmul ds:dword ptr[_yscale] ; scale | u0 | lzi0 | y - fmulp st(3),st(0) ; u0 | lzi0 | scale*y - fxch st(2) ; scale*y | lzi0 | u0 - fsubr ds:dword ptr[_ycenter] ; v0 | lzi0 | u0 - -; if (v0 < r_refdef.fvrecty_adj) -; v0 = r_refdef.fvrecty_adj; -; if (v0 > r_refdef.fvrectbottom_adj) -; v0 = r_refdef.fvrectbottom_adj; -; FIXME: use integer compares of floats? - fcom ds:dword ptr[_r_refdef+rd_fvrecty_adj] - fnstsw ax - test ah,1 - jz LClampP2 - fstp st(0) - fld ds:dword ptr[_r_refdef+rd_fvrecty_adj] -LClampP2: - fcom ds:dword ptr[_r_refdef+rd_fvrectbottom_adj] - fnstsw ax - test ah,045h - jnz LClampP3 - fstp st(0) - fld ds:dword ptr[_r_refdef+rd_fvrectbottom_adj] -LClampP3: - ret - - -_TEXT ENDS -endif ;id386 - END + .386P + .model FLAT +; +; r_drawa.s +; x86 assembly-language edge clipping and emission code +; + +include qasm.inc +include d_if.inc + +if id386 + +; !!! if these are changed, they must be changed in r_draw.c too !!! +FULLY_CLIPPED_CACHED equ 080000000h +FRAMECOUNT_MASK equ 07FFFFFFFh + +_DATA SEGMENT + +Ld0 dd 0.0 +Ld1 dd 0.0 +Lstack dd 0 +Lfp_near_clip dd NEAR_CLIP +Lceilv0 dd 0 +Lv dd 0 +Lu0 dd 0 +Lv0 dd 0 +Lzi0 dd 0 + +_DATA ENDS +_TEXT SEGMENT + +;---------------------------------------------------------------------- +; edge clipping code +;---------------------------------------------------------------------- + +pv0 equ 4+12 +pv1 equ 8+12 +clip equ 12+12 + + align 4 + public _R_ClipEdge +_R_ClipEdge: + push esi ; preserve register variables + push edi + push ebx + mov ds:dword ptr[Lstack],esp ; for clearing the stack later + +; float d0, d1, f; +; mvertex_t clipvert; + + mov ebx,ds:dword ptr[clip+esp] + mov esi,ds:dword ptr[pv0+esp] + mov edx,ds:dword ptr[pv1+esp] + +; if (clip) +; { + test ebx,ebx + jz Lemit + +; do +; { + +Lcliploop: + +; d0 = DotProduct (pv0->position, clip->normal) - clip->dist; +; d1 = DotProduct (pv1->position, clip->normal) - clip->dist; + fld ds:dword ptr[mv_position+0+esi] + fmul ds:dword ptr[cp_normal+0+ebx] + fld ds:dword ptr[mv_position+4+esi] + fmul ds:dword ptr[cp_normal+4+ebx] + fld ds:dword ptr[mv_position+8+esi] + fmul ds:dword ptr[cp_normal+8+ebx] + fxch st(1) + faddp st(2),st(0) ; d0mul2 | d0add0 + + fld ds:dword ptr[mv_position+0+edx] + fmul ds:dword ptr[cp_normal+0+ebx] + fld ds:dword ptr[mv_position+4+edx] + fmul ds:dword ptr[cp_normal+4+ebx] + fld ds:dword ptr[mv_position+8+edx] + fmul ds:dword ptr[cp_normal+8+ebx] + fxch st(1) + faddp st(2),st(0) ; d1mul2 | d1add0 | d0mul2 | d0add0 + fxch st(3) ; d0add0 | d1add0 | d0mul2 | d1mul2 + + faddp st(2),st(0) ; d1add0 | dot0 | d1mul2 + faddp st(2),st(0) ; dot0 | dot1 + + fsub ds:dword ptr[cp_dist+ebx] ; d0 | dot1 + fxch st(1) ; dot1 | d0 + fsub ds:dword ptr[cp_dist+ebx] ; d1 | d0 + fxch st(1) + fstp ds:dword ptr[Ld0] + fstp ds:dword ptr[Ld1] + +; if (d0 >= 0) +; { + mov eax,ds:dword ptr[Ld0] + mov ecx,ds:dword ptr[Ld1] + or ecx,eax + js Lp2 + +; both points are unclipped + +Lcontinue: + +; +; R_ClipEdge (&clipvert, pv1, clip->next); +; return; +; } +; } while ((clip = clip->next) != NULL); + mov ebx,ds:dword ptr[cp_next+ebx] + test ebx,ebx + jnz Lcliploop + +; } + +;// add the edge +; R_EmitEdge (pv0, pv1); +Lemit: + +; +; set integer rounding to ceil mode, set to single precision +; +; FIXME: do away with by manually extracting integers from floats? +; FIXME: set less often + fldcw ds:word ptr[_fpu_ceil_cw] + +; edge_t *edge, *pcheck; +; int u_check; +; float u, u_step; +; vec3_t local, transformed; +; float *world; +; int v, v2, ceilv0; +; float scale, lzi0, u0, v0; +; int side; + +; if (r_lastvertvalid) +; { + cmp ds:dword ptr[_r_lastvertvalid],0 + jz LCalcFirst + +; u0 = r_u1; +; v0 = r_v1; +; lzi0 = r_lzi1; +; ceilv0 = r_ceilv1; + mov eax,ds:dword ptr[_r_lzi1] + mov ecx,ds:dword ptr[_r_u1] + mov ds:dword ptr[Lzi0],eax + mov ds:dword ptr[Lu0],ecx + mov ecx,ds:dword ptr[_r_v1] + mov eax,ds:dword ptr[_r_ceilv1] + mov ds:dword ptr[Lv0],ecx + mov ds:dword ptr[Lceilv0],eax + jmp LCalcSecond + +; } + +LCalcFirst: + +; else +; { +; world = &pv0->position[0]; + + call near ptr LTransformAndProject ; v0 | lzi0 | u0 + + fst ds:dword ptr[Lv0] + fxch st(2) ; u0 | lzi0 | v0 + fstp ds:dword ptr[Lu0] ; lzi0 | v0 + fstp ds:dword ptr[Lzi0] ; v0 + +; ceilv0 = (int)(v0 - 2000) + 2000; // ceil(v0); + fistp ds:dword ptr[Lceilv0] + +; } + +LCalcSecond: + +; world = &pv1->position[0]; + mov esi,edx + + call near ptr LTransformAndProject ; v1 | lzi1 | u1 + + fld ds:dword ptr[Lu0] ; u0 | v1 | lzi1 | u1 + fxch st(3) ; u1 | v1 | lzi1 | u0 + fld ds:dword ptr[Lzi0] ; lzi0 | u1 | v1 | lzi1 | u0 + fxch st(3) ; lzi1 | u1 | v1 | lzi0 | u0 + fld ds:dword ptr[Lv0] ; v0 | lzi1 | u1 | v1 | lzi0 | u0 + fxch st(3) ; v1 | lzi1 | u1 | v0 | lzi0 | u0 + +; r_ceilv1 = (int)(r_v1 - 2000) + 2000; // ceil(r_v1); + fist ds:dword ptr[_r_ceilv1] + + fldcw ds:word ptr[_fpu_chop_cw] ; put back normal floating-point state + + fst ds:dword ptr[_r_v1] + fxch st(4) ; lzi0 | lzi1 | u1 | v0 | v1 | u0 + +; if (r_lzi1 > lzi0) +; lzi0 = r_lzi1; + fcom st(1) + fnstsw ax + test ah,1 + jz LP0 + fstp st(0) + fld st(0) +LP0: + + fxch st(1) ; lzi1 | lzi0 | u1 | v0 | v1 | u0 + fstp ds:dword ptr[_r_lzi1] ; lzi0 | u1 | v0 | v1 | u0 + fxch st(1) + fst ds:dword ptr[_r_u1] + fxch st(1) + +; if (lzi0 > r_nearzi) // for mipmap finding +; r_nearzi = lzi0; + fcom ds:dword ptr[_r_nearzi] + fnstsw ax + test ah,045h + jnz LP1 + fst ds:dword ptr[_r_nearzi] +LP1: + +; // for right edges, all we want is the effect on 1/z +; if (r_nearzionly) +; return; + mov eax,ds:dword ptr[_r_nearzionly] + test eax,eax + jz LP2 +LPop5AndDone: + mov eax,ds:dword ptr[_cacheoffset] + mov edx,ds:dword ptr[_r_framecount] + cmp eax,07FFFFFFFh + jz LDoPop + and edx,offset FRAMECOUNT_MASK + or edx,offset FULLY_CLIPPED_CACHED + mov ds:dword ptr[_cacheoffset],edx + +LDoPop: + fstp st(0) ; u1 | v0 | v1 | u0 + fstp st(0) ; v0 | v1 | u0 + fstp st(0) ; v1 | u0 + fstp st(0) ; u0 + fstp st(0) + jmp Ldone + +LP2: + +; // create the edge +; if (ceilv0 == r_ceilv1) +; return; // horizontal edge + mov ebx,ds:dword ptr[Lceilv0] + mov edi,ds:dword ptr[_edge_p] + mov ecx,ds:dword ptr[_r_ceilv1] + mov edx,edi + mov esi,ds:dword ptr[_r_pedge] + add edx,offset et_size + cmp ebx,ecx + jz LPop5AndDone + + mov eax,ds:dword ptr[_r_pedge] + mov ds:dword ptr[et_owner+edi],eax + +; side = ceilv0 > r_ceilv1; +; +; edge->nearzi = lzi0; + fstp ds:dword ptr[et_nearzi+edi] ; u1 | v0 | v1 | u0 + +; if (side == 1) +; { + jc LSide0 + +LSide1: + +; // leading edge (go from p2 to p1) + +; u_step = ((u0 - r_u1) / (v0 - r_v1)); + fsubp st(3),st(0) ; v0 | v1 | u0-u1 + fsub st(0),st(1) ; v0-v1 | v1 | u0-u1 + fdivp st(2),st(0) ; v1 | ustep + +; r_emitted = 1; + mov ds:dword ptr[_r_emitted],1 + +; edge = edge_p++; + mov ds:dword ptr[_edge_p],edx + +; pretouch next edge + mov eax,ds:dword ptr[edx] + +; v2 = ceilv0 - 1; +; v = r_ceilv1; + mov eax,ecx + lea ecx,ds:dword ptr[-1+ebx] + mov ebx,eax + +; edge->surfs[0] = 0; +; edge->surfs[1] = surface_p - surfaces; + mov eax,ds:dword ptr[_surface_p] + mov esi,ds:dword ptr[_surfaces] + sub edx,edx + sub eax,esi + shr eax,offset SURF_T_SHIFT + mov ds:dword ptr[et_surfs+edi],edx + mov ds:dword ptr[et_surfs+2+edi],eax + + sub esi,esi + +; u = r_u1 + ((float)v - r_v1) * u_step; + mov ds:dword ptr[Lv],ebx + fild ds:dword ptr[Lv] ; v | v1 | ustep + fsubrp st(1),st(0) ; v-v1 | ustep + fmul st(0),st(1) ; (v-v1)*ustep | ustep + fadd ds:dword ptr[_r_u1] ; u | ustep + + jmp LSideDone + +; } + +LSide0: + +; else +; { +; // trailing edge (go from p1 to p2) + +; u_step = ((r_u1 - u0) / (r_v1 - v0)); + fsub st(0),st(3) ; u1-u0 | v0 | v1 | u0 + fxch st(2) ; v1 | v0 | u1-u0 | u0 + fsub st(0),st(1) ; v1-v0 | v0 | u1-u0 | u0 + fdivp st(2),st(0) ; v0 | ustep | u0 + +; r_emitted = 1; + mov ds:dword ptr[_r_emitted],1 + +; edge = edge_p++; + mov ds:dword ptr[_edge_p],edx + +; pretouch next edge + mov eax,ds:dword ptr[edx] + +; v = ceilv0; +; v2 = r_ceilv1 - 1; + dec ecx + +; edge->surfs[0] = surface_p - surfaces; +; edge->surfs[1] = 0; + mov eax,ds:dword ptr[_surface_p] + mov esi,ds:dword ptr[_surfaces] + sub edx,edx + sub eax,esi + shr eax,offset SURF_T_SHIFT + mov ds:dword ptr[et_surfs+2+edi],edx + mov ds:dword ptr[et_surfs+edi],eax + + mov esi,1 + +; u = u0 + ((float)v - v0) * u_step; + mov ds:dword ptr[Lv],ebx + fild ds:dword ptr[Lv] ; v | v0 | ustep | u0 + fsubrp st(1),st(0) ; v-v0 | ustep | u0 + fmul st(0),st(1) ; (v-v0)*ustep | ustep | u0 + faddp st(2),st(0) ; ustep | u + fxch st(1) ; u | ustep + +; } + +LSideDone: + +; edge->u_step = u_step*0x100000; +; edge->u = u*0x100000 + 0xFFFFF; + + fmul ds:dword ptr[fp_1m] ; u*0x100000 | ustep + fxch st(1) ; ustep | u*0x100000 + fmul ds:dword ptr[fp_1m] ; ustep*0x100000 | u*0x100000 + fxch st(1) ; u*0x100000 | ustep*0x100000 + fadd ds:dword ptr[fp_1m_minus_1] ; u*0x100000 + 0xFFFFF | ustep*0x100000 + fxch st(1) ; ustep*0x100000 | u*0x100000 + 0xFFFFF + fistp ds:dword ptr[et_u_step+edi] ; u*0x100000 + 0xFFFFF + fistp ds:dword ptr[et_u+edi] + +; // we need to do this to avoid stepping off the edges if a very nearly +; // horizontal edge is less than epsilon above a scan, and numeric error +; // causes it to incorrectly extend to the scan, and the extension of the +; // line goes off the edge of the screen +; // FIXME: is this actually needed? +; if (edge->u < r_refdef.vrect_x_adj_shift20) +; edge->u = r_refdef.vrect_x_adj_shift20; +; if (edge->u > r_refdef.vrectright_adj_shift20) +; edge->u = r_refdef.vrectright_adj_shift20; + mov eax,ds:dword ptr[et_u+edi] + mov edx,ds:dword ptr[_r_refdef+rd_vrect_x_adj_shift20] + cmp eax,edx + jl LP4 + mov edx,ds:dword ptr[_r_refdef+rd_vrectright_adj_shift20] + cmp eax,edx + jng LP5 +LP4: + mov ds:dword ptr[et_u+edi],edx + mov eax,edx +LP5: + +; // sort the edge in normally +; u_check = edge->u; +; +; if (edge->surfs[0]) +; u_check++; // sort trailers after leaders + add eax,esi + +; if (!newedges[v] || newedges[v]->u >= u_check) +; { + mov esi,ds:dword ptr[_newedges+ebx*4] + test esi,esi + jz LDoFirst + cmp ds:dword ptr[et_u+esi],eax + jl LNotFirst +LDoFirst: + +; edge->next = newedges[v]; +; newedges[v] = edge; + mov ds:dword ptr[et_next+edi],esi + mov ds:dword ptr[_newedges+ebx*4],edi + + jmp LSetRemove + +; } + +LNotFirst: + +; else +; { +; pcheck = newedges[v]; +; +; while (pcheck->next && pcheck->next->u < u_check) +; pcheck = pcheck->next; +LFindInsertLoop: + mov edx,esi + mov esi,ds:dword ptr[et_next+esi] + test esi,esi + jz LInsertFound + cmp ds:dword ptr[et_u+esi],eax + jl LFindInsertLoop + +LInsertFound: + +; edge->next = pcheck->next; +; pcheck->next = edge; + mov ds:dword ptr[et_next+edi],esi + mov ds:dword ptr[et_next+edx],edi + +; } + +LSetRemove: + +; edge->nextremove = removeedges[v2]; +; removeedges[v2] = edge; + mov eax,ds:dword ptr[_removeedges+ecx*4] + mov ds:dword ptr[_removeedges+ecx*4],edi + mov ds:dword ptr[et_nextremove+edi],eax + +Ldone: + mov esp,ds:dword ptr[Lstack] ; clear temporary variables from stack + + pop ebx ; restore register variables + pop edi + pop esi + ret + +; at least one point is clipped + +Lp2: + test eax,eax + jns Lp1 + +; else +; { +; // point 0 is clipped + +; if (d1 < 0) +; { + mov eax,ds:dword ptr[Ld1] + test eax,eax + jns Lp3 + +; // both points are clipped +; // we do cache fully clipped edges +; if (!leftclipped) + mov eax,ds:dword ptr[_r_leftclipped] + mov ecx,ds:dword ptr[_r_pedge] + test eax,eax + jnz Ldone + +; r_pedge->framecount = r_framecount; + mov eax,ds:dword ptr[_r_framecount] + and eax,offset FRAMECOUNT_MASK + or eax,offset FULLY_CLIPPED_CACHED + mov ds:dword ptr[_cacheoffset],eax + +; return; + jmp Ldone + +; } + +Lp1: + +; // point 0 is unclipped +; if (d1 >= 0) +; { +; // both points are unclipped +; continue; + +; // only point 1 is clipped + +; f = d0 / (d0 - d1); + fld ds:dword ptr[Ld0] + fld ds:dword ptr[Ld1] + fsubr st(0),st(1) + +; // we don't cache partially clipped edges + mov ds:dword ptr[_cacheoffset],07FFFFFFFh + + fdivp st(1),st(0) + + sub esp,offset mv_size ; allocate space for clipvert + +; clipvert.position[0] = pv0->position[0] + +; f * (pv1->position[0] - pv0->position[0]); +; clipvert.position[1] = pv0->position[1] + +; f * (pv1->position[1] - pv0->position[1]); +; clipvert.position[2] = pv0->position[2] + +; f * (pv1->position[2] - pv0->position[2]); + fld ds:dword ptr[mv_position+8+edx] + fsub ds:dword ptr[mv_position+8+esi] + fld ds:dword ptr[mv_position+4+edx] + fsub ds:dword ptr[mv_position+4+esi] + fld ds:dword ptr[mv_position+0+edx] + fsub ds:dword ptr[mv_position+0+esi] ; 0 | 1 | 2 + +; replace pv1 with the clip point + mov edx,esp + mov eax,ds:dword ptr[cp_leftedge+ebx] + test al,al + + fmul st(0),st(3) + fxch st(1) ; 1 | 0 | 2 + fmul st(0),st(3) + fxch st(2) ; 2 | 0 | 1 + fmulp st(3),st(0) ; 0 | 1 | 2 + fadd ds:dword ptr[mv_position+0+esi] + fxch st(1) ; 1 | 0 | 2 + fadd ds:dword ptr[mv_position+4+esi] + fxch st(2) ; 2 | 0 | 1 + fadd ds:dword ptr[mv_position+8+esi] + fxch st(1) ; 0 | 2 | 1 + fstp ds:dword ptr[mv_position+0+esp] ; 2 | 1 + fstp ds:dword ptr[mv_position+8+esp] ; 1 + fstp ds:dword ptr[mv_position+4+esp] + +; if (clip->leftedge) +; { + jz Ltestright + +; r_leftclipped = true; +; r_leftexit = clipvert; + mov ds:dword ptr[_r_leftclipped],1 + mov eax,ds:dword ptr[mv_position+0+esp] + mov ds:dword ptr[_r_leftexit+mv_position+0],eax + mov eax,ds:dword ptr[mv_position+4+esp] + mov ds:dword ptr[_r_leftexit+mv_position+4],eax + mov eax,ds:dword ptr[mv_position+8+esp] + mov ds:dword ptr[_r_leftexit+mv_position+8],eax + + jmp Lcontinue + +; } + +Ltestright: +; else if (clip->rightedge) +; { + test ah,ah + jz Lcontinue + +; r_rightclipped = true; +; r_rightexit = clipvert; + mov ds:dword ptr[_r_rightclipped],1 + mov eax,ds:dword ptr[mv_position+0+esp] + mov ds:dword ptr[_r_rightexit+mv_position+0],eax + mov eax,ds:dword ptr[mv_position+4+esp] + mov ds:dword ptr[_r_rightexit+mv_position+4],eax + mov eax,ds:dword ptr[mv_position+8+esp] + mov ds:dword ptr[_r_rightexit+mv_position+8],eax + +; } +; +; R_ClipEdge (pv0, &clipvert, clip->next); +; return; +; } + jmp Lcontinue + +; } + +Lp3: + +; // only point 0 is clipped +; r_lastvertvalid = false; + + mov ds:dword ptr[_r_lastvertvalid],0 + +; f = d0 / (d0 - d1); + fld ds:dword ptr[Ld0] + fld ds:dword ptr[Ld1] + fsubr st(0),st(1) + +; // we don't cache partially clipped edges + mov ds:dword ptr[_cacheoffset],07FFFFFFFh + + fdivp st(1),st(0) + + sub esp,offset mv_size ; allocate space for clipvert + +; clipvert.position[0] = pv0->position[0] + +; f * (pv1->position[0] - pv0->position[0]); +; clipvert.position[1] = pv0->position[1] + +; f * (pv1->position[1] - pv0->position[1]); +; clipvert.position[2] = pv0->position[2] + +; f * (pv1->position[2] - pv0->position[2]); + fld ds:dword ptr[mv_position+8+edx] + fsub ds:dword ptr[mv_position+8+esi] + fld ds:dword ptr[mv_position+4+edx] + fsub ds:dword ptr[mv_position+4+esi] + fld ds:dword ptr[mv_position+0+edx] + fsub ds:dword ptr[mv_position+0+esi] ; 0 | 1 | 2 + + mov eax,ds:dword ptr[cp_leftedge+ebx] + test al,al + + fmul st(0),st(3) + fxch st(1) ; 1 | 0 | 2 + fmul st(0),st(3) + fxch st(2) ; 2 | 0 | 1 + fmulp st(3),st(0) ; 0 | 1 | 2 + fadd ds:dword ptr[mv_position+0+esi] + fxch st(1) ; 1 | 0 | 2 + fadd ds:dword ptr[mv_position+4+esi] + fxch st(2) ; 2 | 0 | 1 + fadd ds:dword ptr[mv_position+8+esi] + fxch st(1) ; 0 | 2 | 1 + fstp ds:dword ptr[mv_position+0+esp] ; 2 | 1 + fstp ds:dword ptr[mv_position+8+esp] ; 1 + fstp ds:dword ptr[mv_position+4+esp] + +; replace pv0 with the clip point + mov esi,esp + +; if (clip->leftedge) +; { + jz Ltestright2 + +; r_leftclipped = true; +; r_leftenter = clipvert; + mov ds:dword ptr[_r_leftclipped],1 + mov eax,ds:dword ptr[mv_position+0+esp] + mov ds:dword ptr[_r_leftenter+mv_position+0],eax + mov eax,ds:dword ptr[mv_position+4+esp] + mov ds:dword ptr[_r_leftenter+mv_position+4],eax + mov eax,ds:dword ptr[mv_position+8+esp] + mov ds:dword ptr[_r_leftenter+mv_position+8],eax + + jmp Lcontinue + +; } + +Ltestright2: +; else if (clip->rightedge) +; { + test ah,ah + jz Lcontinue + +; r_rightclipped = true; +; r_rightenter = clipvert; + mov ds:dword ptr[_r_rightclipped],1 + mov eax,ds:dword ptr[mv_position+0+esp] + mov ds:dword ptr[_r_rightenter+mv_position+0],eax + mov eax,ds:dword ptr[mv_position+4+esp] + mov ds:dword ptr[_r_rightenter+mv_position+4],eax + mov eax,ds:dword ptr[mv_position+8+esp] + mov ds:dword ptr[_r_rightenter+mv_position+8],eax + +; } + jmp Lcontinue + +; %esi = vec3_t point to transform and project +; %edx preserved +LTransformAndProject: + +; // transform and project +; VectorSubtract (world, modelorg, local); + fld ds:dword ptr[mv_position+0+esi] + fsub ds:dword ptr[_modelorg+0] + fld ds:dword ptr[mv_position+4+esi] + fsub ds:dword ptr[_modelorg+4] + fld ds:dword ptr[mv_position+8+esi] + fsub ds:dword ptr[_modelorg+8] + fxch st(2) ; local[0] | local[1] | local[2] + +; TransformVector (local, transformed); +; +; if (transformed[2] < NEAR_CLIP) +; transformed[2] = NEAR_CLIP; +; +; lzi0 = 1.0 / transformed[2]; + fld st(0) ; local[0] | local[0] | local[1] | local[2] + fmul ds:dword ptr[_vpn+0] ; zm0 | local[0] | local[1] | local[2] + fld st(1) ; local[0] | zm0 | local[0] | local[1] | +; local[2] + fmul ds:dword ptr[_vright+0] ; xm0 | zm0 | local[0] | local[1] | local[2] + fxch st(2) ; local[0] | zm0 | xm0 | local[1] | local[2] + fmul ds:dword ptr[_vup+0] ; ym0 | zm0 | xm0 | local[1] | local[2] + fld st(3) ; local[1] | ym0 | zm0 | xm0 | local[1] | +; local[2] + fmul ds:dword ptr[_vpn+4] ; zm1 | ym0 | zm0 | xm0 | local[1] | +; local[2] + fld st(4) ; local[1] | zm1 | ym0 | zm0 | xm0 | +; local[1] | local[2] + fmul ds:dword ptr[_vright+4] ; xm1 | zm1 | ym0 | zm0 | xm0 | +; local[1] | local[2] + fxch st(5) ; local[1] | zm1 | ym0 | zm0 | xm0 | +; xm1 | local[2] + fmul ds:dword ptr[_vup+4] ; ym1 | zm1 | ym0 | zm0 | xm0 | +; xm1 | local[2] + fxch st(1) ; zm1 | ym1 | ym0 | zm0 | xm0 | +; xm1 | local[2] + faddp st(3),st(0) ; ym1 | ym0 | zm2 | xm0 | xm1 | local[2] + fxch st(3) ; xm0 | ym0 | zm2 | ym1 | xm1 | local[2] + faddp st(4),st(0) ; ym0 | zm2 | ym1 | xm2 | local[2] + faddp st(2),st(0) ; zm2 | ym2 | xm2 | local[2] + fld st(3) ; local[2] | zm2 | ym2 | xm2 | local[2] + fmul ds:dword ptr[_vpn+8] ; zm3 | zm2 | ym2 | xm2 | local[2] + fld st(4) ; local[2] | zm3 | zm2 | ym2 | xm2 | local[2] + fmul ds:dword ptr[_vright+8] ; xm3 | zm3 | zm2 | ym2 | xm2 | local[2] + fxch st(5) ; local[2] | zm3 | zm2 | ym2 | xm2 | xm3 + fmul ds:dword ptr[_vup+8] ; ym3 | zm3 | zm2 | ym2 | xm2 | xm3 + fxch st(1) ; zm3 | ym3 | zm2 | ym2 | xm2 | xm3 + faddp st(2),st(0) ; ym3 | zm4 | ym2 | xm2 | xm3 + fxch st(4) ; xm3 | zm4 | ym2 | xm2 | ym3 + faddp st(3),st(0) ; zm4 | ym2 | xm4 | ym3 + fxch st(1) ; ym2 | zm4 | xm4 | ym3 + faddp st(3),st(0) ; zm4 | xm4 | ym4 + + fcom ds:dword ptr[Lfp_near_clip] + fnstsw ax + test ah,1 + jz LNoClip + fstp st(0) + fld ds:dword ptr[Lfp_near_clip] + +LNoClip: + + fdivr ds:dword ptr[float_1] ; lzi0 | x | y + fxch st(1) ; x | lzi0 | y + +; // FIXME: build x/yscale into transform? +; scale = xscale * lzi0; +; u0 = (xcenter + scale*transformed[0]); + fld ds:dword ptr[_xscale] ; xscale | x | lzi0 | y + fmul st(0),st(2) ; scale | x | lzi0 | y + fmulp st(1),st(0) ; scale*x | lzi0 | y + fadd ds:dword ptr[_xcenter] ; u0 | lzi0 | y + +; if (u0 < r_refdef.fvrectx_adj) +; u0 = r_refdef.fvrectx_adj; +; if (u0 > r_refdef.fvrectright_adj) +; u0 = r_refdef.fvrectright_adj; +; FIXME: use integer compares of floats? + fcom ds:dword ptr[_r_refdef+rd_fvrectx_adj] + fnstsw ax + test ah,1 + jz LClampP0 + fstp st(0) + fld ds:dword ptr[_r_refdef+rd_fvrectx_adj] +LClampP0: + fcom ds:dword ptr[_r_refdef+rd_fvrectright_adj] + fnstsw ax + test ah,045h + jnz LClampP1 + fstp st(0) + fld ds:dword ptr[_r_refdef+rd_fvrectright_adj] +LClampP1: + + fld st(1) ; lzi0 | u0 | lzi0 | y + +; scale = yscale * lzi0; +; v0 = (ycenter - scale*transformed[1]); + fmul ds:dword ptr[_yscale] ; scale | u0 | lzi0 | y + fmulp st(3),st(0) ; u0 | lzi0 | scale*y + fxch st(2) ; scale*y | lzi0 | u0 + fsubr ds:dword ptr[_ycenter] ; v0 | lzi0 | u0 + +; if (v0 < r_refdef.fvrecty_adj) +; v0 = r_refdef.fvrecty_adj; +; if (v0 > r_refdef.fvrectbottom_adj) +; v0 = r_refdef.fvrectbottom_adj; +; FIXME: use integer compares of floats? + fcom ds:dword ptr[_r_refdef+rd_fvrecty_adj] + fnstsw ax + test ah,1 + jz LClampP2 + fstp st(0) + fld ds:dword ptr[_r_refdef+rd_fvrecty_adj] +LClampP2: + fcom ds:dword ptr[_r_refdef+rd_fvrectbottom_adj] + fnstsw ax + test ah,045h + jnz LClampP3 + fstp st(0) + fld ds:dword ptr[_r_refdef+rd_fvrectbottom_adj] +LClampP3: + ret + + +_TEXT ENDS +endif ;id386 + END diff --git a/ref_soft/r_edgea.asm b/ref_soft/r_edgea.asm index 0aafe31..8d82c4d 100644 --- a/ref_soft/r_edgea.asm +++ b/ref_soft/r_edgea.asm @@ -1,733 +1,733 @@ - .386P - .model FLAT -; -; r_edgea.s -; x86 assembly-language edge-processing code. -; - -include qasm.inc - -if id386 - -_DATA SEGMENT -Ltemp dd 0 -float_1_div_0100000h dd 035800000h ; 1.0/(float)0x100000 -float_point_999 dd 0.999 -float_1_point_001 dd 1.001 - -_DATA ENDS -_TEXT SEGMENT - -;-------------------------------------------------------------------- - -edgestoadd equ 4+8 ; note odd stack offsets because of interleaving -edgelist equ 8+12 ; with pushes - - public _R_EdgeCodeStart -_R_EdgeCodeStart: - - public _R_InsertNewEdges -_R_InsertNewEdges: - push edi - push esi ; preserve register variables - mov edx,ds:dword ptr[edgestoadd+esp] - push ebx - mov ecx,ds:dword ptr[edgelist+esp] - -LDoNextEdge: - mov eax,ds:dword ptr[et_u+edx] - mov edi,edx - -LContinueSearch: - mov ebx,ds:dword ptr[et_u+ecx] - mov esi,ds:dword ptr[et_next+ecx] - cmp eax,ebx - jle LAddedge - mov ebx,ds:dword ptr[et_u+esi] - mov ecx,ds:dword ptr[et_next+esi] - cmp eax,ebx - jle LAddedge2 - mov ebx,ds:dword ptr[et_u+ecx] - mov esi,ds:dword ptr[et_next+ecx] - cmp eax,ebx - jle LAddedge - mov ebx,ds:dword ptr[et_u+esi] - mov ecx,ds:dword ptr[et_next+esi] - cmp eax,ebx - jg LContinueSearch - -LAddedge2: - mov edx,ds:dword ptr[et_next+edx] - mov ebx,ds:dword ptr[et_prev+esi] - mov ds:dword ptr[et_next+edi],esi - mov ds:dword ptr[et_prev+edi],ebx - mov ds:dword ptr[et_next+ebx],edi - mov ds:dword ptr[et_prev+esi],edi - mov ecx,esi - - cmp edx,0 - jnz LDoNextEdge - jmp LDone - - align 4 -LAddedge: - mov edx,ds:dword ptr[et_next+edx] - mov ebx,ds:dword ptr[et_prev+ecx] - mov ds:dword ptr[et_next+edi],ecx - mov ds:dword ptr[et_prev+edi],ebx - mov ds:dword ptr[et_next+ebx],edi - mov ds:dword ptr[et_prev+ecx],edi - - cmp edx,0 - jnz LDoNextEdge - -LDone: - pop ebx ; restore register variables - pop esi - pop edi - - ret - -;-------------------------------------------------------------------- - -predge equ 4+4 - - public _R_RemoveEdges -_R_RemoveEdges: - push ebx - mov eax,ds:dword ptr[predge+esp] - -Lre_loop: - mov ecx,ds:dword ptr[et_next+eax] - mov ebx,ds:dword ptr[et_nextremove+eax] - mov edx,ds:dword ptr[et_prev+eax] - test ebx,ebx - mov ds:dword ptr[et_prev+ecx],edx - jz Lre_done - mov ds:dword ptr[et_next+edx],ecx - - mov ecx,ds:dword ptr[et_next+ebx] - mov edx,ds:dword ptr[et_prev+ebx] - mov eax,ds:dword ptr[et_nextremove+ebx] - mov ds:dword ptr[et_prev+ecx],edx - test eax,eax - mov ds:dword ptr[et_next+edx],ecx - jnz Lre_loop - - pop ebx - ret - -Lre_done: - mov ds:dword ptr[et_next+edx],ecx - pop ebx - - ret - -;-------------------------------------------------------------------- - -pedgelist equ 4+4 ; note odd stack offset because of interleaving - ; with pushes - - public _R_StepActiveU -_R_StepActiveU: - push edi - mov edx,ds:dword ptr[pedgelist+esp] - push esi ; preserve register variables - push ebx - - mov esi,ds:dword ptr[et_prev+edx] - -LNewEdge: - mov edi,ds:dword ptr[et_u+esi] - -LNextEdge: - mov eax,ds:dword ptr[et_u+edx] - mov ebx,ds:dword ptr[et_u_step+edx] - add eax,ebx - mov esi,ds:dword ptr[et_next+edx] - mov ds:dword ptr[et_u+edx],eax - cmp eax,edi - jl LPushBack - - mov edi,ds:dword ptr[et_u+esi] - mov ebx,ds:dword ptr[et_u_step+esi] - add edi,ebx - mov edx,ds:dword ptr[et_next+esi] - mov ds:dword ptr[et_u+esi],edi - cmp edi,eax - jl LPushBack2 - - mov eax,ds:dword ptr[et_u+edx] - mov ebx,ds:dword ptr[et_u_step+edx] - add eax,ebx - mov esi,ds:dword ptr[et_next+edx] - mov ds:dword ptr[et_u+edx],eax - cmp eax,edi - jl LPushBack - - mov edi,ds:dword ptr[et_u+esi] - mov ebx,ds:dword ptr[et_u_step+esi] - add edi,ebx - mov edx,ds:dword ptr[et_next+esi] - mov ds:dword ptr[et_u+esi],edi - cmp edi,eax - jnl LNextEdge - -LPushBack2: - mov ebx,edx - mov eax,edi - mov edx,esi - mov esi,ebx - -LPushBack: -; push it back to keep it sorted - mov ecx,ds:dword ptr[et_prev+edx] - mov ebx,ds:dword ptr[et_next+edx] - -; done if the -1 in edge_aftertail triggered this - cmp edx,offset _edge_aftertail - jz LUDone - -; pull the edge out of the edge list - mov edi,ds:dword ptr[et_prev+ecx] - mov ds:dword ptr[et_prev+esi],ecx - mov ds:dword ptr[et_next+ecx],ebx - -; find out where the edge goes in the edge list -LPushBackLoop: - mov ecx,ds:dword ptr[et_prev+edi] - mov ebx,ds:dword ptr[et_u+edi] - cmp eax,ebx - jnl LPushBackFound - - mov edi,ds:dword ptr[et_prev+ecx] - mov ebx,ds:dword ptr[et_u+ecx] - cmp eax,ebx - jl LPushBackLoop - - mov edi,ecx - -; put the edge back into the edge list -LPushBackFound: - mov ebx,ds:dword ptr[et_next+edi] - mov ds:dword ptr[et_prev+edx],edi - mov ds:dword ptr[et_next+edx],ebx - mov ds:dword ptr[et_next+edi],edx - mov ds:dword ptr[et_prev+ebx],edx - - mov edx,esi - mov esi,ds:dword ptr[et_prev+esi] - - cmp edx,offset _edge_tail - jnz LNewEdge - -LUDone: - pop ebx ; restore register variables - pop esi - pop edi - - ret - -;-------------------------------------------------------------------- - -surf equ 4 ; note this is loaded before any pushes - - align 4 -TrailingEdge: - mov eax,ds:dword ptr[st_spanstate+esi] ; check for edge inversion - dec eax - jnz LInverted - - mov ds:dword ptr[st_spanstate+esi],eax - mov ecx,ds:dword ptr[st_insubmodel+esi] - mov edx,ds:dword ptr[12345678h] ; surfaces[1].st_next -LPatch0: - mov eax,ds:dword ptr[_r_bmodelactive] - sub eax,ecx - cmp edx,esi - mov ds:dword ptr[_r_bmodelactive],eax - jnz LNoEmit ; surface isn't on top, just remove - -; emit a span (current top going away) - mov eax,ds:dword ptr[et_u+ebx] - shr eax,20 ; iu = integral pixel u - mov edx,ds:dword ptr[st_last_u+esi] - mov ecx,ds:dword ptr[st_next+esi] - cmp eax,edx - jle LNoEmit2 ; iu <= surf->last_u, so nothing to emit - - mov ds:dword ptr[st_last_u+ecx],eax ; surf->next->last_u = iu; - sub eax,edx - mov ds:dword ptr[espan_t_u+ebp],edx ; span->u = surf->last_u; - - mov ds:dword ptr[espan_t_count+ebp],eax ; span->count = iu - span->u; - mov eax,ds:dword ptr[_current_iv] - mov ds:dword ptr[espan_t_v+ebp],eax ; span->v = current_iv; - mov eax,ds:dword ptr[st_spans+esi] - mov ds:dword ptr[espan_t_pnext+ebp],eax ; span->pnext = surf->spans; - mov ds:dword ptr[st_spans+esi],ebp ; surf->spans = span; - add ebp,offset espan_t_size - - mov edx,ds:dword ptr[st_next+esi] ; remove the surface from the surface - mov esi,ds:dword ptr[st_prev+esi] ; stack - - mov ds:dword ptr[st_next+esi],edx - mov ds:dword ptr[st_prev+edx],esi - ret - -LNoEmit2: - mov ds:dword ptr[st_last_u+ecx],eax ; surf->next->last_u = iu; - mov edx,ds:dword ptr[st_next+esi] ; remove the surface from the surface - mov esi,ds:dword ptr[st_prev+esi] ; stack - - mov ds:dword ptr[st_next+esi],edx - mov ds:dword ptr[st_prev+edx],esi - ret - -LNoEmit: - mov edx,ds:dword ptr[st_next+esi] ; remove the surface from the surface - mov esi,ds:dword ptr[st_prev+esi] ; stack - - mov ds:dword ptr[st_next+esi],edx - mov ds:dword ptr[st_prev+edx],esi - ret - -LInverted: - mov ds:dword ptr[st_spanstate+esi],eax - ret - -;-------------------------------------------------------------------- - -; trailing edge only -Lgs_trailing: - push offset Lgs_nextedge - jmp TrailingEdge - - - public _R_GenerateSpans -_R_GenerateSpans: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; clear active surfaces to just the background surface - mov eax,ds:dword ptr[_surfaces] - mov edx,ds:dword ptr[_edge_head_u_shift20] - add eax,offset st_size -; %ebp = span_p throughout - mov ebp,ds:dword ptr[_span_p] - - mov ds:dword ptr[_r_bmodelactive],0 - - mov ds:dword ptr[st_next+eax],eax - mov ds:dword ptr[st_prev+eax],eax - mov ds:dword ptr[st_last_u+eax],edx - mov ebx,ds:dword ptr[_edge_head+et_next] ; edge=edge_head.next - -; generate spans - cmp ebx,offset _edge_tail ; done if empty list - jz Lgs_lastspan - -Lgs_edgeloop: - - mov edi,ds:dword ptr[et_surfs+ebx] - mov eax,ds:dword ptr[_surfaces] - mov esi,edi - and edi,0FFFF0000h - and esi,0FFFFh - jz Lgs_leading ; not a trailing edge - -; it has a left surface, so a surface is going away for this span - shl esi,offset SURF_T_SHIFT - add esi,eax - test edi,edi - jz Lgs_trailing - -; both leading and trailing - call near ptr TrailingEdge - mov eax,ds:dword ptr[_surfaces] - -; --------------------------------------------------------------- -; handle a leading edge -; --------------------------------------------------------------- - -Lgs_leading: - shr edi,16-SURF_T_SHIFT - mov eax,ds:dword ptr[_surfaces] - add edi,eax - mov esi,ds:dword ptr[12345678h] ; surf2 = surfaces[1].next; -LPatch2: - mov edx,ds:dword ptr[st_spanstate+edi] - mov eax,ds:dword ptr[st_insubmodel+edi] - test eax,eax - jnz Lbmodel_leading - -; handle a leading non-bmodel edge - -; don't start a span if this is an inverted span, with the end edge preceding -; the start edge (that is, we've already seen the end edge) - test edx,edx - jnz Lxl_done - - -; if (surf->key < surf2->key) -; goto newtop; - inc edx - mov eax,ds:dword ptr[st_key+edi] - mov ds:dword ptr[st_spanstate+edi],edx - mov ecx,ds:dword ptr[st_key+esi] - cmp eax,ecx - jl Lnewtop - -; main sorting loop to search through surface stack until insertion point -; found. Always terminates because background surface is sentinel -; do -; { -; surf2 = surf2->next; -; } while (surf->key >= surf2->key); -Lsortloopnb: - mov esi,ds:dword ptr[st_next+esi] - mov ecx,ds:dword ptr[st_key+esi] - cmp eax,ecx - jge Lsortloopnb - - jmp LInsertAndExit - - -; handle a leading bmodel edge - align 4 -Lbmodel_leading: - -; don't start a span if this is an inverted span, with the end edge preceding -; the start edge (that is, we've already seen the end edge) - test edx,edx - jnz Lxl_done - - mov ecx,ds:dword ptr[_r_bmodelactive] - inc edx - inc ecx - mov ds:dword ptr[st_spanstate+edi],edx - mov ds:dword ptr[_r_bmodelactive],ecx - -; if (surf->key < surf2->key) -; goto newtop; - mov eax,ds:dword ptr[st_key+edi] - mov ecx,ds:dword ptr[st_key+esi] - cmp eax,ecx - jl Lnewtop - -; if ((surf->key == surf2->key) && surf->insubmodel) -; { - jz Lzcheck_for_newtop - -; main sorting loop to search through surface stack until insertion point -; found. Always terminates because background surface is sentinel -; do -; { -; surf2 = surf2->next; -; } while (surf->key > surf2->key); -Lsortloop: - mov esi,ds:dword ptr[st_next+esi] - mov ecx,ds:dword ptr[st_key+esi] - cmp eax,ecx - jg Lsortloop - - jne LInsertAndExit - -; Do 1/z sorting to see if we've arrived in the right position - mov eax,ds:dword ptr[et_u+ebx] - sub eax,0FFFFFh - mov ds:dword ptr[Ltemp],eax - fild ds:dword ptr[Ltemp] - - fmul ds:dword ptr[float_1_div_0100000h] ; fu = (float)(edge->u - 0xFFFFF) * -; (1.0 / 0x100000); - - fld st(0) ; fu | fu - fmul ds:dword ptr[st_d_zistepu+edi] ; fu*surf->d_zistepu | fu - fld ds:dword ptr[_fv] ; fv | fu*surf->d_zistepu | fu - fmul ds:dword ptr[st_d_zistepv+edi] ; fv*surf->d_zistepv | fu*surf->d_zistepu | fu - fxch st(1) ; fu*surf->d_zistepu | fv*surf->d_zistepv | fu - fadd ds:dword ptr[st_d_ziorigin+edi] ; fu*surf->d_zistepu + surf->d_ziorigin | -; fv*surf->d_zistepv | fu - - fld ds:dword ptr[st_d_zistepu+esi] ; surf2->d_zistepu | -; fu*surf->d_zistepu + surf->d_ziorigin | -; fv*surf->d_zistepv | fu - fmul st(0),st(3) ; fu*surf2->d_zistepu | -; fu*surf->d_zistepu + surf->d_ziorigin | -; fv*surf->d_zistepv | fu - fxch st(1) ; fu*surf->d_zistepu + surf->d_ziorigin | -; fu*surf2->d_zistepu | -; fv*surf->d_zistepv | fu - faddp st(2),st(0) ; fu*surf2->d_zistepu | newzi | fu - - fld ds:dword ptr[_fv] ; fv | fu*surf2->d_zistepu | newzi | fu - fmul ds:dword ptr[st_d_zistepv+esi] ; fv*surf2->d_zistepv | -; fu*surf2->d_zistepu | newzi | fu - fld st(2) ; newzi | fv*surf2->d_zistepv | -; fu*surf2->d_zistepu | newzi | fu - fmul ds:dword ptr[float_point_999] ; newzibottom | fv*surf2->d_zistepv | -; fu*surf2->d_zistepu | newzi | fu - - fxch st(2) ; fu*surf2->d_zistepu | fv*surf2->d_zistepv | -; newzibottom | newzi | fu - fadd ds:dword ptr[st_d_ziorigin+esi] ; fu*surf2->d_zistepu + surf2->d_ziorigin | -; fv*surf2->d_zistepv | newzibottom | newzi | -; fu - faddp st(1),st(0) ; testzi | newzibottom | newzi | fu - fxch st(1) ; newzibottom | testzi | newzi | fu - -; if (newzibottom >= testzi) -; goto Lgotposition; - - fcomp st(1) ; testzi | newzi | fu - - fxch st(1) ; newzi | testzi | fu - fmul ds:dword ptr[float_1_point_001] ; newzitop | testzi | fu - fxch st(1) ; testzi | newzitop | fu - - fnstsw ax - test ah,001h - jz Lgotposition_fpop3 - -; if (newzitop >= testzi) -; { - - fcomp st(1) ; newzitop | fu - fnstsw ax - test ah,045h - jz Lsortloop_fpop2 - -; if (surf->d_zistepu >= surf2->d_zistepu) -; goto newtop; - - fld ds:dword ptr[st_d_zistepu+edi] ; surf->d_zistepu | newzitop| fu - fcomp ds:dword ptr[st_d_zistepu+esi] ; newzitop | fu - fnstsw ax - test ah,001h - jz Lgotposition_fpop2 - - fstp st(0) ; clear the FPstack - fstp st(0) - mov eax,ds:dword ptr[st_key+edi] - jmp Lsortloop - - -Lgotposition_fpop3: - fstp st(0) -Lgotposition_fpop2: - fstp st(0) - fstp st(0) - jmp LInsertAndExit - - -; emit a span (obscures current top) - -Lnewtop_fpop3: - fstp st(0) -Lnewtop_fpop2: - fstp st(0) - fstp st(0) - mov eax,ds:dword ptr[st_key+edi] ; reload the sorting key - -Lnewtop: - mov eax,ds:dword ptr[et_u+ebx] - mov edx,ds:dword ptr[st_last_u+esi] - shr eax,20 ; iu = integral pixel u - mov ds:dword ptr[st_last_u+edi],eax ; surf->last_u = iu; - cmp eax,edx - jle LInsertAndExit ; iu <= surf->last_u, so nothing to emit - - sub eax,edx - mov ds:dword ptr[espan_t_u+ebp],edx ; span->u = surf->last_u; - - mov ds:dword ptr[espan_t_count+ebp],eax ; span->count = iu - span->u; - mov eax,ds:dword ptr[_current_iv] - mov ds:dword ptr[espan_t_v+ebp],eax ; span->v = current_iv; - mov eax,ds:dword ptr[st_spans+esi] - mov ds:dword ptr[espan_t_pnext+ebp],eax ; span->pnext = surf->spans; - mov ds:dword ptr[st_spans+esi],ebp ; surf->spans = span; - add ebp,offset espan_t_size - -LInsertAndExit: -; insert before surf2 - mov ds:dword ptr[st_next+edi],esi ; surf->next = surf2; - mov eax,ds:dword ptr[st_prev+esi] - mov ds:dword ptr[st_prev+edi],eax ; surf->prev = surf2->prev; - mov ds:dword ptr[st_prev+esi],edi ; surf2->prev = surf; - mov ds:dword ptr[st_next+eax],edi ; surf2->prev->next = surf; - -; --------------------------------------------------------------- -; leading edge done -; --------------------------------------------------------------- - -; --------------------------------------------------------------- -; see if there are any more edges -; --------------------------------------------------------------- - -Lgs_nextedge: - mov ebx,ds:dword ptr[et_next+ebx] - cmp ebx,offset _edge_tail - jnz Lgs_edgeloop - -; clean up at the right edge -Lgs_lastspan: - -; now that we've reached the right edge of the screen, we're done with any -; unfinished surfaces, so emit a span for whatever's on top - mov esi,ds:dword ptr[12345678h] ; surfaces[1].st_next -LPatch3: - mov eax,ds:dword ptr[_edge_tail_u_shift20] - xor ecx,ecx - mov edx,ds:dword ptr[st_last_u+esi] - sub eax,edx - jle Lgs_resetspanstate - - mov ds:dword ptr[espan_t_u+ebp],edx - mov ds:dword ptr[espan_t_count+ebp],eax - mov eax,ds:dword ptr[_current_iv] - mov ds:dword ptr[espan_t_v+ebp],eax - mov eax,ds:dword ptr[st_spans+esi] - mov ds:dword ptr[espan_t_pnext+ebp],eax - mov ds:dword ptr[st_spans+esi],ebp - add ebp,offset espan_t_size - -; reset spanstate for all surfaces in the surface stack -Lgs_resetspanstate: - mov ds:dword ptr[st_spanstate+esi],ecx - mov esi,ds:dword ptr[st_next+esi] - cmp esi,012345678h ; &surfaces[1] -LPatch4: - jnz Lgs_resetspanstate - -; store the final span_p - mov ds:dword ptr[_span_p],ebp - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - -; --------------------------------------------------------------- -; 1/z sorting for bmodels in the same leaf -; --------------------------------------------------------------- - align 4 -Lxl_done: - inc edx - mov ds:dword ptr[st_spanstate+edi],edx - - jmp Lgs_nextedge - - - align 4 -Lzcheck_for_newtop: - mov eax,ds:dword ptr[et_u+ebx] - sub eax,0FFFFFh - mov ds:dword ptr[Ltemp],eax - fild ds:dword ptr[Ltemp] - - fmul ds:dword ptr[float_1_div_0100000h] ; fu = (float)(edge->u - 0xFFFFF) * -; (1.0 / 0x100000); - - fld st(0) ; fu | fu - fmul ds:dword ptr[st_d_zistepu+edi] ; fu*surf->d_zistepu | fu - fld ds:dword ptr[_fv] ; fv | fu*surf->d_zistepu | fu - fmul ds:dword ptr[st_d_zistepv+edi] ; fv*surf->d_zistepv | fu*surf->d_zistepu | fu - fxch st(1) ; fu*surf->d_zistepu | fv*surf->d_zistepv | fu - fadd ds:dword ptr[st_d_ziorigin+edi] ; fu*surf->d_zistepu + surf->d_ziorigin | -; fv*surf->d_zistepv | fu - - fld ds:dword ptr[st_d_zistepu+esi] ; surf2->d_zistepu | -; fu*surf->d_zistepu + surf->d_ziorigin | -; fv*surf->d_zistepv | fu - fmul st(0),st(3) ; fu*surf2->d_zistepu | -; fu*surf->d_zistepu + surf->d_ziorigin | -; fv*surf->d_zistepv | fu - fxch st(1) ; fu*surf->d_zistepu + surf->d_ziorigin | -; fu*surf2->d_zistepu | -; fv*surf->d_zistepv | fu - faddp st(2),st(0) ; fu*surf2->d_zistepu | newzi | fu - - fld ds:dword ptr[_fv] ; fv | fu*surf2->d_zistepu | newzi | fu - fmul ds:dword ptr[st_d_zistepv+esi] ; fv*surf2->d_zistepv | -; fu*surf2->d_zistepu | newzi | fu - fld st(2) ; newzi | fv*surf2->d_zistepv | -; fu*surf2->d_zistepu | newzi | fu - fmul ds:dword ptr[float_point_999] ; newzibottom | fv*surf2->d_zistepv | -; fu*surf2->d_zistepu | newzi | fu - - fxch st(2) ; fu*surf2->d_zistepu | fv*surf2->d_zistepv | -; newzibottom | newzi | fu - fadd ds:dword ptr[st_d_ziorigin+esi] ; fu*surf2->d_zistepu + surf2->d_ziorigin | -; fv*surf2->d_zistepv | newzibottom | newzi | -; fu - faddp st(1),st(0) ; testzi | newzibottom | newzi | fu - fxch st(1) ; newzibottom | testzi | newzi | fu - -; if (newzibottom >= testzi) -; goto newtop; - - fcomp st(1) ; testzi | newzi | fu - - fxch st(1) ; newzi | testzi | fu - fmul ds:dword ptr[float_1_point_001] ; newzitop | testzi | fu - fxch st(1) ; testzi | newzitop | fu - - fnstsw ax - test ah,001h - jz Lnewtop_fpop3 - -; if (newzitop >= testzi) -; { - - fcomp st(1) ; newzitop | fu - fnstsw ax - test ah,045h - jz Lsortloop_fpop2 - -; if (surf->d_zistepu >= surf2->d_zistepu) -; goto newtop; - - fld ds:dword ptr[st_d_zistepu+edi] ; surf->d_zistepu | newzitop | fu - fcomp ds:dword ptr[st_d_zistepu+esi] ; newzitop | fu - fnstsw ax - test ah,001h - jz Lnewtop_fpop2 - -Lsortloop_fpop2: - fstp st(0) ; clear the FP stack - fstp st(0) - mov eax,ds:dword ptr[st_key+edi] - jmp Lsortloop - - - public _R_EdgeCodeEnd -_R_EdgeCodeEnd: - - -;---------------------------------------------------------------------- -; Surface array address code patching routine -;---------------------------------------------------------------------- - - align 4 - public _R_SurfacePatch -_R_SurfacePatch: - - mov eax,ds:dword ptr[_surfaces] - add eax,offset st_size - mov ds:dword ptr[LPatch4-4],eax - - add eax,offset st_next - mov ds:dword ptr[LPatch0-4],eax - mov ds:dword ptr[LPatch2-4],eax - mov ds:dword ptr[LPatch3-4],eax - - ret - -_TEXT ENDS -endif ;id386 - END + .386P + .model FLAT +; +; r_edgea.s +; x86 assembly-language edge-processing code. +; + +include qasm.inc + +if id386 + +_DATA SEGMENT +Ltemp dd 0 +float_1_div_0100000h dd 035800000h ; 1.0/(float)0x100000 +float_point_999 dd 0.999 +float_1_point_001 dd 1.001 + +_DATA ENDS +_TEXT SEGMENT + +;-------------------------------------------------------------------- + +edgestoadd equ 4+8 ; note odd stack offsets because of interleaving +edgelist equ 8+12 ; with pushes + + public _R_EdgeCodeStart +_R_EdgeCodeStart: + + public _R_InsertNewEdges +_R_InsertNewEdges: + push edi + push esi ; preserve register variables + mov edx,ds:dword ptr[edgestoadd+esp] + push ebx + mov ecx,ds:dword ptr[edgelist+esp] + +LDoNextEdge: + mov eax,ds:dword ptr[et_u+edx] + mov edi,edx + +LContinueSearch: + mov ebx,ds:dword ptr[et_u+ecx] + mov esi,ds:dword ptr[et_next+ecx] + cmp eax,ebx + jle LAddedge + mov ebx,ds:dword ptr[et_u+esi] + mov ecx,ds:dword ptr[et_next+esi] + cmp eax,ebx + jle LAddedge2 + mov ebx,ds:dword ptr[et_u+ecx] + mov esi,ds:dword ptr[et_next+ecx] + cmp eax,ebx + jle LAddedge + mov ebx,ds:dword ptr[et_u+esi] + mov ecx,ds:dword ptr[et_next+esi] + cmp eax,ebx + jg LContinueSearch + +LAddedge2: + mov edx,ds:dword ptr[et_next+edx] + mov ebx,ds:dword ptr[et_prev+esi] + mov ds:dword ptr[et_next+edi],esi + mov ds:dword ptr[et_prev+edi],ebx + mov ds:dword ptr[et_next+ebx],edi + mov ds:dword ptr[et_prev+esi],edi + mov ecx,esi + + cmp edx,0 + jnz LDoNextEdge + jmp LDone + + align 4 +LAddedge: + mov edx,ds:dword ptr[et_next+edx] + mov ebx,ds:dword ptr[et_prev+ecx] + mov ds:dword ptr[et_next+edi],ecx + mov ds:dword ptr[et_prev+edi],ebx + mov ds:dword ptr[et_next+ebx],edi + mov ds:dword ptr[et_prev+ecx],edi + + cmp edx,0 + jnz LDoNextEdge + +LDone: + pop ebx ; restore register variables + pop esi + pop edi + + ret + +;-------------------------------------------------------------------- + +predge equ 4+4 + + public _R_RemoveEdges +_R_RemoveEdges: + push ebx + mov eax,ds:dword ptr[predge+esp] + +Lre_loop: + mov ecx,ds:dword ptr[et_next+eax] + mov ebx,ds:dword ptr[et_nextremove+eax] + mov edx,ds:dword ptr[et_prev+eax] + test ebx,ebx + mov ds:dword ptr[et_prev+ecx],edx + jz Lre_done + mov ds:dword ptr[et_next+edx],ecx + + mov ecx,ds:dword ptr[et_next+ebx] + mov edx,ds:dword ptr[et_prev+ebx] + mov eax,ds:dword ptr[et_nextremove+ebx] + mov ds:dword ptr[et_prev+ecx],edx + test eax,eax + mov ds:dword ptr[et_next+edx],ecx + jnz Lre_loop + + pop ebx + ret + +Lre_done: + mov ds:dword ptr[et_next+edx],ecx + pop ebx + + ret + +;-------------------------------------------------------------------- + +pedgelist equ 4+4 ; note odd stack offset because of interleaving + ; with pushes + + public _R_StepActiveU +_R_StepActiveU: + push edi + mov edx,ds:dword ptr[pedgelist+esp] + push esi ; preserve register variables + push ebx + + mov esi,ds:dword ptr[et_prev+edx] + +LNewEdge: + mov edi,ds:dword ptr[et_u+esi] + +LNextEdge: + mov eax,ds:dword ptr[et_u+edx] + mov ebx,ds:dword ptr[et_u_step+edx] + add eax,ebx + mov esi,ds:dword ptr[et_next+edx] + mov ds:dword ptr[et_u+edx],eax + cmp eax,edi + jl LPushBack + + mov edi,ds:dword ptr[et_u+esi] + mov ebx,ds:dword ptr[et_u_step+esi] + add edi,ebx + mov edx,ds:dword ptr[et_next+esi] + mov ds:dword ptr[et_u+esi],edi + cmp edi,eax + jl LPushBack2 + + mov eax,ds:dword ptr[et_u+edx] + mov ebx,ds:dword ptr[et_u_step+edx] + add eax,ebx + mov esi,ds:dword ptr[et_next+edx] + mov ds:dword ptr[et_u+edx],eax + cmp eax,edi + jl LPushBack + + mov edi,ds:dword ptr[et_u+esi] + mov ebx,ds:dword ptr[et_u_step+esi] + add edi,ebx + mov edx,ds:dword ptr[et_next+esi] + mov ds:dword ptr[et_u+esi],edi + cmp edi,eax + jnl LNextEdge + +LPushBack2: + mov ebx,edx + mov eax,edi + mov edx,esi + mov esi,ebx + +LPushBack: +; push it back to keep it sorted + mov ecx,ds:dword ptr[et_prev+edx] + mov ebx,ds:dword ptr[et_next+edx] + +; done if the -1 in edge_aftertail triggered this + cmp edx,offset _edge_aftertail + jz LUDone + +; pull the edge out of the edge list + mov edi,ds:dword ptr[et_prev+ecx] + mov ds:dword ptr[et_prev+esi],ecx + mov ds:dword ptr[et_next+ecx],ebx + +; find out where the edge goes in the edge list +LPushBackLoop: + mov ecx,ds:dword ptr[et_prev+edi] + mov ebx,ds:dword ptr[et_u+edi] + cmp eax,ebx + jnl LPushBackFound + + mov edi,ds:dword ptr[et_prev+ecx] + mov ebx,ds:dword ptr[et_u+ecx] + cmp eax,ebx + jl LPushBackLoop + + mov edi,ecx + +; put the edge back into the edge list +LPushBackFound: + mov ebx,ds:dword ptr[et_next+edi] + mov ds:dword ptr[et_prev+edx],edi + mov ds:dword ptr[et_next+edx],ebx + mov ds:dword ptr[et_next+edi],edx + mov ds:dword ptr[et_prev+ebx],edx + + mov edx,esi + mov esi,ds:dword ptr[et_prev+esi] + + cmp edx,offset _edge_tail + jnz LNewEdge + +LUDone: + pop ebx ; restore register variables + pop esi + pop edi + + ret + +;-------------------------------------------------------------------- + +surf equ 4 ; note this is loaded before any pushes + + align 4 +TrailingEdge: + mov eax,ds:dword ptr[st_spanstate+esi] ; check for edge inversion + dec eax + jnz LInverted + + mov ds:dword ptr[st_spanstate+esi],eax + mov ecx,ds:dword ptr[st_insubmodel+esi] + mov edx,ds:dword ptr[12345678h] ; surfaces[1].st_next +LPatch0: + mov eax,ds:dword ptr[_r_bmodelactive] + sub eax,ecx + cmp edx,esi + mov ds:dword ptr[_r_bmodelactive],eax + jnz LNoEmit ; surface isn't on top, just remove + +; emit a span (current top going away) + mov eax,ds:dword ptr[et_u+ebx] + shr eax,20 ; iu = integral pixel u + mov edx,ds:dword ptr[st_last_u+esi] + mov ecx,ds:dword ptr[st_next+esi] + cmp eax,edx + jle LNoEmit2 ; iu <= surf->last_u, so nothing to emit + + mov ds:dword ptr[st_last_u+ecx],eax ; surf->next->last_u = iu; + sub eax,edx + mov ds:dword ptr[espan_t_u+ebp],edx ; span->u = surf->last_u; + + mov ds:dword ptr[espan_t_count+ebp],eax ; span->count = iu - span->u; + mov eax,ds:dword ptr[_current_iv] + mov ds:dword ptr[espan_t_v+ebp],eax ; span->v = current_iv; + mov eax,ds:dword ptr[st_spans+esi] + mov ds:dword ptr[espan_t_pnext+ebp],eax ; span->pnext = surf->spans; + mov ds:dword ptr[st_spans+esi],ebp ; surf->spans = span; + add ebp,offset espan_t_size + + mov edx,ds:dword ptr[st_next+esi] ; remove the surface from the surface + mov esi,ds:dword ptr[st_prev+esi] ; stack + + mov ds:dword ptr[st_next+esi],edx + mov ds:dword ptr[st_prev+edx],esi + ret + +LNoEmit2: + mov ds:dword ptr[st_last_u+ecx],eax ; surf->next->last_u = iu; + mov edx,ds:dword ptr[st_next+esi] ; remove the surface from the surface + mov esi,ds:dword ptr[st_prev+esi] ; stack + + mov ds:dword ptr[st_next+esi],edx + mov ds:dword ptr[st_prev+edx],esi + ret + +LNoEmit: + mov edx,ds:dword ptr[st_next+esi] ; remove the surface from the surface + mov esi,ds:dword ptr[st_prev+esi] ; stack + + mov ds:dword ptr[st_next+esi],edx + mov ds:dword ptr[st_prev+edx],esi + ret + +LInverted: + mov ds:dword ptr[st_spanstate+esi],eax + ret + +;-------------------------------------------------------------------- + +; trailing edge only +Lgs_trailing: + push offset Lgs_nextedge + jmp TrailingEdge + + + public _R_GenerateSpans +_R_GenerateSpans: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; clear active surfaces to just the background surface + mov eax,ds:dword ptr[_surfaces] + mov edx,ds:dword ptr[_edge_head_u_shift20] + add eax,offset st_size +; %ebp = span_p throughout + mov ebp,ds:dword ptr[_span_p] + + mov ds:dword ptr[_r_bmodelactive],0 + + mov ds:dword ptr[st_next+eax],eax + mov ds:dword ptr[st_prev+eax],eax + mov ds:dword ptr[st_last_u+eax],edx + mov ebx,ds:dword ptr[_edge_head+et_next] ; edge=edge_head.next + +; generate spans + cmp ebx,offset _edge_tail ; done if empty list + jz Lgs_lastspan + +Lgs_edgeloop: + + mov edi,ds:dword ptr[et_surfs+ebx] + mov eax,ds:dword ptr[_surfaces] + mov esi,edi + and edi,0FFFF0000h + and esi,0FFFFh + jz Lgs_leading ; not a trailing edge + +; it has a left surface, so a surface is going away for this span + shl esi,offset SURF_T_SHIFT + add esi,eax + test edi,edi + jz Lgs_trailing + +; both leading and trailing + call near ptr TrailingEdge + mov eax,ds:dword ptr[_surfaces] + +; --------------------------------------------------------------- +; handle a leading edge +; --------------------------------------------------------------- + +Lgs_leading: + shr edi,16-SURF_T_SHIFT + mov eax,ds:dword ptr[_surfaces] + add edi,eax + mov esi,ds:dword ptr[12345678h] ; surf2 = surfaces[1].next; +LPatch2: + mov edx,ds:dword ptr[st_spanstate+edi] + mov eax,ds:dword ptr[st_insubmodel+edi] + test eax,eax + jnz Lbmodel_leading + +; handle a leading non-bmodel edge + +; don't start a span if this is an inverted span, with the end edge preceding +; the start edge (that is, we've already seen the end edge) + test edx,edx + jnz Lxl_done + + +; if (surf->key < surf2->key) +; goto newtop; + inc edx + mov eax,ds:dword ptr[st_key+edi] + mov ds:dword ptr[st_spanstate+edi],edx + mov ecx,ds:dword ptr[st_key+esi] + cmp eax,ecx + jl Lnewtop + +; main sorting loop to search through surface stack until insertion point +; found. Always terminates because background surface is sentinel +; do +; { +; surf2 = surf2->next; +; } while (surf->key >= surf2->key); +Lsortloopnb: + mov esi,ds:dword ptr[st_next+esi] + mov ecx,ds:dword ptr[st_key+esi] + cmp eax,ecx + jge Lsortloopnb + + jmp LInsertAndExit + + +; handle a leading bmodel edge + align 4 +Lbmodel_leading: + +; don't start a span if this is an inverted span, with the end edge preceding +; the start edge (that is, we've already seen the end edge) + test edx,edx + jnz Lxl_done + + mov ecx,ds:dword ptr[_r_bmodelactive] + inc edx + inc ecx + mov ds:dword ptr[st_spanstate+edi],edx + mov ds:dword ptr[_r_bmodelactive],ecx + +; if (surf->key < surf2->key) +; goto newtop; + mov eax,ds:dword ptr[st_key+edi] + mov ecx,ds:dword ptr[st_key+esi] + cmp eax,ecx + jl Lnewtop + +; if ((surf->key == surf2->key) && surf->insubmodel) +; { + jz Lzcheck_for_newtop + +; main sorting loop to search through surface stack until insertion point +; found. Always terminates because background surface is sentinel +; do +; { +; surf2 = surf2->next; +; } while (surf->key > surf2->key); +Lsortloop: + mov esi,ds:dword ptr[st_next+esi] + mov ecx,ds:dword ptr[st_key+esi] + cmp eax,ecx + jg Lsortloop + + jne LInsertAndExit + +; Do 1/z sorting to see if we've arrived in the right position + mov eax,ds:dword ptr[et_u+ebx] + sub eax,0FFFFFh + mov ds:dword ptr[Ltemp],eax + fild ds:dword ptr[Ltemp] + + fmul ds:dword ptr[float_1_div_0100000h] ; fu = (float)(edge->u - 0xFFFFF) * +; (1.0 / 0x100000); + + fld st(0) ; fu | fu + fmul ds:dword ptr[st_d_zistepu+edi] ; fu*surf->d_zistepu | fu + fld ds:dword ptr[_fv] ; fv | fu*surf->d_zistepu | fu + fmul ds:dword ptr[st_d_zistepv+edi] ; fv*surf->d_zistepv | fu*surf->d_zistepu | fu + fxch st(1) ; fu*surf->d_zistepu | fv*surf->d_zistepv | fu + fadd ds:dword ptr[st_d_ziorigin+edi] ; fu*surf->d_zistepu + surf->d_ziorigin | +; fv*surf->d_zistepv | fu + + fld ds:dword ptr[st_d_zistepu+esi] ; surf2->d_zistepu | +; fu*surf->d_zistepu + surf->d_ziorigin | +; fv*surf->d_zistepv | fu + fmul st(0),st(3) ; fu*surf2->d_zistepu | +; fu*surf->d_zistepu + surf->d_ziorigin | +; fv*surf->d_zistepv | fu + fxch st(1) ; fu*surf->d_zistepu + surf->d_ziorigin | +; fu*surf2->d_zistepu | +; fv*surf->d_zistepv | fu + faddp st(2),st(0) ; fu*surf2->d_zistepu | newzi | fu + + fld ds:dword ptr[_fv] ; fv | fu*surf2->d_zistepu | newzi | fu + fmul ds:dword ptr[st_d_zistepv+esi] ; fv*surf2->d_zistepv | +; fu*surf2->d_zistepu | newzi | fu + fld st(2) ; newzi | fv*surf2->d_zistepv | +; fu*surf2->d_zistepu | newzi | fu + fmul ds:dword ptr[float_point_999] ; newzibottom | fv*surf2->d_zistepv | +; fu*surf2->d_zistepu | newzi | fu + + fxch st(2) ; fu*surf2->d_zistepu | fv*surf2->d_zistepv | +; newzibottom | newzi | fu + fadd ds:dword ptr[st_d_ziorigin+esi] ; fu*surf2->d_zistepu + surf2->d_ziorigin | +; fv*surf2->d_zistepv | newzibottom | newzi | +; fu + faddp st(1),st(0) ; testzi | newzibottom | newzi | fu + fxch st(1) ; newzibottom | testzi | newzi | fu + +; if (newzibottom >= testzi) +; goto Lgotposition; + + fcomp st(1) ; testzi | newzi | fu + + fxch st(1) ; newzi | testzi | fu + fmul ds:dword ptr[float_1_point_001] ; newzitop | testzi | fu + fxch st(1) ; testzi | newzitop | fu + + fnstsw ax + test ah,001h + jz Lgotposition_fpop3 + +; if (newzitop >= testzi) +; { + + fcomp st(1) ; newzitop | fu + fnstsw ax + test ah,045h + jz Lsortloop_fpop2 + +; if (surf->d_zistepu >= surf2->d_zistepu) +; goto newtop; + + fld ds:dword ptr[st_d_zistepu+edi] ; surf->d_zistepu | newzitop| fu + fcomp ds:dword ptr[st_d_zistepu+esi] ; newzitop | fu + fnstsw ax + test ah,001h + jz Lgotposition_fpop2 + + fstp st(0) ; clear the FPstack + fstp st(0) + mov eax,ds:dword ptr[st_key+edi] + jmp Lsortloop + + +Lgotposition_fpop3: + fstp st(0) +Lgotposition_fpop2: + fstp st(0) + fstp st(0) + jmp LInsertAndExit + + +; emit a span (obscures current top) + +Lnewtop_fpop3: + fstp st(0) +Lnewtop_fpop2: + fstp st(0) + fstp st(0) + mov eax,ds:dword ptr[st_key+edi] ; reload the sorting key + +Lnewtop: + mov eax,ds:dword ptr[et_u+ebx] + mov edx,ds:dword ptr[st_last_u+esi] + shr eax,20 ; iu = integral pixel u + mov ds:dword ptr[st_last_u+edi],eax ; surf->last_u = iu; + cmp eax,edx + jle LInsertAndExit ; iu <= surf->last_u, so nothing to emit + + sub eax,edx + mov ds:dword ptr[espan_t_u+ebp],edx ; span->u = surf->last_u; + + mov ds:dword ptr[espan_t_count+ebp],eax ; span->count = iu - span->u; + mov eax,ds:dword ptr[_current_iv] + mov ds:dword ptr[espan_t_v+ebp],eax ; span->v = current_iv; + mov eax,ds:dword ptr[st_spans+esi] + mov ds:dword ptr[espan_t_pnext+ebp],eax ; span->pnext = surf->spans; + mov ds:dword ptr[st_spans+esi],ebp ; surf->spans = span; + add ebp,offset espan_t_size + +LInsertAndExit: +; insert before surf2 + mov ds:dword ptr[st_next+edi],esi ; surf->next = surf2; + mov eax,ds:dword ptr[st_prev+esi] + mov ds:dword ptr[st_prev+edi],eax ; surf->prev = surf2->prev; + mov ds:dword ptr[st_prev+esi],edi ; surf2->prev = surf; + mov ds:dword ptr[st_next+eax],edi ; surf2->prev->next = surf; + +; --------------------------------------------------------------- +; leading edge done +; --------------------------------------------------------------- + +; --------------------------------------------------------------- +; see if there are any more edges +; --------------------------------------------------------------- + +Lgs_nextedge: + mov ebx,ds:dword ptr[et_next+ebx] + cmp ebx,offset _edge_tail + jnz Lgs_edgeloop + +; clean up at the right edge +Lgs_lastspan: + +; now that we've reached the right edge of the screen, we're done with any +; unfinished surfaces, so emit a span for whatever's on top + mov esi,ds:dword ptr[12345678h] ; surfaces[1].st_next +LPatch3: + mov eax,ds:dword ptr[_edge_tail_u_shift20] + xor ecx,ecx + mov edx,ds:dword ptr[st_last_u+esi] + sub eax,edx + jle Lgs_resetspanstate + + mov ds:dword ptr[espan_t_u+ebp],edx + mov ds:dword ptr[espan_t_count+ebp],eax + mov eax,ds:dword ptr[_current_iv] + mov ds:dword ptr[espan_t_v+ebp],eax + mov eax,ds:dword ptr[st_spans+esi] + mov ds:dword ptr[espan_t_pnext+ebp],eax + mov ds:dword ptr[st_spans+esi],ebp + add ebp,offset espan_t_size + +; reset spanstate for all surfaces in the surface stack +Lgs_resetspanstate: + mov ds:dword ptr[st_spanstate+esi],ecx + mov esi,ds:dword ptr[st_next+esi] + cmp esi,012345678h ; &surfaces[1] +LPatch4: + jnz Lgs_resetspanstate + +; store the final span_p + mov ds:dword ptr[_span_p],ebp + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + +; --------------------------------------------------------------- +; 1/z sorting for bmodels in the same leaf +; --------------------------------------------------------------- + align 4 +Lxl_done: + inc edx + mov ds:dword ptr[st_spanstate+edi],edx + + jmp Lgs_nextedge + + + align 4 +Lzcheck_for_newtop: + mov eax,ds:dword ptr[et_u+ebx] + sub eax,0FFFFFh + mov ds:dword ptr[Ltemp],eax + fild ds:dword ptr[Ltemp] + + fmul ds:dword ptr[float_1_div_0100000h] ; fu = (float)(edge->u - 0xFFFFF) * +; (1.0 / 0x100000); + + fld st(0) ; fu | fu + fmul ds:dword ptr[st_d_zistepu+edi] ; fu*surf->d_zistepu | fu + fld ds:dword ptr[_fv] ; fv | fu*surf->d_zistepu | fu + fmul ds:dword ptr[st_d_zistepv+edi] ; fv*surf->d_zistepv | fu*surf->d_zistepu | fu + fxch st(1) ; fu*surf->d_zistepu | fv*surf->d_zistepv | fu + fadd ds:dword ptr[st_d_ziorigin+edi] ; fu*surf->d_zistepu + surf->d_ziorigin | +; fv*surf->d_zistepv | fu + + fld ds:dword ptr[st_d_zistepu+esi] ; surf2->d_zistepu | +; fu*surf->d_zistepu + surf->d_ziorigin | +; fv*surf->d_zistepv | fu + fmul st(0),st(3) ; fu*surf2->d_zistepu | +; fu*surf->d_zistepu + surf->d_ziorigin | +; fv*surf->d_zistepv | fu + fxch st(1) ; fu*surf->d_zistepu + surf->d_ziorigin | +; fu*surf2->d_zistepu | +; fv*surf->d_zistepv | fu + faddp st(2),st(0) ; fu*surf2->d_zistepu | newzi | fu + + fld ds:dword ptr[_fv] ; fv | fu*surf2->d_zistepu | newzi | fu + fmul ds:dword ptr[st_d_zistepv+esi] ; fv*surf2->d_zistepv | +; fu*surf2->d_zistepu | newzi | fu + fld st(2) ; newzi | fv*surf2->d_zistepv | +; fu*surf2->d_zistepu | newzi | fu + fmul ds:dword ptr[float_point_999] ; newzibottom | fv*surf2->d_zistepv | +; fu*surf2->d_zistepu | newzi | fu + + fxch st(2) ; fu*surf2->d_zistepu | fv*surf2->d_zistepv | +; newzibottom | newzi | fu + fadd ds:dword ptr[st_d_ziorigin+esi] ; fu*surf2->d_zistepu + surf2->d_ziorigin | +; fv*surf2->d_zistepv | newzibottom | newzi | +; fu + faddp st(1),st(0) ; testzi | newzibottom | newzi | fu + fxch st(1) ; newzibottom | testzi | newzi | fu + +; if (newzibottom >= testzi) +; goto newtop; + + fcomp st(1) ; testzi | newzi | fu + + fxch st(1) ; newzi | testzi | fu + fmul ds:dword ptr[float_1_point_001] ; newzitop | testzi | fu + fxch st(1) ; testzi | newzitop | fu + + fnstsw ax + test ah,001h + jz Lnewtop_fpop3 + +; if (newzitop >= testzi) +; { + + fcomp st(1) ; newzitop | fu + fnstsw ax + test ah,045h + jz Lsortloop_fpop2 + +; if (surf->d_zistepu >= surf2->d_zistepu) +; goto newtop; + + fld ds:dword ptr[st_d_zistepu+edi] ; surf->d_zistepu | newzitop | fu + fcomp ds:dword ptr[st_d_zistepu+esi] ; newzitop | fu + fnstsw ax + test ah,001h + jz Lnewtop_fpop2 + +Lsortloop_fpop2: + fstp st(0) ; clear the FP stack + fstp st(0) + mov eax,ds:dword ptr[st_key+edi] + jmp Lsortloop + + + public _R_EdgeCodeEnd +_R_EdgeCodeEnd: + + +;---------------------------------------------------------------------- +; Surface array address code patching routine +;---------------------------------------------------------------------- + + align 4 + public _R_SurfacePatch +_R_SurfacePatch: + + mov eax,ds:dword ptr[_surfaces] + add eax,offset st_size + mov ds:dword ptr[LPatch4-4],eax + + add eax,offset st_next + mov ds:dword ptr[LPatch0-4],eax + mov ds:dword ptr[LPatch2-4],eax + mov ds:dword ptr[LPatch3-4],eax + + ret + +_TEXT ENDS +endif ;id386 + END diff --git a/ref_soft/r_polysa.asm b/ref_soft/r_polysa.asm index bbc1bc5..339cc62 100644 --- a/ref_soft/r_polysa.asm +++ b/ref_soft/r_polysa.asm @@ -1,812 +1,812 @@ - .386P - .model FLAT -; -; d_polysa.s -; x86 assembly-language polygon model drawing code -; - -include qasm.inc -include d_if.inc - -if id386 - -; !!! if this is changed, it must be changed in d_polyse.c too !!! -;DPS_MAXSPANS equ (MAXHEIGHT+1) -; 1 extra for spanpackage that marks end - -;SPAN_SIZE equ (((DPS_MAXSPANS + 1 + ((CACHE_SIZE - 1) / spanpackage_t_size)) + 1) * spanpackage_t_size) - -MASK_1K equ 03FFh - -_DATA SEGMENT - - align 4 -;p10_minus_p20 dd 0 -;p01_minus_p21 dd 0 -;temp0 dd 0 -;temp1 dd 0 -;Ltemp dd 0 - -aff8entryvec_table dd LDraw8, LDraw7, LDraw6, LDraw5 - dd LDraw4, LDraw3, LDraw2, LDraw1, LDraw8IR, LDraw7IR, LDraw6IR, LDraw5IR, LDraw4IR, LDraw3IR, LDraw2IR, LDraw1IR - -lzistepx dd 0 - - externdef _rand1k:dword - externdef _rand1k_index:dword - externdef _alias_colormap:dword - -;PGM - externdef _irtable:dword - externdef _iractive:byte -;PGM - -_DATA ENDS -_TEXT SEGMENT - - -;---------------------------------------------------------------------- -; 8-bpp horizontal span drawing code for affine polygons, with smooth -; shading and no transparency -;---------------------------------------------------------------------- - -;=================================== -;=================================== - -pspans equ 4+8 - - public _D_PolysetAff8Start -_D_PolysetAff8Start: - - public _R_PolysetDrawSpans8_Opaque -_R_PolysetDrawSpans8_Opaque: - - push esi ; preserve register variables - push ebx - - mov esi,ds:dword ptr[pspans+esp] ; point to the first span descriptor - mov ecx,ds:dword ptr[_r_zistepx] - - push ebp ; preserve caller's stack frame - push edi - - ror ecx,16 ; put high 16 bits of 1/z step in low word - mov edx,ds:dword ptr[spanpackage_t_count+esi] - - mov ds:dword ptr[lzistepx],ecx - -LSpanLoop: - -; lcount = d_aspancount - pspanpackage->count; -; -; errorterm += erroradjustup; -; if (errorterm >= 0) -; { -; d_aspancount += d_countextrastep; -; errorterm -= erroradjustdown; -; } -; else -; { -; d_aspancount += ubasestep; -; } - - mov eax,ds:dword ptr[_d_aspancount] - sub eax,edx - - mov edx,ds:dword ptr[_erroradjustup] - mov ebx,ds:dword ptr[_errorterm] - add ebx,edx - js LNoTurnover - - mov edx,ds:dword ptr[_erroradjustdown] - mov edi,ds:dword ptr[_d_countextrastep] - sub ebx,edx - mov ebp,ds:dword ptr[_d_aspancount] - mov ds:dword ptr[_errorterm],ebx - add ebp,edi - mov ds:dword ptr[_d_aspancount],ebp - jmp LRightEdgeStepped - -LNoTurnover: - mov edi,ds:dword ptr[_d_aspancount] - mov edx,ds:dword ptr[_ubasestep] - mov ds:dword ptr[_errorterm],ebx - add edi,edx - mov ds:dword ptr[_d_aspancount],edi - -LRightEdgeStepped: - cmp eax,1 - - jl LNextSpan - jz LExactlyOneLong - -; -; set up advancetable -; - mov ecx,ds:dword ptr[_a_ststepxwhole] - mov edx,ds:dword ptr[_r_affinetridesc+atd_skinwidth] - - mov ds:dword ptr[advancetable+4],ecx ; advance base in t - add ecx,edx - - mov ds:dword ptr[advancetable],ecx ; advance extra in t - mov ecx,ds:dword ptr[_a_tstepxfrac] - - mov cx,ds:word ptr[_r_lstepx] - mov edx,eax ; count - - mov ds:dword ptr[tstep],ecx - add edx,7 - - shr edx,3 ; count of full and partial loops - mov ebx,ds:dword ptr[spanpackage_t_sfrac+esi] - - mov bx,dx - mov ecx,ds:dword ptr[spanpackage_t_pz+esi] - - neg eax - - mov edi,ds:dword ptr[spanpackage_t_pdest+esi] - and eax,7 ; 0->0, 1->7, 2->6, ... , 7->1 - - sub edi,eax ; compensate for hardwired offsets - sub ecx,eax - - sub ecx,eax - mov edx,ds:dword ptr[spanpackage_t_tfrac+esi] - - mov dx,ds:word ptr[spanpackage_t_light+esi] - mov ebp,ds:dword ptr[spanpackage_t_zi+esi] - - ror ebp,16 ; put high 16 bits of 1/z in low word - push esi - - push eax - mov al, [_iractive] - cmp al, 0 - pop eax - jne IRInsert - - mov esi,ds:dword ptr[spanpackage_t_ptex+esi] - jmp dword ptr[aff8entryvec_table+eax*4] - -IRInsert: - mov esi,ds:dword ptr[spanpackage_t_ptex+esi] - add eax, 8 - jmp dword ptr[aff8entryvec_table+eax*4] - -; %bx = count of full and partial loops -; %ebx high word = sfrac -; %ecx = pz -; %dx = light -; %edx high word = tfrac -; %esi = ptex -; %edi = pdest -; %ebp = 1/z -; tstep low word = C(r_lstepx) -; tstep high word = C(a_tstepxfrac) -; C(a_sstepxfrac) low word = 0 -; C(a_sstepxfrac) high word = C(a_sstepxfrac) - -;=== -;Standard Draw Loop -;=== -LDrawLoop: - - mov al,[_iractive] - cmp al,0 - jne LDrawLoopIR - -; FIXME: do we need to clamp light? We may need at least a buffer bit to -; keep it from poking into tfrac and causing problems - -LDraw8: - cmp bp,ds:word ptr[ecx] - jl Lp1 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch8: - mov ds:byte ptr[edi],al -Lp1: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw7: - cmp bp,ds:word ptr[2+ecx] - jl Lp2 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[2+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch7: - mov ds:byte ptr[1+edi],al -Lp2: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw6: - cmp bp,ds:word ptr[4+ecx] - jl Lp3 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[4+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch6: - mov ds:byte ptr[2+edi],al -Lp3: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw5: - cmp bp,ds:word ptr[6+ecx] - jl Lp4 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[6+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch5: - mov ds:byte ptr[3+edi],al -Lp4: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw4: - cmp bp,ds:word ptr[8+ecx] - jl Lp5 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[8+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch4: - mov ds:byte ptr[4+edi],al -Lp5: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw3: - cmp bp,ds:word ptr[10+ecx] - jl Lp6 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[10+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch3: - mov ds:byte ptr[5+edi],al -Lp6: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw2: - cmp bp,ds:word ptr[12+ecx] - jl Lp7 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[12+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch2: - mov ds:byte ptr[6+edi],al -Lp7: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw1: - cmp bp,ds:word ptr[14+ecx] - jl Lp8 - xor eax,eax - mov ah,dh - mov al,ds:byte ptr[esi] - mov ds:word ptr[14+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch1: - mov ds:byte ptr[7+edi],al -Lp8: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - add edi,8 - add ecx,16 - - dec bx - jnz LDrawLoop - - pop esi ; restore spans pointer -LNextSpan: - add esi,offset spanpackage_t_size ; point to next span -LNextSpanESISet: - mov edx,ds:dword ptr[spanpackage_t_count+esi] - cmp edx,offset -999999 ; any more spans? - jnz LSpanLoop ; yes - - pop edi - pop ebp ; restore the caller's stack frame - pop ebx ; restore register variables - pop esi - ret - -;======= -; IR active draw loop -;======= -LDrawLoopIR: - -; FIXME: do we need to clamp light? We may need at least a buffer bit to -; keep it from poking into tfrac and causing problems - -LDraw8IR: - cmp bp,ds:word ptr[ecx] - jl Lp1IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch8IR: - mov ds:byte ptr[edi],al -Lp1IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw7IR: - cmp bp,ds:word ptr[2+ecx] - jl Lp2IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[2+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch7IR: - mov ds:byte ptr[1+edi],al -Lp2IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw6IR: - cmp bp,ds:word ptr[4+ecx] - jl Lp3IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[4+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch6IR: - mov ds:byte ptr[2+edi],al -Lp3IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw5IR: - cmp bp,ds:word ptr[6+ecx] - jl Lp4IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[6+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch5IR: - mov ds:byte ptr[3+edi],al -Lp4IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw4IR: - cmp bp,ds:word ptr[8+ecx] - jl Lp5IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[8+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch4IR: - mov ds:byte ptr[4+edi],al -Lp5IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw3IR: - cmp bp,ds:word ptr[10+ecx] - jl Lp6IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[10+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch3IR: - mov ds:byte ptr[5+edi],al -Lp6IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw2IR: - cmp bp,ds:word ptr[12+ecx] - jl Lp7IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[12+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch2IR: - mov ds:byte ptr[6+edi],al -Lp7IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LDraw1IR: - cmp bp,ds:word ptr[14+ecx] - jl Lp8IR - xor eax,eax - mov al,ds:byte ptr[esi] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[14+ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch1IR: - mov ds:byte ptr[7+edi],al -Lp8IR: - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebp,ds:dword ptr[lzistepx] - adc ebp,0 - add ebx,ds:dword ptr[_a_sstepxfrac] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - add edi,8 - add ecx,16 - - dec bx - jnz LDrawLoopIR - - pop esi ; restore spans pointer -LNextSpanIR: - add esi,offset spanpackage_t_size ; point to next span -LNextSpanESISetIR: - mov edx,ds:dword ptr[spanpackage_t_count+esi] - cmp edx,offset -999999 ; any more spans? - jnz LSpanLoop ; yes - - pop edi - pop ebp ; restore the caller's stack frame - pop ebx ; restore register variables - pop esi - ret - -;======= -; Standard One-Long Draw -;======= -; draw a one-long span - -LExactlyOneLong: - mov al,[_iractive] - cmp al,0 - jne LExactlyOneLongIR - - mov ecx,ds:dword ptr[spanpackage_t_pz+esi] - mov ebp,ds:dword ptr[spanpackage_t_zi+esi] - - ror ebp,16 ; put high 16 bits of 1/z in low word - mov ebx,ds:dword ptr[spanpackage_t_ptex+esi] - - cmp bp,ds:word ptr[ecx] - jl LNextSpan - xor eax,eax - mov edi,ds:dword ptr[spanpackage_t_pdest+esi] - mov ah,ds:byte ptr[spanpackage_t_light+1+esi] - add esi,offset spanpackage_t_size ; point to next span - mov al,ds:byte ptr[ebx] - mov ds:word ptr[ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch9: - mov ds:byte ptr[edi],al - - jmp LNextSpanESISet - - -;======== -;======== -; draw a one-long span - -LExactlyOneLongIR: - - mov ecx,ds:dword ptr[spanpackage_t_pz+esi] - mov ebp,ds:dword ptr[spanpackage_t_zi+esi] - - ror ebp,16 ; put high 16 bits of 1/z in low word - mov ebx,ds:dword ptr[spanpackage_t_ptex+esi] - - cmp bp,ds:word ptr[ecx] - jl LNextSpanIR - xor eax,eax - mov edi,ds:dword ptr[spanpackage_t_pdest+esi] - add esi,offset spanpackage_t_size ; point to next span - mov al,ds:byte ptr[ebx] - mov al,ds:byte ptr[_irtable+eax] - mov ds:word ptr[ecx],bp - mov al,ds:byte ptr[12345678h+eax] -LPatch9IR: - mov ds:byte ptr[edi],al - - jmp LNextSpanESISetIR - -;=================================== -;=================================== - public _D_Aff8Patch -_D_Aff8Patch: - mov eax,[_alias_colormap] - mov ds:dword ptr[LPatch1-4],eax - mov ds:dword ptr[LPatch2-4],eax - mov ds:dword ptr[LPatch3-4],eax - mov ds:dword ptr[LPatch4-4],eax - mov ds:dword ptr[LPatch5-4],eax - mov ds:dword ptr[LPatch6-4],eax - mov ds:dword ptr[LPatch7-4],eax - mov ds:dword ptr[LPatch8-4],eax - mov ds:dword ptr[LPatch9-4],eax - mov ds:dword ptr[LPatch1IR-4],eax - mov ds:dword ptr[LPatch2IR-4],eax - mov ds:dword ptr[LPatch3IR-4],eax - mov ds:dword ptr[LPatch4IR-4],eax - mov ds:dword ptr[LPatch5IR-4],eax - mov ds:dword ptr[LPatch6IR-4],eax - mov ds:dword ptr[LPatch7IR-4],eax - mov ds:dword ptr[LPatch8IR-4],eax - mov ds:dword ptr[LPatch9IR-4],eax - - ret - - - -;=================================== -;=================================== - -height equ 4+16 - - public _R_PolysetScanLeftEdge -_R_PolysetScanLeftEdge: - push ebp ; preserve caller stack frame pointer - push esi ; preserve register variables - push edi - push ebx - - mov eax,ds:dword ptr[height+esp] - mov ecx,ds:dword ptr[_d_sfrac] - - and eax,0FFFFh - mov ebx,ds:dword ptr[_d_ptex] - or ecx,eax - mov esi,ds:dword ptr[_d_pedgespanpackage] - mov edx,ds:dword ptr[_d_tfrac] - mov edi,ds:dword ptr[_d_light] - mov ebp,ds:dword ptr[_d_zi] - -; %eax: scratch -; %ebx: d_ptex -; %ecx: d_sfrac in high word, count in low word -; %edx: d_tfrac -; %esi: d_pedgespanpackage, errorterm, scratch alternately -; %edi: d_light -; %ebp: d_zi - -; do -; { - -LScanLoop: - -; d_pedgespanpackage->ptex = ptex; -; d_pedgespanpackage->pdest = d_pdest; -; d_pedgespanpackage->pz = d_pz; -; d_pedgespanpackage->count = d_aspancount; -; d_pedgespanpackage->light = d_light; -; d_pedgespanpackage->zi = d_zi; -; d_pedgespanpackage->sfrac = d_sfrac << 16; -; d_pedgespanpackage->tfrac = d_tfrac << 16; - mov ds:dword ptr[spanpackage_t_ptex+esi],ebx - mov eax,ds:dword ptr[_d_pdest] - mov ds:dword ptr[spanpackage_t_pdest+esi],eax - mov eax,ds:dword ptr[_d_pz] - mov ds:dword ptr[spanpackage_t_pz+esi],eax - mov eax,ds:dword ptr[_d_aspancount] - mov ds:dword ptr[spanpackage_t_count+esi],eax - mov ds:dword ptr[spanpackage_t_light+esi],edi - mov ds:dword ptr[spanpackage_t_zi+esi],ebp - mov ds:dword ptr[spanpackage_t_sfrac+esi],ecx - mov ds:dword ptr[spanpackage_t_tfrac+esi],edx - -; pretouch the next cache line - mov al,ds:byte ptr[spanpackage_t_size+esi] - -; d_pedgespanpackage++; - add esi,offset spanpackage_t_size - mov eax,ds:dword ptr[_erroradjustup] - mov ds:dword ptr[_d_pedgespanpackage],esi - -; errorterm += erroradjustup; - mov esi,ds:dword ptr[_errorterm] - add esi,eax - mov eax,ds:dword ptr[_d_pdest] - -; if (errorterm >= 0) -; { - js LNoLeftEdgeTurnover - -; errorterm -= erroradjustdown; -; d_pdest += d_pdestextrastep; - sub esi,ds:dword ptr[_erroradjustdown] - add eax,ds:dword ptr[_d_pdestextrastep] - mov ds:dword ptr[_errorterm],esi - mov ds:dword ptr[_d_pdest],eax - -; d_pz += d_pzextrastep; -; d_aspancount += d_countextrastep; -; d_ptex += d_ptexextrastep; -; d_sfrac += d_sfracextrastep; -; d_ptex += d_sfrac >> 16; -; d_sfrac &= 0xFFFF; -; d_tfrac += d_tfracextrastep; - mov eax,ds:dword ptr[_d_pz] - mov esi,ds:dword ptr[_d_aspancount] - add eax,ds:dword ptr[_d_pzextrastep] - add ecx,ds:dword ptr[_d_sfracextrastep] - adc ebx,ds:dword ptr[_d_ptexextrastep] - add esi,ds:dword ptr[_d_countextrastep] - mov ds:dword ptr[_d_pz],eax - mov eax,ds:dword ptr[_d_tfracextrastep] - mov ds:dword ptr[_d_aspancount],esi - add edx,eax - -; if (d_tfrac & 0x10000) -; { - jnc LSkip1 - -; d_ptex += r_affinetridesc.skinwidth; -; d_tfrac &= 0xFFFF; - add ebx,ds:dword ptr[_r_affinetridesc+atd_skinwidth] - -; } - -LSkip1: - -; d_light += d_lightextrastep; -; d_zi += d_ziextrastep; - add edi,ds:dword ptr[_d_lightextrastep] - add ebp,ds:dword ptr[_d_ziextrastep] - -; } - mov esi,ds:dword ptr[_d_pedgespanpackage] - dec ecx - test ecx,0FFFFh - jnz LScanLoop - - pop ebx - pop edi - pop esi - pop ebp - ret - -; else -; { - -LNoLeftEdgeTurnover: - mov ds:dword ptr[_errorterm],esi - -; d_pdest += d_pdestbasestep; - add eax,ds:dword ptr[_d_pdestbasestep] - mov ds:dword ptr[_d_pdest],eax - -; d_pz += d_pzbasestep; -; d_aspancount += ubasestep; -; d_ptex += d_ptexbasestep; -; d_sfrac += d_sfracbasestep; -; d_ptex += d_sfrac >> 16; -; d_sfrac &= 0xFFFF; - mov eax,ds:dword ptr[_d_pz] - mov esi,ds:dword ptr[_d_aspancount] - add eax,ds:dword ptr[_d_pzbasestep] - add ecx,ds:dword ptr[_d_sfracbasestep] - adc ebx,ds:dword ptr[_d_ptexbasestep] - add esi,ds:dword ptr[_ubasestep] - mov ds:dword ptr[_d_pz],eax - mov ds:dword ptr[_d_aspancount],esi - -; d_tfrac += d_tfracbasestep; - mov esi,ds:dword ptr[_d_tfracbasestep] - add edx,esi - -; if (d_tfrac & 0x10000) -; { - jnc LSkip2 - -; d_ptex += r_affinetridesc.skinwidth; -; d_tfrac &= 0xFFFF; - add ebx,ds:dword ptr[_r_affinetridesc+atd_skinwidth] - -; } - -LSkip2: - -; d_light += d_lightbasestep; -; d_zi += d_zibasestep; - add edi,ds:dword ptr[_d_lightbasestep] - add ebp,ds:dword ptr[_d_zibasestep] - -; } -; } while (--height); - mov esi,ds:dword ptr[_d_pedgespanpackage] - dec ecx - test ecx,0FFFFh - jnz LScanLoop - - pop ebx - pop edi - pop esi - pop ebp - ret - -_TEXT ENDS -endif ;id386 - END + .386P + .model FLAT +; +; d_polysa.s +; x86 assembly-language polygon model drawing code +; + +include qasm.inc +include d_if.inc + +if id386 + +; !!! if this is changed, it must be changed in d_polyse.c too !!! +;DPS_MAXSPANS equ (MAXHEIGHT+1) +; 1 extra for spanpackage that marks end + +;SPAN_SIZE equ (((DPS_MAXSPANS + 1 + ((CACHE_SIZE - 1) / spanpackage_t_size)) + 1) * spanpackage_t_size) + +MASK_1K equ 03FFh + +_DATA SEGMENT + + align 4 +;p10_minus_p20 dd 0 +;p01_minus_p21 dd 0 +;temp0 dd 0 +;temp1 dd 0 +;Ltemp dd 0 + +aff8entryvec_table dd LDraw8, LDraw7, LDraw6, LDraw5 + dd LDraw4, LDraw3, LDraw2, LDraw1, LDraw8IR, LDraw7IR, LDraw6IR, LDraw5IR, LDraw4IR, LDraw3IR, LDraw2IR, LDraw1IR + +lzistepx dd 0 + + externdef _rand1k:dword + externdef _rand1k_index:dword + externdef _alias_colormap:dword + +;PGM + externdef _irtable:dword + externdef _iractive:byte +;PGM + +_DATA ENDS +_TEXT SEGMENT + + +;---------------------------------------------------------------------- +; 8-bpp horizontal span drawing code for affine polygons, with smooth +; shading and no transparency +;---------------------------------------------------------------------- + +;=================================== +;=================================== + +pspans equ 4+8 + + public _D_PolysetAff8Start +_D_PolysetAff8Start: + + public _R_PolysetDrawSpans8_Opaque +_R_PolysetDrawSpans8_Opaque: + + push esi ; preserve register variables + push ebx + + mov esi,ds:dword ptr[pspans+esp] ; point to the first span descriptor + mov ecx,ds:dword ptr[_r_zistepx] + + push ebp ; preserve caller's stack frame + push edi + + ror ecx,16 ; put high 16 bits of 1/z step in low word + mov edx,ds:dword ptr[spanpackage_t_count+esi] + + mov ds:dword ptr[lzistepx],ecx + +LSpanLoop: + +; lcount = d_aspancount - pspanpackage->count; +; +; errorterm += erroradjustup; +; if (errorterm >= 0) +; { +; d_aspancount += d_countextrastep; +; errorterm -= erroradjustdown; +; } +; else +; { +; d_aspancount += ubasestep; +; } + + mov eax,ds:dword ptr[_d_aspancount] + sub eax,edx + + mov edx,ds:dword ptr[_erroradjustup] + mov ebx,ds:dword ptr[_errorterm] + add ebx,edx + js LNoTurnover + + mov edx,ds:dword ptr[_erroradjustdown] + mov edi,ds:dword ptr[_d_countextrastep] + sub ebx,edx + mov ebp,ds:dword ptr[_d_aspancount] + mov ds:dword ptr[_errorterm],ebx + add ebp,edi + mov ds:dword ptr[_d_aspancount],ebp + jmp LRightEdgeStepped + +LNoTurnover: + mov edi,ds:dword ptr[_d_aspancount] + mov edx,ds:dword ptr[_ubasestep] + mov ds:dword ptr[_errorterm],ebx + add edi,edx + mov ds:dword ptr[_d_aspancount],edi + +LRightEdgeStepped: + cmp eax,1 + + jl LNextSpan + jz LExactlyOneLong + +; +; set up advancetable +; + mov ecx,ds:dword ptr[_a_ststepxwhole] + mov edx,ds:dword ptr[_r_affinetridesc+atd_skinwidth] + + mov ds:dword ptr[advancetable+4],ecx ; advance base in t + add ecx,edx + + mov ds:dword ptr[advancetable],ecx ; advance extra in t + mov ecx,ds:dword ptr[_a_tstepxfrac] + + mov cx,ds:word ptr[_r_lstepx] + mov edx,eax ; count + + mov ds:dword ptr[tstep],ecx + add edx,7 + + shr edx,3 ; count of full and partial loops + mov ebx,ds:dword ptr[spanpackage_t_sfrac+esi] + + mov bx,dx + mov ecx,ds:dword ptr[spanpackage_t_pz+esi] + + neg eax + + mov edi,ds:dword ptr[spanpackage_t_pdest+esi] + and eax,7 ; 0->0, 1->7, 2->6, ... , 7->1 + + sub edi,eax ; compensate for hardwired offsets + sub ecx,eax + + sub ecx,eax + mov edx,ds:dword ptr[spanpackage_t_tfrac+esi] + + mov dx,ds:word ptr[spanpackage_t_light+esi] + mov ebp,ds:dword ptr[spanpackage_t_zi+esi] + + ror ebp,16 ; put high 16 bits of 1/z in low word + push esi + + push eax + mov al, [_iractive] + cmp al, 0 + pop eax + jne IRInsert + + mov esi,ds:dword ptr[spanpackage_t_ptex+esi] + jmp dword ptr[aff8entryvec_table+eax*4] + +IRInsert: + mov esi,ds:dword ptr[spanpackage_t_ptex+esi] + add eax, 8 + jmp dword ptr[aff8entryvec_table+eax*4] + +; %bx = count of full and partial loops +; %ebx high word = sfrac +; %ecx = pz +; %dx = light +; %edx high word = tfrac +; %esi = ptex +; %edi = pdest +; %ebp = 1/z +; tstep low word = C(r_lstepx) +; tstep high word = C(a_tstepxfrac) +; C(a_sstepxfrac) low word = 0 +; C(a_sstepxfrac) high word = C(a_sstepxfrac) + +;=== +;Standard Draw Loop +;=== +LDrawLoop: + + mov al,[_iractive] + cmp al,0 + jne LDrawLoopIR + +; FIXME: do we need to clamp light? We may need at least a buffer bit to +; keep it from poking into tfrac and causing problems + +LDraw8: + cmp bp,ds:word ptr[ecx] + jl Lp1 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch8: + mov ds:byte ptr[edi],al +Lp1: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw7: + cmp bp,ds:word ptr[2+ecx] + jl Lp2 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[2+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch7: + mov ds:byte ptr[1+edi],al +Lp2: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw6: + cmp bp,ds:word ptr[4+ecx] + jl Lp3 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[4+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch6: + mov ds:byte ptr[2+edi],al +Lp3: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw5: + cmp bp,ds:word ptr[6+ecx] + jl Lp4 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[6+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch5: + mov ds:byte ptr[3+edi],al +Lp4: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw4: + cmp bp,ds:word ptr[8+ecx] + jl Lp5 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[8+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch4: + mov ds:byte ptr[4+edi],al +Lp5: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw3: + cmp bp,ds:word ptr[10+ecx] + jl Lp6 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[10+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch3: + mov ds:byte ptr[5+edi],al +Lp6: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw2: + cmp bp,ds:word ptr[12+ecx] + jl Lp7 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[12+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch2: + mov ds:byte ptr[6+edi],al +Lp7: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw1: + cmp bp,ds:word ptr[14+ecx] + jl Lp8 + xor eax,eax + mov ah,dh + mov al,ds:byte ptr[esi] + mov ds:word ptr[14+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch1: + mov ds:byte ptr[7+edi],al +Lp8: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + add edi,8 + add ecx,16 + + dec bx + jnz LDrawLoop + + pop esi ; restore spans pointer +LNextSpan: + add esi,offset spanpackage_t_size ; point to next span +LNextSpanESISet: + mov edx,ds:dword ptr[spanpackage_t_count+esi] + cmp edx,offset -999999 ; any more spans? + jnz LSpanLoop ; yes + + pop edi + pop ebp ; restore the caller's stack frame + pop ebx ; restore register variables + pop esi + ret + +;======= +; IR active draw loop +;======= +LDrawLoopIR: + +; FIXME: do we need to clamp light? We may need at least a buffer bit to +; keep it from poking into tfrac and causing problems + +LDraw8IR: + cmp bp,ds:word ptr[ecx] + jl Lp1IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch8IR: + mov ds:byte ptr[edi],al +Lp1IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw7IR: + cmp bp,ds:word ptr[2+ecx] + jl Lp2IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[2+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch7IR: + mov ds:byte ptr[1+edi],al +Lp2IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw6IR: + cmp bp,ds:word ptr[4+ecx] + jl Lp3IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[4+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch6IR: + mov ds:byte ptr[2+edi],al +Lp3IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw5IR: + cmp bp,ds:word ptr[6+ecx] + jl Lp4IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[6+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch5IR: + mov ds:byte ptr[3+edi],al +Lp4IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw4IR: + cmp bp,ds:word ptr[8+ecx] + jl Lp5IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[8+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch4IR: + mov ds:byte ptr[4+edi],al +Lp5IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw3IR: + cmp bp,ds:word ptr[10+ecx] + jl Lp6IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[10+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch3IR: + mov ds:byte ptr[5+edi],al +Lp6IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw2IR: + cmp bp,ds:word ptr[12+ecx] + jl Lp7IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[12+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch2IR: + mov ds:byte ptr[6+edi],al +Lp7IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LDraw1IR: + cmp bp,ds:word ptr[14+ecx] + jl Lp8IR + xor eax,eax + mov al,ds:byte ptr[esi] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[14+ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch1IR: + mov ds:byte ptr[7+edi],al +Lp8IR: + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebp,ds:dword ptr[lzistepx] + adc ebp,0 + add ebx,ds:dword ptr[_a_sstepxfrac] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + add edi,8 + add ecx,16 + + dec bx + jnz LDrawLoopIR + + pop esi ; restore spans pointer +LNextSpanIR: + add esi,offset spanpackage_t_size ; point to next span +LNextSpanESISetIR: + mov edx,ds:dword ptr[spanpackage_t_count+esi] + cmp edx,offset -999999 ; any more spans? + jnz LSpanLoop ; yes + + pop edi + pop ebp ; restore the caller's stack frame + pop ebx ; restore register variables + pop esi + ret + +;======= +; Standard One-Long Draw +;======= +; draw a one-long span + +LExactlyOneLong: + mov al,[_iractive] + cmp al,0 + jne LExactlyOneLongIR + + mov ecx,ds:dword ptr[spanpackage_t_pz+esi] + mov ebp,ds:dword ptr[spanpackage_t_zi+esi] + + ror ebp,16 ; put high 16 bits of 1/z in low word + mov ebx,ds:dword ptr[spanpackage_t_ptex+esi] + + cmp bp,ds:word ptr[ecx] + jl LNextSpan + xor eax,eax + mov edi,ds:dword ptr[spanpackage_t_pdest+esi] + mov ah,ds:byte ptr[spanpackage_t_light+1+esi] + add esi,offset spanpackage_t_size ; point to next span + mov al,ds:byte ptr[ebx] + mov ds:word ptr[ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch9: + mov ds:byte ptr[edi],al + + jmp LNextSpanESISet + + +;======== +;======== +; draw a one-long span + +LExactlyOneLongIR: + + mov ecx,ds:dword ptr[spanpackage_t_pz+esi] + mov ebp,ds:dword ptr[spanpackage_t_zi+esi] + + ror ebp,16 ; put high 16 bits of 1/z in low word + mov ebx,ds:dword ptr[spanpackage_t_ptex+esi] + + cmp bp,ds:word ptr[ecx] + jl LNextSpanIR + xor eax,eax + mov edi,ds:dword ptr[spanpackage_t_pdest+esi] + add esi,offset spanpackage_t_size ; point to next span + mov al,ds:byte ptr[ebx] + mov al,ds:byte ptr[_irtable+eax] + mov ds:word ptr[ecx],bp + mov al,ds:byte ptr[12345678h+eax] +LPatch9IR: + mov ds:byte ptr[edi],al + + jmp LNextSpanESISetIR + +;=================================== +;=================================== + public _D_Aff8Patch +_D_Aff8Patch: + mov eax,[_alias_colormap] + mov ds:dword ptr[LPatch1-4],eax + mov ds:dword ptr[LPatch2-4],eax + mov ds:dword ptr[LPatch3-4],eax + mov ds:dword ptr[LPatch4-4],eax + mov ds:dword ptr[LPatch5-4],eax + mov ds:dword ptr[LPatch6-4],eax + mov ds:dword ptr[LPatch7-4],eax + mov ds:dword ptr[LPatch8-4],eax + mov ds:dword ptr[LPatch9-4],eax + mov ds:dword ptr[LPatch1IR-4],eax + mov ds:dword ptr[LPatch2IR-4],eax + mov ds:dword ptr[LPatch3IR-4],eax + mov ds:dword ptr[LPatch4IR-4],eax + mov ds:dword ptr[LPatch5IR-4],eax + mov ds:dword ptr[LPatch6IR-4],eax + mov ds:dword ptr[LPatch7IR-4],eax + mov ds:dword ptr[LPatch8IR-4],eax + mov ds:dword ptr[LPatch9IR-4],eax + + ret + + + +;=================================== +;=================================== + +height equ 4+16 + + public _R_PolysetScanLeftEdge +_R_PolysetScanLeftEdge: + push ebp ; preserve caller stack frame pointer + push esi ; preserve register variables + push edi + push ebx + + mov eax,ds:dword ptr[height+esp] + mov ecx,ds:dword ptr[_d_sfrac] + + and eax,0FFFFh + mov ebx,ds:dword ptr[_d_ptex] + or ecx,eax + mov esi,ds:dword ptr[_d_pedgespanpackage] + mov edx,ds:dword ptr[_d_tfrac] + mov edi,ds:dword ptr[_d_light] + mov ebp,ds:dword ptr[_d_zi] + +; %eax: scratch +; %ebx: d_ptex +; %ecx: d_sfrac in high word, count in low word +; %edx: d_tfrac +; %esi: d_pedgespanpackage, errorterm, scratch alternately +; %edi: d_light +; %ebp: d_zi + +; do +; { + +LScanLoop: + +; d_pedgespanpackage->ptex = ptex; +; d_pedgespanpackage->pdest = d_pdest; +; d_pedgespanpackage->pz = d_pz; +; d_pedgespanpackage->count = d_aspancount; +; d_pedgespanpackage->light = d_light; +; d_pedgespanpackage->zi = d_zi; +; d_pedgespanpackage->sfrac = d_sfrac << 16; +; d_pedgespanpackage->tfrac = d_tfrac << 16; + mov ds:dword ptr[spanpackage_t_ptex+esi],ebx + mov eax,ds:dword ptr[_d_pdest] + mov ds:dword ptr[spanpackage_t_pdest+esi],eax + mov eax,ds:dword ptr[_d_pz] + mov ds:dword ptr[spanpackage_t_pz+esi],eax + mov eax,ds:dword ptr[_d_aspancount] + mov ds:dword ptr[spanpackage_t_count+esi],eax + mov ds:dword ptr[spanpackage_t_light+esi],edi + mov ds:dword ptr[spanpackage_t_zi+esi],ebp + mov ds:dword ptr[spanpackage_t_sfrac+esi],ecx + mov ds:dword ptr[spanpackage_t_tfrac+esi],edx + +; pretouch the next cache line + mov al,ds:byte ptr[spanpackage_t_size+esi] + +; d_pedgespanpackage++; + add esi,offset spanpackage_t_size + mov eax,ds:dword ptr[_erroradjustup] + mov ds:dword ptr[_d_pedgespanpackage],esi + +; errorterm += erroradjustup; + mov esi,ds:dword ptr[_errorterm] + add esi,eax + mov eax,ds:dword ptr[_d_pdest] + +; if (errorterm >= 0) +; { + js LNoLeftEdgeTurnover + +; errorterm -= erroradjustdown; +; d_pdest += d_pdestextrastep; + sub esi,ds:dword ptr[_erroradjustdown] + add eax,ds:dword ptr[_d_pdestextrastep] + mov ds:dword ptr[_errorterm],esi + mov ds:dword ptr[_d_pdest],eax + +; d_pz += d_pzextrastep; +; d_aspancount += d_countextrastep; +; d_ptex += d_ptexextrastep; +; d_sfrac += d_sfracextrastep; +; d_ptex += d_sfrac >> 16; +; d_sfrac &= 0xFFFF; +; d_tfrac += d_tfracextrastep; + mov eax,ds:dword ptr[_d_pz] + mov esi,ds:dword ptr[_d_aspancount] + add eax,ds:dword ptr[_d_pzextrastep] + add ecx,ds:dword ptr[_d_sfracextrastep] + adc ebx,ds:dword ptr[_d_ptexextrastep] + add esi,ds:dword ptr[_d_countextrastep] + mov ds:dword ptr[_d_pz],eax + mov eax,ds:dword ptr[_d_tfracextrastep] + mov ds:dword ptr[_d_aspancount],esi + add edx,eax + +; if (d_tfrac & 0x10000) +; { + jnc LSkip1 + +; d_ptex += r_affinetridesc.skinwidth; +; d_tfrac &= 0xFFFF; + add ebx,ds:dword ptr[_r_affinetridesc+atd_skinwidth] + +; } + +LSkip1: + +; d_light += d_lightextrastep; +; d_zi += d_ziextrastep; + add edi,ds:dword ptr[_d_lightextrastep] + add ebp,ds:dword ptr[_d_ziextrastep] + +; } + mov esi,ds:dword ptr[_d_pedgespanpackage] + dec ecx + test ecx,0FFFFh + jnz LScanLoop + + pop ebx + pop edi + pop esi + pop ebp + ret + +; else +; { + +LNoLeftEdgeTurnover: + mov ds:dword ptr[_errorterm],esi + +; d_pdest += d_pdestbasestep; + add eax,ds:dword ptr[_d_pdestbasestep] + mov ds:dword ptr[_d_pdest],eax + +; d_pz += d_pzbasestep; +; d_aspancount += ubasestep; +; d_ptex += d_ptexbasestep; +; d_sfrac += d_sfracbasestep; +; d_ptex += d_sfrac >> 16; +; d_sfrac &= 0xFFFF; + mov eax,ds:dword ptr[_d_pz] + mov esi,ds:dword ptr[_d_aspancount] + add eax,ds:dword ptr[_d_pzbasestep] + add ecx,ds:dword ptr[_d_sfracbasestep] + adc ebx,ds:dword ptr[_d_ptexbasestep] + add esi,ds:dword ptr[_ubasestep] + mov ds:dword ptr[_d_pz],eax + mov ds:dword ptr[_d_aspancount],esi + +; d_tfrac += d_tfracbasestep; + mov esi,ds:dword ptr[_d_tfracbasestep] + add edx,esi + +; if (d_tfrac & 0x10000) +; { + jnc LSkip2 + +; d_ptex += r_affinetridesc.skinwidth; +; d_tfrac &= 0xFFFF; + add ebx,ds:dword ptr[_r_affinetridesc+atd_skinwidth] + +; } + +LSkip2: + +; d_light += d_lightbasestep; +; d_zi += d_zibasestep; + add edi,ds:dword ptr[_d_lightbasestep] + add ebp,ds:dword ptr[_d_zibasestep] + +; } +; } while (--height); + mov esi,ds:dword ptr[_d_pedgespanpackage] + dec ecx + test ecx,0FFFFh + jnz LScanLoop + + pop ebx + pop edi + pop esi + pop ebp + ret + +_TEXT ENDS +endif ;id386 + END diff --git a/ref_soft/r_scana.asm b/ref_soft/r_scana.asm index 2527882..1b00580 100644 --- a/ref_soft/r_scana.asm +++ b/ref_soft/r_scana.asm @@ -1,73 +1,73 @@ - .386P - .model FLAT -; -; d_scana.s -; x86 assembly-language turbulent texture mapping code -; - -include qasm.inc -include d_if.inc - -if id386 - -_DATA SEGMENT - -_DATA ENDS -_TEXT SEGMENT - -;---------------------------------------------------------------------- -; turbulent texture mapping code -;---------------------------------------------------------------------- - - align 4 - public _D_DrawTurbulent8Span -_D_DrawTurbulent8Span: - push ebp ; preserve caller's stack frame pointer - push esi ; preserve register variables - push edi - push ebx - - mov esi,ds:dword ptr[_r_turb_s] - mov ecx,ds:dword ptr[_r_turb_t] - mov edi,ds:dword ptr[_r_turb_pdest] - mov ebx,ds:dword ptr[_r_turb_spancount] - -Llp: - mov eax,ecx - mov edx,esi - sar eax,16 - mov ebp,ds:dword ptr[_r_turb_turb] - sar edx,16 - and eax,offset CYCLE-1 - and edx,offset CYCLE-1 - mov eax,ds:dword ptr[ebp+eax*4] - mov edx,ds:dword ptr[ebp+edx*4] - add eax,esi - sar eax,16 - add edx,ecx - sar edx,16 - and eax,offset TURB_TEX_SIZE-1 - and edx,offset TURB_TEX_SIZE-1 - shl edx,6 - mov ebp,ds:dword ptr[_r_turb_pbase] - add edx,eax - inc edi - add esi,ds:dword ptr[_r_turb_sstep] - add ecx,ds:dword ptr[_r_turb_tstep] - mov dl,ds:byte ptr[ebp+edx*1] - dec ebx - mov ds:byte ptr[-1+edi],dl - jnz Llp - - mov ds:dword ptr[_r_turb_pdest],edi - - pop ebx ; restore register variables - pop edi - pop esi - pop ebp ; restore caller's stack frame pointer - ret - - -_TEXT ENDS -endif ;id386 - END + .386P + .model FLAT +; +; d_scana.s +; x86 assembly-language turbulent texture mapping code +; + +include qasm.inc +include d_if.inc + +if id386 + +_DATA SEGMENT + +_DATA ENDS +_TEXT SEGMENT + +;---------------------------------------------------------------------- +; turbulent texture mapping code +;---------------------------------------------------------------------- + + align 4 + public _D_DrawTurbulent8Span +_D_DrawTurbulent8Span: + push ebp ; preserve caller's stack frame pointer + push esi ; preserve register variables + push edi + push ebx + + mov esi,ds:dword ptr[_r_turb_s] + mov ecx,ds:dword ptr[_r_turb_t] + mov edi,ds:dword ptr[_r_turb_pdest] + mov ebx,ds:dword ptr[_r_turb_spancount] + +Llp: + mov eax,ecx + mov edx,esi + sar eax,16 + mov ebp,ds:dword ptr[_r_turb_turb] + sar edx,16 + and eax,offset CYCLE-1 + and edx,offset CYCLE-1 + mov eax,ds:dword ptr[ebp+eax*4] + mov edx,ds:dword ptr[ebp+edx*4] + add eax,esi + sar eax,16 + add edx,ecx + sar edx,16 + and eax,offset TURB_TEX_SIZE-1 + and edx,offset TURB_TEX_SIZE-1 + shl edx,6 + mov ebp,ds:dword ptr[_r_turb_pbase] + add edx,eax + inc edi + add esi,ds:dword ptr[_r_turb_sstep] + add ecx,ds:dword ptr[_r_turb_tstep] + mov dl,ds:byte ptr[ebp+edx*1] + dec ebx + mov ds:byte ptr[-1+edi],dl + jnz Llp + + mov ds:dword ptr[_r_turb_pdest],edi + + pop ebx ; restore register variables + pop edi + pop esi + pop ebp ; restore caller's stack frame pointer + ret + + +_TEXT ENDS +endif ;id386 + END diff --git a/ref_soft/r_spr8.asm b/ref_soft/r_spr8.asm index 719068b..7b06b25 100644 --- a/ref_soft/r_spr8.asm +++ b/ref_soft/r_spr8.asm @@ -1,884 +1,884 @@ - .386P - .model FLAT -; -; d_spr8.s -; x86 assembly-language horizontal 8-bpp transparent span-drawing code. -; - -include qasm.inc -include d_if.inc - -if id386 - -;---------------------------------------------------------------------- -; 8-bpp horizontal span drawing code for polygons, with transparency. -;---------------------------------------------------------------------- - -_TEXT SEGMENT - -; out-of-line, rarely-needed clamping code - -LClampHigh0: - mov esi,ds:dword ptr[_bbextents] - jmp LClampReentry0 -LClampHighOrLow0: - jg LClampHigh0 - xor esi,esi - jmp LClampReentry0 - -LClampHigh1: - mov edx,ds:dword ptr[_bbextentt] - jmp LClampReentry1 -LClampHighOrLow1: - jg LClampHigh1 - xor edx,edx - jmp LClampReentry1 - -LClampLow2: - mov ebp,2048 - jmp LClampReentry2 -LClampHigh2: - mov ebp,ds:dword ptr[_bbextents] - jmp LClampReentry2 - -LClampLow3: - mov ecx,2048 - jmp LClampReentry3 -LClampHigh3: - mov ecx,ds:dword ptr[_bbextentt] - jmp LClampReentry3 - -LClampLow4: - mov eax,2048 - jmp LClampReentry4 -LClampHigh4: - mov eax,ds:dword ptr[_bbextents] - jmp LClampReentry4 - -LClampLow5: - mov ebx,2048 - jmp LClampReentry5 -LClampHigh5: - mov ebx,ds:dword ptr[_bbextentt] - jmp LClampReentry5 - - -pspans equ 4+16 - - align 4 - public _D_SpriteDrawSpansXXX -_D_SpriteDrawSpansXXX: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; -; set up scaled-by-8 steps, for 8-long segments; also set up cacheblock -; and span list pointers, and 1/z step in 0.32 fixed-point -; -; FIXME: any overlap from rearranging? - fld ds:dword ptr[_d_sdivzstepu] - fmul ds:dword ptr[fp_8] - mov edx,ds:dword ptr[_cacheblock] - fld ds:dword ptr[_d_tdivzstepu] - fmul ds:dword ptr[fp_8] - mov ebx,ds:dword ptr[pspans+esp] ; point to the first span descriptor - fld ds:dword ptr[_d_zistepu] - fmul ds:dword ptr[fp_8] - mov ds:dword ptr[pbase],edx ; pbase = cacheblock - fld ds:dword ptr[_d_zistepu] - fmul ds:dword ptr[fp_64kx64k] - fxch st(3) - fstp ds:dword ptr[sdivz8stepu] - fstp ds:dword ptr[zi8stepu] - fstp ds:dword ptr[tdivz8stepu] - fistp ds:dword ptr[izistep] - mov eax,ds:dword ptr[izistep] - ror eax,16 ; put upper 16 bits in low word - mov ecx,ds:dword ptr[sspan_t_count+ebx] - mov ds:dword ptr[izistep],eax - - cmp ecx,0 - jle LNextSpan - -LSpanLoop: - -; -; set up the initial s/z, t/z, and 1/z on the FP stack, and generate the -; initial s and t values -; -; FIXME: pipeline FILD? - fild ds:dword ptr[sspan_t_v+ebx] - fild ds:dword ptr[sspan_t_u+ebx] - - fld st(1) ; dv | du | dv - fmul ds:dword ptr[_d_sdivzstepv] ; dv*d_sdivzstepv | du | dv - fld st(1) ; du | dv*d_sdivzstepv | du | dv - fmul ds:dword ptr[_d_sdivzstepu] ; du*d_sdivzstepu | dv*d_sdivzstepv | du | dv - fld st(2) ; du | du*d_sdivzstepu | dv*d_sdivzstepv | du | dv - fmul ds:dword ptr[_d_tdivzstepu] ; du*d_tdivzstepu | du*d_sdivzstepu | -; dv*d_sdivzstepv | du | dv - fxch st(1) ; du*d_sdivzstepu | du*d_tdivzstepu | -; dv*d_sdivzstepv | du | dv - faddp st(2),st(0) ; du*d_tdivzstepu | -; du*d_sdivzstepu + dv*d_sdivzstepv | du | dv - fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | -; du*d_tdivzstepu | du | dv - fld st(3) ; dv | du*d_sdivzstepu + dv*d_sdivzstepv | -; du*d_tdivzstepu | du | dv - fmul ds:dword ptr[_d_tdivzstepv] ; dv*d_tdivzstepv | -; du*d_sdivzstepu + dv*d_sdivzstepv | -; du*d_tdivzstepu | du | dv - fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | -; dv*d_tdivzstepv | du*d_tdivzstepu | du | dv - fadd ds:dword ptr[_d_sdivzorigin] ; sdivz = d_sdivzorigin + dv*d_sdivzstepv + -; du*d_sdivzstepu; stays in %st(2) at end - fxch st(4) ; dv | dv*d_tdivzstepv | du*d_tdivzstepu | du | -; s/z - fmul ds:dword ptr[_d_zistepv] ; dv*d_zistepv | dv*d_tdivzstepv | -; du*d_tdivzstepu | du | s/z - fxch st(1) ; dv*d_tdivzstepv | dv*d_zistepv | -; du*d_tdivzstepu | du | s/z - faddp st(2),st(0) ; dv*d_zistepv | -; dv*d_tdivzstepv + du*d_tdivzstepu | du | s/z - fxch st(2) ; du | dv*d_tdivzstepv + du*d_tdivzstepu | -; dv*d_zistepv | s/z - fmul ds:dword ptr[_d_zistepu] ; du*d_zistepu | -; dv*d_tdivzstepv + du*d_tdivzstepu | -; dv*d_zistepv | s/z - fxch st(1) ; dv*d_tdivzstepv + du*d_tdivzstepu | -; du*d_zistepu | dv*d_zistepv | s/z - fadd ds:dword ptr[_d_tdivzorigin] ; tdivz = d_tdivzorigin + dv*d_tdivzstepv + -; du*d_tdivzstepu; stays in %st(1) at end - fxch st(2) ; dv*d_zistepv | du*d_zistepu | t/z | s/z - faddp st(1),st(0) ; dv*d_zistepv + du*d_zistepu | t/z | s/z - - fld ds:dword ptr[fp_64k] ; fp_64k | dv*d_zistepv + du*d_zistepu | t/z | s/z - fxch st(1) ; dv*d_zistepv + du*d_zistepu | fp_64k | t/z | s/z - fadd ds:dword ptr[_d_ziorigin] ; zi = d_ziorigin + dv*d_zistepv + -; du*d_zistepu; stays in %st(0) at end -; 1/z | fp_64k | t/z | s/z - - fld st(0) ; FIXME: get rid of stall on FMUL? - fmul ds:dword ptr[fp_64kx64k] - fxch st(1) - -; -; calculate and clamp s & t -; - fdiv st(2),st(0) ; 1/z | z*64k | t/z | s/z - fxch st(1) - - fistp ds:dword ptr[izi] ; 0.32 fixed-point 1/z - mov ebp,ds:dword ptr[izi] - -; -; set pz to point to the first z-buffer pixel in the span -; - ror ebp,16 ; put upper 16 bits in low word - mov eax,ds:dword ptr[sspan_t_v+ebx] - mov ds:dword ptr[izi],ebp - mov ebp,ds:dword ptr[sspan_t_u+ebx] - imul ds:dword ptr[_d_zrowbytes] - shl ebp,1 ; a word per pixel - add eax,ds:dword ptr[_d_pzbuffer] - add eax,ebp - mov ds:dword ptr[pz],eax - -; -; point %edi to the first pixel in the span -; - mov ebp,ds:dword ptr[_d_viewbuffer] - mov eax,ds:dword ptr[sspan_t_v+ebx] - push ebx ; preserve spans pointer - mov edx,ds:dword ptr[_tadjust] - mov esi,ds:dword ptr[_sadjust] - mov edi,ds:dword ptr[_d_scantable+eax*4] ; v * screenwidth - add edi,ebp - mov ebp,ds:dword ptr[sspan_t_u+ebx] - add edi,ebp ; pdest = &pdestspan[scans->u]; - -; -; now start the FDIV for the end of the span -; - cmp ecx,8 - ja LSetupNotLast1 - - dec ecx - jz LCleanup1 ; if only one pixel, no need to start an FDIV - mov ds:dword ptr[spancountminus1],ecx - -; finish up the s and t calcs - fxch st(1) ; z*64k | 1/z | t/z | s/z - - fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z - fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z - fxch st(1) ; z*64k | s | 1/z | t/z | s/z - fmul st(0),st(3) ; t | s | 1/z | t/z | s/z - fxch st(1) ; s | t | 1/z | t/z | s/z - fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z - fistp ds:dword ptr[t] ; 1/z | t/z | s/z - - fild ds:dword ptr[spancountminus1] - - fld ds:dword ptr[_d_tdivzstepu] ; _d_tdivzstepu | spancountminus1 - fld ds:dword ptr[_d_zistepu] ; _d_zistepu | _d_tdivzstepu | spancountminus1 - fmul st(0),st(2) ; _d_zistepu*scm1 | _d_tdivzstepu | scm1 - fxch st(1) ; _d_tdivzstepu | _d_zistepu*scm1 | scm1 - fmul st(0),st(2) ; _d_tdivzstepu*scm1 | _d_zistepu*scm1 | scm1 - fxch st(2) ; scm1 | _d_zistepu*scm1 | _d_tdivzstepu*scm1 - fmul ds:dword ptr[_d_sdivzstepu] ; _d_sdivzstepu*scm1 | _d_zistepu*scm1 | -; _d_tdivzstepu*scm1 - fxch st(1) ; _d_zistepu*scm1 | _d_sdivzstepu*scm1 | -; _d_tdivzstepu*scm1 - faddp st(3),st(0) ; _d_sdivzstepu*scm1 | _d_tdivzstepu*scm1 - fxch st(1) ; _d_tdivzstepu*scm1 | _d_sdivzstepu*scm1 - faddp st(3),st(0) ; _d_sdivzstepu*scm1 - faddp st(3),st(0) - - fld ds:dword ptr[fp_64k] - fdiv st(0),st(1) ; this is what we've gone to all this trouble to -; overlap - jmp LFDIVInFlight1 - -LCleanup1: -; finish up the s and t calcs - fxch st(1) ; z*64k | 1/z | t/z | s/z - - fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z - fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z - fxch st(1) ; z*64k | s | 1/z | t/z | s/z - fmul st(0),st(3) ; t | s | 1/z | t/z | s/z - fxch st(1) ; s | t | 1/z | t/z | s/z - fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z - fistp ds:dword ptr[t] ; 1/z | t/z | s/z - jmp LFDIVInFlight1 - - align 4 -LSetupNotLast1: -; finish up the s and t calcs - fxch st(1) ; z*64k | 1/z | t/z | s/z - - fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z - fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z - fxch st(1) ; z*64k | s | 1/z | t/z | s/z - fmul st(0),st(3) ; t | s | 1/z | t/z | s/z - fxch st(1) ; s | t | 1/z | t/z | s/z - fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z - fistp ds:dword ptr[t] ; 1/z | t/z | s/z - - fadd ds:dword ptr[zi8stepu] - fxch st(2) - fadd ds:dword ptr[sdivz8stepu] - fxch st(2) - fld ds:dword ptr[tdivz8stepu] - faddp st(2),st(0) - fld ds:dword ptr[fp_64k] - fdiv st(0),st(1) ; z = 1/1/z -; this is what we've gone to all this trouble to -; overlap -LFDIVInFlight1: - - add esi,ds:dword ptr[s] - add edx,ds:dword ptr[t] - mov ebx,ds:dword ptr[_bbextents] - mov ebp,ds:dword ptr[_bbextentt] - cmp esi,ebx - ja LClampHighOrLow0 -LClampReentry0: - mov ds:dword ptr[s],esi - mov ebx,ds:dword ptr[pbase] - shl esi,16 - cmp edx,ebp - mov ds:dword ptr[sfracf],esi - ja LClampHighOrLow1 -LClampReentry1: - mov ds:dword ptr[t],edx - mov esi,ds:dword ptr[s] ; sfrac = scans->sfrac; - shl edx,16 - mov eax,ds:dword ptr[t] ; tfrac = scans->tfrac; - sar esi,16 - mov ds:dword ptr[tfracf],edx - -; -; calculate the texture starting address -; - sar eax,16 - add esi,ebx - imul eax,ds:dword ptr[_cachewidth] ; (tfrac >> 16) * cachewidth - add esi,eax ; psource = pbase + (sfrac >> 16) + -; ((tfrac >> 16) * cachewidth); - -; -; determine whether last span or not -; - cmp ecx,8 - jna LLastSegment - -; -; not the last segment; do full 8-wide segment -; -LNotLastSegment: - -; -; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to -; get there -; - -; pick up after the FDIV that was left in flight previously - - fld st(0) ; duplicate it - fmul st(0),st(4) ; s = s/z * z - fxch st(1) - fmul st(0),st(3) ; t = t/z * z - fxch st(1) - fistp ds:dword ptr[snext] - fistp ds:dword ptr[tnext] - mov eax,ds:dword ptr[snext] - mov edx,ds:dword ptr[tnext] - - sub ecx,8 ; count off this segments' pixels - mov ebp,ds:dword ptr[_sadjust] - push ecx ; remember count of remaining pixels - mov ecx,ds:dword ptr[_tadjust] - - add ebp,eax - add ecx,edx - - mov eax,ds:dword ptr[_bbextents] - mov edx,ds:dword ptr[_bbextentt] - - cmp ebp,2048 - jl LClampLow2 - cmp ebp,eax - ja LClampHigh2 -LClampReentry2: - - cmp ecx,2048 - jl LClampLow3 - cmp ecx,edx - ja LClampHigh3 -LClampReentry3: - - mov ds:dword ptr[snext],ebp - mov ds:dword ptr[tnext],ecx - - sub ebp,ds:dword ptr[s] - sub ecx,ds:dword ptr[t] - -; -; set up advancetable -; - mov eax,ecx - mov edx,ebp - sar edx,19 ; sstep >>= 16; - mov ebx,ds:dword ptr[_cachewidth] - sar eax,19 ; tstep >>= 16; - jz LIsZero - imul eax,ebx ; (tstep >> 16) * cachewidth; -LIsZero: - add eax,edx ; add in sstep -; (tstep >> 16) * cachewidth + (sstep >> 16); - mov edx,ds:dword ptr[tfracf] - mov ds:dword ptr[advancetable+4],eax ; advance base in t - add eax,ebx ; ((tstep >> 16) + 1) * cachewidth + -; (sstep >> 16); - shl ebp,13 ; left-justify sstep fractional part - mov ds:dword ptr[sstep],ebp - mov ebx,ds:dword ptr[sfracf] - shl ecx,13 ; left-justify tstep fractional part - mov ds:dword ptr[advancetable],eax ; advance extra in t - mov ds:dword ptr[tstep],ecx - - mov ecx,ds:dword ptr[pz] - mov ebp,ds:dword ptr[izi] - - cmp bp,ds:word ptr[ecx] - jl Lp1 - mov al,ds:byte ptr[esi] ; get first source texel - cmp al,offset TRANSPARENT_COLOR - jz Lp1 - mov ds:word ptr[ecx],bp - mov ds:byte ptr[edi],al ; store first dest pixel -Lp1: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] ; advance tfrac fractional part by tstep frac - - sbb eax,eax ; turn tstep carry into -1 (0 if none) - add ebx,ds:dword ptr[sstep] ; advance sfrac fractional part by sstep frac - adc esi,ds:dword ptr[advancetable+4+eax*4] ; point to next source texel - - cmp bp,ds:word ptr[2+ecx] - jl Lp2 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp2 - mov ds:word ptr[2+ecx],bp - mov ds:byte ptr[1+edi],al -Lp2: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - cmp bp,ds:word ptr[4+ecx] - jl Lp3 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp3 - mov ds:word ptr[4+ecx],bp - mov ds:byte ptr[2+edi],al -Lp3: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - cmp bp,ds:word ptr[6+ecx] - jl Lp4 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp4 - mov ds:word ptr[6+ecx],bp - mov ds:byte ptr[3+edi],al -Lp4: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - cmp bp,ds:word ptr[8+ecx] - jl Lp5 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp5 - mov ds:word ptr[8+ecx],bp - mov ds:byte ptr[4+edi],al -Lp5: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -; -; start FDIV for end of next segment in flight, so it can overlap -; - pop eax - cmp eax,8 ; more than one segment after this? - ja LSetupNotLast2 ; yes - - dec eax - jz LFDIVInFlight2 ; if only one pixel, no need to start an FDIV - mov ds:dword ptr[spancountminus1],eax - fild ds:dword ptr[spancountminus1] - - fld ds:dword ptr[_d_zistepu] ; _d_zistepu | spancountminus1 - fmul st(0),st(1) ; _d_zistepu*scm1 | scm1 - fld ds:dword ptr[_d_tdivzstepu] ; _d_tdivzstepu | _d_zistepu*scm1 | scm1 - fmul st(0),st(2) ; _d_tdivzstepu*scm1 | _d_zistepu*scm1 | scm1 - fxch st(1) ; _d_zistepu*scm1 | _d_tdivzstepu*scm1 | scm1 - faddp st(3),st(0) ; _d_tdivzstepu*scm1 | scm1 - fxch st(1) ; scm1 | _d_tdivzstepu*scm1 - fmul ds:dword ptr[_d_sdivzstepu] ; _d_sdivzstepu*scm1 | _d_tdivzstepu*scm1 - fxch st(1) ; _d_tdivzstepu*scm1 | _d_sdivzstepu*scm1 - faddp st(3),st(0) ; _d_sdivzstepu*scm1 - fld ds:dword ptr[fp_64k] ; 64k | _d_sdivzstepu*scm1 - fxch st(1) ; _d_sdivzstepu*scm1 | 64k - faddp st(4),st(0) ; 64k - - fdiv st(0),st(1) ; this is what we've gone to all this trouble to -; overlap - jmp LFDIVInFlight2 - - align 4 -LSetupNotLast2: - fadd ds:dword ptr[zi8stepu] - fxch st(2) - fadd ds:dword ptr[sdivz8stepu] - fxch st(2) - fld ds:dword ptr[tdivz8stepu] - faddp st(2),st(0) - fld ds:dword ptr[fp_64k] - fdiv st(0),st(1) ; z = 1/1/z -; this is what we've gone to all this trouble to -; overlap -LFDIVInFlight2: - push eax - - cmp bp,ds:word ptr[10+ecx] - jl Lp6 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp6 - mov ds:word ptr[10+ecx],bp - mov ds:byte ptr[5+edi],al -Lp6: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - cmp bp,ds:word ptr[12+ecx] - jl Lp7 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp7 - mov ds:word ptr[12+ecx],bp - mov ds:byte ptr[6+edi],al -Lp7: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - cmp bp,ds:word ptr[14+ecx] - jl Lp8 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp8 - mov ds:word ptr[14+ecx],bp - mov ds:byte ptr[7+edi],al -Lp8: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - - add edi,8 - add ecx,16 - mov ds:dword ptr[tfracf],edx - mov edx,ds:dword ptr[snext] - mov ds:dword ptr[sfracf],ebx - mov ebx,ds:dword ptr[tnext] - mov ds:dword ptr[s],edx - mov ds:dword ptr[t],ebx - - mov ds:dword ptr[pz],ecx - mov ds:dword ptr[izi],ebp - - pop ecx ; retrieve count - -; -; determine whether last span or not -; - cmp ecx,8 ; are there multiple segments remaining? - ja LNotLastSegment ; yes - -; -; last segment of scan -; -LLastSegment: - -; -; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to -; get there. The number of pixels left is variable, and we want to land on the -; last pixel, not step one past it, so we can't run into arithmetic problems -; - test ecx,ecx - jz LNoSteps ; just draw the last pixel and we're done - -; pick up after the FDIV that was left in flight previously - - - fld st(0) ; duplicate it - fmul st(0),st(4) ; s = s/z * z - fxch st(1) - fmul st(0),st(3) ; t = t/z * z - fxch st(1) - fistp ds:dword ptr[snext] - fistp ds:dword ptr[tnext] - - mov ebx,ds:dword ptr[_tadjust] - mov eax,ds:dword ptr[_sadjust] - - add eax,ds:dword ptr[snext] - add ebx,ds:dword ptr[tnext] - - mov ebp,ds:dword ptr[_bbextents] - mov edx,ds:dword ptr[_bbextentt] - - cmp eax,2048 - jl LClampLow4 - cmp eax,ebp - ja LClampHigh4 -LClampReentry4: - mov ds:dword ptr[snext],eax - - cmp ebx,2048 - jl LClampLow5 - cmp ebx,edx - ja LClampHigh5 -LClampReentry5: - - cmp ecx,1 ; don't bother - je LOnlyOneStep ; if two pixels in segment, there's only one step, -; of the segment length - sub eax,ds:dword ptr[s] - sub ebx,ds:dword ptr[t] - - add eax,eax ; convert to 15.17 format so multiply by 1.31 - add ebx,ebx ; reciprocal yields 16.48 - imul ds:dword ptr[reciprocal_table-8+ecx*4] ; sstep = (snext - s) / (spancount-1) - mov ebp,edx - - mov eax,ebx - imul ds:dword ptr[reciprocal_table-8+ecx*4] ; tstep = (tnext - t) / (spancount-1) - -LSetEntryvec: -; -; set up advancetable -; - mov ebx,ds:dword ptr[spr8entryvec_table+ecx*4] - mov eax,edx - push ebx ; entry point into code for RET later - mov ecx,ebp - sar ecx,16 ; sstep >>= 16; - mov ebx,ds:dword ptr[_cachewidth] - sar edx,16 ; tstep >>= 16; - jz LIsZeroLast - imul edx,ebx ; (tstep >> 16) * cachewidth; -LIsZeroLast: - add edx,ecx ; add in sstep -; (tstep >> 16) * cachewidth + (sstep >> 16); - mov ecx,ds:dword ptr[tfracf] - mov ds:dword ptr[advancetable+4],edx ; advance base in t - add edx,ebx ; ((tstep >> 16) + 1) * cachewidth + -; (sstep >> 16); - shl ebp,16 ; left-justify sstep fractional part - mov ebx,ds:dword ptr[sfracf] - shl eax,16 ; left-justify tstep fractional part - mov ds:dword ptr[advancetable],edx ; advance extra in t - - mov ds:dword ptr[tstep],eax - mov ds:dword ptr[sstep],ebp - mov edx,ecx - - mov ecx,ds:dword ptr[pz] - mov ebp,ds:dword ptr[izi] - - ret ; jump to the number-of-pixels handler - -;---------------------------------------- - -LNoSteps: - mov ecx,ds:dword ptr[pz] - sub edi,7 ; adjust for hardwired offset - sub ecx,14 - jmp LEndSpan - - -LOnlyOneStep: - sub eax,ds:dword ptr[s] - sub ebx,ds:dword ptr[t] - mov ebp,eax - mov edx,ebx - jmp LSetEntryvec - -;---------------------------------------- - - public Spr8Entry2_8 -Spr8Entry2_8: - sub edi,6 ; adjust for hardwired offsets - sub ecx,12 - mov al,ds:byte ptr[esi] - jmp LLEntry2_8 - -;---------------------------------------- - - public Spr8Entry3_8 -Spr8Entry3_8: - sub edi,5 ; adjust for hardwired offsets - sub ecx,10 - jmp LLEntry3_8 - -;---------------------------------------- - - public Spr8Entry4_8 -Spr8Entry4_8: - sub edi,4 ; adjust for hardwired offsets - sub ecx,8 - jmp LLEntry4_8 - -;---------------------------------------- - - public Spr8Entry5_8 -Spr8Entry5_8: - sub edi,3 ; adjust for hardwired offsets - sub ecx,6 - jmp LLEntry5_8 - -;---------------------------------------- - - public Spr8Entry6_8 -Spr8Entry6_8: - sub edi,2 ; adjust for hardwired offsets - sub ecx,4 - jmp LLEntry6_8 - -;---------------------------------------- - - public Spr8Entry7_8 -Spr8Entry7_8: - dec edi ; adjust for hardwired offsets - sub ecx,2 - jmp LLEntry7_8 - -;---------------------------------------- - - public Spr8Entry8_8 -Spr8Entry8_8: - cmp bp,ds:word ptr[ecx] - jl Lp9 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp9 - mov ds:word ptr[ecx],bp - mov ds:byte ptr[edi],al -Lp9: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] -LLEntry7_8: - cmp bp,ds:word ptr[2+ecx] - jl Lp10 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp10 - mov ds:word ptr[2+ecx],bp - mov ds:byte ptr[1+edi],al -Lp10: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] -LLEntry6_8: - cmp bp,ds:word ptr[4+ecx] - jl Lp11 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp11 - mov ds:word ptr[4+ecx],bp - mov ds:byte ptr[2+edi],al -Lp11: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] -LLEntry5_8: - cmp bp,ds:word ptr[6+ecx] - jl Lp12 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp12 - mov ds:word ptr[6+ecx],bp - mov ds:byte ptr[3+edi],al -Lp12: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] -LLEntry4_8: - cmp bp,ds:word ptr[8+ecx] - jl Lp13 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp13 - mov ds:word ptr[8+ecx],bp - mov ds:byte ptr[4+edi],al -Lp13: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] -LLEntry3_8: - cmp bp,ds:word ptr[10+ecx] - jl Lp14 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp14 - mov ds:word ptr[10+ecx],bp - mov ds:byte ptr[5+edi],al -Lp14: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] -LLEntry2_8: - cmp bp,ds:word ptr[12+ecx] - jl Lp15 - mov al,ds:byte ptr[esi] - cmp al,offset TRANSPARENT_COLOR - jz Lp15 - mov ds:word ptr[12+ecx],bp - mov ds:byte ptr[6+edi],al -Lp15: - add ebp,ds:dword ptr[izistep] - adc ebp,0 - add edx,ds:dword ptr[tstep] - sbb eax,eax - add ebx,ds:dword ptr[sstep] - adc esi,ds:dword ptr[advancetable+4+eax*4] - -LEndSpan: - cmp bp,ds:word ptr[14+ecx] - jl Lp16 - mov al,ds:byte ptr[esi] ; load first texel in segment - cmp al,offset TRANSPARENT_COLOR - jz Lp16 - mov ds:word ptr[14+ecx],bp - mov ds:byte ptr[7+edi],al -Lp16: - -; -; clear s/z, t/z, 1/z from FP stack -; - fstp st(0) - fstp st(0) - fstp st(0) - - pop ebx ; restore spans pointer -LNextSpan: - add ebx,offset sspan_t_size ; point to next span - mov ecx,ds:dword ptr[sspan_t_count+ebx] - cmp ecx,0 ; any more spans? - jg LSpanLoop ; yes - jz LNextSpan ; yes, but this one's empty - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - -_TEXT ENDS -endif ; id386 - END + .386P + .model FLAT +; +; d_spr8.s +; x86 assembly-language horizontal 8-bpp transparent span-drawing code. +; + +include qasm.inc +include d_if.inc + +if id386 + +;---------------------------------------------------------------------- +; 8-bpp horizontal span drawing code for polygons, with transparency. +;---------------------------------------------------------------------- + +_TEXT SEGMENT + +; out-of-line, rarely-needed clamping code + +LClampHigh0: + mov esi,ds:dword ptr[_bbextents] + jmp LClampReentry0 +LClampHighOrLow0: + jg LClampHigh0 + xor esi,esi + jmp LClampReentry0 + +LClampHigh1: + mov edx,ds:dword ptr[_bbextentt] + jmp LClampReentry1 +LClampHighOrLow1: + jg LClampHigh1 + xor edx,edx + jmp LClampReentry1 + +LClampLow2: + mov ebp,2048 + jmp LClampReentry2 +LClampHigh2: + mov ebp,ds:dword ptr[_bbextents] + jmp LClampReentry2 + +LClampLow3: + mov ecx,2048 + jmp LClampReentry3 +LClampHigh3: + mov ecx,ds:dword ptr[_bbextentt] + jmp LClampReentry3 + +LClampLow4: + mov eax,2048 + jmp LClampReentry4 +LClampHigh4: + mov eax,ds:dword ptr[_bbextents] + jmp LClampReentry4 + +LClampLow5: + mov ebx,2048 + jmp LClampReentry5 +LClampHigh5: + mov ebx,ds:dword ptr[_bbextentt] + jmp LClampReentry5 + + +pspans equ 4+16 + + align 4 + public _D_SpriteDrawSpansXXX +_D_SpriteDrawSpansXXX: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; +; set up scaled-by-8 steps, for 8-long segments; also set up cacheblock +; and span list pointers, and 1/z step in 0.32 fixed-point +; +; FIXME: any overlap from rearranging? + fld ds:dword ptr[_d_sdivzstepu] + fmul ds:dword ptr[fp_8] + mov edx,ds:dword ptr[_cacheblock] + fld ds:dword ptr[_d_tdivzstepu] + fmul ds:dword ptr[fp_8] + mov ebx,ds:dword ptr[pspans+esp] ; point to the first span descriptor + fld ds:dword ptr[_d_zistepu] + fmul ds:dword ptr[fp_8] + mov ds:dword ptr[pbase],edx ; pbase = cacheblock + fld ds:dword ptr[_d_zistepu] + fmul ds:dword ptr[fp_64kx64k] + fxch st(3) + fstp ds:dword ptr[sdivz8stepu] + fstp ds:dword ptr[zi8stepu] + fstp ds:dword ptr[tdivz8stepu] + fistp ds:dword ptr[izistep] + mov eax,ds:dword ptr[izistep] + ror eax,16 ; put upper 16 bits in low word + mov ecx,ds:dword ptr[sspan_t_count+ebx] + mov ds:dword ptr[izistep],eax + + cmp ecx,0 + jle LNextSpan + +LSpanLoop: + +; +; set up the initial s/z, t/z, and 1/z on the FP stack, and generate the +; initial s and t values +; +; FIXME: pipeline FILD? + fild ds:dword ptr[sspan_t_v+ebx] + fild ds:dword ptr[sspan_t_u+ebx] + + fld st(1) ; dv | du | dv + fmul ds:dword ptr[_d_sdivzstepv] ; dv*d_sdivzstepv | du | dv + fld st(1) ; du | dv*d_sdivzstepv | du | dv + fmul ds:dword ptr[_d_sdivzstepu] ; du*d_sdivzstepu | dv*d_sdivzstepv | du | dv + fld st(2) ; du | du*d_sdivzstepu | dv*d_sdivzstepv | du | dv + fmul ds:dword ptr[_d_tdivzstepu] ; du*d_tdivzstepu | du*d_sdivzstepu | +; dv*d_sdivzstepv | du | dv + fxch st(1) ; du*d_sdivzstepu | du*d_tdivzstepu | +; dv*d_sdivzstepv | du | dv + faddp st(2),st(0) ; du*d_tdivzstepu | +; du*d_sdivzstepu + dv*d_sdivzstepv | du | dv + fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | +; du*d_tdivzstepu | du | dv + fld st(3) ; dv | du*d_sdivzstepu + dv*d_sdivzstepv | +; du*d_tdivzstepu | du | dv + fmul ds:dword ptr[_d_tdivzstepv] ; dv*d_tdivzstepv | +; du*d_sdivzstepu + dv*d_sdivzstepv | +; du*d_tdivzstepu | du | dv + fxch st(1) ; du*d_sdivzstepu + dv*d_sdivzstepv | +; dv*d_tdivzstepv | du*d_tdivzstepu | du | dv + fadd ds:dword ptr[_d_sdivzorigin] ; sdivz = d_sdivzorigin + dv*d_sdivzstepv + +; du*d_sdivzstepu; stays in %st(2) at end + fxch st(4) ; dv | dv*d_tdivzstepv | du*d_tdivzstepu | du | +; s/z + fmul ds:dword ptr[_d_zistepv] ; dv*d_zistepv | dv*d_tdivzstepv | +; du*d_tdivzstepu | du | s/z + fxch st(1) ; dv*d_tdivzstepv | dv*d_zistepv | +; du*d_tdivzstepu | du | s/z + faddp st(2),st(0) ; dv*d_zistepv | +; dv*d_tdivzstepv + du*d_tdivzstepu | du | s/z + fxch st(2) ; du | dv*d_tdivzstepv + du*d_tdivzstepu | +; dv*d_zistepv | s/z + fmul ds:dword ptr[_d_zistepu] ; du*d_zistepu | +; dv*d_tdivzstepv + du*d_tdivzstepu | +; dv*d_zistepv | s/z + fxch st(1) ; dv*d_tdivzstepv + du*d_tdivzstepu | +; du*d_zistepu | dv*d_zistepv | s/z + fadd ds:dword ptr[_d_tdivzorigin] ; tdivz = d_tdivzorigin + dv*d_tdivzstepv + +; du*d_tdivzstepu; stays in %st(1) at end + fxch st(2) ; dv*d_zistepv | du*d_zistepu | t/z | s/z + faddp st(1),st(0) ; dv*d_zistepv + du*d_zistepu | t/z | s/z + + fld ds:dword ptr[fp_64k] ; fp_64k | dv*d_zistepv + du*d_zistepu | t/z | s/z + fxch st(1) ; dv*d_zistepv + du*d_zistepu | fp_64k | t/z | s/z + fadd ds:dword ptr[_d_ziorigin] ; zi = d_ziorigin + dv*d_zistepv + +; du*d_zistepu; stays in %st(0) at end +; 1/z | fp_64k | t/z | s/z + + fld st(0) ; FIXME: get rid of stall on FMUL? + fmul ds:dword ptr[fp_64kx64k] + fxch st(1) + +; +; calculate and clamp s & t +; + fdiv st(2),st(0) ; 1/z | z*64k | t/z | s/z + fxch st(1) + + fistp ds:dword ptr[izi] ; 0.32 fixed-point 1/z + mov ebp,ds:dword ptr[izi] + +; +; set pz to point to the first z-buffer pixel in the span +; + ror ebp,16 ; put upper 16 bits in low word + mov eax,ds:dword ptr[sspan_t_v+ebx] + mov ds:dword ptr[izi],ebp + mov ebp,ds:dword ptr[sspan_t_u+ebx] + imul ds:dword ptr[_d_zrowbytes] + shl ebp,1 ; a word per pixel + add eax,ds:dword ptr[_d_pzbuffer] + add eax,ebp + mov ds:dword ptr[pz],eax + +; +; point %edi to the first pixel in the span +; + mov ebp,ds:dword ptr[_d_viewbuffer] + mov eax,ds:dword ptr[sspan_t_v+ebx] + push ebx ; preserve spans pointer + mov edx,ds:dword ptr[_tadjust] + mov esi,ds:dword ptr[_sadjust] + mov edi,ds:dword ptr[_d_scantable+eax*4] ; v * screenwidth + add edi,ebp + mov ebp,ds:dword ptr[sspan_t_u+ebx] + add edi,ebp ; pdest = &pdestspan[scans->u]; + +; +; now start the FDIV for the end of the span +; + cmp ecx,8 + ja LSetupNotLast1 + + dec ecx + jz LCleanup1 ; if only one pixel, no need to start an FDIV + mov ds:dword ptr[spancountminus1],ecx + +; finish up the s and t calcs + fxch st(1) ; z*64k | 1/z | t/z | s/z + + fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z + fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z + fxch st(1) ; z*64k | s | 1/z | t/z | s/z + fmul st(0),st(3) ; t | s | 1/z | t/z | s/z + fxch st(1) ; s | t | 1/z | t/z | s/z + fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z + fistp ds:dword ptr[t] ; 1/z | t/z | s/z + + fild ds:dword ptr[spancountminus1] + + fld ds:dword ptr[_d_tdivzstepu] ; _d_tdivzstepu | spancountminus1 + fld ds:dword ptr[_d_zistepu] ; _d_zistepu | _d_tdivzstepu | spancountminus1 + fmul st(0),st(2) ; _d_zistepu*scm1 | _d_tdivzstepu | scm1 + fxch st(1) ; _d_tdivzstepu | _d_zistepu*scm1 | scm1 + fmul st(0),st(2) ; _d_tdivzstepu*scm1 | _d_zistepu*scm1 | scm1 + fxch st(2) ; scm1 | _d_zistepu*scm1 | _d_tdivzstepu*scm1 + fmul ds:dword ptr[_d_sdivzstepu] ; _d_sdivzstepu*scm1 | _d_zistepu*scm1 | +; _d_tdivzstepu*scm1 + fxch st(1) ; _d_zistepu*scm1 | _d_sdivzstepu*scm1 | +; _d_tdivzstepu*scm1 + faddp st(3),st(0) ; _d_sdivzstepu*scm1 | _d_tdivzstepu*scm1 + fxch st(1) ; _d_tdivzstepu*scm1 | _d_sdivzstepu*scm1 + faddp st(3),st(0) ; _d_sdivzstepu*scm1 + faddp st(3),st(0) + + fld ds:dword ptr[fp_64k] + fdiv st(0),st(1) ; this is what we've gone to all this trouble to +; overlap + jmp LFDIVInFlight1 + +LCleanup1: +; finish up the s and t calcs + fxch st(1) ; z*64k | 1/z | t/z | s/z + + fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z + fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z + fxch st(1) ; z*64k | s | 1/z | t/z | s/z + fmul st(0),st(3) ; t | s | 1/z | t/z | s/z + fxch st(1) ; s | t | 1/z | t/z | s/z + fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z + fistp ds:dword ptr[t] ; 1/z | t/z | s/z + jmp LFDIVInFlight1 + + align 4 +LSetupNotLast1: +; finish up the s and t calcs + fxch st(1) ; z*64k | 1/z | t/z | s/z + + fld st(0) ; z*64k | z*64k | 1/z | t/z | s/z + fmul st(0),st(4) ; s | z*64k | 1/z | t/z | s/z + fxch st(1) ; z*64k | s | 1/z | t/z | s/z + fmul st(0),st(3) ; t | s | 1/z | t/z | s/z + fxch st(1) ; s | t | 1/z | t/z | s/z + fistp ds:dword ptr[s] ; 1/z | t | t/z | s/z + fistp ds:dword ptr[t] ; 1/z | t/z | s/z + + fadd ds:dword ptr[zi8stepu] + fxch st(2) + fadd ds:dword ptr[sdivz8stepu] + fxch st(2) + fld ds:dword ptr[tdivz8stepu] + faddp st(2),st(0) + fld ds:dword ptr[fp_64k] + fdiv st(0),st(1) ; z = 1/1/z +; this is what we've gone to all this trouble to +; overlap +LFDIVInFlight1: + + add esi,ds:dword ptr[s] + add edx,ds:dword ptr[t] + mov ebx,ds:dword ptr[_bbextents] + mov ebp,ds:dword ptr[_bbextentt] + cmp esi,ebx + ja LClampHighOrLow0 +LClampReentry0: + mov ds:dword ptr[s],esi + mov ebx,ds:dword ptr[pbase] + shl esi,16 + cmp edx,ebp + mov ds:dword ptr[sfracf],esi + ja LClampHighOrLow1 +LClampReentry1: + mov ds:dword ptr[t],edx + mov esi,ds:dword ptr[s] ; sfrac = scans->sfrac; + shl edx,16 + mov eax,ds:dword ptr[t] ; tfrac = scans->tfrac; + sar esi,16 + mov ds:dword ptr[tfracf],edx + +; +; calculate the texture starting address +; + sar eax,16 + add esi,ebx + imul eax,ds:dword ptr[_cachewidth] ; (tfrac >> 16) * cachewidth + add esi,eax ; psource = pbase + (sfrac >> 16) + +; ((tfrac >> 16) * cachewidth); + +; +; determine whether last span or not +; + cmp ecx,8 + jna LLastSegment + +; +; not the last segment; do full 8-wide segment +; +LNotLastSegment: + +; +; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to +; get there +; + +; pick up after the FDIV that was left in flight previously + + fld st(0) ; duplicate it + fmul st(0),st(4) ; s = s/z * z + fxch st(1) + fmul st(0),st(3) ; t = t/z * z + fxch st(1) + fistp ds:dword ptr[snext] + fistp ds:dword ptr[tnext] + mov eax,ds:dword ptr[snext] + mov edx,ds:dword ptr[tnext] + + sub ecx,8 ; count off this segments' pixels + mov ebp,ds:dword ptr[_sadjust] + push ecx ; remember count of remaining pixels + mov ecx,ds:dword ptr[_tadjust] + + add ebp,eax + add ecx,edx + + mov eax,ds:dword ptr[_bbextents] + mov edx,ds:dword ptr[_bbextentt] + + cmp ebp,2048 + jl LClampLow2 + cmp ebp,eax + ja LClampHigh2 +LClampReentry2: + + cmp ecx,2048 + jl LClampLow3 + cmp ecx,edx + ja LClampHigh3 +LClampReentry3: + + mov ds:dword ptr[snext],ebp + mov ds:dword ptr[tnext],ecx + + sub ebp,ds:dword ptr[s] + sub ecx,ds:dword ptr[t] + +; +; set up advancetable +; + mov eax,ecx + mov edx,ebp + sar edx,19 ; sstep >>= 16; + mov ebx,ds:dword ptr[_cachewidth] + sar eax,19 ; tstep >>= 16; + jz LIsZero + imul eax,ebx ; (tstep >> 16) * cachewidth; +LIsZero: + add eax,edx ; add in sstep +; (tstep >> 16) * cachewidth + (sstep >> 16); + mov edx,ds:dword ptr[tfracf] + mov ds:dword ptr[advancetable+4],eax ; advance base in t + add eax,ebx ; ((tstep >> 16) + 1) * cachewidth + +; (sstep >> 16); + shl ebp,13 ; left-justify sstep fractional part + mov ds:dword ptr[sstep],ebp + mov ebx,ds:dword ptr[sfracf] + shl ecx,13 ; left-justify tstep fractional part + mov ds:dword ptr[advancetable],eax ; advance extra in t + mov ds:dword ptr[tstep],ecx + + mov ecx,ds:dword ptr[pz] + mov ebp,ds:dword ptr[izi] + + cmp bp,ds:word ptr[ecx] + jl Lp1 + mov al,ds:byte ptr[esi] ; get first source texel + cmp al,offset TRANSPARENT_COLOR + jz Lp1 + mov ds:word ptr[ecx],bp + mov ds:byte ptr[edi],al ; store first dest pixel +Lp1: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] ; advance tfrac fractional part by tstep frac + + sbb eax,eax ; turn tstep carry into -1 (0 if none) + add ebx,ds:dword ptr[sstep] ; advance sfrac fractional part by sstep frac + adc esi,ds:dword ptr[advancetable+4+eax*4] ; point to next source texel + + cmp bp,ds:word ptr[2+ecx] + jl Lp2 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp2 + mov ds:word ptr[2+ecx],bp + mov ds:byte ptr[1+edi],al +Lp2: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + cmp bp,ds:word ptr[4+ecx] + jl Lp3 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp3 + mov ds:word ptr[4+ecx],bp + mov ds:byte ptr[2+edi],al +Lp3: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + cmp bp,ds:word ptr[6+ecx] + jl Lp4 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp4 + mov ds:word ptr[6+ecx],bp + mov ds:byte ptr[3+edi],al +Lp4: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + cmp bp,ds:word ptr[8+ecx] + jl Lp5 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp5 + mov ds:word ptr[8+ecx],bp + mov ds:byte ptr[4+edi],al +Lp5: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +; +; start FDIV for end of next segment in flight, so it can overlap +; + pop eax + cmp eax,8 ; more than one segment after this? + ja LSetupNotLast2 ; yes + + dec eax + jz LFDIVInFlight2 ; if only one pixel, no need to start an FDIV + mov ds:dword ptr[spancountminus1],eax + fild ds:dword ptr[spancountminus1] + + fld ds:dword ptr[_d_zistepu] ; _d_zistepu | spancountminus1 + fmul st(0),st(1) ; _d_zistepu*scm1 | scm1 + fld ds:dword ptr[_d_tdivzstepu] ; _d_tdivzstepu | _d_zistepu*scm1 | scm1 + fmul st(0),st(2) ; _d_tdivzstepu*scm1 | _d_zistepu*scm1 | scm1 + fxch st(1) ; _d_zistepu*scm1 | _d_tdivzstepu*scm1 | scm1 + faddp st(3),st(0) ; _d_tdivzstepu*scm1 | scm1 + fxch st(1) ; scm1 | _d_tdivzstepu*scm1 + fmul ds:dword ptr[_d_sdivzstepu] ; _d_sdivzstepu*scm1 | _d_tdivzstepu*scm1 + fxch st(1) ; _d_tdivzstepu*scm1 | _d_sdivzstepu*scm1 + faddp st(3),st(0) ; _d_sdivzstepu*scm1 + fld ds:dword ptr[fp_64k] ; 64k | _d_sdivzstepu*scm1 + fxch st(1) ; _d_sdivzstepu*scm1 | 64k + faddp st(4),st(0) ; 64k + + fdiv st(0),st(1) ; this is what we've gone to all this trouble to +; overlap + jmp LFDIVInFlight2 + + align 4 +LSetupNotLast2: + fadd ds:dword ptr[zi8stepu] + fxch st(2) + fadd ds:dword ptr[sdivz8stepu] + fxch st(2) + fld ds:dword ptr[tdivz8stepu] + faddp st(2),st(0) + fld ds:dword ptr[fp_64k] + fdiv st(0),st(1) ; z = 1/1/z +; this is what we've gone to all this trouble to +; overlap +LFDIVInFlight2: + push eax + + cmp bp,ds:word ptr[10+ecx] + jl Lp6 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp6 + mov ds:word ptr[10+ecx],bp + mov ds:byte ptr[5+edi],al +Lp6: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + cmp bp,ds:word ptr[12+ecx] + jl Lp7 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp7 + mov ds:word ptr[12+ecx],bp + mov ds:byte ptr[6+edi],al +Lp7: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + cmp bp,ds:word ptr[14+ecx] + jl Lp8 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp8 + mov ds:word ptr[14+ecx],bp + mov ds:byte ptr[7+edi],al +Lp8: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + + add edi,8 + add ecx,16 + mov ds:dword ptr[tfracf],edx + mov edx,ds:dword ptr[snext] + mov ds:dword ptr[sfracf],ebx + mov ebx,ds:dword ptr[tnext] + mov ds:dword ptr[s],edx + mov ds:dword ptr[t],ebx + + mov ds:dword ptr[pz],ecx + mov ds:dword ptr[izi],ebp + + pop ecx ; retrieve count + +; +; determine whether last span or not +; + cmp ecx,8 ; are there multiple segments remaining? + ja LNotLastSegment ; yes + +; +; last segment of scan +; +LLastSegment: + +; +; advance s/z, t/z, and 1/z, and calculate s & t at end of span and steps to +; get there. The number of pixels left is variable, and we want to land on the +; last pixel, not step one past it, so we can't run into arithmetic problems +; + test ecx,ecx + jz LNoSteps ; just draw the last pixel and we're done + +; pick up after the FDIV that was left in flight previously + + + fld st(0) ; duplicate it + fmul st(0),st(4) ; s = s/z * z + fxch st(1) + fmul st(0),st(3) ; t = t/z * z + fxch st(1) + fistp ds:dword ptr[snext] + fistp ds:dword ptr[tnext] + + mov ebx,ds:dword ptr[_tadjust] + mov eax,ds:dword ptr[_sadjust] + + add eax,ds:dword ptr[snext] + add ebx,ds:dword ptr[tnext] + + mov ebp,ds:dword ptr[_bbextents] + mov edx,ds:dword ptr[_bbextentt] + + cmp eax,2048 + jl LClampLow4 + cmp eax,ebp + ja LClampHigh4 +LClampReentry4: + mov ds:dword ptr[snext],eax + + cmp ebx,2048 + jl LClampLow5 + cmp ebx,edx + ja LClampHigh5 +LClampReentry5: + + cmp ecx,1 ; don't bother + je LOnlyOneStep ; if two pixels in segment, there's only one step, +; of the segment length + sub eax,ds:dword ptr[s] + sub ebx,ds:dword ptr[t] + + add eax,eax ; convert to 15.17 format so multiply by 1.31 + add ebx,ebx ; reciprocal yields 16.48 + imul ds:dword ptr[reciprocal_table-8+ecx*4] ; sstep = (snext - s) / (spancount-1) + mov ebp,edx + + mov eax,ebx + imul ds:dword ptr[reciprocal_table-8+ecx*4] ; tstep = (tnext - t) / (spancount-1) + +LSetEntryvec: +; +; set up advancetable +; + mov ebx,ds:dword ptr[spr8entryvec_table+ecx*4] + mov eax,edx + push ebx ; entry point into code for RET later + mov ecx,ebp + sar ecx,16 ; sstep >>= 16; + mov ebx,ds:dword ptr[_cachewidth] + sar edx,16 ; tstep >>= 16; + jz LIsZeroLast + imul edx,ebx ; (tstep >> 16) * cachewidth; +LIsZeroLast: + add edx,ecx ; add in sstep +; (tstep >> 16) * cachewidth + (sstep >> 16); + mov ecx,ds:dword ptr[tfracf] + mov ds:dword ptr[advancetable+4],edx ; advance base in t + add edx,ebx ; ((tstep >> 16) + 1) * cachewidth + +; (sstep >> 16); + shl ebp,16 ; left-justify sstep fractional part + mov ebx,ds:dword ptr[sfracf] + shl eax,16 ; left-justify tstep fractional part + mov ds:dword ptr[advancetable],edx ; advance extra in t + + mov ds:dword ptr[tstep],eax + mov ds:dword ptr[sstep],ebp + mov edx,ecx + + mov ecx,ds:dword ptr[pz] + mov ebp,ds:dword ptr[izi] + + ret ; jump to the number-of-pixels handler + +;---------------------------------------- + +LNoSteps: + mov ecx,ds:dword ptr[pz] + sub edi,7 ; adjust for hardwired offset + sub ecx,14 + jmp LEndSpan + + +LOnlyOneStep: + sub eax,ds:dword ptr[s] + sub ebx,ds:dword ptr[t] + mov ebp,eax + mov edx,ebx + jmp LSetEntryvec + +;---------------------------------------- + + public Spr8Entry2_8 +Spr8Entry2_8: + sub edi,6 ; adjust for hardwired offsets + sub ecx,12 + mov al,ds:byte ptr[esi] + jmp LLEntry2_8 + +;---------------------------------------- + + public Spr8Entry3_8 +Spr8Entry3_8: + sub edi,5 ; adjust for hardwired offsets + sub ecx,10 + jmp LLEntry3_8 + +;---------------------------------------- + + public Spr8Entry4_8 +Spr8Entry4_8: + sub edi,4 ; adjust for hardwired offsets + sub ecx,8 + jmp LLEntry4_8 + +;---------------------------------------- + + public Spr8Entry5_8 +Spr8Entry5_8: + sub edi,3 ; adjust for hardwired offsets + sub ecx,6 + jmp LLEntry5_8 + +;---------------------------------------- + + public Spr8Entry6_8 +Spr8Entry6_8: + sub edi,2 ; adjust for hardwired offsets + sub ecx,4 + jmp LLEntry6_8 + +;---------------------------------------- + + public Spr8Entry7_8 +Spr8Entry7_8: + dec edi ; adjust for hardwired offsets + sub ecx,2 + jmp LLEntry7_8 + +;---------------------------------------- + + public Spr8Entry8_8 +Spr8Entry8_8: + cmp bp,ds:word ptr[ecx] + jl Lp9 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp9 + mov ds:word ptr[ecx],bp + mov ds:byte ptr[edi],al +Lp9: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] +LLEntry7_8: + cmp bp,ds:word ptr[2+ecx] + jl Lp10 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp10 + mov ds:word ptr[2+ecx],bp + mov ds:byte ptr[1+edi],al +Lp10: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] +LLEntry6_8: + cmp bp,ds:word ptr[4+ecx] + jl Lp11 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp11 + mov ds:word ptr[4+ecx],bp + mov ds:byte ptr[2+edi],al +Lp11: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] +LLEntry5_8: + cmp bp,ds:word ptr[6+ecx] + jl Lp12 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp12 + mov ds:word ptr[6+ecx],bp + mov ds:byte ptr[3+edi],al +Lp12: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] +LLEntry4_8: + cmp bp,ds:word ptr[8+ecx] + jl Lp13 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp13 + mov ds:word ptr[8+ecx],bp + mov ds:byte ptr[4+edi],al +Lp13: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] +LLEntry3_8: + cmp bp,ds:word ptr[10+ecx] + jl Lp14 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp14 + mov ds:word ptr[10+ecx],bp + mov ds:byte ptr[5+edi],al +Lp14: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] +LLEntry2_8: + cmp bp,ds:word ptr[12+ecx] + jl Lp15 + mov al,ds:byte ptr[esi] + cmp al,offset TRANSPARENT_COLOR + jz Lp15 + mov ds:word ptr[12+ecx],bp + mov ds:byte ptr[6+edi],al +Lp15: + add ebp,ds:dword ptr[izistep] + adc ebp,0 + add edx,ds:dword ptr[tstep] + sbb eax,eax + add ebx,ds:dword ptr[sstep] + adc esi,ds:dword ptr[advancetable+4+eax*4] + +LEndSpan: + cmp bp,ds:word ptr[14+ecx] + jl Lp16 + mov al,ds:byte ptr[esi] ; load first texel in segment + cmp al,offset TRANSPARENT_COLOR + jz Lp16 + mov ds:word ptr[14+ecx],bp + mov ds:byte ptr[7+edi],al +Lp16: + +; +; clear s/z, t/z, 1/z from FP stack +; + fstp st(0) + fstp st(0) + fstp st(0) + + pop ebx ; restore spans pointer +LNextSpan: + add ebx,offset sspan_t_size ; point to next span + mov ecx,ds:dword ptr[sspan_t_count+ebx] + cmp ecx,0 ; any more spans? + jg LSpanLoop ; yes + jz LNextSpan ; yes, but this one's empty + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + +_TEXT ENDS +endif ; id386 + END diff --git a/ref_soft/r_surf8.asm b/ref_soft/r_surf8.asm index c40d17a..8987b97 100644 --- a/ref_soft/r_surf8.asm +++ b/ref_soft/r_surf8.asm @@ -1,771 +1,771 @@ - .386P - .model FLAT -; -; surf8.s -; x86 assembly-language 8 bpp surface block drawing code. -; - -include qasm.inc - -if id386 - -_DATA SEGMENT - -sb_v dd 0 - -_DATA ENDS -_TEXT SEGMENT - - align 4 - public _R_Surf8Start -_R_Surf8Start: - -;---------------------------------------------------------------------- -; Surface block drawer for mip level 0 -;---------------------------------------------------------------------- - - align 4 - public _R_DrawSurfaceBlock8_mip0 -_R_DrawSurfaceBlock8_mip0: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; for (v=0 ; v> blockdivshift; -; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; -; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | -; 0xF0000000; - mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] - mov ebx,ds:dword ptr[ebx] ; lightptr[0] - - sub ebx,eax - sub ecx,edx - - sar ecx,4 - or ebp,0F0000000h - - sar ebx,4 - mov ds:dword ptr[_lightrightstep],ecx - - sub ebx,ecx - and ebx,0FFFFFh - - or ebx,0F0000000h - sub ecx,ecx ; high word must be 0 in loop for addressing - - mov ds:dword ptr[_lightdeltastep],ebx - sub ebx,ebx ; high word must be 0 in loop for addressing - -Lblockloop8_mip0: - mov ds:dword ptr[_lightdelta],ebp - mov cl,ds:byte ptr[14+esi] - - sar ebp,4 - mov bh,dh - - mov bl,ds:byte ptr[15+esi] - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch0: - mov bl,ds:byte ptr[13+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch1: - mov cl,ds:byte ptr[12+esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - add edx,ebp - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch2: - - mov bl,ds:byte ptr[11+esi] - mov al,ds:byte ptr[12345678h+ecx] -LBPatch3: - - mov cl,ds:byte ptr[10+esi] - mov ds:dword ptr[12+edi],eax - - mov bh,dh - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch4: - mov bl,ds:byte ptr[9+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch5: - mov cl,ds:byte ptr[8+esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - add edx,ebp - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch6: - - mov bl,ds:byte ptr[7+esi] - mov al,ds:byte ptr[12345678h+ecx] -LBPatch7: - - mov cl,ds:byte ptr[6+esi] - mov ds:dword ptr[8+edi],eax - - mov bh,dh - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch8: - mov bl,ds:byte ptr[5+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch9: - mov cl,ds:byte ptr[4+esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - add edx,ebp - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch10: - - mov bl,ds:byte ptr[3+esi] - mov al,ds:byte ptr[12345678h+ecx] -LBPatch11: - - mov cl,ds:byte ptr[2+esi] - mov ds:dword ptr[4+edi],eax - - mov bh,dh - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch12: - mov bl,ds:byte ptr[1+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch13: - mov cl,ds:byte ptr[esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch14: - mov edx,ds:dword ptr[_lightright] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch15: - mov ebp,ds:dword ptr[_lightdelta] - - mov ds:dword ptr[edi],eax - - add esi,ds:dword ptr[_sourcetstep] - add edi,ds:dword ptr[_surfrowbytes] - - add edx,ds:dword ptr[_lightrightstep] - add ebp,ds:dword ptr[_lightdeltastep] - - mov ds:dword ptr[_lightright],edx - jc Lblockloop8_mip0 - -; if (pbasesource >= r_sourcemax) -; pbasesource -= stepback; - - cmp esi,ds:dword ptr[_r_sourcemax] - jb LSkip_mip0 - sub esi,ds:dword ptr[_r_stepback] -LSkip_mip0: - - mov ebx,ds:dword ptr[_r_lightptr] - dec ds:dword ptr[sb_v] - - jnz Lv_loop_mip0 - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - -;---------------------------------------------------------------------- -; Surface block drawer for mip level 1 -;---------------------------------------------------------------------- - - align 4 - public _R_DrawSurfaceBlock8_mip1 -_R_DrawSurfaceBlock8_mip1: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; for (v=0 ; v> blockdivshift; -; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; -; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | -; 0xF0000000; - mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] - mov ebx,ds:dword ptr[ebx] ; lightptr[0] - - sub ebx,eax - sub ecx,edx - - sar ecx,3 - or ebp,070000000h - - sar ebx,3 - mov ds:dword ptr[_lightrightstep],ecx - - sub ebx,ecx - and ebx,0FFFFFh - - or ebx,0F0000000h - sub ecx,ecx ; high word must be 0 in loop for addressing - - mov ds:dword ptr[_lightdeltastep],ebx - sub ebx,ebx ; high word must be 0 in loop for addressing - -Lblockloop8_mip1: - mov ds:dword ptr[_lightdelta],ebp - mov cl,ds:byte ptr[6+esi] - - sar ebp,3 - mov bh,dh - - mov bl,ds:byte ptr[7+esi] - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch22: - mov bl,ds:byte ptr[5+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch23: - mov cl,ds:byte ptr[4+esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - add edx,ebp - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch24: - - mov bl,ds:byte ptr[3+esi] - mov al,ds:byte ptr[12345678h+ecx] -LBPatch25: - - mov cl,ds:byte ptr[2+esi] - mov ds:dword ptr[4+edi],eax - - mov bh,dh - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch26: - mov bl,ds:byte ptr[1+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch27: - mov cl,ds:byte ptr[esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch28: - mov edx,ds:dword ptr[_lightright] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch29: - mov ebp,ds:dword ptr[_lightdelta] - - mov ds:dword ptr[edi],eax - mov eax,ds:dword ptr[_sourcetstep] - - add esi,eax - mov eax,ds:dword ptr[_surfrowbytes] - - add edi,eax - mov eax,ds:dword ptr[_lightrightstep] - - add edx,eax - mov eax,ds:dword ptr[_lightdeltastep] - - add ebp,eax - mov ds:dword ptr[_lightright],edx - - jc Lblockloop8_mip1 - -; if (pbasesource >= r_sourcemax) -; pbasesource -= stepback; - - cmp esi,ds:dword ptr[_r_sourcemax] - jb LSkip_mip1 - sub esi,ds:dword ptr[_r_stepback] -LSkip_mip1: - - mov ebx,ds:dword ptr[_r_lightptr] - dec ds:dword ptr[sb_v] - - jnz Lv_loop_mip1 - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - -;---------------------------------------------------------------------- -; Surface block drawer for mip level 2 -;---------------------------------------------------------------------- - - align 4 - public _R_DrawSurfaceBlock8_mip2 -_R_DrawSurfaceBlock8_mip2: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; for (v=0 ; v> blockdivshift; -; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; -; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | -; 0xF0000000; - mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] - mov ebx,ds:dword ptr[ebx] ; lightptr[0] - - sub ebx,eax - sub ecx,edx - - sar ecx,2 - or ebp,030000000h - - sar ebx,2 - mov ds:dword ptr[_lightrightstep],ecx - - sub ebx,ecx - - and ebx,0FFFFFh - - or ebx,0F0000000h - sub ecx,ecx ; high word must be 0 in loop for addressing - - mov ds:dword ptr[_lightdeltastep],ebx - sub ebx,ebx ; high word must be 0 in loop for addressing - -Lblockloop8_mip2: - mov ds:dword ptr[_lightdelta],ebp - mov cl,ds:byte ptr[2+esi] - - sar ebp,2 - mov bh,dh - - mov bl,ds:byte ptr[3+esi] - add edx,ebp - - mov ch,dh - add edx,ebp - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch18: - mov bl,ds:byte ptr[1+esi] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch19: - mov cl,ds:byte ptr[esi] - - mov bh,dh - add edx,ebp - - ror eax,16 - mov ch,dh - - mov ah,ds:byte ptr[12345678h+ebx] -LBPatch20: - mov edx,ds:dword ptr[_lightright] - - mov al,ds:byte ptr[12345678h+ecx] -LBPatch21: - mov ebp,ds:dword ptr[_lightdelta] - - mov ds:dword ptr[edi],eax - mov eax,ds:dword ptr[_sourcetstep] - - add esi,eax - mov eax,ds:dword ptr[_surfrowbytes] - - add edi,eax - mov eax,ds:dword ptr[_lightrightstep] - - add edx,eax - mov eax,ds:dword ptr[_lightdeltastep] - - add ebp,eax - mov ds:dword ptr[_lightright],edx - - jc Lblockloop8_mip2 - -; if (pbasesource >= r_sourcemax) -; pbasesource -= stepback; - - cmp esi,ds:dword ptr[_r_sourcemax] - jb LSkip_mip2 - sub esi,ds:dword ptr[_r_stepback] -LSkip_mip2: - - mov ebx,ds:dword ptr[_r_lightptr] - dec ds:dword ptr[sb_v] - - jnz Lv_loop_mip2 - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - -;---------------------------------------------------------------------- -; Surface block drawer for mip level 3 -;---------------------------------------------------------------------- - - align 4 - public _R_DrawSurfaceBlock8_mip3 -_R_DrawSurfaceBlock8_mip3: - push ebp ; preserve caller's stack frame - push edi - push esi ; preserve register variables - push ebx - -; for (v=0 ; v> blockdivshift; -; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; -; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | -; 0xF0000000; - mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] - mov ebx,ds:dword ptr[ebx] ; lightptr[0] - - sub ebx,eax - sub ecx,edx - - sar ecx,1 - - sar ebx,1 - mov ds:dword ptr[_lightrightstep],ecx - - sub ebx,ecx - and ebx,0FFFFFh - - sar ebp,1 - or ebx,0F0000000h - - mov ds:dword ptr[_lightdeltastep],ebx - sub ebx,ebx ; high word must be 0 in loop for addressing - - mov bl,ds:byte ptr[1+esi] - sub ecx,ecx ; high word must be 0 in loop for addressing - - mov bh,dh - mov cl,ds:byte ptr[esi] - - add edx,ebp - mov ch,dh - - mov al,ds:byte ptr[12345678h+ebx] -LBPatch16: - mov edx,ds:dword ptr[_lightright] - - mov ds:byte ptr[1+edi],al - mov al,ds:byte ptr[12345678h+ecx] -LBPatch17: - - mov ds:byte ptr[edi],al - mov eax,ds:dword ptr[_sourcetstep] - - add esi,eax - mov eax,ds:dword ptr[_surfrowbytes] - - add edi,eax - mov eax,ds:dword ptr[_lightdeltastep] - - mov ebp,ds:dword ptr[_lightdelta] - mov cl,ds:byte ptr[esi] - - add ebp,eax - mov eax,ds:dword ptr[_lightrightstep] - - sar ebp,1 - add edx,eax - - mov bh,dh - mov bl,ds:byte ptr[1+esi] - - add edx,ebp - mov ch,dh - - mov al,ds:byte ptr[12345678h+ebx] -LBPatch30: - mov edx,ds:dword ptr[_sourcetstep] - - mov ds:byte ptr[1+edi],al - mov al,ds:byte ptr[12345678h+ecx] -LBPatch31: - - mov ds:byte ptr[edi],al - mov ebp,ds:dword ptr[_surfrowbytes] - - add esi,edx - add edi,ebp - -; if (pbasesource >= r_sourcemax) -; pbasesource -= stepback; - - cmp esi,ds:dword ptr[_r_sourcemax] - jb LSkip_mip3 - sub esi,ds:dword ptr[_r_stepback] -LSkip_mip3: - - mov ebx,ds:dword ptr[_r_lightptr] - dec ds:dword ptr[sb_v] - - jnz Lv_loop_mip3 - - pop ebx ; restore register variables - pop esi - pop edi - pop ebp ; restore the caller's stack frame - ret - - - public _R_Surf8End -_R_Surf8End: - -;---------------------------------------------------------------------- -; Code patching routines -;---------------------------------------------------------------------- -_TEXT ENDS -_DATA SEGMENT - - align 4 -LPatchTable8: - dd LBPatch0-4 - dd LBPatch1-4 - dd LBPatch2-4 - dd LBPatch3-4 - dd LBPatch4-4 - dd LBPatch5-4 - dd LBPatch6-4 - dd LBPatch7-4 - dd LBPatch8-4 - dd LBPatch9-4 - dd LBPatch10-4 - dd LBPatch11-4 - dd LBPatch12-4 - dd LBPatch13-4 - dd LBPatch14-4 - dd LBPatch15-4 - dd LBPatch16-4 - dd LBPatch17-4 - dd LBPatch18-4 - dd LBPatch19-4 - dd LBPatch20-4 - dd LBPatch21-4 - dd LBPatch22-4 - dd LBPatch23-4 - dd LBPatch24-4 - dd LBPatch25-4 - dd LBPatch26-4 - dd LBPatch27-4 - dd LBPatch28-4 - dd LBPatch29-4 - dd LBPatch30-4 - dd LBPatch31-4 - -_DATA ENDS -_TEXT SEGMENT - - align 4 - public _R_Surf8Patch -_R_Surf8Patch: - push ebx - - mov eax,ds:dword ptr[_colormap] - mov ebx,offset LPatchTable8 - mov ecx,32 -LPatchLoop8: - mov edx,ds:dword ptr[ebx] - add ebx,4 - mov ds:dword ptr[edx],eax - dec ecx - jnz LPatchLoop8 - - pop ebx - - ret - -_TEXT ENDS -endif ;id386 - - END - + .386P + .model FLAT +; +; surf8.s +; x86 assembly-language 8 bpp surface block drawing code. +; + +include qasm.inc + +if id386 + +_DATA SEGMENT + +sb_v dd 0 + +_DATA ENDS +_TEXT SEGMENT + + align 4 + public _R_Surf8Start +_R_Surf8Start: + +;---------------------------------------------------------------------- +; Surface block drawer for mip level 0 +;---------------------------------------------------------------------- + + align 4 + public _R_DrawSurfaceBlock8_mip0 +_R_DrawSurfaceBlock8_mip0: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; for (v=0 ; v> blockdivshift; +; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; +; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | +; 0xF0000000; + mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] + mov ebx,ds:dword ptr[ebx] ; lightptr[0] + + sub ebx,eax + sub ecx,edx + + sar ecx,4 + or ebp,0F0000000h + + sar ebx,4 + mov ds:dword ptr[_lightrightstep],ecx + + sub ebx,ecx + and ebx,0FFFFFh + + or ebx,0F0000000h + sub ecx,ecx ; high word must be 0 in loop for addressing + + mov ds:dword ptr[_lightdeltastep],ebx + sub ebx,ebx ; high word must be 0 in loop for addressing + +Lblockloop8_mip0: + mov ds:dword ptr[_lightdelta],ebp + mov cl,ds:byte ptr[14+esi] + + sar ebp,4 + mov bh,dh + + mov bl,ds:byte ptr[15+esi] + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch0: + mov bl,ds:byte ptr[13+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch1: + mov cl,ds:byte ptr[12+esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + add edx,ebp + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch2: + + mov bl,ds:byte ptr[11+esi] + mov al,ds:byte ptr[12345678h+ecx] +LBPatch3: + + mov cl,ds:byte ptr[10+esi] + mov ds:dword ptr[12+edi],eax + + mov bh,dh + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch4: + mov bl,ds:byte ptr[9+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch5: + mov cl,ds:byte ptr[8+esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + add edx,ebp + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch6: + + mov bl,ds:byte ptr[7+esi] + mov al,ds:byte ptr[12345678h+ecx] +LBPatch7: + + mov cl,ds:byte ptr[6+esi] + mov ds:dword ptr[8+edi],eax + + mov bh,dh + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch8: + mov bl,ds:byte ptr[5+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch9: + mov cl,ds:byte ptr[4+esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + add edx,ebp + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch10: + + mov bl,ds:byte ptr[3+esi] + mov al,ds:byte ptr[12345678h+ecx] +LBPatch11: + + mov cl,ds:byte ptr[2+esi] + mov ds:dword ptr[4+edi],eax + + mov bh,dh + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch12: + mov bl,ds:byte ptr[1+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch13: + mov cl,ds:byte ptr[esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch14: + mov edx,ds:dword ptr[_lightright] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch15: + mov ebp,ds:dword ptr[_lightdelta] + + mov ds:dword ptr[edi],eax + + add esi,ds:dword ptr[_sourcetstep] + add edi,ds:dword ptr[_surfrowbytes] + + add edx,ds:dword ptr[_lightrightstep] + add ebp,ds:dword ptr[_lightdeltastep] + + mov ds:dword ptr[_lightright],edx + jc Lblockloop8_mip0 + +; if (pbasesource >= r_sourcemax) +; pbasesource -= stepback; + + cmp esi,ds:dword ptr[_r_sourcemax] + jb LSkip_mip0 + sub esi,ds:dword ptr[_r_stepback] +LSkip_mip0: + + mov ebx,ds:dword ptr[_r_lightptr] + dec ds:dword ptr[sb_v] + + jnz Lv_loop_mip0 + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + +;---------------------------------------------------------------------- +; Surface block drawer for mip level 1 +;---------------------------------------------------------------------- + + align 4 + public _R_DrawSurfaceBlock8_mip1 +_R_DrawSurfaceBlock8_mip1: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; for (v=0 ; v> blockdivshift; +; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; +; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | +; 0xF0000000; + mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] + mov ebx,ds:dword ptr[ebx] ; lightptr[0] + + sub ebx,eax + sub ecx,edx + + sar ecx,3 + or ebp,070000000h + + sar ebx,3 + mov ds:dword ptr[_lightrightstep],ecx + + sub ebx,ecx + and ebx,0FFFFFh + + or ebx,0F0000000h + sub ecx,ecx ; high word must be 0 in loop for addressing + + mov ds:dword ptr[_lightdeltastep],ebx + sub ebx,ebx ; high word must be 0 in loop for addressing + +Lblockloop8_mip1: + mov ds:dword ptr[_lightdelta],ebp + mov cl,ds:byte ptr[6+esi] + + sar ebp,3 + mov bh,dh + + mov bl,ds:byte ptr[7+esi] + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch22: + mov bl,ds:byte ptr[5+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch23: + mov cl,ds:byte ptr[4+esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + add edx,ebp + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch24: + + mov bl,ds:byte ptr[3+esi] + mov al,ds:byte ptr[12345678h+ecx] +LBPatch25: + + mov cl,ds:byte ptr[2+esi] + mov ds:dword ptr[4+edi],eax + + mov bh,dh + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch26: + mov bl,ds:byte ptr[1+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch27: + mov cl,ds:byte ptr[esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch28: + mov edx,ds:dword ptr[_lightright] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch29: + mov ebp,ds:dword ptr[_lightdelta] + + mov ds:dword ptr[edi],eax + mov eax,ds:dword ptr[_sourcetstep] + + add esi,eax + mov eax,ds:dword ptr[_surfrowbytes] + + add edi,eax + mov eax,ds:dword ptr[_lightrightstep] + + add edx,eax + mov eax,ds:dword ptr[_lightdeltastep] + + add ebp,eax + mov ds:dword ptr[_lightright],edx + + jc Lblockloop8_mip1 + +; if (pbasesource >= r_sourcemax) +; pbasesource -= stepback; + + cmp esi,ds:dword ptr[_r_sourcemax] + jb LSkip_mip1 + sub esi,ds:dword ptr[_r_stepback] +LSkip_mip1: + + mov ebx,ds:dword ptr[_r_lightptr] + dec ds:dword ptr[sb_v] + + jnz Lv_loop_mip1 + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + +;---------------------------------------------------------------------- +; Surface block drawer for mip level 2 +;---------------------------------------------------------------------- + + align 4 + public _R_DrawSurfaceBlock8_mip2 +_R_DrawSurfaceBlock8_mip2: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; for (v=0 ; v> blockdivshift; +; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; +; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | +; 0xF0000000; + mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] + mov ebx,ds:dword ptr[ebx] ; lightptr[0] + + sub ebx,eax + sub ecx,edx + + sar ecx,2 + or ebp,030000000h + + sar ebx,2 + mov ds:dword ptr[_lightrightstep],ecx + + sub ebx,ecx + + and ebx,0FFFFFh + + or ebx,0F0000000h + sub ecx,ecx ; high word must be 0 in loop for addressing + + mov ds:dword ptr[_lightdeltastep],ebx + sub ebx,ebx ; high word must be 0 in loop for addressing + +Lblockloop8_mip2: + mov ds:dword ptr[_lightdelta],ebp + mov cl,ds:byte ptr[2+esi] + + sar ebp,2 + mov bh,dh + + mov bl,ds:byte ptr[3+esi] + add edx,ebp + + mov ch,dh + add edx,ebp + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch18: + mov bl,ds:byte ptr[1+esi] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch19: + mov cl,ds:byte ptr[esi] + + mov bh,dh + add edx,ebp + + ror eax,16 + mov ch,dh + + mov ah,ds:byte ptr[12345678h+ebx] +LBPatch20: + mov edx,ds:dword ptr[_lightright] + + mov al,ds:byte ptr[12345678h+ecx] +LBPatch21: + mov ebp,ds:dword ptr[_lightdelta] + + mov ds:dword ptr[edi],eax + mov eax,ds:dword ptr[_sourcetstep] + + add esi,eax + mov eax,ds:dword ptr[_surfrowbytes] + + add edi,eax + mov eax,ds:dword ptr[_lightrightstep] + + add edx,eax + mov eax,ds:dword ptr[_lightdeltastep] + + add ebp,eax + mov ds:dword ptr[_lightright],edx + + jc Lblockloop8_mip2 + +; if (pbasesource >= r_sourcemax) +; pbasesource -= stepback; + + cmp esi,ds:dword ptr[_r_sourcemax] + jb LSkip_mip2 + sub esi,ds:dword ptr[_r_stepback] +LSkip_mip2: + + mov ebx,ds:dword ptr[_r_lightptr] + dec ds:dword ptr[sb_v] + + jnz Lv_loop_mip2 + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + +;---------------------------------------------------------------------- +; Surface block drawer for mip level 3 +;---------------------------------------------------------------------- + + align 4 + public _R_DrawSurfaceBlock8_mip3 +_R_DrawSurfaceBlock8_mip3: + push ebp ; preserve caller's stack frame + push edi + push esi ; preserve register variables + push ebx + +; for (v=0 ; v> blockdivshift; +; lightrightstep = (lightptr[1] - lightright) >> blockdivshift; +; lightdeltastep = ((lightleftstep - lightrightstep) & 0xFFFFF) | +; 0xF0000000; + mov ecx,ds:dword ptr[4+ebx] ; lightptr[1] + mov ebx,ds:dword ptr[ebx] ; lightptr[0] + + sub ebx,eax + sub ecx,edx + + sar ecx,1 + + sar ebx,1 + mov ds:dword ptr[_lightrightstep],ecx + + sub ebx,ecx + and ebx,0FFFFFh + + sar ebp,1 + or ebx,0F0000000h + + mov ds:dword ptr[_lightdeltastep],ebx + sub ebx,ebx ; high word must be 0 in loop for addressing + + mov bl,ds:byte ptr[1+esi] + sub ecx,ecx ; high word must be 0 in loop for addressing + + mov bh,dh + mov cl,ds:byte ptr[esi] + + add edx,ebp + mov ch,dh + + mov al,ds:byte ptr[12345678h+ebx] +LBPatch16: + mov edx,ds:dword ptr[_lightright] + + mov ds:byte ptr[1+edi],al + mov al,ds:byte ptr[12345678h+ecx] +LBPatch17: + + mov ds:byte ptr[edi],al + mov eax,ds:dword ptr[_sourcetstep] + + add esi,eax + mov eax,ds:dword ptr[_surfrowbytes] + + add edi,eax + mov eax,ds:dword ptr[_lightdeltastep] + + mov ebp,ds:dword ptr[_lightdelta] + mov cl,ds:byte ptr[esi] + + add ebp,eax + mov eax,ds:dword ptr[_lightrightstep] + + sar ebp,1 + add edx,eax + + mov bh,dh + mov bl,ds:byte ptr[1+esi] + + add edx,ebp + mov ch,dh + + mov al,ds:byte ptr[12345678h+ebx] +LBPatch30: + mov edx,ds:dword ptr[_sourcetstep] + + mov ds:byte ptr[1+edi],al + mov al,ds:byte ptr[12345678h+ecx] +LBPatch31: + + mov ds:byte ptr[edi],al + mov ebp,ds:dword ptr[_surfrowbytes] + + add esi,edx + add edi,ebp + +; if (pbasesource >= r_sourcemax) +; pbasesource -= stepback; + + cmp esi,ds:dword ptr[_r_sourcemax] + jb LSkip_mip3 + sub esi,ds:dword ptr[_r_stepback] +LSkip_mip3: + + mov ebx,ds:dword ptr[_r_lightptr] + dec ds:dword ptr[sb_v] + + jnz Lv_loop_mip3 + + pop ebx ; restore register variables + pop esi + pop edi + pop ebp ; restore the caller's stack frame + ret + + + public _R_Surf8End +_R_Surf8End: + +;---------------------------------------------------------------------- +; Code patching routines +;---------------------------------------------------------------------- +_TEXT ENDS +_DATA SEGMENT + + align 4 +LPatchTable8: + dd LBPatch0-4 + dd LBPatch1-4 + dd LBPatch2-4 + dd LBPatch3-4 + dd LBPatch4-4 + dd LBPatch5-4 + dd LBPatch6-4 + dd LBPatch7-4 + dd LBPatch8-4 + dd LBPatch9-4 + dd LBPatch10-4 + dd LBPatch11-4 + dd LBPatch12-4 + dd LBPatch13-4 + dd LBPatch14-4 + dd LBPatch15-4 + dd LBPatch16-4 + dd LBPatch17-4 + dd LBPatch18-4 + dd LBPatch19-4 + dd LBPatch20-4 + dd LBPatch21-4 + dd LBPatch22-4 + dd LBPatch23-4 + dd LBPatch24-4 + dd LBPatch25-4 + dd LBPatch26-4 + dd LBPatch27-4 + dd LBPatch28-4 + dd LBPatch29-4 + dd LBPatch30-4 + dd LBPatch31-4 + +_DATA ENDS +_TEXT SEGMENT + + align 4 + public _R_Surf8Patch +_R_Surf8Patch: + push ebx + + mov eax,ds:dword ptr[_colormap] + mov ebx,offset LPatchTable8 + mov ecx,32 +LPatchLoop8: + mov edx,ds:dword ptr[ebx] + add ebx,4 + mov ds:dword ptr[edx],eax + dec ecx + jnz LPatchLoop8 + + pop ebx + + ret + +_TEXT ENDS +endif ;id386 + + END + diff --git a/ref_soft/r_varsa.asm b/ref_soft/r_varsa.asm index f2fbb00..ac2f79e 100644 --- a/ref_soft/r_varsa.asm +++ b/ref_soft/r_varsa.asm @@ -1,220 +1,220 @@ - .386P - .model FLAT -; -; d_varsa.s -; - -include qasm.inc -include d_if.inc - -if id386 - -_DATA SEGMENT - -;------------------------------------------------------- -; ASM-only variables -;------------------------------------------------------- - public float_1, float_particle_z_clip, float_point5 - public float_minus_1, float_0 -float_0 dd 0.0 -float_1 dd 1.0 -float_minus_1 dd -1.0 -float_particle_z_clip dd PARTICLE_Z_CLIP -float_point5 dd 0.5 - - public fp_16, fp_64k, fp_1m, fp_64kx64k - public fp_1m_minus_1 - public fp_8 -fp_1m dd 1048576.0 -fp_1m_minus_1 dd 1048575.0 -fp_64k dd 65536.0 -fp_8 dd 8.0 -fp_16 dd 16.0 -fp_64kx64k dd 04f000000h ; (float)0x8000*0x10000 - - - public FloatZero, Float2ToThe31nd, FloatMinus2ToThe31nd -FloatZero dd 0 -Float2ToThe31nd dd 04f000000h -FloatMinus2ToThe31nd dd 0cf000000h - - public _r_bmodelactive -_r_bmodelactive dd 0 - - -;------------------------------------------------------- -; global refresh variables -;------------------------------------------------------- - -; FIXME: put all refresh variables into one contiguous block. Make into one -; big structure, like cl or sv? - - align 4 - public _d_sdivzstepu - public _d_tdivzstepu - public _d_zistepu - public _d_sdivzstepv - public _d_tdivzstepv - public _d_zistepv - public _d_sdivzorigin - public _d_tdivzorigin - public _d_ziorigin -_d_sdivzstepu dd 0 -_d_tdivzstepu dd 0 -_d_zistepu dd 0 -_d_sdivzstepv dd 0 -_d_tdivzstepv dd 0 -_d_zistepv dd 0 -_d_sdivzorigin dd 0 -_d_tdivzorigin dd 0 -_d_ziorigin dd 0 - - public _sadjust - public _tadjust - public _bbextents - public _bbextentt -_sadjust dd 0 -_tadjust dd 0 -_bbextents dd 0 -_bbextentt dd 0 - - public _cacheblock - public _d_viewbuffer - public _cachewidth - public _d_pzbuffer - public _d_zrowbytes - public _d_zwidth -_cacheblock dd 0 -_cachewidth dd 0 -_d_viewbuffer dd 0 -_d_pzbuffer dd 0 -_d_zrowbytes dd 0 -_d_zwidth dd 0 - - -;------------------------------------------------------- -; ASM-only variables -;------------------------------------------------------- - public izi -izi dd 0 - - public pbase, s, t, sfracf, tfracf, snext, tnext - public spancountminus1, zi16stepu, sdivz16stepu, tdivz16stepu - public zi8stepu, sdivz8stepu, tdivz8stepu, pz -s dd 0 -t dd 0 -snext dd 0 -tnext dd 0 -sfracf dd 0 -tfracf dd 0 -pbase dd 0 -zi8stepu dd 0 -sdivz8stepu dd 0 -tdivz8stepu dd 0 -zi16stepu dd 0 -sdivz16stepu dd 0 -tdivz16stepu dd 0 -spancountminus1 dd 0 -pz dd 0 - - public izistep -izistep dd 0 - -;------------------------------------------------------- -; local variables for d_draw16.s -;------------------------------------------------------- - - public reciprocal_table_16, entryvec_table_16 -; 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, -; 1/14, and 1/15 in 0.32 form -reciprocal_table_16 dd 040000000h, 02aaaaaaah, 020000000h - dd 019999999h, 015555555h, 012492492h - dd 010000000h, 0e38e38eh, 0ccccccch, 0ba2e8bah - dd 0aaaaaaah, 09d89d89h, 09249249h, 08888888h - - externdef Entry2_16:dword - externdef Entry3_16:dword - externdef Entry4_16:dword - externdef Entry5_16:dword - externdef Entry6_16:dword - externdef Entry7_16:dword - externdef Entry8_16:dword - externdef Entry9_16:dword - externdef Entry10_16:dword - externdef Entry11_16:dword - externdef Entry12_16:dword - externdef Entry13_16:dword - externdef Entry14_16:dword - externdef Entry15_16:dword - externdef Entry16_16:dword - -entryvec_table_16 dd 0, Entry2_16, Entry3_16, Entry4_16 - dd Entry5_16, Entry6_16, Entry7_16, Entry8_16 - dd Entry9_16, Entry10_16, Entry11_16, Entry12_16 - dd Entry13_16, Entry14_16, Entry15_16, Entry16_16 - -;------------------------------------------------------- -; local variables for d_parta.s -;------------------------------------------------------- - public DP_Count, DP_u, DP_v, DP_32768, DP_Color, DP_Pix -DP_Count dd 0 -DP_u dd 0 -DP_v dd 0 -DP_32768 dd 32768.0 -DP_Color dd 0 -DP_Pix dd 0 - - -;externdef DP_1x1:dword -;externdef DP_2x2:dword -;externdef DP_3x3:dword -;externdef DP_4x4:dword - -;DP_EntryTable dd DP_1x1, DP_2x2, DP_3x3, DP_4x4 - -; -; advancetable is 8 bytes, but points to the middle of that range so negative -; offsets will work -; - public advancetable, sstep, tstep, pspantemp, counttemp, jumptemp -advancetable dd 0, 0 -sstep dd 0 -tstep dd 0 - -pspantemp dd 0 -counttemp dd 0 -jumptemp dd 0 - -; 1/2, 1/3, 1/4, 1/5, 1/6, and 1/7 in 0.32 form -; public reciprocal_table, entryvec_table -reciprocal_table dd 040000000h, 02aaaaaaah, 020000000h - dd 019999999h, 015555555h, 012492492h - - -; externdef Entry2_8:dword -; externdef Entry3_8:dword -; externdef Entry4_8:dword -; externdef Entry5_8:dword -; externdef Entry6_8:dword -; externdef Entry7_8:dword -; externdef Entry8_8:dword - -;entryvec_table dd 0, Entry2_8, Entry3_8, Entry4_8 -; dd Entry5_8, Entry6_8, Entry7_8, Entry8_8 - - externdef Spr8Entry2_8:dword - externdef Spr8Entry3_8:dword - externdef Spr8Entry4_8:dword - externdef Spr8Entry5_8:dword - externdef Spr8Entry6_8:dword - externdef Spr8Entry7_8:dword - externdef Spr8Entry8_8:dword - - public spr8entryvec_table -spr8entryvec_table dd 0, Spr8Entry2_8, Spr8Entry3_8, Spr8Entry4_8 - dd Spr8Entry5_8, Spr8Entry6_8, Spr8Entry7_8, Spr8Entry8_8 - - -_DATA ENDS -endif ; id386 - END + .386P + .model FLAT +; +; d_varsa.s +; + +include qasm.inc +include d_if.inc + +if id386 + +_DATA SEGMENT + +;------------------------------------------------------- +; ASM-only variables +;------------------------------------------------------- + public float_1, float_particle_z_clip, float_point5 + public float_minus_1, float_0 +float_0 dd 0.0 +float_1 dd 1.0 +float_minus_1 dd -1.0 +float_particle_z_clip dd PARTICLE_Z_CLIP +float_point5 dd 0.5 + + public fp_16, fp_64k, fp_1m, fp_64kx64k + public fp_1m_minus_1 + public fp_8 +fp_1m dd 1048576.0 +fp_1m_minus_1 dd 1048575.0 +fp_64k dd 65536.0 +fp_8 dd 8.0 +fp_16 dd 16.0 +fp_64kx64k dd 04f000000h ; (float)0x8000*0x10000 + + + public FloatZero, Float2ToThe31nd, FloatMinus2ToThe31nd +FloatZero dd 0 +Float2ToThe31nd dd 04f000000h +FloatMinus2ToThe31nd dd 0cf000000h + + public _r_bmodelactive +_r_bmodelactive dd 0 + + +;------------------------------------------------------- +; global refresh variables +;------------------------------------------------------- + +; FIXME: put all refresh variables into one contiguous block. Make into one +; big structure, like cl or sv? + + align 4 + public _d_sdivzstepu + public _d_tdivzstepu + public _d_zistepu + public _d_sdivzstepv + public _d_tdivzstepv + public _d_zistepv + public _d_sdivzorigin + public _d_tdivzorigin + public _d_ziorigin +_d_sdivzstepu dd 0 +_d_tdivzstepu dd 0 +_d_zistepu dd 0 +_d_sdivzstepv dd 0 +_d_tdivzstepv dd 0 +_d_zistepv dd 0 +_d_sdivzorigin dd 0 +_d_tdivzorigin dd 0 +_d_ziorigin dd 0 + + public _sadjust + public _tadjust + public _bbextents + public _bbextentt +_sadjust dd 0 +_tadjust dd 0 +_bbextents dd 0 +_bbextentt dd 0 + + public _cacheblock + public _d_viewbuffer + public _cachewidth + public _d_pzbuffer + public _d_zrowbytes + public _d_zwidth +_cacheblock dd 0 +_cachewidth dd 0 +_d_viewbuffer dd 0 +_d_pzbuffer dd 0 +_d_zrowbytes dd 0 +_d_zwidth dd 0 + + +;------------------------------------------------------- +; ASM-only variables +;------------------------------------------------------- + public izi +izi dd 0 + + public pbase, s, t, sfracf, tfracf, snext, tnext + public spancountminus1, zi16stepu, sdivz16stepu, tdivz16stepu + public zi8stepu, sdivz8stepu, tdivz8stepu, pz +s dd 0 +t dd 0 +snext dd 0 +tnext dd 0 +sfracf dd 0 +tfracf dd 0 +pbase dd 0 +zi8stepu dd 0 +sdivz8stepu dd 0 +tdivz8stepu dd 0 +zi16stepu dd 0 +sdivz16stepu dd 0 +tdivz16stepu dd 0 +spancountminus1 dd 0 +pz dd 0 + + public izistep +izistep dd 0 + +;------------------------------------------------------- +; local variables for d_draw16.s +;------------------------------------------------------- + + public reciprocal_table_16, entryvec_table_16 +; 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10, 1/11, 1/12, 1/13, +; 1/14, and 1/15 in 0.32 form +reciprocal_table_16 dd 040000000h, 02aaaaaaah, 020000000h + dd 019999999h, 015555555h, 012492492h + dd 010000000h, 0e38e38eh, 0ccccccch, 0ba2e8bah + dd 0aaaaaaah, 09d89d89h, 09249249h, 08888888h + + externdef Entry2_16:dword + externdef Entry3_16:dword + externdef Entry4_16:dword + externdef Entry5_16:dword + externdef Entry6_16:dword + externdef Entry7_16:dword + externdef Entry8_16:dword + externdef Entry9_16:dword + externdef Entry10_16:dword + externdef Entry11_16:dword + externdef Entry12_16:dword + externdef Entry13_16:dword + externdef Entry14_16:dword + externdef Entry15_16:dword + externdef Entry16_16:dword + +entryvec_table_16 dd 0, Entry2_16, Entry3_16, Entry4_16 + dd Entry5_16, Entry6_16, Entry7_16, Entry8_16 + dd Entry9_16, Entry10_16, Entry11_16, Entry12_16 + dd Entry13_16, Entry14_16, Entry15_16, Entry16_16 + +;------------------------------------------------------- +; local variables for d_parta.s +;------------------------------------------------------- + public DP_Count, DP_u, DP_v, DP_32768, DP_Color, DP_Pix +DP_Count dd 0 +DP_u dd 0 +DP_v dd 0 +DP_32768 dd 32768.0 +DP_Color dd 0 +DP_Pix dd 0 + + +;externdef DP_1x1:dword +;externdef DP_2x2:dword +;externdef DP_3x3:dword +;externdef DP_4x4:dword + +;DP_EntryTable dd DP_1x1, DP_2x2, DP_3x3, DP_4x4 + +; +; advancetable is 8 bytes, but points to the middle of that range so negative +; offsets will work +; + public advancetable, sstep, tstep, pspantemp, counttemp, jumptemp +advancetable dd 0, 0 +sstep dd 0 +tstep dd 0 + +pspantemp dd 0 +counttemp dd 0 +jumptemp dd 0 + +; 1/2, 1/3, 1/4, 1/5, 1/6, and 1/7 in 0.32 form +; public reciprocal_table, entryvec_table +reciprocal_table dd 040000000h, 02aaaaaaah, 020000000h + dd 019999999h, 015555555h, 012492492h + + +; externdef Entry2_8:dword +; externdef Entry3_8:dword +; externdef Entry4_8:dword +; externdef Entry5_8:dword +; externdef Entry6_8:dword +; externdef Entry7_8:dword +; externdef Entry8_8:dword + +;entryvec_table dd 0, Entry2_8, Entry3_8, Entry4_8 +; dd Entry5_8, Entry6_8, Entry7_8, Entry8_8 + + externdef Spr8Entry2_8:dword + externdef Spr8Entry3_8:dword + externdef Spr8Entry4_8:dword + externdef Spr8Entry5_8:dword + externdef Spr8Entry6_8:dword + externdef Spr8Entry7_8:dword + externdef Spr8Entry8_8:dword + + public spr8entryvec_table +spr8entryvec_table dd 0, Spr8Entry2_8, Spr8Entry3_8, Spr8Entry4_8 + dd Spr8Entry5_8, Spr8Entry6_8, Spr8Entry7_8, Spr8Entry8_8 + + +_DATA ENDS +endif ; id386 + END diff --git a/ref_soft/ref_soft.001 b/ref_soft/ref_soft.001 index c0d7d30..5afafe0 100644 --- a/ref_soft/ref_soft.001 +++ b/ref_soft/ref_soft.001 @@ -1,1498 +1,1498 @@ -# Microsoft Developer Studio Project File - Name="ref_soft" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 5.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=ref_soft - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ref_soft.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ref_soft.mak" CFG="ref_soft - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ref_soft - Win32 Release" (based on\ - "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Debug Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Release Alpha" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\ref_soft" -# PROP BASE Intermediate_Dir ".\ref_soft" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\release" -# PROP Intermediate_Dir ".\release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 -# SUBTRACT LINK32 /debug - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\ref_soft" -# PROP BASE Intermediate_Dir ".\ref_soft" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\debug" -# PROP Intermediate_Dir ".\debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /nodefaultlib:"libc" -# SUBTRACT LINK32 /profile /nodefaultlib - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug Alpha" -# PROP BASE Intermediate_Dir "Debug Alpha" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" -# SUBTRACT BASE LINK32 /nodefaultlib -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" -# SUBTRACT LINK32 /nodefaultlib - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ref_soft" -# PROP BASE Intermediate_Dir "ref_soft" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -# SUBTRACT CPP /Z /Fr -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /subsystem:windows /dll /machine:ALPHA -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA -# SUBTRACT LINK32 /debug - -!ENDIF - -# Begin Target - -# Name "ref_soft - Win32 Release" -# Name "ref_soft - Win32 Debug" -# Name "ref_soft - Win32 Debug Alpha" -# Name "ref_soft - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=..\game\q_shared.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\q_shwin.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_aclip.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_ACL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_ACL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_ACL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_aclipa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_aclipa.asm -InputName=r_aclipa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_aclipa.asm -InputName=r_aclipa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_alias.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_ALI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_ALI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_ALI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_bsp.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_BSP=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_BSP=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_BSP=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_draw.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_DRA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_DRA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_DRA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_draw16.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_draw16.asm -InputName=r_draw16 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_draw16.asm -InputName=r_draw16 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_drawa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_drawa.asm -InputName=r_drawa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_drawa.asm -InputName=r_drawa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_edge.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_EDG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_EDG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_EDG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_edgea.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_edgea.asm -InputName=r_edgea - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_edgea.asm -InputName=r_edgea - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_image.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_IMA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_IMA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_IMA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_light.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_LIG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_LIG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_LIG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_main.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_MAI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_MAI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_MAI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_misc.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_MIS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_MIS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_MIS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_model.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_MOD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_MOD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_MOD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_part.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_PAR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_PAR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_PAR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_poly.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_POL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_POL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_POL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_polysa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_polysa.asm -InputName=r_polysa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_polysa.asm -InputName=r_polysa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_polyse.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_POLY=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\adivtab.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - ".\rand1k.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_POLY=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\adivtab.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - ".\rand1k.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_POLY=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\adivtab.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - ".\rand1k.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_rast.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_RAS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_RAS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_RAS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_scan.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_SCA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_SCA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_SCA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_scana.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_scana.asm -InputName=r_scana - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_scana.asm -InputName=r_scana - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_spr8.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_spr8.asm -InputName=r_spr8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_spr8.asm -InputName=r_spr8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_sprite.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_SPR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_SPR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_SPR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_surf.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_SUR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_SUR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_SUR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_surf8.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_surf8.asm -InputName=r_surf8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_surf8.asm -InputName=r_surf8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_varsa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_varsa.asm -InputName=r_varsa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_varsa.asm -InputName=r_varsa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_ddraw.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_RW_DD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_RW_DD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_RW_DD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_dib.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_RW_DI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_RW_DI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_RW_DI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_imp.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_RW_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - "..\win32\winquake.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_RW_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - "..\win32\winquake.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_RW_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - "..\win32\winquake.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\adivtab.h -# End Source File -# Begin Source File - -SOURCE=.\anorms.h -# End Source File -# Begin Source File - -SOURCE=..\game\q_shared.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qcommon.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qfiles.h -# End Source File -# Begin Source File - -SOURCE=.\r_local.h -# End Source File -# Begin Source File - -SOURCE=.\r_model.h -# End Source File -# Begin Source File - -SOURCE=.\rand1k.h -# End Source File -# Begin Source File - -SOURCE=..\client\ref.h -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_win.h -# End Source File -# Begin Source File - -SOURCE=..\win32\winquake.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\ref_soft.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ref_soft" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=ref_soft - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ref_soft.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ref_soft.mak" CFG="ref_soft - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ref_soft - Win32 Release" (based on\ + "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Debug Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Release Alpha" (based on\ + "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir ".\ref_soft" +# PROP BASE Intermediate_Dir ".\ref_soft" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\release" +# PROP Intermediate_Dir ".\release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 +# SUBTRACT LINK32 /debug + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir ".\ref_soft" +# PROP BASE Intermediate_Dir ".\ref_soft" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\debug" +# PROP Intermediate_Dir ".\debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /nodefaultlib:"libc" +# SUBTRACT LINK32 /profile /nodefaultlib + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug Alpha" +# PROP BASE Intermediate_Dir "Debug Alpha" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" +# SUBTRACT BASE LINK32 /nodefaultlib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ref_soft" +# PROP BASE Intermediate_Dir "ref_soft" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +# SUBTRACT CPP /Z /Fr +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /subsystem:windows /dll /machine:ALPHA +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA +# SUBTRACT LINK32 /debug + +!ENDIF + +# Begin Target + +# Name "ref_soft - Win32 Release" +# Name "ref_soft - Win32 Debug" +# Name "ref_soft - Win32 Debug Alpha" +# Name "ref_soft - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=..\game\q_shared.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\q_shwin.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_aclip.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_ACL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_ACL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_ACL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_aclipa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_aclipa.asm +InputName=r_aclipa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_aclipa.asm +InputName=r_aclipa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_alias.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_ALI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_ALI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_ALI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_bsp.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_BSP=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_BSP=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_BSP=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_draw.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_DRA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_DRA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_DRA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_draw16.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_draw16.asm +InputName=r_draw16 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_draw16.asm +InputName=r_draw16 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_drawa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_drawa.asm +InputName=r_drawa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_drawa.asm +InputName=r_drawa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_edge.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_EDG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_EDG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_EDG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_edgea.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_edgea.asm +InputName=r_edgea + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_edgea.asm +InputName=r_edgea + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_image.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_IMA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_IMA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_IMA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_light.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_LIG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_LIG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_LIG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_main.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_MAI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_MAI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_MAI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_misc.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_MIS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_MIS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_MIS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_model.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_MOD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_MOD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_MOD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_part.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_PAR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_PAR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_PAR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_poly.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_POL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_POL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_POL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_polysa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_polysa.asm +InputName=r_polysa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_polysa.asm +InputName=r_polysa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_polyse.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_POLY=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\adivtab.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + ".\rand1k.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_POLY=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\adivtab.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + ".\rand1k.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_POLY=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\adivtab.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + ".\rand1k.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_rast.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_RAS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_RAS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_RAS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_scan.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_SCA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_SCA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_SCA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_scana.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_scana.asm +InputName=r_scana + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_scana.asm +InputName=r_scana + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_spr8.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_spr8.asm +InputName=r_spr8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_spr8.asm +InputName=r_spr8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_sprite.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_SPR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_SPR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_SPR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_surf.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_SUR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_SUR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_SUR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_surf8.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_surf8.asm +InputName=r_surf8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_surf8.asm +InputName=r_surf8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_varsa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_varsa.asm +InputName=r_varsa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_varsa.asm +InputName=r_varsa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_ddraw.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_RW_DD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_RW_DD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_RW_DD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_dib.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_RW_DI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_RW_DI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_RW_DI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_imp.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_RW_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + "..\win32\winquake.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_RW_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + "..\win32\winquake.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_RW_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + "..\win32\winquake.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\adivtab.h +# End Source File +# Begin Source File + +SOURCE=.\anorms.h +# End Source File +# Begin Source File + +SOURCE=..\game\q_shared.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qcommon.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qfiles.h +# End Source File +# Begin Source File + +SOURCE=.\r_local.h +# End Source File +# Begin Source File + +SOURCE=.\r_model.h +# End Source File +# Begin Source File + +SOURCE=.\rand1k.h +# End Source File +# Begin Source File + +SOURCE=..\client\ref.h +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_win.h +# End Source File +# Begin Source File + +SOURCE=..\win32\winquake.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\ref_soft.def +# End Source File +# End Group +# End Target +# End Project diff --git a/ref_soft/ref_soft.def b/ref_soft/ref_soft.def index 2fefbd3..cfbb471 100644 --- a/ref_soft/ref_soft.def +++ b/ref_soft/ref_soft.def @@ -1,2 +1,2 @@ -EXPORTS - GetRefAPI +EXPORTS + GetRefAPI diff --git a/ref_soft/ref_soft.dsp b/ref_soft/ref_soft.dsp index 248dc1e..799b0e6 100644 --- a/ref_soft/ref_soft.dsp +++ b/ref_soft/ref_soft.dsp @@ -1,1496 +1,1496 @@ -# Microsoft Developer Studio Project File - Name="ref_soft" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 -# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 - -CFG=ref_soft - Win32 Debug Alpha -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "ref_soft.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "ref_soft.mak" CFG="ref_soft - Win32 Debug Alpha" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "ref_soft - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "ref_soft - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir ".\ref_soft" -# PROP BASE Intermediate_Dir ".\ref_soft" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\release" -# PROP Intermediate_Dir ".\release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 -# SUBTRACT LINK32 /debug - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir ".\ref_soft" -# PROP BASE Intermediate_Dir ".\ref_soft" -# PROP BASE Target_Dir "." -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\debug" -# PROP Intermediate_Dir ".\debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "." -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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:windows /dll /debug /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /nodefaultlib:"libc" -# SUBTRACT LINK32 /profile /nodefaultlib - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug Alpha" -# PROP BASE Intermediate_Dir "Debug Alpha" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "..\DebugAxp" -# PROP Intermediate_Dir ".\DebugAxp" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -MTL=midl.exe -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" -# SUBTRACT BASE LINK32 /nodefaultlib -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" -# SUBTRACT LINK32 /nodefaultlib - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "ref_soft" -# PROP BASE Intermediate_Dir "ref_soft" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "..\ReleaseAXP" -# PROP Intermediate_Dir ".\ReleaseAXP" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -CPP=cl.exe -# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c -# SUBTRACT CPP /Z /Fr -MTL=midl.exe -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 -RSC=rc.exe -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -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 /nologo /subsystem:windows /dll /machine:ALPHA -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA -# SUBTRACT LINK32 /debug - -!ENDIF - -# Begin Target - -# Name "ref_soft - Win32 Release" -# Name "ref_soft - Win32 Debug" -# Name "ref_soft - Win32 Debug Alpha" -# Name "ref_soft - Win32 Release Alpha" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" -# Begin Source File - -SOURCE=..\game\q_shared.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_Q_SHA=\ - "..\game\q_shared.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\q_shwin.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_Q_SHW=\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\winquake.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_aclip.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_ACL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_ACL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_ACL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_aclipa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_aclipa.asm -InputName=r_aclipa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_aclipa.asm -InputName=r_aclipa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_alias.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_ALI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_ALI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_ALI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\anorms.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_bsp.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_BSP=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_BSP=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_BSP=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_draw.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_DRA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_DRA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_DRA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_draw16.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_draw16.asm -InputName=r_draw16 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_draw16.asm -InputName=r_draw16 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_drawa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_drawa.asm -InputName=r_drawa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_drawa.asm -InputName=r_drawa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_edge.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_EDG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_EDG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_EDG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_edgea.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_edgea.asm -InputName=r_edgea - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_edgea.asm -InputName=r_edgea - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_image.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_IMA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_IMA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_IMA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_light.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_LIG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_LIG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_LIG=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_main.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_MAI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_MAI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_MAI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_misc.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_MIS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_MIS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_MIS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_model.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_MOD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_MOD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_MOD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_part.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_PAR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_PAR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_PAR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_poly.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_POL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_POL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_POL=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_polysa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_polysa.asm -InputName=r_polysa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_polysa.asm -InputName=r_polysa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_polyse.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_POLY=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\adivtab.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - ".\rand1k.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_POLY=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\adivtab.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - ".\rand1k.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_POLY=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\adivtab.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - ".\rand1k.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_rast.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_RAS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_RAS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_RAS=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_scan.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_SCA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_SCA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_SCA=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_scana.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_scana.asm -InputName=r_scana - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_scana.asm -InputName=r_scana - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_spr8.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_spr8.asm -InputName=r_spr8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_spr8.asm -InputName=r_spr8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_sprite.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_SPR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_SPR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_SPR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_surf.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_R_SUR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_R_SUR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_R_SUR=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_surf8.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_surf8.asm -InputName=r_surf8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_surf8.asm -InputName=r_surf8 - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=.\r_varsa.asm - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -# Begin Custom Build -OutDir=.\..\release -InputPath=.\r_varsa.asm -InputName=r_varsa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -# Begin Custom Build -OutDir=.\..\debug -InputPath=.\r_varsa.asm -InputName=r_varsa - -"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) - -# End Custom Build - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -# PROP Exclude_From_Build 1 - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -# PROP Exclude_From_Build 1 - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_ddraw.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_RW_DD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_RW_DD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_RW_DD=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_dib.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_RW_DI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_RW_DI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_RW_DI=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_imp.c - -!IF "$(CFG)" == "ref_soft - Win32 Release" - -DEP_CPP_RW_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - "..\win32\winquake.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" - -DEP_CPP_RW_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - "..\win32\winquake.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" - -DEP_CPP_RW_IM=\ - "..\client\ref.h"\ - "..\game\q_shared.h"\ - "..\qcommon\qcommon.h"\ - "..\qcommon\qfiles.h"\ - "..\win32\rw_win.h"\ - "..\win32\winquake.h"\ - ".\r_local.h"\ - ".\r_model.h"\ - - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" -# Begin Source File - -SOURCE=.\adivtab.h -# End Source File -# Begin Source File - -SOURCE=.\anorms.h -# End Source File -# Begin Source File - -SOURCE=..\game\q_shared.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qcommon.h -# End Source File -# Begin Source File - -SOURCE=..\qcommon\qfiles.h -# End Source File -# Begin Source File - -SOURCE=.\r_local.h -# End Source File -# Begin Source File - -SOURCE=.\r_model.h -# End Source File -# Begin Source File - -SOURCE=.\rand1k.h -# End Source File -# Begin Source File - -SOURCE=..\client\ref.h -# End Source File -# Begin Source File - -SOURCE=..\win32\rw_win.h -# End Source File -# Begin Source File - -SOURCE=..\win32\winquake.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\ref_soft.def -# End Source File -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="ref_soft" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 +# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602 + +CFG=ref_soft - Win32 Debug Alpha +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "ref_soft.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "ref_soft.mak" CFG="ref_soft - Win32 Debug Alpha" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "ref_soft - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Debug Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE "ref_soft - Win32 Release Alpha" (based on "Win32 (ALPHA) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir ".\ref_soft" +# PROP BASE Intermediate_Dir ".\ref_soft" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\release" +# PROP Intermediate_Dir ".\release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MT /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:I386 +# SUBTRACT LINK32 /debug + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir ".\ref_soft" +# PROP BASE Intermediate_Dir ".\ref_soft" +# PROP BASE Target_Dir "." +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\debug" +# PROP Intermediate_Dir ".\debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "." +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /FR /YX /FD /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /map /debug /machine:I386 /nodefaultlib:"libc" +# SUBTRACT LINK32 /profile /nodefaultlib + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug Alpha" +# PROP BASE Intermediate_Dir "Debug Alpha" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "..\DebugAxp" +# PROP Intermediate_Dir ".\DebugAxp" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MTd /Gt0 /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MTd /Gt0 /W3 /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +MTL=midl.exe +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 winmm.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" +# SUBTRACT BASE LINK32 /nodefaultlib +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /nodefaultlib:"libc" +# SUBTRACT LINK32 /nodefaultlib + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "ref_soft" +# PROP BASE Intermediate_Dir "ref_soft" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "..\ReleaseAXP" +# PROP Intermediate_Dir ".\ReleaseAXP" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +CPP=cl.exe +# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /QA21164 /MT /Gt0 /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /YX /FD /QAieee1 /c +# SUBTRACT CPP /Z /Fr +MTL=midl.exe +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32 +RSC=rc.exe +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +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 /nologo /subsystem:windows /dll /machine:ALPHA +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /machine:ALPHA +# SUBTRACT LINK32 /debug + +!ENDIF + +# Begin Target + +# Name "ref_soft - Win32 Release" +# Name "ref_soft - Win32 Debug" +# Name "ref_soft - Win32 Debug Alpha" +# Name "ref_soft - Win32 Release Alpha" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=..\game\q_shared.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_Q_SHA=\ + "..\game\q_shared.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\q_shwin.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_Q_SHW=\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\winquake.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_aclip.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_ACL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_ACL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_ACL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_aclipa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_aclipa.asm +InputName=r_aclipa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_aclipa.asm +InputName=r_aclipa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_alias.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_ALI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_ALI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_ALI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\anorms.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_bsp.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_BSP=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_BSP=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_BSP=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_draw.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_DRA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_DRA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_DRA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_draw16.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_draw16.asm +InputName=r_draw16 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_draw16.asm +InputName=r_draw16 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_drawa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_drawa.asm +InputName=r_drawa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_drawa.asm +InputName=r_drawa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_edge.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_EDG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_EDG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_EDG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_edgea.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_edgea.asm +InputName=r_edgea + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_edgea.asm +InputName=r_edgea + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_image.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_IMA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_IMA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_IMA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_light.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_LIG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_LIG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_LIG=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_main.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_MAI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_MAI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_MAI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_misc.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_MIS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_MIS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_MIS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_model.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_MOD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_MOD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_MOD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_part.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_PAR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_PAR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_PAR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_poly.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_POL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_POL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_POL=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_polysa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_polysa.asm +InputName=r_polysa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_polysa.asm +InputName=r_polysa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_polyse.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_POLY=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\adivtab.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + ".\rand1k.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_POLY=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\adivtab.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + ".\rand1k.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_POLY=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\adivtab.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + ".\rand1k.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_rast.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_RAS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_RAS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_RAS=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_scan.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_SCA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_SCA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_SCA=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_scana.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_scana.asm +InputName=r_scana + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_scana.asm +InputName=r_scana + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_spr8.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_spr8.asm +InputName=r_spr8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_spr8.asm +InputName=r_spr8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_sprite.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_SPR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_SPR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_SPR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_surf.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_R_SUR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_R_SUR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_R_SUR=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_surf8.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_surf8.asm +InputName=r_surf8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_surf8.asm +InputName=r_surf8 + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\r_varsa.asm + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +# Begin Custom Build +OutDir=.\..\release +InputPath=.\r_varsa.asm +InputName=r_varsa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +# Begin Custom Build +OutDir=.\..\debug +InputPath=.\r_varsa.asm +InputName=r_varsa + +"$(OUTDIR)\$(InputName).obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(InputPath) + +# End Custom Build + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +# PROP Exclude_From_Build 1 + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_ddraw.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_RW_DD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_RW_DD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_RW_DD=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_dib.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_RW_DI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_RW_DI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_RW_DI=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_imp.c + +!IF "$(CFG)" == "ref_soft - Win32 Release" + +DEP_CPP_RW_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + "..\win32\winquake.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug" + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Debug Alpha" + +DEP_CPP_RW_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + "..\win32\winquake.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ELSEIF "$(CFG)" == "ref_soft - Win32 Release Alpha" + +DEP_CPP_RW_IM=\ + "..\client\ref.h"\ + "..\game\q_shared.h"\ + "..\qcommon\qcommon.h"\ + "..\qcommon\qfiles.h"\ + "..\win32\rw_win.h"\ + "..\win32\winquake.h"\ + ".\r_local.h"\ + ".\r_model.h"\ + + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\adivtab.h +# End Source File +# Begin Source File + +SOURCE=.\anorms.h +# End Source File +# Begin Source File + +SOURCE=..\game\q_shared.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qcommon.h +# End Source File +# Begin Source File + +SOURCE=..\qcommon\qfiles.h +# End Source File +# Begin Source File + +SOURCE=.\r_local.h +# End Source File +# Begin Source File + +SOURCE=.\r_model.h +# End Source File +# Begin Source File + +SOURCE=.\rand1k.h +# End Source File +# Begin Source File + +SOURCE=..\client\ref.h +# End Source File +# Begin Source File + +SOURCE=..\win32\rw_win.h +# End Source File +# Begin Source File + +SOURCE=..\win32\winquake.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\ref_soft.def +# End Source File +# End Group +# End Target +# End Project diff --git a/ref_soft/ref_soft.plg b/ref_soft/ref_soft.plg index e6a716d..b651f0b 100644 --- a/ref_soft/ref_soft.plg +++ b/ref_soft/ref_soft.plg @@ -1,17 +1,17 @@ ---------------------Configuration: ref_soft - Win32 Release Alpha-------------------- -Begining build with project "G:\quake2\code\ref_soft\ref_soft.dsp", at root. -Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) - -Project's tools are: - "OLE Type Library Maker" with flags "/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 " - "C/C++ Compiler for Alpha" with flags "/nologo /QA21164 /MT /Gt0 /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /Fp".\ReleaseAXP/ref_soft.pch" /YX /Fo".\ReleaseAXP/" /Fd".\ReleaseAXP/" /FD /QAieee1 /c " - "Win32 Resource Compiler" with flags "/l 0x409 /d "NDEBUG" " - "Browser Database Maker" with flags "/nologo /o"..\ReleaseAXP/ref_soft.bsc" " - "COFF Linker for Alpha" with flags "kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\ReleaseAXP/ref_soft.pdb" /debug /machine:ALPHA /def:".\ref_soft.def" /out:"..\ReleaseAXP/ref_soft.dll" /implib:"..\ReleaseAXP/ref_soft.lib" " - "Custom Build" with flags "" - "" with flags "" - - - - -ref_soft.dll - 0 error(s), 0 warning(s) +--------------------Configuration: ref_soft - Win32 Release Alpha-------------------- +Begining build with project "G:\quake2\code\ref_soft\ref_soft.dsp", at root. +Active configuration is Win32 (ALPHA) Dynamic-Link Library (based on Win32 (ALPHA) Dynamic-Link Library) + +Project's tools are: + "OLE Type Library Maker" with flags "/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 " + "C/C++ Compiler for Alpha" with flags "/nologo /QA21164 /MT /Gt0 /W3 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "C_ONLY" /Fp".\ReleaseAXP/ref_soft.pch" /YX /Fo".\ReleaseAXP/" /Fd".\ReleaseAXP/" /FD /QAieee1 /c " + "Win32 Resource Compiler" with flags "/l 0x409 /d "NDEBUG" " + "Browser Database Maker" with flags "/nologo /o"..\ReleaseAXP/ref_soft.bsc" " + "COFF Linker for Alpha" with flags "kernel32.lib user32.lib gdi32.lib winmm.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"..\ReleaseAXP/ref_soft.pdb" /debug /machine:ALPHA /def:".\ref_soft.def" /out:"..\ReleaseAXP/ref_soft.dll" /implib:"..\ReleaseAXP/ref_soft.lib" " + "Custom Build" with flags "" + "" with flags "" + + + + +ref_soft.dll - 0 error(s), 0 warning(s) diff --git a/rhapsody/in_next.m b/rhapsody/in_next.m index 5272882..97022bd 100644 --- a/rhapsody/in_next.m +++ b/rhapsody/in_next.m @@ -32,21 +32,21 @@ cvar_t m_filter = {"m_filter", "0", CVAR_ARCHIVE}; cvar_t freelook = {"in_freelook", "0", CVAR_ARCHIVE}; -/* -=========== -IN_ActivateMouse - -Called when the window gains focus or changes in some way -=========== -*/ -void IN_ActivateMouse (void) +/* +=========== +IN_ActivateMouse + +Called when the window gains focus or changes in some way +=========== +*/ +void IN_ActivateMouse (void) { NSRect r; - if (!mouseinitialized) - return; - if (!in_mouse.value) - return; + if (!mouseinitialized) + return; + if (!in_mouse.value) + return; r = [vid_window_i frame]; window_center_x = r.size.width / 2; @@ -55,113 +55,113 @@ void IN_ActivateMouse (void) if (!mouseactive) PShidecursor (); - mouseactive = true; + mouseactive = true; mousereset = true; -} - - -/* -=========== -IN_DeactivateMouse - -Called when the window loses focus -=========== -*/ -void IN_DeactivateMouse (void) +} + + +/* +=========== +IN_DeactivateMouse + +Called when the window loses focus +=========== +*/ +void IN_DeactivateMouse (void) { - if (!mouseinitialized) - return; + if (!mouseinitialized) + return; if (mouseactive) PSshowcursor (); mouseactive = false; -} - - -/* -=========== -IN_StartupMouse -=========== -*/ -void IN_StartupMouse (void) -{ - if ( COM_CheckParm ("-nomouse") ) - return; - - mouseinitialized = true; - - mouse_buttons = 3; - - IN_ActivateMouse (); -} - -/* -=========== -IN_MouseEvent -=========== -*/ -void IN_MouseEvent (int mstate) -{ - int i; - - if (!mouseactive) - return; - -// perform button actions - for (i=0 ; isidemove += m_side.value * mouse_x; - else - cl.viewangles[YAW] -= m_yaw.value * mouse_x; - - if ( (mlooking || freelook.value) && !(in_strafe.state & 1)) - { - cl.viewangles[PITCH] += m_pitch.value * mouse_y; - if (cl.viewangles[PITCH] > 80) - cl.viewangles[PITCH] = 80; - if (cl.viewangles[PITCH] < -70) - cl.viewangles[PITCH] = -70; - } - else - { - cmd->forwardmove -= m_forward.value * mouse_y; - } - -} + IN_Accumulate (); + + mx = mx_accum; + my = my_accum; + + mx_accum = 0; + my_accum = 0; + + if (m_filter.value) + { + mouse_x = (mx + old_mouse_x) * 0.5; + mouse_y = (my + old_mouse_y) * 0.5; + } + else + { + mouse_x = mx; + mouse_y = my; + } + + old_mouse_x = mx; + old_mouse_y = my; + + if (!mx && !my) + return; + + if (!mouseactive) + return; + + mouse_x *= sensitivity.value; + mouse_y *= sensitivity.value; + +// add mouse X/Y movement to cmd + if ( (in_strafe.state & 1) || (lookstrafe.value && mlooking )) + cmd->sidemove += m_side.value * mouse_x; + else + cl.viewangles[YAW] -= m_yaw.value * mouse_x; + + if ( (mlooking || freelook.value) && !(in_strafe.state & 1)) + { + cl.viewangles[PITCH] += m_pitch.value * mouse_y; + if (cl.viewangles[PITCH] > 80) + cl.viewangles[PITCH] = 80; + if (cl.viewangles[PITCH] < -70) + cl.viewangles[PITCH] = -70; + } + else + { + cmd->forwardmove -= m_forward.value * mouse_y; + } + +} void IN_ShowMouse (void) { @@ -316,17 +316,17 @@ void IN_Commands (void) } -/* -========================================================================= - -VIEW CENTERING - -========================================================================= -*/ +/* +========================================================================= -void V_StopPitchDrift (void) -{ - cl.laststop = cl.time; - cl.nodrift = true; - cl.pitchvel = 0; -} +VIEW CENTERING + +========================================================================= +*/ + +void V_StopPitchDrift (void) +{ + cl.laststop = cl.time; + cl.nodrift = true; + cl.pitchvel = 0; +} diff --git a/rhapsody/r_next.m b/rhapsody/r_next.m index e1fd45a..902cbd6 100644 --- a/rhapsody/r_next.m +++ b/rhapsody/r_next.m @@ -1,14 +1,14 @@ - -#import -#include "../ref_soft/r_local.h" -/* -==================================================================== - - OPENSTEP specific stuff - -==================================================================== -*/ +#import +#include "../ref_soft/r_local.h" + +/* +==================================================================== + + OPENSTEP specific stuff + +==================================================================== +*/ @interface QuakeView : NSView @end @@ -21,144 +21,144 @@ unsigned *buffernative; //=========================================================== -int Draw_SetResolution (void); - -#define TYPE_FULLSCREEN 0 -#define TYPE_WINDOWED 1 -#define TYPE_STRETCHED 2 - -#define NUM_RESOLUTIONS 7 -int resolutions[NUM_RESOLUTIONS][2] = { - {320,200}, {320,240}, {400,300}, {512,384}, {640,480}, {800,600}, {1024,768} }; - -qboolean available[NUM_RESOLUTIONS][3]; -int mode_res = 0, mode_type = TYPE_WINDOWED; - -byte gammatable[256]; // palette is sent through this -unsigned current_palette[256]; -unsigned gamma_palette[256]; - -int cursor_res, cursor_type; - -cvar_t *vid_x; -cvar_t *vid_y; -cvar_t *vid_mode; -cvar_t *vid_stretched; -cvar_t *vid_fullscreen; -cvar_t *draw_gamma; - -void Draw_BuildGammaTable (void); - -/* -==================================================================== - -MENU INTERACTION - -==================================================================== -*/ - -void FindModes (void) -{ - if (mode_res < 0 || mode_res >= NUM_RESOLUTIONS) - mode_res = 0; - if (mode_type < 0 || mode_type > 3) - mode_type = 1; - -} - -void RM_Print (int x, int y, char *s) -{ - while (*s) - { - Draw_Char (x, y, (*s)+128); - s++; - x += 8; - } -} - -/* -================ -Draw_MenuDraw -================ -*/ -void Draw_MenuDraw (void) -{ - int i, j; - int y; - char string[32]; - - Draw_Pic ( 4, 4, "vidmodes"); - - RM_Print (80, 32, "fullscreen windowed stretched"); - RM_Print (80, 40, "---------- -------- ---------"); - y = 50; - - // draw background behind selected mode - Draw_Fill ( (mode_type+1)*80, y+(mode_res)*10, 40,10, 8); - - // draw available grid - for (i=0 ; i 2) - cursor_type = 0; - break; - - case K_UPARROW: - cursor_res--; - if (cursor_res < 0) - cursor_res = NUM_RESOLUTIONS-1; - break; - - case K_DOWNARROW: - cursor_res++; - if (cursor_res >= NUM_RESOLUTIONS) - cursor_res = 0; - break; - - case K_ENTER: - ri.Cmd_ExecuteText (EXEC_NOW, va("vid_mode %i", cursor_res)); +int Draw_SetResolution (void); + +#define TYPE_FULLSCREEN 0 +#define TYPE_WINDOWED 1 +#define TYPE_STRETCHED 2 + +#define NUM_RESOLUTIONS 7 +int resolutions[NUM_RESOLUTIONS][2] = { + {320,200}, {320,240}, {400,300}, {512,384}, {640,480}, {800,600}, {1024,768} }; + +qboolean available[NUM_RESOLUTIONS][3]; +int mode_res = 0, mode_type = TYPE_WINDOWED; + +byte gammatable[256]; // palette is sent through this +unsigned current_palette[256]; +unsigned gamma_palette[256]; + +int cursor_res, cursor_type; + +cvar_t *vid_x; +cvar_t *vid_y; +cvar_t *vid_mode; +cvar_t *vid_stretched; +cvar_t *vid_fullscreen; +cvar_t *draw_gamma; + +void Draw_BuildGammaTable (void); + +/* +==================================================================== + +MENU INTERACTION + +==================================================================== +*/ + +void FindModes (void) +{ + if (mode_res < 0 || mode_res >= NUM_RESOLUTIONS) + mode_res = 0; + if (mode_type < 0 || mode_type > 3) + mode_type = 1; + +} + +void RM_Print (int x, int y, char *s) +{ + while (*s) + { + Draw_Char (x, y, (*s)+128); + s++; + x += 8; + } +} + +/* +================ +Draw_MenuDraw +================ +*/ +void Draw_MenuDraw (void) +{ + int i, j; + int y; + char string[32]; + + Draw_Pic ( 4, 4, "vidmodes"); + + RM_Print (80, 32, "fullscreen windowed stretched"); + RM_Print (80, 40, "---------- -------- ---------"); + y = 50; + + // draw background behind selected mode + Draw_Fill ( (mode_type+1)*80, y+(mode_res)*10, 40,10, 8); + + // draw available grid + for (i=0 ; i 2) + cursor_type = 0; + break; + + case K_UPARROW: + cursor_res--; + if (cursor_res < 0) + cursor_res = NUM_RESOLUTIONS-1; + break; + + case K_DOWNARROW: + cursor_res++; + if (cursor_res >= NUM_RESOLUTIONS) + cursor_res = 0; + break; + + case K_ENTER: + ri.Cmd_ExecuteText (EXEC_NOW, va("vid_mode %i", cursor_res)); switch (cursor_type) { case TYPE_FULLSCREEN: @@ -175,39 +175,39 @@ void Draw_MenuKey (int key) break; } - mode_res = cursor_res; - mode_type = cursor_type; - Draw_SetResolution (); - break; - - default: - break; - } -} - -//=========================================================== - - -/* -================ -Draw_SetResolution - -The vid structure will be filled in on return -Also allocates the z buffer and surface cache -================ -*/ -int Draw_SetResolution (void) + mode_res = cursor_res; + mode_type = cursor_type; + Draw_SetResolution (); + break; + + default: + break; + } +} + +//=========================================================== + + +/* +================ +Draw_SetResolution + +The vid structure will be filled in on return +Also allocates the z buffer and surface cache +================ +*/ +int Draw_SetResolution (void) { NSRect content; - if (vid_mode->value < 0) - ri.Cmd_ExecuteText (EXEC_NOW, "vid_mode 0"); - if (vid_mode->value >= NUM_RESOLUTIONS) - ri.Cmd_ExecuteText (EXEC_NOW, va("vid_mode %i", NUM_RESOLUTIONS-1)); - - vid_mode->modified = false; - vid_fullscreen->modified = false; - vid_stretched->modified = false; + if (vid_mode->value < 0) + ri.Cmd_ExecuteText (EXEC_NOW, "vid_mode 0"); + if (vid_mode->value >= NUM_RESOLUTIONS) + ri.Cmd_ExecuteText (EXEC_NOW, va("vid_mode %i", NUM_RESOLUTIONS-1)); + + vid_mode->modified = false; + vid_fullscreen->modified = false; + vid_stretched->modified = false; // free nativebuffer if (buffernative) @@ -216,40 +216,40 @@ int Draw_SetResolution (void) buffernative = NULL; } - // free z buffer - if (d_pzbuffer) - { - free (d_pzbuffer); - d_pzbuffer = NULL; - } - // free surface cache - if (sc_base) - { - D_FlushCaches (); - free (sc_base); - sc_base = NULL; - } + // free z buffer + if (d_pzbuffer) + { + free (d_pzbuffer); + d_pzbuffer = NULL; + } + // free surface cache + if (sc_base) + { + D_FlushCaches (); + free (sc_base); + sc_base = NULL; + } - vid.width = resolutions[(int)(vid_mode->value)][0]; - vid.height = resolutions[(int)(vid_mode->value)][1]; - - vid.win_width = vid.width; - vid.win_height = vid.height; - if (vid_stretched->value) - { - vid.win_width <<= 1; - vid.win_height <<= 1; - } - - vid.aspect = 1; + vid.width = resolutions[(int)(vid_mode->value)][0]; + vid.height = resolutions[(int)(vid_mode->value)][1]; + + vid.win_width = vid.width; + vid.win_height = vid.height; + if (vid_stretched->value) + { + vid.win_width <<= 1; + vid.win_height <<= 1; + } + + vid.aspect = 1; vid.buffer = malloc (vid.width*vid.height); vid.rowbytes = vid.width; - d_pzbuffer = malloc(vid.width*vid.height*2); - buffernative = malloc(vid.width*vid.height*4); - - D_InitCaches (); - - Sys_SetPalette ((byte *)d_8to24table); + d_pzbuffer = malloc(vid.width*vid.height*2); + buffernative = malloc(vid.width*vid.height*4); + + D_InitCaches (); + + Sys_SetPalette ((byte *)d_8to24table); if (vid_view_i) [vid_view_i unlockFocus]; @@ -286,127 +286,127 @@ int Draw_SetResolution (void) // leave focus locked forever [vid_view_i lockFocus]; - ri.VID_SetSize (vid.width, vid.height); - - return 0; -} - -/* -@@@@@@@@@@@@@@@@@@@@@ -Draw_Init - -@@@@@@@@@@@@@@@@@@@@@ -*/ -int Draw_Init (void *window) + ri.VID_SetSize (vid.width, vid.height); + + return 0; +} + +/* +@@@@@@@@@@@@@@@@@@@@@ +Draw_Init + +@@@@@@@@@@@@@@@@@@@@@ +*/ +int Draw_Init (void *window) { [NSApplication sharedApplication]; [NSApp finishLaunching]; - ri.Con_Printf (PRINT_ALL, "refresh version: "REF_VERSION"\n"); - - vid_x = ri.Cvar_Get ("vid_x", "0", CVAR_ARCHIVE); - vid_y = ri.Cvar_Get ("vid_y", "0", CVAR_ARCHIVE); - vid_mode = ri.Cvar_Get ("vid_mode", "0", CVAR_ARCHIVE); - vid_fullscreen = ri.Cvar_Get ("vid_fullscreen", "0", CVAR_ARCHIVE); - vid_stretched = ri.Cvar_Get ("vid_stretched", "0", CVAR_ARCHIVE); - draw_gamma = ri.Cvar_Get ("gamma", "1", CVAR_ARCHIVE); - - Draw_GetPalette (); - - Draw_BuildGammaTable (); - - // get the lighting colormap - ri.FS_LoadFile ("gfx/colormap.lmp", (void **)&vid.colormap); - if (!vid.colormap) - { - ri.Con_Printf (PRINT_ALL, "ERROR: Couldn't load gfx/colormap.lmp"); - return -1; - } - - Draw_SetResolution (); - - R_Init (); - - return 0; -} - - -/* -@@@@@@@@@@@@@@@@@@@@@ -Draw_Shutdown - -@@@@@@@@@@@@@@@@@@@@@ -*/ -void Draw_Shutdown (void) -{ + ri.Con_Printf (PRINT_ALL, "refresh version: "REF_VERSION"\n"); + + vid_x = ri.Cvar_Get ("vid_x", "0", CVAR_ARCHIVE); + vid_y = ri.Cvar_Get ("vid_y", "0", CVAR_ARCHIVE); + vid_mode = ri.Cvar_Get ("vid_mode", "0", CVAR_ARCHIVE); + vid_fullscreen = ri.Cvar_Get ("vid_fullscreen", "0", CVAR_ARCHIVE); + vid_stretched = ri.Cvar_Get ("vid_stretched", "0", CVAR_ARCHIVE); + draw_gamma = ri.Cvar_Get ("gamma", "1", CVAR_ARCHIVE); + + Draw_GetPalette (); + + Draw_BuildGammaTable (); + + // get the lighting colormap + ri.FS_LoadFile ("gfx/colormap.lmp", (void **)&vid.colormap); + if (!vid.colormap) + { + ri.Con_Printf (PRINT_ALL, "ERROR: Couldn't load gfx/colormap.lmp"); + return -1; + } + + Draw_SetResolution (); + + R_Init (); + + return 0; +} + + +/* +@@@@@@@@@@@@@@@@@@@@@ +Draw_Shutdown + +@@@@@@@@@@@@@@@@@@@@@ +*/ +void Draw_Shutdown (void) +{ R_Shutdown (); -} - - -/* -@@@@@@@@@@@@@@@@@@@@@ -Draw_BuildGammaTable - -@@@@@@@@@@@@@@@@@@@@@ -*/ -void Draw_BuildGammaTable (void) -{ - int i, inf; - float g; - - draw_gamma->modified = false; - g = draw_gamma->value; - - if (g == 1.0) - { - for (i=0 ; i<256 ; i++) - gammatable[i] = i; - return; - } - - for (i=0 ; i<256 ; i++) - { - inf = 255 * pow ( (i+0.5)/255.5 , g ) + 0.5; - if (inf < 0) - inf = 0; - if (inf > 255) - inf = 255; - gammatable[i] = inf; - } -} - - -/* -@@@@@@@@@@@@@@@@@@@@@ -Draw_BeginFram - -@@@@@@@@@@@@@@@@@@@@@ -*/ -void Draw_BeginFrame (void) -{ +} + + +/* +@@@@@@@@@@@@@@@@@@@@@ +Draw_BuildGammaTable + +@@@@@@@@@@@@@@@@@@@@@ +*/ +void Draw_BuildGammaTable (void) +{ + int i, inf; + float g; + + draw_gamma->modified = false; + g = draw_gamma->value; + + if (g == 1.0) + { + for (i=0 ; i<256 ; i++) + gammatable[i] = i; + return; + } + + for (i=0 ; i<256 ; i++) + { + inf = 255 * pow ( (i+0.5)/255.5 , g ) + 0.5; + if (inf < 0) + inf = 0; + if (inf > 255) + inf = 255; + gammatable[i] = inf; + } +} + + +/* +@@@@@@@@@@@@@@@@@@@@@ +Draw_BeginFram + +@@@@@@@@@@@@@@@@@@@@@ +*/ +void Draw_BeginFrame (void) +{ if (vid_mode->modified || vid_fullscreen->modified - || vid_stretched->modified) - Draw_SetResolution (); - - if (draw_gamma->modified) - { - Draw_BuildGammaTable (); - Sys_SetPalette ((byte *)current_palette); - } - -// MGL_beginDirectAccess(); -// vid.buffer = mgldc->surface; -// vid.rowbytes = mgldc->mi.bytesPerLine; -} - - -/* -@@@@@@@@@@@@@@@@@@@@@ -Draw_EndFrame - -@@@@@@@@@@@@@@@@@@@@@ -*/ -void Draw_EndFrame (void) + || vid_stretched->modified) + Draw_SetResolution (); + + if (draw_gamma->modified) + { + Draw_BuildGammaTable (); + Sys_SetPalette ((byte *)current_palette); + } + +// MGL_beginDirectAccess(); +// vid.buffer = mgldc->surface; +// vid.rowbytes = mgldc->mi.bytesPerLine; +} + + +/* +@@@@@@@@@@@@@@@@@@@@@ +Draw_EndFrame + +@@@@@@@@@@@@@@@@@@@@@ +*/ +void Draw_EndFrame (void) { int i, c; int bps, spp, bpp, bpr; @@ -440,9 +440,9 @@ void Draw_EndFrame (void) planes ); } - - -//=============================================================================== + + +//=============================================================================== #define HUNK_MAGIC 0xffaffaff typedef struct @@ -453,42 +453,42 @@ typedef struct } hunkheader_t; hunkheader_t *membase; -int maxsize; -int cursize; - -void *Hunk_Begin (void) +int maxsize; +int cursize; + +void *Hunk_Begin (void) { kern_return_t r; -// reserve a huge chunk of memory, but don't commit any yet - maxsize = 16*1024*1024; +// reserve a huge chunk of memory, but don't commit any yet + maxsize = 16*1024*1024; cursize = 0; membase = NULL; r = vm_allocate(task_self(), (vm_address_t *)&membase, maxsize, 1); - if (!membase || r != KERN_SUCCESS) + if (!membase || r != KERN_SUCCESS) ri.Sys_Error (ERR_FATAL,"vm_allocate failed"); membase->magic = HUNK_MAGIC; membase->length = maxsize; cursize = 32; - return (void *)((byte *)membase + cursize); -} - -void *Hunk_Alloc (int size) -{ - // round to cacheline - size = (size+31)&~31; - - cursize += size; + return (void *)((byte *)membase + cursize); +} + +void *Hunk_Alloc (int size) +{ + // round to cacheline + size = (size+31)&~31; + + cursize += size; if (cursize > maxsize) ri.Sys_Error (ERR_DROP, "Hunk_Alloc overflow"); memset ((byte *)membase+cursize-size,0,size); - return (void *)((byte *)membase+cursize-size); -} - -int Hunk_End (void) + return (void *)((byte *)membase+cursize-size); +} + +int Hunk_End (void) { kern_return_t r; @@ -501,9 +501,9 @@ int Hunk_End (void) if ( r != KERN_SUCCESS ) ri.Sys_Error (ERR_DROP, "vm_deallocate failed"); return cursize; -} - -void Hunk_Free (void *base) +} + +void Hunk_Free (void *base) { hunkheader_t *h; kern_return_t r; @@ -515,41 +515,41 @@ void Hunk_Free (void *base) r = vm_deallocate(task_self(), (vm_address_t)h, h->length); if ( r != KERN_SUCCESS ) ri.Sys_Error (ERR_DROP, "vm_deallocate failed"); -} - - -/* -================ -Sys_MakeCodeWriteable -================ -*/ -void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) -{ -} - - -/* -================ -Sys_SetPalette -================ -*/ -void Sys_SetPalette (byte *palette) -{ - byte *p; - int i; +} + + +/* +================ +Sys_MakeCodeWriteable +================ +*/ +void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length) +{ +} + + +/* +================ +Sys_SetPalette +================ +*/ +void Sys_SetPalette (byte *palette) +{ + byte *p; + int i; memcpy (current_palette, palette, sizeof(current_palette)); p = (byte *)gamma_palette; - // gamma correct and byte swap - for (i=0 ; i<256 ; i++, p+=4, palette+=4) - { - p[0] = gammatable[palette[0]]; - p[1] = gammatable[palette[1]]; + // gamma correct and byte swap + for (i=0 ; i<256 ; i++, p+=4, palette+=4) + { + p[0] = gammatable[palette[0]]; + p[1] = gammatable[palette[1]]; p[2] = gammatable[palette[2]]; p[3] = 0xff; - } - -} + } + +} /* @@ -561,8 +561,8 @@ void Sys_SetPalette (byte *palette) */ #include "../client/keys.h" -void IN_ActivateMouse (void); -void IN_DeactivateMouse (void); +void IN_ActivateMouse (void); +void IN_DeactivateMouse (void); @implementation QuakeView diff --git a/rhapsody/snd_next.m b/rhapsody/snd_next.m index d62252a..8ee7ea0 100644 --- a/rhapsody/snd_next.m +++ b/rhapsody/snd_next.m @@ -2,7 +2,7 @@ #import #import -#include "../client/client.h" +#include "../client/client.h" double snd_basetime; port_t devPort; @@ -2018,15 +2018,15 @@ mig_external kern_return_t ntsoundWireRange ( //======================================================================== -/* -================== -SNDDMA_Init - -Try to find a sound device to mix for. -Returns false if nothing is found. -================== -*/ -qboolean SNDDMA_Init(void) +/* +================== +SNDDMA_Init + +Try to find a sound device to mix for. +Returns false if nothing is found. +================== +*/ +qboolean SNDDMA_Init(void) { int err; int i; @@ -2035,9 +2035,9 @@ qboolean SNDDMA_Init(void) int progress, oldprogress; shm = &sn; - shm->channels = 2; - shm->samplebits = 16; - shm->speed = 11025; + shm->channels = 2; + shm->samplebits = 16; + shm->speed = 11025; err = netname_look_up(name_server_port,"", NTSOUNDNAME,&devPort); if (err) @@ -2071,11 +2071,11 @@ qboolean SNDDMA_Init(void) // ntsoundSetVolume(devPort,task_self(),5); ntsoundStart(devPort,task_self()); - shm->soundalive = true; - shm->splitbuffer = false; - shm->samples = bufsize/(shm->samplebits/8); - shm->samplepos = 0; - shm->submission_chunk = 1; + shm->soundalive = true; + shm->splitbuffer = false; + shm->samples = bufsize/(shm->samplebits/8); + shm->samplepos = 0; + shm->submission_chunk = 1; shm->buffer = buf; // @@ -2090,18 +2090,18 @@ qboolean SNDDMA_Init(void) snd_basetime = Sys_DoubleTime() - progress/(11025*2); return true; -} - -/* -============== -SNDDMA_GetDMAPos - -return the current sample position (in mono samples read) -inside the recirculating dma buffer, so the mixing code will know -how many sample are required to fill it up. -=============== -*/ -int SNDDMA_GetDMAPos(void) +} + +/* +============== +SNDDMA_GetDMAPos + +return the current sample position (in mono samples read) +inside the recirculating dma buffer, so the mixing code will know +how many sample are required to fill it up. +=============== +*/ +int SNDDMA_GetDMAPos(void) { int progress; @@ -2119,33 +2119,33 @@ int SNDDMA_GetDMAPos(void) progress &= ~1; #endif - progress &= (shm->samples-1); + progress &= (shm->samples-1); - return progress; -} - - -/* -============== -SNDDMA_Submit - -Reset the sound device for exiting -=============== -*/ -void SNDDMA_Submit(void) + return progress; +} + + +/* +============== +SNDDMA_Submit + +Reset the sound device for exiting +=============== +*/ +void SNDDMA_Submit(void) { } -/* -============== -SNDDMA_Shutdown +/* +============== +SNDDMA_Shutdown -Reset the sound device for exiting -=============== -*/ -void SNDDMA_Shutdown(void) -{ +Reset the sound device for exiting +=============== +*/ +void SNDDMA_Shutdown(void) +{ ntsoundStop(devPort,task_self()); ntsoundRelease(devPort,task_self()); -} - +} + diff --git a/rhapsody/swimp_rhap.m b/rhapsody/swimp_rhap.m index 4088d11..aeb77dc 100644 --- a/rhapsody/swimp_rhap.m +++ b/rhapsody/swimp_rhap.m @@ -98,8 +98,8 @@ void ShutdownFullscreen (void) void SetPaletteFullscreen (const unsigned char *palette) { #if 0 - byte *p; - int i; + byte *p; + int i; NSDirectPalette *pal; pal = [NSDirectPalette init]; @@ -168,9 +168,9 @@ rserr_t InitWindowed (int width, int height) // [vid_window_i addToEventMask: NS_FLAGSCHANGEDMASK]; [vid_window_i setTitle: @"Quake2"]; - buffernative = malloc(width * height * 4); + buffernative = malloc(width * height * 4); - return retval; + return retval; } void ShutdownWindowed (void) @@ -188,14 +188,14 @@ void ShutdownWindowed (void) } void SetPaletteWindowed (const unsigned char *palette) { - byte *p; - int i; + byte *p; + int i; p = (byte *)swimp_palette; - for (i=0 ; i<256 ; i++, p+=4, palette+=4) + for (i=0 ; i<256 ; i++, p+=4, palette+=4) { - p[0] = palette[0]; - p[1] = palette[1]; + p[0] = palette[0]; + p[1] = palette[1]; p[2] = palette[2]; p[3] = 0xff; } @@ -407,8 +407,8 @@ void SWimp_AppActivate( qboolean active ) */ #include "../client/keys.h" -void IN_ActivateMouse (void); -void IN_DeactivateMouse (void); +void IN_ActivateMouse (void); +void IN_DeactivateMouse (void); @implementation QuakeView diff --git a/rhapsody/sys_rhap.m b/rhapsody/sys_rhap.m index 5c6a6e6..ad0507d 100644 --- a/rhapsody/sys_rhap.m +++ b/rhapsody/sys_rhap.m @@ -2,7 +2,7 @@ #import #include "../qcommon/qcommon.h" -int curtime; +int curtime; int sys_frame_time; void Sys_UnloadGame (void) @@ -24,7 +24,7 @@ void Sys_CopyProtect (void) char *Sys_GetClipboardData( void ) { return NULL; -} +} //=========================================================================== @@ -34,20 +34,20 @@ int hunkcount; byte *membase; int hunkmaxsize; int cursize; - -//#define VIRTUAL_ALLOC + +//#define VIRTUAL_ALLOC void *Hunk_Begin (int maxsize) { // reserve a huge chunk of memory, but don't commit any yet cursize = 0; - hunkmaxsize = maxsize; + hunkmaxsize = maxsize; #ifdef VIRTUAL_ALLOC - membase = VirtualAlloc (NULL, maxsize, MEM_RESERVE, PAGE_NOACCESS); + membase = VirtualAlloc (NULL, maxsize, MEM_RESERVE, PAGE_NOACCESS); #else membase = malloc (maxsize); - memset (membase, 0, maxsize); -#endif + memset (membase, 0, maxsize); +#endif if (!membase) Sys_Error ("VirtualAlloc reserve failed"); return (void *)membase; @@ -59,16 +59,16 @@ void *Hunk_Alloc (int size) // round to cacheline size = (size+31)&~31; - + #ifdef VIRTUAL_ALLOC // commit pages as needed -// buf = VirtualAlloc (membase+cursize, size, MEM_COMMIT, PAGE_READWRITE); - buf = VirtualAlloc (membase, cursize+size, MEM_COMMIT, PAGE_READWRITE); +// buf = VirtualAlloc (membase+cursize, size, MEM_COMMIT, PAGE_READWRITE); + buf = VirtualAlloc (membase, cursize+size, MEM_COMMIT, PAGE_READWRITE); if (!buf) { FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR) &buf, 0, NULL); Sys_Error ("VirtualAlloc commit failed.\n%s", buf); - } + } #endif cursize += size; if (cursize > hunkmaxsize) @@ -88,22 +88,22 @@ int Hunk_End (void) buf = VirtualAlloc (membase, cursize, MEM_COMMIT, PAGE_READONLY); if (!buf) Sys_Error ("VirtualAlloc commit failed"); -#endif - - hunkcount++; +#endif + + hunkcount++; //Com_Printf ("hunkcount: %i\n", hunkcount); return cursize; } void Hunk_Free (void *base) -{ - if ( base ) -#ifdef VIRTUAL_ALLOC - VirtualFree (base, 0, MEM_RELEASE); +{ + if ( base ) +#ifdef VIRTUAL_ALLOC + VirtualFree (base, 0, MEM_RELEASE); #else - free (base); -#endif - + free (base); +#endif + hunkcount--; } @@ -275,8 +275,8 @@ void Sys_SendKeyEvents (void) [NSApp sendEvent: event]; } while (event); - // grab frame time - sys_frame_time = Sys_Milliseconds(); + // grab frame time + sys_frame_time = Sys_Milliseconds(); } @@ -315,7 +315,7 @@ void main (int argc, char **argv) pool = [[NSAutoreleasePool alloc] init]; - Qcommon_Init (argc, argv); + Qcommon_Init (argc, argv); [pool release]; diff --git a/unix/makefile b/unix/makefile index c24e202..1f9c9a5 100644 --- a/unix/makefile +++ b/unix/makefile @@ -53,28 +53,28 @@ $(ODIR)/q_shared.o : ../qcommon/q_shared.c #---------------------------------------------------------------------- $(ODIR)/sv_ccmds.o : ../server/sv_ccmds.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_ents.o : ../server/sv_ents.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_game.o : ../server/sv_game.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_init.o : ../server/sv_init.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_main.o : ../server/sv_main.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_send.o : ../server/sv_send.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_user.o : ../server/sv_user.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? $(ODIR)/sv_world.o : ../server/sv_world.c - cc $(CFLAGS) -o $@ $? + cc $(CFLAGS) -o $@ $? #---------------------------------------------------------------------- diff --git a/win32/q2.rc b/win32/q2.rc index 749ff6d..aa7a0be 100644 --- a/win32/q2.rc +++ b/win32/q2.rc @@ -1,72 +1,72 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON1 ICON DISCARDABLE "q2.ico" -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON DISCARDABLE "q2.ico" +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/win32/winquake.rc b/win32/winquake.rc index 67463d7..0d0a7fb 100644 --- a/win32/winquake.rc +++ b/win32/winquake.rc @@ -1,98 +1,98 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON1 ICON DISCARDABLE "q2.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_DIALOG1 DIALOGEX 0, 0, 62, 21 -STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | - WS_VISIBLE -EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE -FONT 16, "Times New Roman", 0, 0, 0x1 -BEGIN - CTEXT "Starting QW...",IDC_STATIC,4,6,54,8 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// String Table -// - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STRING1 "WinQuake" -END - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON DISCARDABLE "q2.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_DIALOG1 DIALOGEX 0, 0, 62, 21 +STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP | + WS_VISIBLE +EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE +FONT 16, "Times New Roman", 0, 0, 0x1 +BEGIN + CTEXT "Starting QW...",IDC_STATIC,4,6,54,8 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// String Table +// + +STRINGTABLE DISCARDABLE +BEGIN + IDS_STRING1 "WinQuake" +END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED +