summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryazoo <yazoo@yaz0r.net>2009-01-09 11:49:46 +0100
committeryazoo <yazoo@yaz0r.net>2009-01-09 11:49:46 +0100
commit85f492bf2aa6ed36f4c0b152162492028456a72f (patch)
tree9a70a439b095de301ff0c52f3e9422d77e489b9a
parenteb0a0106bfe9aa9095fb4bd1e944af31a199f445 (diff)
Split visual configs
-rw-r--r--MSVC8/mpqlib.vcproj263
-rw-r--r--MSVC9/mpqlib.sln (renamed from mpqlib.sln)0
-rw-r--r--MSVC9/mpqlib.vcproj (renamed from mpqlib.vcproj)3
-rw-r--r--mpq-file.h2
4 files changed, 266 insertions, 2 deletions
diff --git a/MSVC8/mpqlib.vcproj b/MSVC8/mpqlib.vcproj
new file mode 100644
index 0000000..74100d9
--- /dev/null
+++ b/MSVC8/mpqlib.vcproj
@@ -0,0 +1,263 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="mpqlib"
+ ProjectGUID="{6EB0B7ED-DF9D-4264-8046-A7D18F927E34}"
+ RootNamespace="mpqlib"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="4"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(DEVEL)/zlib"
+ PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="4"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath="..\errors.c"
+ >
+ </File>
+ <File
+ RelativePath="..\extract.c"
+ >
+ </File>
+ <File
+ RelativePath="..\hashtab.c"
+ >
+ </File>
+ <File
+ RelativePath="..\lookupa.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-bios.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-errors.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-file.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-fs.c"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-misc.c"
+ >
+ </File>
+ <File
+ RelativePath="..\MPQCryptography.c"
+ >
+ </File>
+ <File
+ RelativePath="..\recycle.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath="..\errors.h"
+ >
+ </File>
+ <File
+ RelativePath="..\extract.h"
+ >
+ </File>
+ <File
+ RelativePath="..\hashtab.h"
+ >
+ </File>
+ <File
+ RelativePath="..\int-bios.h"
+ >
+ </File>
+ <File
+ RelativePath="..\lookupa.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-bios.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-errors.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-file.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-fs.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mpq-misc.h"
+ >
+ </File>
+ <File
+ RelativePath="..\MPQCryptography.h"
+ >
+ </File>
+ <File
+ RelativePath="..\mpqlib-stdint.h"
+ >
+ </File>
+ <File
+ RelativePath="..\recycle.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
diff --git a/mpqlib.sln b/MSVC9/mpqlib.sln
index e276f2e..e276f2e 100644
--- a/mpqlib.sln
+++ b/MSVC9/mpqlib.sln
diff --git a/mpqlib.vcproj b/MSVC9/mpqlib.vcproj
index d229347..c95c5c1 100644
--- a/mpqlib.vcproj
+++ b/MSVC9/mpqlib.vcproj
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="9.00"
+ Version="9,00"
Name="mpqlib"
ProjectGUID="{6EB0B7ED-DF9D-4264-8046-A7D18F927E34}"
RootNamespace="mpqlib"
@@ -41,6 +41,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
+ AdditionalIncludeDirectories="$(DEVEL)/zlib"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
diff --git a/mpq-file.h b/mpq-file.h
index aea19cd..3d4a9fd 100644
--- a/mpq-file.h
+++ b/mpq-file.h
@@ -18,7 +18,7 @@ struct mpq_file_t * mpqlib_open_file(struct mpq_archive_t * mpq_a, int entry);
struct mpq_file_t * mpqlib_open_filename(struct mpq_archive_t * mpq_a, const char * fname);
void mpqlib_close(struct mpq_file_t * mpq_f);
uint32_t mpqlib_read(struct mpq_file_t * mpq_f, void * buffer, uint32_t size);
-uint32_t mpqlib_seek(struct mpq_file_t * mpq_f, int32_t offset, enum mpqlib_file_seek_t);
+uint32_t mpqlib_seek(struct mpq_file_t * mpq_f, signed long int offset, enum mpqlib_file_seek_t);
#ifdef __cplusplus
}