From: ShadowFlare Date: Tue, 1 Sep 2009 10:52:34 +0000 (-0600) Subject: Disable Git line ending conversions for some files. X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?a=commitdiff_plain;h=940e7cf75b8fc0c46c0d7d17e7b198f32ad7562a;p=SFmpqapi.git Disable Git line ending conversions for some files. --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ad6a6d1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +*.bas -crlf +*.dsp -crlf +*.dsw -crlf +*.rtf -crlf +*.sln -crlf +*.vcproj -crlf diff --git a/SFmpqapi.bas b/SFmpqapi.bas index 9389864..e6d38e6 100644 --- a/SFmpqapi.bas +++ b/SFmpqapi.bas @@ -1,312 +1,312 @@ -Attribute VB_Name = "SFmpqapi" -Option Explicit - -' ShadowFlare MPQ API Library. (c) ShadowFlare Software 2002-2008 -' License information for this code is in license.txt - -' All functions below are actual functions that are part of this -' library and do not need any additional dll files. It does not -' even require Storm to be able to decompress or compress files. - -' This library emulates the interface of Lmpqapi and Storm MPQ -' functions, so it may be used as a replacement for them in -' MPQ extractors/archivers without even needing to recompile -' the program that uses Lmpqapi or Storm. It has a few features -' not included in Lmpqapi and Storm, such as extra flags for some -' functions, setting the locale ID of existing files, and adding -' files without having to write them somewhere else first. Also, -' MPQ handles used by functions prefixed with "SFile" and "Mpq" -' can be used interchangably; all functions use the same type -' of MPQ handles. You cannot, however, use handles from this -' library with storm or lmpqapi or vice-versa. Doing so will -' most likely result in a crash. - -' Revision History: -' 06/12/2002 1.07 (ShadowFlare) -' - No longer requires Storm.dll to compress or decompress -' Warcraft III files -' - Added SFileListFiles for getting names and information -' about all of the files in an archive -' - Fixed a bug with renaming and deleting files -' - Fixed a bug with adding wave compressed files with -' low compression setting -' - Added a check in MpqOpenArchiveForUpdate for proper -' dwMaximumFilesInArchive values (should be a number that -' is a power of 2). If it is not a proper value, it will -' be rounded up to the next higher power of 2 - -' 05/09/2002 1.06 (ShadowFlare) -' - Compresses files without Storm.dll! -' - If Warcraft III is installed, this library will be able to -' find Storm.dll on its own. (Storm.dll is needed to -' decompress Warcraft III files) -' - Fixed a bug where an embedded archive and the file that -' contains it would be corrupted if the archive was modified -' - Able to open all .w3m maps now - -' 29/06/2002 1.05 (ShadowFlare) -' - Supports decompressing files from Warcraft III MPQ archives -' if using Storm.dll from Warcraft III -' - Added MpqAddFileToArchiveEx and MpqAddFileFromBufferEx for -' using extra compression types - -' 29/05/2002 1.04 (ShadowFlare) -' - Files can be compressed now! -' - Fixed a bug in SFileReadFile when reading data not aligned -' to the block size -' - Optimized some of SFileReadFile's code. It can read files -' faster now -' - SFile functions may now be used to access files not in mpq -' archives as you can with the real storm functions -' - MpqCompactArchive will no longer corrupt files with the -' MODCRYPTKEY flag as long as the file is either compressed, -' listed in "(listfile)", is "(listfile)", or is located in -' the same place in the compacted archive; so it is safe -' enough to use it on almost any archive -' - Added MpqAddWaveFromBuffer -' - Better handling of archives with no files -' - Fixed compression with COMPRESS2 flag - -' 15/05/2002 1.03 (ShadowFlare) -' - Supports adding files with the compression attribute (does -' not actually compress files). Now archives created with -' this dll can have files added to them through lmpqapi -' without causing staredit to crash -' - SFileGetBasePath and SFileSetBasePath work more like their -' Storm equivalents now -' - Implemented MpqCompactArchive, but it is not finished yet. -' In its current state, I would recommend against using it -' on archives that contain files with the MODCRYPTKEY flag, -' since it will corrupt any files with that flag -' - Added SFMpqGetVersionString2 which may be used in Visual -' Basic to get the version string - -' 07/05/2002 1.02 (ShadowFlare) -' - SFileReadFile no longer passes the lpOverlapped parameter it -' receives to ReadFile. This is what was causing the function -' to fail when used in Visual Basic -' - Added support for more Storm MPQ functions -' - GetLastError may now be used to get information about why a -' function failed - -' 01/05/2002 1.01 (ShadowFlare) -' - Added ordinals for Storm MPQ functions -' - Fixed MPQ searching functionality of SFileOpenFileEx -' - Added a check for whether a valid handle is given when -' SFileCloseArchive is called -' - Fixed functionality of SFileSetArchivePriority when multiple -' files are open -' - File renaming works for all filenames now -' - SFileReadFile no longer reallocates the buffer for each block -' that is decompressed. This should make SFileReadFile at least -' a little faster - -' 30/04/2002 1.00 (ShadowFlare) -' - First version. -' - Compression not yet supported -' - Does not use SetLastError yet, so GetLastError will not return any -' errors that have to do with this library -' - MpqCompactArchive not implemented - -' Any comments or suggestions are accepted at blakflare@hotmail.com (ShadowFlare) - -Type SFMPQVERSION - Major As Integer - Minor As Integer - Revision As Integer - Subrevision As Integer -End Type - -' MpqInitialize does nothing. It is only provided for -' compatibility with MPQ archivers that use lmpqapi. -Declare Function MpqInitialize Lib "SFmpq.dll" () As Boolean - -Declare Function MpqGetVersionString Lib "SFmpq.dll" () As String -Declare Function MpqGetVersion Lib "SFmpq.dll" () As Single - -Declare Sub SFMpqDestroy Lib "SFmpq.dll" () ' This no longer needs to be called. It is only provided for compatibility with older versions - -' SFMpqGetVersionString2's return value is the required length of the buffer plus -' the terminating null, so use SFMpqGetVersionString2(ByVal 0&, 0) to get the length. -Declare Function SFMpqGetVersionString Lib "SFmpq.dll" () As String -Declare Function SFMpqGetVersionString2 Lib "SFmpq.dll" (ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Long -Declare Function SFMpqGetVersion Lib "SFmpq.dll" () As SFMPQVERSION - -' General error codes -Public Const MPQ_ERROR_MPQ_INVALID As Long = &H85200065 -Public Const MPQ_ERROR_FILE_NOT_FOUND As Long = &H85200066 -Public Const MPQ_ERROR_DISK_FULL As Long = &H85200068 'Physical write file to MPQ failed. Not sure of exact meaning -Public Const MPQ_ERROR_HASH_TABLE_FULL As Long = &H85200069 -Public Const MPQ_ERROR_ALREADY_EXISTS As Long = &H8520006A -Public Const MPQ_ERROR_BAD_OPEN_MODE As Long = &H8520006C 'When MOAU_READ_ONLY is used without MOAU_OPEN_EXISTING - -Public Const MPQ_ERROR_COMPACT_ERROR As Long = &H85300001 - -' MpqOpenArchiveForUpdate flags -Public Const MOAU_CREATE_NEW As Long = &H0 -Public Const MOAU_CREATE_ALWAYS As Long = &H8 'Was wrongly named MOAU_CREATE_NEW -Public Const MOAU_OPEN_EXISTING As Long = &H4 -Public Const MOAU_OPEN_ALWAYS As Long = &H20 -Public Const MOAU_READ_ONLY As Long = &H10 'Must be used with MOAU_OPEN_EXISTING -Public Const MOAU_MAINTAIN_LISTFILE As Long = &H1 - -' MpqAddFileToArchive flags -Public Const MAFA_EXISTS As Long = &H80000000 'Will be added if not present -Public Const MAFA_UNKNOWN40000000 As Long = &H40000000 -Public Const MAFA_MODCRYPTKEY As Long = &H20000 -Public Const MAFA_ENCRYPT As Long = &H10000 -Public Const MAFA_COMPRESS As Long = &H200 -Public Const MAFA_COMPRESS2 As Long = &H100 -Public Const MAFA_REPLACE_EXISTING As Long = &H1 - -' MpqAddFileToArchiveEx compression flags -Public Const MAFA_COMPRESS_STANDARD As Long = &H8 'Standard PKWare DCL compression -Public Const MAFA_COMPRESS_DEFLATE As Long = &H2 'ZLib's deflate compression -Public Const MAFA_COMPRESS_WAVE As Long = &H81 'Standard wave compression -Public Const MAFA_COMPRESS_WAVE2 As Long = &H41 'Unused wave compression - -' Flags for individual compression types used for wave compression -Public Const MAFA_COMPRESS_WAVECOMP1 As Long = &H80 'Main compressor for standard wave compression -Public Const MAFA_COMPRESS_WAVECOMP2 As Long = &H40 'Main compressor for unused wave compression -Public Const MAFA_COMPRESS_WAVECOMP3 As Long = &H1 'Secondary compressor for wave compression - -' ZLib deflate compression level constants (used with MpqAddFileToArchiveEx and MpqAddFileFromBufferEx) -Public Const Z_NO_COMPRESSION As Long = 0 -Public Const Z_BEST_SPEED As Long = 1 -Public Const Z_BEST_COMPRESSION As Long = 9 -Public Const Z_DEFAULT_COMPRESSION As Long = (-1) - -' MpqAddWAVToArchive quality flags -Public Const MAWA_QUALITY_HIGH As Long = 1 -Public Const MAWA_QUALITY_MEDIUM As Long = 0 -Public Const MAWA_QUALITY_LOW As Long = 2 - -' SFileGetFileInfo flags -Public Const SFILE_INFO_BLOCK_SIZE As Long = &H1 'Block size in MPQ -Public Const SFILE_INFO_HASH_TABLE_SIZE As Long = &H2 'Hash table size in MPQ -Public Const SFILE_INFO_NUM_FILES As Long = &H3 'Number of files in MPQ -Public Const SFILE_INFO_TYPE As Long = &H4 'Is Long a file or an MPQ? -Public Const SFILE_INFO_SIZE As Long = &H5 'Size of MPQ or uncompressed file -Public Const SFILE_INFO_COMPRESSED_SIZE As Long = &H6 'Size of compressed file -Public Const SFILE_INFO_FLAGS As Long = &H7 'File flags (compressed, etc.), file attributes if a file not in an archive -Public Const SFILE_INFO_PARENT As Long = &H8 'Handle of MPQ that file is in -Public Const SFILE_INFO_POSITION As Long = &H9 'Position of file pointer in files -Public Const SFILE_INFO_LOCALEID As Long = &HA 'Locale ID of file in MPQ -Public Const SFILE_INFO_PRIORITY As Long = &HB 'Priority of open MPQ -Public Const SFILE_INFO_HASH_INDEX As Long = &HC 'Hash index of file in MPQ - -' SFileListFiles flags -Public Const SFILE_LIST_MEMORY_LIST As Long = &H1 ' Specifies that lpFilelists is a file list from memory, rather than being a list of file lists -Public Const SFILE_LIST_ONLY_KNOWN As Long = &H2 ' Only list files that the function finds a name for -Public Const SFILE_LIST_ONLY_UNKNOWN As Long = &H4 ' Only list files that the function does not find a name for - -Public Const SFILE_TYPE_MPQ As Long = &H1 -Public Const SFILE_TYPE_FILE As Long = &H2 - -Public Const INVALID_HANDLE_VALUE As Long = -1 - -Public Const FILE_BEGIN As Long = 0 -Public Const FILE_CURRENT As Long = 1 -Public Const FILE_END As Long = 2 - -Public Const SFILE_OPEN_HARD_DISK_FILE As Long = &H0 'Open archive without regard to the drive type it resides on -Public Const SFILE_OPEN_CD_ROM_FILE As Long = &H1 'Open the archive only if it is on a CD-ROM -Public Const SFILE_OPEN_ALLOW_WRITE As Long = &H8000 'Open file with write access - -Public Const SFILE_SEARCH_CURRENT_ONLY As Long = &H0 'Used with SFileOpenFileEx; only the archive with the handle specified will be searched for the file -Public Const SFILE_SEARCH_ALL_OPEN As Long = &H1 'SFileOpenFileEx will look through all open archives for the file - -Type FILELISTENTRY - dwFileExists As Long ' Nonzero if this entry is used - lcLocale As Long ' Locale ID of file - dwCompressedSize As Long ' Compressed size of file - dwFullSize As Long ' Uncompressed size of file - dwFlags As Long ' Flags for file - szFileName(259) As Byte -End Type - -' Storm functions implemented by this library -Declare Function SFileOpenArchive Lib "SFmpq.dll" (ByVal lpFileName As String, ByVal dwPriority As Long, ByVal dwFlags As Long, ByRef hMPQ As Long) As Boolean -Declare Function SFileCloseArchive Lib "SFmpq.dll" (ByVal hMPQ As Long) As Boolean -Declare Function SFileGetArchiveName Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Boolean -Declare Function SFileOpenFile Lib "SFmpq.dll" (ByVal lpFileName As String, ByRef hFile As Long) As Boolean -Declare Function SFileOpenFileEx Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileName As String, ByVal dwSearchScope As Long, ByRef hFile As Long) As Boolean -Declare Function SFileCloseFile Lib "SFmpq.dll" (ByVal hFile As Long) As Boolean -Declare Function SFileGetFileSize Lib "SFmpq.dll" (ByVal hFile As Long, lpFileSizeHigh As Long) As Long -Declare Function SFileGetFileArchive Lib "SFmpq.dll" (ByVal hFile As Long, ByRef hMPQ As Long) As Boolean -Declare Function SFileGetFileName Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Boolean -Declare Function SFileSetFilePointer Lib "SFmpq.dll" (ByVal hFile As Long, ByVal lDistanceToMove As Long, lplDistanceToMoveHigh As Long, ByVal dwMoveMethod As Long) As Long -Declare Function SFileReadFile Lib "SFmpq.dll" (ByVal hFile As Long, lpBuffer As Any, ByVal nNumberOfBytesToRead As Long, lpNumberOfBytesRead As Long, lpOverlapped As Any) As Boolean -Declare Function SFileSetLocale Lib "SFmpq.dll" (ByVal nNewLocale As Long) As Long -Declare Function SFileGetBasePath Lib "SFmpq.dll" (ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Boolean -Declare Function SFileSetBasePath Lib "SFmpq.dll" (ByVal lpNewBasePath As String) As Boolean - -' Extra storm-related functions -Declare Function SFileGetFileInfo Lib "SFmpq.dll" (ByVal hFile As Long, ByVal dwInfoType As Long) As Long -Declare Function SFileSetArchivePriority Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal dwPriority As Long) As Boolean -Declare Function SFileFindMpqHeader Lib "SFmpq.dll" (ByVal hFile As Long) As Long -Declare Function SFileListFiles Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileLists As String, ByRef lpListBuffer As FILELISTENTRY, ByVal dwFlags As Long) As Boolean - -' Archive editing functions implemented by this library -Declare Function MpqOpenArchiveForUpdate Lib "SFmpq.dll" (ByVal lpFileName As String, ByVal dwFlags As Long, ByVal dwMaximumFilesInArchive As Long) As Long -Declare Function MpqCloseUpdatedArchive Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal dwUnknown2 As Long) As Long -Declare Function MpqAddFileToArchive Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpSourceFileName As String, ByVal lpDestFileName As String, ByVal dwFlags As Long) As Boolean -Declare Function MpqAddWaveToArchive Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpSourceFileName As String, ByVal lpDestFileName As String, ByVal dwFlags As Long, ByVal dwQuality As Long) As Boolean -Declare Function MpqRenameFile Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpcOldFileName As String, ByVal lpcNewFileName As String) As Boolean -Declare Function MpqDeleteFile Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileName As String) As Boolean -Declare Function MpqCompactArchive Lib "SFmpq.dll" (ByVal hMPQ As Long) As Boolean - -' Extra archive editing functions -Declare Function MpqAddFileToArchiveEx Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpSourceFileName As String, ByVal lpDestFileName As String, ByVal dwFlags As Long, ByVal dwCompressionType As Long, ByVal dwCompressLevel As Long) As Boolean -Declare Function MpqAddFileFromBufferEx Lib "SFmpq.dll" (ByVal hMPQ As Long, lpBuffer As Any, ByVal dwLength As Long, ByVal lpFileName As String, ByVal dwFlags As Long, ByVal dwCompressionType As Long, ByVal dwCompressLevel As Long) As Boolean -Declare Function MpqAddFileFromBuffer Lib "SFmpq.dll" (ByVal hMPQ As Long, lpBuffer As Any, ByVal dwLength As Long, ByVal lpFileName As String, ByVal dwFlags As Long) As Boolean -Declare Function MpqAddWaveFromBuffer Lib "SFmpq.dll" (ByVal hMPQ As Long, lpBuffer As Any, ByVal dwLength As Long, ByVal lpFileName As String, ByVal dwFlags As Long, ByVal dwQuality As Long) As Boolean -Declare Function MpqSetFileLocale Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileName As String, ByVal nOldLocale As Long, ByVal nNewLocale As Long) As Boolean - -' These functions do nothing. They are only provided for -' compatibility with MPQ extractors that use storm. -Declare Function SFileDestroy Lib "SFmpq.dll" () As Boolean -Declare Sub StormDestroy Lib "SFmpq.dll" () - -' Returns 0 if the dll version is equal to the version your program was compiled -' with, 1 if the dll is newer, -1 if the dll is older. -Function SFMpqCompareVersion() As Long - Dim ExeVersion As SFMPQVERSION, DllVersion As SFMPQVERSION - With ExeVersion - .Major = 1 - .Minor = 0 - .Revision = 7 - .Subrevision = 4 - End With - DllVersion = SFMpqGetVersion() - If DllVersion.Major > ExeVersion.Major Then - SFMpqCompareVersion = 1 - Exit Function - ElseIf DllVersion.Major < ExeVersion.Major Then - SFMpqCompareVersion = -1 - Exit Function - End If - If DllVersion.Minor > ExeVersion.Minor Then - SFMpqCompareVersion = 1 - Exit Function - ElseIf DllVersion.Minor < ExeVersion.Minor Then - SFMpqCompareVersion = -1 - Exit Function - End If - If DllVersion.Revision > ExeVersion.Revision Then - SFMpqCompareVersion = 1 - Exit Function - ElseIf DllVersion.Revision < ExeVersion.Revision Then - SFMpqCompareVersion = -1 - Exit Function - End If - If DllVersion.Subrevision > ExeVersion.Subrevision Then - SFMpqCompareVersion = 1 - Exit Function - ElseIf DllVersion.Subrevision < ExeVersion.Subrevision Then - SFMpqCompareVersion = -1 - Exit Function - End If - SFMpqCompareVersion = 0 -End Function - +Attribute VB_Name = "SFmpqapi" +Option Explicit + +' ShadowFlare MPQ API Library. (c) ShadowFlare Software 2002-2008 +' License information for this code is in license.txt + +' All functions below are actual functions that are part of this +' library and do not need any additional dll files. It does not +' even require Storm to be able to decompress or compress files. + +' This library emulates the interface of Lmpqapi and Storm MPQ +' functions, so it may be used as a replacement for them in +' MPQ extractors/archivers without even needing to recompile +' the program that uses Lmpqapi or Storm. It has a few features +' not included in Lmpqapi and Storm, such as extra flags for some +' functions, setting the locale ID of existing files, and adding +' files without having to write them somewhere else first. Also, +' MPQ handles used by functions prefixed with "SFile" and "Mpq" +' can be used interchangably; all functions use the same type +' of MPQ handles. You cannot, however, use handles from this +' library with storm or lmpqapi or vice-versa. Doing so will +' most likely result in a crash. + +' Revision History: +' 06/12/2002 1.07 (ShadowFlare) +' - No longer requires Storm.dll to compress or decompress +' Warcraft III files +' - Added SFileListFiles for getting names and information +' about all of the files in an archive +' - Fixed a bug with renaming and deleting files +' - Fixed a bug with adding wave compressed files with +' low compression setting +' - Added a check in MpqOpenArchiveForUpdate for proper +' dwMaximumFilesInArchive values (should be a number that +' is a power of 2). If it is not a proper value, it will +' be rounded up to the next higher power of 2 + +' 05/09/2002 1.06 (ShadowFlare) +' - Compresses files without Storm.dll! +' - If Warcraft III is installed, this library will be able to +' find Storm.dll on its own. (Storm.dll is needed to +' decompress Warcraft III files) +' - Fixed a bug where an embedded archive and the file that +' contains it would be corrupted if the archive was modified +' - Able to open all .w3m maps now + +' 29/06/2002 1.05 (ShadowFlare) +' - Supports decompressing files from Warcraft III MPQ archives +' if using Storm.dll from Warcraft III +' - Added MpqAddFileToArchiveEx and MpqAddFileFromBufferEx for +' using extra compression types + +' 29/05/2002 1.04 (ShadowFlare) +' - Files can be compressed now! +' - Fixed a bug in SFileReadFile when reading data not aligned +' to the block size +' - Optimized some of SFileReadFile's code. It can read files +' faster now +' - SFile functions may now be used to access files not in mpq +' archives as you can with the real storm functions +' - MpqCompactArchive will no longer corrupt files with the +' MODCRYPTKEY flag as long as the file is either compressed, +' listed in "(listfile)", is "(listfile)", or is located in +' the same place in the compacted archive; so it is safe +' enough to use it on almost any archive +' - Added MpqAddWaveFromBuffer +' - Better handling of archives with no files +' - Fixed compression with COMPRESS2 flag + +' 15/05/2002 1.03 (ShadowFlare) +' - Supports adding files with the compression attribute (does +' not actually compress files). Now archives created with +' this dll can have files added to them through lmpqapi +' without causing staredit to crash +' - SFileGetBasePath and SFileSetBasePath work more like their +' Storm equivalents now +' - Implemented MpqCompactArchive, but it is not finished yet. +' In its current state, I would recommend against using it +' on archives that contain files with the MODCRYPTKEY flag, +' since it will corrupt any files with that flag +' - Added SFMpqGetVersionString2 which may be used in Visual +' Basic to get the version string + +' 07/05/2002 1.02 (ShadowFlare) +' - SFileReadFile no longer passes the lpOverlapped parameter it +' receives to ReadFile. This is what was causing the function +' to fail when used in Visual Basic +' - Added support for more Storm MPQ functions +' - GetLastError may now be used to get information about why a +' function failed + +' 01/05/2002 1.01 (ShadowFlare) +' - Added ordinals for Storm MPQ functions +' - Fixed MPQ searching functionality of SFileOpenFileEx +' - Added a check for whether a valid handle is given when +' SFileCloseArchive is called +' - Fixed functionality of SFileSetArchivePriority when multiple +' files are open +' - File renaming works for all filenames now +' - SFileReadFile no longer reallocates the buffer for each block +' that is decompressed. This should make SFileReadFile at least +' a little faster + +' 30/04/2002 1.00 (ShadowFlare) +' - First version. +' - Compression not yet supported +' - Does not use SetLastError yet, so GetLastError will not return any +' errors that have to do with this library +' - MpqCompactArchive not implemented + +' Any comments or suggestions are accepted at blakflare@hotmail.com (ShadowFlare) + +Type SFMPQVERSION + Major As Integer + Minor As Integer + Revision As Integer + Subrevision As Integer +End Type + +' MpqInitialize does nothing. It is only provided for +' compatibility with MPQ archivers that use lmpqapi. +Declare Function MpqInitialize Lib "SFmpq.dll" () As Boolean + +Declare Function MpqGetVersionString Lib "SFmpq.dll" () As String +Declare Function MpqGetVersion Lib "SFmpq.dll" () As Single + +Declare Sub SFMpqDestroy Lib "SFmpq.dll" () ' This no longer needs to be called. It is only provided for compatibility with older versions + +' SFMpqGetVersionString2's return value is the required length of the buffer plus +' the terminating null, so use SFMpqGetVersionString2(ByVal 0&, 0) to get the length. +Declare Function SFMpqGetVersionString Lib "SFmpq.dll" () As String +Declare Function SFMpqGetVersionString2 Lib "SFmpq.dll" (ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Long +Declare Function SFMpqGetVersion Lib "SFmpq.dll" () As SFMPQVERSION + +' General error codes +Public Const MPQ_ERROR_MPQ_INVALID As Long = &H85200065 +Public Const MPQ_ERROR_FILE_NOT_FOUND As Long = &H85200066 +Public Const MPQ_ERROR_DISK_FULL As Long = &H85200068 'Physical write file to MPQ failed. Not sure of exact meaning +Public Const MPQ_ERROR_HASH_TABLE_FULL As Long = &H85200069 +Public Const MPQ_ERROR_ALREADY_EXISTS As Long = &H8520006A +Public Const MPQ_ERROR_BAD_OPEN_MODE As Long = &H8520006C 'When MOAU_READ_ONLY is used without MOAU_OPEN_EXISTING + +Public Const MPQ_ERROR_COMPACT_ERROR As Long = &H85300001 + +' MpqOpenArchiveForUpdate flags +Public Const MOAU_CREATE_NEW As Long = &H0 +Public Const MOAU_CREATE_ALWAYS As Long = &H8 'Was wrongly named MOAU_CREATE_NEW +Public Const MOAU_OPEN_EXISTING As Long = &H4 +Public Const MOAU_OPEN_ALWAYS As Long = &H20 +Public Const MOAU_READ_ONLY As Long = &H10 'Must be used with MOAU_OPEN_EXISTING +Public Const MOAU_MAINTAIN_LISTFILE As Long = &H1 + +' MpqAddFileToArchive flags +Public Const MAFA_EXISTS As Long = &H80000000 'Will be added if not present +Public Const MAFA_UNKNOWN40000000 As Long = &H40000000 +Public Const MAFA_MODCRYPTKEY As Long = &H20000 +Public Const MAFA_ENCRYPT As Long = &H10000 +Public Const MAFA_COMPRESS As Long = &H200 +Public Const MAFA_COMPRESS2 As Long = &H100 +Public Const MAFA_REPLACE_EXISTING As Long = &H1 + +' MpqAddFileToArchiveEx compression flags +Public Const MAFA_COMPRESS_STANDARD As Long = &H8 'Standard PKWare DCL compression +Public Const MAFA_COMPRESS_DEFLATE As Long = &H2 'ZLib's deflate compression +Public Const MAFA_COMPRESS_WAVE As Long = &H81 'Standard wave compression +Public Const MAFA_COMPRESS_WAVE2 As Long = &H41 'Unused wave compression + +' Flags for individual compression types used for wave compression +Public Const MAFA_COMPRESS_WAVECOMP1 As Long = &H80 'Main compressor for standard wave compression +Public Const MAFA_COMPRESS_WAVECOMP2 As Long = &H40 'Main compressor for unused wave compression +Public Const MAFA_COMPRESS_WAVECOMP3 As Long = &H1 'Secondary compressor for wave compression + +' ZLib deflate compression level constants (used with MpqAddFileToArchiveEx and MpqAddFileFromBufferEx) +Public Const Z_NO_COMPRESSION As Long = 0 +Public Const Z_BEST_SPEED As Long = 1 +Public Const Z_BEST_COMPRESSION As Long = 9 +Public Const Z_DEFAULT_COMPRESSION As Long = (-1) + +' MpqAddWAVToArchive quality flags +Public Const MAWA_QUALITY_HIGH As Long = 1 +Public Const MAWA_QUALITY_MEDIUM As Long = 0 +Public Const MAWA_QUALITY_LOW As Long = 2 + +' SFileGetFileInfo flags +Public Const SFILE_INFO_BLOCK_SIZE As Long = &H1 'Block size in MPQ +Public Const SFILE_INFO_HASH_TABLE_SIZE As Long = &H2 'Hash table size in MPQ +Public Const SFILE_INFO_NUM_FILES As Long = &H3 'Number of files in MPQ +Public Const SFILE_INFO_TYPE As Long = &H4 'Is Long a file or an MPQ? +Public Const SFILE_INFO_SIZE As Long = &H5 'Size of MPQ or uncompressed file +Public Const SFILE_INFO_COMPRESSED_SIZE As Long = &H6 'Size of compressed file +Public Const SFILE_INFO_FLAGS As Long = &H7 'File flags (compressed, etc.), file attributes if a file not in an archive +Public Const SFILE_INFO_PARENT As Long = &H8 'Handle of MPQ that file is in +Public Const SFILE_INFO_POSITION As Long = &H9 'Position of file pointer in files +Public Const SFILE_INFO_LOCALEID As Long = &HA 'Locale ID of file in MPQ +Public Const SFILE_INFO_PRIORITY As Long = &HB 'Priority of open MPQ +Public Const SFILE_INFO_HASH_INDEX As Long = &HC 'Hash index of file in MPQ + +' SFileListFiles flags +Public Const SFILE_LIST_MEMORY_LIST As Long = &H1 ' Specifies that lpFilelists is a file list from memory, rather than being a list of file lists +Public Const SFILE_LIST_ONLY_KNOWN As Long = &H2 ' Only list files that the function finds a name for +Public Const SFILE_LIST_ONLY_UNKNOWN As Long = &H4 ' Only list files that the function does not find a name for + +Public Const SFILE_TYPE_MPQ As Long = &H1 +Public Const SFILE_TYPE_FILE As Long = &H2 + +Public Const INVALID_HANDLE_VALUE As Long = -1 + +Public Const FILE_BEGIN As Long = 0 +Public Const FILE_CURRENT As Long = 1 +Public Const FILE_END As Long = 2 + +Public Const SFILE_OPEN_HARD_DISK_FILE As Long = &H0 'Open archive without regard to the drive type it resides on +Public Const SFILE_OPEN_CD_ROM_FILE As Long = &H1 'Open the archive only if it is on a CD-ROM +Public Const SFILE_OPEN_ALLOW_WRITE As Long = &H8000 'Open file with write access + +Public Const SFILE_SEARCH_CURRENT_ONLY As Long = &H0 'Used with SFileOpenFileEx; only the archive with the handle specified will be searched for the file +Public Const SFILE_SEARCH_ALL_OPEN As Long = &H1 'SFileOpenFileEx will look through all open archives for the file + +Type FILELISTENTRY + dwFileExists As Long ' Nonzero if this entry is used + lcLocale As Long ' Locale ID of file + dwCompressedSize As Long ' Compressed size of file + dwFullSize As Long ' Uncompressed size of file + dwFlags As Long ' Flags for file + szFileName(259) As Byte +End Type + +' Storm functions implemented by this library +Declare Function SFileOpenArchive Lib "SFmpq.dll" (ByVal lpFileName As String, ByVal dwPriority As Long, ByVal dwFlags As Long, ByRef hMPQ As Long) As Boolean +Declare Function SFileCloseArchive Lib "SFmpq.dll" (ByVal hMPQ As Long) As Boolean +Declare Function SFileGetArchiveName Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Boolean +Declare Function SFileOpenFile Lib "SFmpq.dll" (ByVal lpFileName As String, ByRef hFile As Long) As Boolean +Declare Function SFileOpenFileEx Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileName As String, ByVal dwSearchScope As Long, ByRef hFile As Long) As Boolean +Declare Function SFileCloseFile Lib "SFmpq.dll" (ByVal hFile As Long) As Boolean +Declare Function SFileGetFileSize Lib "SFmpq.dll" (ByVal hFile As Long, lpFileSizeHigh As Long) As Long +Declare Function SFileGetFileArchive Lib "SFmpq.dll" (ByVal hFile As Long, ByRef hMPQ As Long) As Boolean +Declare Function SFileGetFileName Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Boolean +Declare Function SFileSetFilePointer Lib "SFmpq.dll" (ByVal hFile As Long, ByVal lDistanceToMove As Long, lplDistanceToMoveHigh As Long, ByVal dwMoveMethod As Long) As Long +Declare Function SFileReadFile Lib "SFmpq.dll" (ByVal hFile As Long, lpBuffer As Any, ByVal nNumberOfBytesToRead As Long, lpNumberOfBytesRead As Long, lpOverlapped As Any) As Boolean +Declare Function SFileSetLocale Lib "SFmpq.dll" (ByVal nNewLocale As Long) As Long +Declare Function SFileGetBasePath Lib "SFmpq.dll" (ByVal lpBuffer As String, ByVal dwBufferLength As Long) As Boolean +Declare Function SFileSetBasePath Lib "SFmpq.dll" (ByVal lpNewBasePath As String) As Boolean + +' Extra storm-related functions +Declare Function SFileGetFileInfo Lib "SFmpq.dll" (ByVal hFile As Long, ByVal dwInfoType As Long) As Long +Declare Function SFileSetArchivePriority Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal dwPriority As Long) As Boolean +Declare Function SFileFindMpqHeader Lib "SFmpq.dll" (ByVal hFile As Long) As Long +Declare Function SFileListFiles Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileLists As String, ByRef lpListBuffer As FILELISTENTRY, ByVal dwFlags As Long) As Boolean + +' Archive editing functions implemented by this library +Declare Function MpqOpenArchiveForUpdate Lib "SFmpq.dll" (ByVal lpFileName As String, ByVal dwFlags As Long, ByVal dwMaximumFilesInArchive As Long) As Long +Declare Function MpqCloseUpdatedArchive Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal dwUnknown2 As Long) As Long +Declare Function MpqAddFileToArchive Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpSourceFileName As String, ByVal lpDestFileName As String, ByVal dwFlags As Long) As Boolean +Declare Function MpqAddWaveToArchive Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpSourceFileName As String, ByVal lpDestFileName As String, ByVal dwFlags As Long, ByVal dwQuality As Long) As Boolean +Declare Function MpqRenameFile Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpcOldFileName As String, ByVal lpcNewFileName As String) As Boolean +Declare Function MpqDeleteFile Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileName As String) As Boolean +Declare Function MpqCompactArchive Lib "SFmpq.dll" (ByVal hMPQ As Long) As Boolean + +' Extra archive editing functions +Declare Function MpqAddFileToArchiveEx Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpSourceFileName As String, ByVal lpDestFileName As String, ByVal dwFlags As Long, ByVal dwCompressionType As Long, ByVal dwCompressLevel As Long) As Boolean +Declare Function MpqAddFileFromBufferEx Lib "SFmpq.dll" (ByVal hMPQ As Long, lpBuffer As Any, ByVal dwLength As Long, ByVal lpFileName As String, ByVal dwFlags As Long, ByVal dwCompressionType As Long, ByVal dwCompressLevel As Long) As Boolean +Declare Function MpqAddFileFromBuffer Lib "SFmpq.dll" (ByVal hMPQ As Long, lpBuffer As Any, ByVal dwLength As Long, ByVal lpFileName As String, ByVal dwFlags As Long) As Boolean +Declare Function MpqAddWaveFromBuffer Lib "SFmpq.dll" (ByVal hMPQ As Long, lpBuffer As Any, ByVal dwLength As Long, ByVal lpFileName As String, ByVal dwFlags As Long, ByVal dwQuality As Long) As Boolean +Declare Function MpqSetFileLocale Lib "SFmpq.dll" (ByVal hMPQ As Long, ByVal lpFileName As String, ByVal nOldLocale As Long, ByVal nNewLocale As Long) As Boolean + +' These functions do nothing. They are only provided for +' compatibility with MPQ extractors that use storm. +Declare Function SFileDestroy Lib "SFmpq.dll" () As Boolean +Declare Sub StormDestroy Lib "SFmpq.dll" () + +' Returns 0 if the dll version is equal to the version your program was compiled +' with, 1 if the dll is newer, -1 if the dll is older. +Function SFMpqCompareVersion() As Long + Dim ExeVersion As SFMPQVERSION, DllVersion As SFMPQVERSION + With ExeVersion + .Major = 1 + .Minor = 0 + .Revision = 7 + .Subrevision = 4 + End With + DllVersion = SFMpqGetVersion() + If DllVersion.Major > ExeVersion.Major Then + SFMpqCompareVersion = 1 + Exit Function + ElseIf DllVersion.Major < ExeVersion.Major Then + SFMpqCompareVersion = -1 + Exit Function + End If + If DllVersion.Minor > ExeVersion.Minor Then + SFMpqCompareVersion = 1 + Exit Function + ElseIf DllVersion.Minor < ExeVersion.Minor Then + SFMpqCompareVersion = -1 + Exit Function + End If + If DllVersion.Revision > ExeVersion.Revision Then + SFMpqCompareVersion = 1 + Exit Function + ElseIf DllVersion.Revision < ExeVersion.Revision Then + SFMpqCompareVersion = -1 + Exit Function + End If + If DllVersion.Subrevision > ExeVersion.Subrevision Then + SFMpqCompareVersion = 1 + Exit Function + ElseIf DllVersion.Subrevision < ExeVersion.Subrevision Then + SFMpqCompareVersion = -1 + Exit Function + End If + SFMpqCompareVersion = 0 +End Function + diff --git a/SFmpqapi.dsp b/SFmpqapi.dsp index a2d82a7..b137bb2 100644 --- a/SFmpqapi.dsp +++ b/SFmpqapi.dsp @@ -1,698 +1,698 @@ -# Microsoft Developer Studio Project File - Name="SFmpqapi" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=SFmpqapi - 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 "SFmpqapi.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 "SFmpqapi.mak" CFG="SFmpqapi - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SFmpqapi - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "SFmpqapi - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "SFmpqapi - Win32 Beta release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "SFmpqapi - 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 "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /Ob2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# 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 /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 /dll /machine:I386 /out:"Release/SFmpq.dll" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "SFmpqapi - 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 "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /GZ /c -# SUBTRACT CPP /Fr /YX -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# 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 /dll /debug /machine:I386 /pdbtype:sept -# 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 /dll /debug /machine:I386 /out:"Debug/SFmpq.dll" /pdbtype:sept - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SFmpqapi___Win32_Beta_release" -# PROP BASE Intermediate_Dir "SFmpqapi___Win32_Beta_release" -# PROP BASE Ignore_Export_Lib 0 -# 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 "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /Ob2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /D "BETA" /FD /c -# SUBTRACT CPP /YX -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" /d "BETA" -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 /dll /machine:I386 /out:"Release/SFmpq.dll" -# SUBTRACT BASE LINK32 /pdb:none -# 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 /dll /machine:I386 /out:"Release/SFmpq.dll" -# SUBTRACT LINK32 /pdb:none - -!ENDIF - -# Begin Target - -# Name "SFmpqapi - Win32 Release" -# Name "SFmpqapi - Win32 Debug" -# Name "SFmpqapi - Win32 Beta release" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\SFmpqapi.cpp -# End Source File -# Begin Source File - -SOURCE=.\SFmpqapi.def -# End Source File -# Begin Source File - -SOURCE=.\SFmpqapi.odl -# End Source File -# Begin Source File - -SOURCE=.\SFmpqapi.rc -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\SFmpqapi.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# Begin Source File - -SOURCE=.\about -# End Source File -# End Group -# Begin Group "SComp" - -# PROP Default_Filter "" -# Begin Group "Base" - -# PROP Default_Filter "" -# Begin Group "Source Files (Base)" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\SComp\explode.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\huffman.cpp - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\implode.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\SComp.cpp - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\SErr.cpp - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\SMem.cpp - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\wave.cpp - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files (Base)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\SComp\Huffman.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\pklib.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\SComp.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\SErr.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\SMem.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\wave.h -# End Source File -# End Group -# End Group -# Begin Group "bzip2" - -# PROP Default_Filter "" -# Begin Group "Source Files (bzip2)" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\SComp\bzip2\blocksort.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\bzlib.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\compress.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\crctable.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\decompress.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\huffman.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\randtable.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/bzip2" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files (bzip2)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\SComp\bzip2\bzlib.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\bzlib_private.h -# End Source File -# End Group -# End Group -# Begin Group "zlib" - -# PROP Default_Filter "" -# Begin Group "Source Files (zlib)" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\SComp\zlib\adler32.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\compress.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\crc32.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\deflate.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\inffast.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\inflate.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\inftrees.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\trees.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\uncompr.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\zutil.c - -!IF "$(CFG)" == "SFmpqapi - Win32 Release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" - -# PROP Intermediate_Dir "Debug/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" - -# PROP Intermediate_Dir "Release/SComp/zlib" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files (zlib)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\SComp\zlib\zconf.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\zlib.h -# End Source File -# End Group -# End Group -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="SFmpqapi" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=SFmpqapi - 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 "SFmpqapi.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 "SFmpqapi.mak" CFG="SFmpqapi - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SFmpqapi - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "SFmpqapi - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "SFmpqapi - Win32 Beta release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "SFmpqapi - 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 "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /Ob2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# 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 /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 /dll /machine:I386 /out:"Release/SFmpq.dll" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "SFmpqapi - 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 "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /GZ /c +# SUBTRACT CPP /Fr /YX +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# 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 /dll /debug /machine:I386 /pdbtype:sept +# 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 /dll /debug /machine:I386 /out:"Debug/SFmpq.dll" /pdbtype:sept + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SFmpqapi___Win32_Beta_release" +# PROP BASE Intermediate_Dir "SFmpqapi___Win32_Beta_release" +# PROP BASE Ignore_Export_Lib 0 +# 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 "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /Ob2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SFMPQAPI_EXPORTS" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /D "BETA" /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" /d "BETA" +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 /dll /machine:I386 /out:"Release/SFmpq.dll" +# SUBTRACT BASE LINK32 /pdb:none +# 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 /dll /machine:I386 /out:"Release/SFmpq.dll" +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "SFmpqapi - Win32 Release" +# Name "SFmpqapi - Win32 Debug" +# Name "SFmpqapi - Win32 Beta release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\SFmpqapi.cpp +# End Source File +# Begin Source File + +SOURCE=.\SFmpqapi.def +# End Source File +# Begin Source File + +SOURCE=.\SFmpqapi.odl +# End Source File +# Begin Source File + +SOURCE=.\SFmpqapi.rc +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\SFmpqapi.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\about +# End Source File +# End Group +# Begin Group "SComp" + +# PROP Default_Filter "" +# Begin Group "Base" + +# PROP Default_Filter "" +# Begin Group "Source Files (Base)" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\SComp\explode.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\huffman.cpp + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\implode.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\SComp.cpp + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\SErr.cpp + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\SMem.cpp + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\wave.cpp + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files (Base)" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\SComp\Huffman.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\pklib.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\SComp.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\SErr.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\SMem.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\wave.h +# End Source File +# End Group +# End Group +# Begin Group "bzip2" + +# PROP Default_Filter "" +# Begin Group "Source Files (bzip2)" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\SComp\bzip2\blocksort.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\bzlib.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\compress.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\crctable.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\decompress.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\huffman.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\randtable.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/bzip2" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files (bzip2)" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\SComp\bzip2\bzlib.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\bzlib_private.h +# End Source File +# End Group +# End Group +# Begin Group "zlib" + +# PROP Default_Filter "" +# Begin Group "Source Files (zlib)" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\SComp\zlib\adler32.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\compress.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\crc32.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\deflate.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\inffast.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\inflate.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\inftrees.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\trees.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\uncompr.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\zutil.c + +!IF "$(CFG)" == "SFmpqapi - Win32 Release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Debug" + +# PROP Intermediate_Dir "Debug/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqapi - Win32 Beta release" + +# PROP Intermediate_Dir "Release/SComp/zlib" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files (zlib)" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\SComp\zlib\zconf.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\zlib.h +# End Source File +# End Group +# End Group +# End Group +# End Target +# End Project diff --git a/SFmpqapi.dsw b/SFmpqapi.dsw index 5394195..32cc1ec 100644 --- a/SFmpqapi.dsw +++ b/SFmpqapi.dsw @@ -1,41 +1,41 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "SFmpqapi"=".\SFmpqapi.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "SFmpqlib"=".\SFmpqlib.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: "SFmpqapi"=".\SFmpqapi.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "SFmpqlib"=".\SFmpqlib.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/SFmpqapi.sln b/SFmpqapi.sln index 9a1b11a..a12619b 100644 --- a/SFmpqapi.sln +++ b/SFmpqapi.sln @@ -1,31 +1,31 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFmpqapi", "SFmpqapi.vcproj", "{D677FDD7-F14A-403F-8D59-C75D1825260C}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFmpqlib", "SFmpqlib.vcproj", "{2AB3EE05-94F1-433F-A9CF-F7E01220445D}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Beta release|Win32 = Beta release|Win32 - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D677FDD7-F14A-403F-8D59-C75D1825260C}.Beta release|Win32.ActiveCfg = Beta release|Win32 - {D677FDD7-F14A-403F-8D59-C75D1825260C}.Beta release|Win32.Build.0 = Beta release|Win32 - {D677FDD7-F14A-403F-8D59-C75D1825260C}.Debug|Win32.ActiveCfg = Debug|Win32 - {D677FDD7-F14A-403F-8D59-C75D1825260C}.Debug|Win32.Build.0 = Debug|Win32 - {D677FDD7-F14A-403F-8D59-C75D1825260C}.Release|Win32.ActiveCfg = Release|Win32 - {D677FDD7-F14A-403F-8D59-C75D1825260C}.Release|Win32.Build.0 = Release|Win32 - {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Beta release|Win32.ActiveCfg = Release|Win32 - {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Beta release|Win32.Build.0 = Release|Win32 - {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Debug|Win32.ActiveCfg = Debug|Win32 - {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Debug|Win32.Build.0 = Debug|Win32 - {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Release|Win32.ActiveCfg = Release|Win32 - {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFmpqapi", "SFmpqapi.vcproj", "{D677FDD7-F14A-403F-8D59-C75D1825260C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFmpqlib", "SFmpqlib.vcproj", "{2AB3EE05-94F1-433F-A9CF-F7E01220445D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Beta release|Win32 = Beta release|Win32 + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D677FDD7-F14A-403F-8D59-C75D1825260C}.Beta release|Win32.ActiveCfg = Beta release|Win32 + {D677FDD7-F14A-403F-8D59-C75D1825260C}.Beta release|Win32.Build.0 = Beta release|Win32 + {D677FDD7-F14A-403F-8D59-C75D1825260C}.Debug|Win32.ActiveCfg = Debug|Win32 + {D677FDD7-F14A-403F-8D59-C75D1825260C}.Debug|Win32.Build.0 = Debug|Win32 + {D677FDD7-F14A-403F-8D59-C75D1825260C}.Release|Win32.ActiveCfg = Release|Win32 + {D677FDD7-F14A-403F-8D59-C75D1825260C}.Release|Win32.Build.0 = Release|Win32 + {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Beta release|Win32.ActiveCfg = Release|Win32 + {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Beta release|Win32.Build.0 = Release|Win32 + {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Debug|Win32.ActiveCfg = Debug|Win32 + {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Debug|Win32.Build.0 = Debug|Win32 + {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Release|Win32.ActiveCfg = Release|Win32 + {2AB3EE05-94F1-433F-A9CF-F7E01220445D}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SFmpqapi.vcproj b/SFmpqapi.vcproj index 5014692..a09382b 100644 --- a/SFmpqapi.vcproj +++ b/SFmpqapi.vcproj @@ -1,1206 +1,1206 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SFmpqlib.dsp b/SFmpqlib.dsp index a642235..4e0f8d2 100644 --- a/SFmpqlib.dsp +++ b/SFmpqlib.dsp @@ -1,550 +1,550 @@ -# Microsoft Developer Studio Project File - Name="SFmpqlib" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=SFmpqlib - 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 "SFmpqlib.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 "SFmpqlib.mak" CFG="SFmpqlib - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "SFmpqlib - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "SFmpqlib - 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)" == "SFmpqlib - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "SFmpqlib___Win32_Release" -# PROP BASE Intermediate_Dir "SFmpqlib___Win32_Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "SFmpqlib___Win32_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 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /D "SFMPQ_STATIC" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /c -# SUBTRACT CPP /YX -# 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 /out:"Release\SFmpq_static.lib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "SFmpqlib___Win32_Debug" -# PROP BASE Intermediate_Dir "SFmpqlib___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "SFmpqlib___Win32_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 /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /D "SFMPQ_STATIC" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /GZ /c -# SUBTRACT CPP /YX -# 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\SFmpq_static.lib" - -!ENDIF - -# Begin Target - -# Name "SFmpqlib - Win32 Release" -# Name "SFmpqlib - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\SFmpq_static.cpp -# End Source File -# Begin Source File - -SOURCE=.\SFmpqapi.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\SFmpq_static.h -# End Source File -# Begin Source File - -SOURCE=.\SFmpqapi.h -# End Source File -# End Group -# Begin Group "SComp" - -# PROP Default_Filter "" -# Begin Group "Base" - -# PROP Default_Filter "" -# Begin Group "Source Files (Base)" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\SComp\explode.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\huffman.cpp - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\implode.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\SComp.cpp - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\SErr.cpp - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\SMem.cpp - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\wave.cpp - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files (Base)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\SComp\Huffman.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\pklib.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\SComp.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\SErr.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\SMem.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\wave.h -# End Source File -# End Group -# End Group -# Begin Group "bzip2" - -# PROP Default_Filter "" -# Begin Group "Source Files (bzip2)" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\SComp\bzip2\blocksort.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\bzlib.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\compress.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\crctable.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\decompress.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\huffman.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\randtable.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files (bzip2)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\SComp\bzip2\bzlib.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\bzip2\bzlib_private.h -# End Source File -# End Group -# End Group -# Begin Group "zlib" - -# PROP Default_Filter "" -# Begin Group "Source Files (zlib)" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\SComp\zlib\adler32.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\compress.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\crc32.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\deflate.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\inffast.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\inflate.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\inftrees.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\trees.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\uncompr.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\zutil.c - -!IF "$(CFG)" == "SFmpqlib - Win32 Release" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" - -!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" - -# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" - -!ENDIF - -# End Source File -# End Group -# Begin Group "Header Files (zlib)" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\SComp\zlib\zconf.h -# End Source File -# Begin Source File - -SOURCE=..\SComp\zlib\zlib.h -# End Source File -# End Group -# End Group -# End Group -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="SFmpqlib" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=SFmpqlib - 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 "SFmpqlib.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 "SFmpqlib.mak" CFG="SFmpqlib - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "SFmpqlib - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "SFmpqlib - 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)" == "SFmpqlib - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "SFmpqlib___Win32_Release" +# PROP BASE Intermediate_Dir "SFmpqlib___Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "SFmpqlib___Win32_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 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /D "SFMPQ_STATIC" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /c +# SUBTRACT CPP /YX +# 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 /out:"Release\SFmpq_static.lib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "SFmpqlib___Win32_Debug" +# PROP BASE Intermediate_Dir "SFmpqlib___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "SFmpqlib___Win32_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 /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /D "SFMPQ_STATIC" /D "ZLIB_DLL" /D "BZ_NO_STDIO" /FD /GZ /c +# SUBTRACT CPP /YX +# 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\SFmpq_static.lib" + +!ENDIF + +# Begin Target + +# Name "SFmpqlib - Win32 Release" +# Name "SFmpqlib - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\SFmpq_static.cpp +# End Source File +# Begin Source File + +SOURCE=.\SFmpqapi.cpp +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\SFmpq_static.h +# End Source File +# Begin Source File + +SOURCE=.\SFmpqapi.h +# End Source File +# End Group +# Begin Group "SComp" + +# PROP Default_Filter "" +# Begin Group "Base" + +# PROP Default_Filter "" +# Begin Group "Source Files (Base)" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\SComp\explode.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\huffman.cpp + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\implode.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\SComp.cpp + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\SErr.cpp + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\SMem.cpp + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\wave.cpp + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files (Base)" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\SComp\Huffman.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\pklib.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\SComp.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\SErr.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\SMem.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\wave.h +# End Source File +# End Group +# End Group +# Begin Group "bzip2" + +# PROP Default_Filter "" +# Begin Group "Source Files (bzip2)" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\SComp\bzip2\blocksort.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\bzlib.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\compress.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\crctable.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\decompress.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\huffman.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\randtable.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/bzip2" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/bzip2" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files (bzip2)" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\SComp\bzip2\bzlib.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\bzip2\bzlib_private.h +# End Source File +# End Group +# End Group +# Begin Group "zlib" + +# PROP Default_Filter "" +# Begin Group "Source Files (zlib)" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\SComp\zlib\adler32.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\compress.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\crc32.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\deflate.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\inffast.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\inflate.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\inftrees.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\trees.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\uncompr.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\zutil.c + +!IF "$(CFG)" == "SFmpqlib - Win32 Release" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Release/SComp/zlib" + +!ELSEIF "$(CFG)" == "SFmpqlib - Win32 Debug" + +# PROP Intermediate_Dir "SFmpqlib___Win32_Debug/SComp/zlib" + +!ENDIF + +# End Source File +# End Group +# Begin Group "Header Files (zlib)" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\SComp\zlib\zconf.h +# End Source File +# Begin Source File + +SOURCE=..\SComp\zlib\zlib.h +# End Source File +# End Group +# End Group +# End Group +# End Target +# End Project diff --git a/SFmpqlib.vcproj b/SFmpqlib.vcproj index b8dd17c..e8f8a73 100644 --- a/SFmpqlib.vcproj +++ b/SFmpqlib.vcproj @@ -1,811 +1,811 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WinError.bas b/WinError.bas index 42fac2c..55d9400 100644 --- a/WinError.bas +++ b/WinError.bas @@ -1,18 +1,18 @@ -Attribute VB_Name = "WinError" -Option Explicit - -' GetLastError and the constants for the values returned by it -' (only the ones known to be used by Storm or Lmpqapi are included) - -Declare Function GetLastError Lib "Kernel32" () As Long - -Public Const ERROR_SUCCESS As Long = 0 -Public Const NO_ERROR As Long = 0 -Public Const ERROR_FILE_NOT_FOUND As Long = 2 -Public Const ERROR_OUTOFMEMORY As Long = 14 -Public Const ERROR_INVALID_PARAMETER As Long = 87 -Public Const ERROR_DISK_FULL As Long = 112 -Public Const ERROR_ALREADY_EXISTS As Long = 183 -Public Const ERROR_FILE_INVALID As Long = 1006 -Public Const ERROR_UNKNOWN_PROPERTY As Long = 1608 - +Attribute VB_Name = "WinError" +Option Explicit + +' GetLastError and the constants for the values returned by it +' (only the ones known to be used by Storm or Lmpqapi are included) + +Declare Function GetLastError Lib "Kernel32" () As Long + +Public Const ERROR_SUCCESS As Long = 0 +Public Const NO_ERROR As Long = 0 +Public Const ERROR_FILE_NOT_FOUND As Long = 2 +Public Const ERROR_OUTOFMEMORY As Long = 14 +Public Const ERROR_INVALID_PARAMETER As Long = 87 +Public Const ERROR_DISK_FULL As Long = 112 +Public Const ERROR_ALREADY_EXISTS As Long = 183 +Public Const ERROR_FILE_INVALID As Long = 1006 +Public Const ERROR_UNKNOWN_PROPERTY As Long = 1608 +