From 83cdb49cd3c993daadcb19c1c4d470d500c9ccb6 Mon Sep 17 00:00:00 2001 From: bhook Date: Sat, 9 Aug 2003 02:37:21 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 2 + archivers/qpak.c | 1 - physfs_static.dsp | 224 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 226 insertions(+), 1 deletion(-) create mode 100644 physfs_static.dsp diff --git a/.cvsignore b/.cvsignore index ffb752bc..abd40a3a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,5 @@ +physfs_static_debug +physfs_static_release depcomp Makefile .deps diff --git a/archivers/qpak.c b/archivers/qpak.c index d37853dd..4a04b688 100644 --- a/archivers/qpak.c +++ b/archivers/qpak.c @@ -308,7 +308,6 @@ static int qpak_load_entries(const char *name, int forWriting, QPAKinfo *info) void *fh = NULL; PHYSFS_uint32 fileCount; QPAKentry *entry; - char *ptr; BAIL_IF_MACRO(!qpak_open(name, forWriting, &fh, &fileCount), NULL, 0); info->entryCount = fileCount; diff --git a/physfs_static.dsp b/physfs_static.dsp new file mode 100644 index 00000000..35156fae --- /dev/null +++ b/physfs_static.dsp @@ -0,0 +1,224 @@ +# Microsoft Developer Studio Project File - Name="physfs_static" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=physfs_static - Win32 Debug +!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 "physfs_static.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 "physfs_static.mak" CFG="physfs_static - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "physfs_static - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "physfs_static - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "physfs_static - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "physfs_static___Win32_Release" +# PROP BASE Intermediate_Dir "physfs_static___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "physfs_static_release" +# PROP Intermediate_Dir "physfs_static_release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "zlib114" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PHYSFS_SUPPORTS_QPAK=1 /D PHYSFS_SUPPORTS_ZIP=1 /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "physfs_static - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "physfs_static___Win32_Debug" +# PROP BASE Intermediate_Dir "physfs_static___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "physfs_static_debug" +# PROP Intermediate_Dir "physfs_static_debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "zlib114" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PHYSFS_SUPPORTS_QPAK=1 /D PHYSFS_SUPPORTS_ZIP=1 /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo /out:"Debug\physfs_static.lib" + +!ENDIF + +# Begin Target + +# Name "physfs_static - Win32 Release" +# Name "physfs_static - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\zlib114\adler32.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\compress.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\crc32.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\deflate.c +# End Source File +# Begin Source File + +SOURCE=.\archivers\dir.c +# End Source File +# Begin Source File + +SOURCE=.\archivers\grp.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\infblock.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\infcodes.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\inffast.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\inflate.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\inftrees.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\infutil.c +# End Source File +# Begin Source File + +SOURCE=.\physfs.c +# End Source File +# Begin Source File + +SOURCE=.\physfs_byteorder.c +# End Source File +# Begin Source File + +SOURCE=.\archivers\qpak.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\trees.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\uncompr.c +# End Source File +# Begin Source File + +SOURCE=.\platform\win32.c +# End Source File +# Begin Source File + +SOURCE=.\archivers\zip.c +# End Source File +# Begin Source File + +SOURCE=.\zlib114\zutil.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\zlib114\deflate.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\infblock.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\infcodes.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\inffast.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\inffixed.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\inftrees.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\infutil.h +# End Source File +# Begin Source File + +SOURCE=.\physfs.h +# End Source File +# Begin Source File + +SOURCE=.\physfs_internal.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\trees.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\zconf.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\zlib.h +# End Source File +# Begin Source File + +SOURCE=.\zlib114\zutil.h +# End Source File +# End Group +# End Target +# End Project