Browse Source

Added project generator.

rude 16 years ago
parent
commit
b04b278cd0

+ 338 - 0
platform/msvc2008/audio.vcproj

@@ -0,0 +1,338 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="audio"
+	ProjectGUID="{BA0FC12D-5ED5-FCFE-DD98-FAE9D85C9FC2}"
+	RootNamespace="audio"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;AUDIO_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib openal32.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;AUDIO_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib openal32.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\audio\Audible.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\Audio.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\Music.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\Source.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\Source.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Audio.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Audio.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Music.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Music.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Sound.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Source.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\wrap_Source.h">
+</File>
+
+<Filter Name="null">
+<File RelativePath="..\..\src\modules\audio\null\Audio.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Audio.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Music.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Music.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Sound.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Source.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\null\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\null\Source.h">
+</File>
+</Filter>
+
+
+<Filter Name="openal">
+<File RelativePath="..\..\src\modules\audio\openal\Audio.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Audio.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Music.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Music.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Pool.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Pool.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Sound.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Source.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\audio\openal\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\audio\openal\Source.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 423
platform/msvc2008/audio/audio.vcproj

@@ -1,423 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="audio"
-	ProjectGUID="{1E405CDD-5FD7-42E0-BCF1-147305DA3EA0}"
-	RootNamespace="audio"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;AUDIO_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="openal32.lib SDL.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;AUDIO_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="openal"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Audio.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\openal\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Audio.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Music.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\openal\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Music.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Pool.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\openal\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Pool.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Sound.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\openal\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Source.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\openal\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\openal\Source.h"
-				>
-			</File>
-		</Filter>
-		<Filter
-			Name="null"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Audio.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\null\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Audio.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Music.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\null\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Music.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Sound.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\null\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Source.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\audio\null\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\audio\null\Source.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\audio\Audible.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\Audio.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\Music.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\Sound.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\Source.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\audio\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\Source.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Audio.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\audio\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Audio.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Music.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\audio\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Music.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Sound.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\audio\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Sound.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Source.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\audio\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\audio\wrap_Source.h"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 24 - 24
platform/msvc2008/common/common.vcproj → platform/msvc2008/common.vcproj

@@ -41,7 +41,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include"
+				AdditionalIncludeDirectories="include"
 				PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
 				PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -62,7 +62,7 @@
 			<Tool
 			<Tool
 				Name="VCLibrarianTool"
 				Name="VCLibrarianTool"
 				AdditionalDependencies="lua5.1.lib"
 				AdditionalDependencies="lua5.1.lib"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCALinkTool"
 				Name="VCALinkTool"
@@ -147,91 +147,91 @@
 	</References>
 	</References>
 	<Files>
 	<Files>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\config.h"
+			RelativePath="..\..\src\common\config.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Data.h"
+			RelativePath="..\..\src\common\Data.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Exception.cpp"
+			RelativePath="..\..\src\common\Exception.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Exception.h"
+			RelativePath="..\..\src\common\Exception.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\math.h"
+			RelativePath="..\..\src\common\math.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Matrix.cpp"
+			RelativePath="..\..\src\common\Matrix.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Matrix.h"
+			RelativePath="..\..\src\common\Matrix.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\MemoryData.cpp"
+			RelativePath="..\..\src\common\MemoryData.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\MemoryData.h"
+			RelativePath="..\..\src\common\MemoryData.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Module.h"
+			RelativePath="..\..\src\common\Module.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Object.cpp"
+			RelativePath="..\..\src\common\Object.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Object.h"
+			RelativePath="..\..\src\common\Object.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Reference.cpp"
+			RelativePath="..\..\src\common\Reference.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Reference.h"
+			RelativePath="..\..\src\common\Reference.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\runtime.cpp"
+			RelativePath="..\..\src\common\runtime.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\runtime.h"
+			RelativePath="..\..\src\common\runtime.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\types.h"
+			RelativePath="..\..\src\common\types.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Vector.cpp"
+			RelativePath="..\..\src\common\Vector.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\Vector.h"
+			RelativePath="..\..\src\common\Vector.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\version.h"
+			RelativePath="..\..\src\common\version.h"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\wrap_Data.cpp"
+			RelativePath="..\..\src\common\wrap_Data.cpp"
 			>
 			>
 		</File>
 		</File>
 		<File
 		<File
-			RelativePath="..\..\..\src\common\wrap_Data.h"
+			RelativePath="..\..\src\common\wrap_Data.h"
 			>
 			>
 		</File>
 		</File>
 	</Files>
 	</Files>

+ 40 - 47
platform/msvc2008/event/event.vcproj → platform/msvc2008/event.vcproj

@@ -3,7 +3,7 @@
 	ProjectType="Visual C++"
 	ProjectType="Visual C++"
 	Version="9,00"
 	Version="9,00"
 	Name="event"
 	Name="event"
-	ProjectGUID="{62C66448-36CB-4350-9D6E-02F49F05EDB4}"
+	ProjectGUID="{6FAF7CE7-283C-8F9D-C398-045C9CCF16BC}"
 	RootNamespace="event"
 	RootNamespace="event"
 	Keyword="Win32Proj"
 	Keyword="Win32Proj"
 	TargetFrameworkVersion="196613"
 	TargetFrameworkVersion="196613"
@@ -41,7 +41,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -64,7 +64,7 @@
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="2"
 				SubSystem="2"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -118,8 +118,9 @@
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="2"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				EnableIntrinsicFunctions="true"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
-				RuntimeLibrary="2"
+				RuntimeLibrary="0"
 				EnableFunctionLevelLinking="true"
 				EnableFunctionLevelLinking="true"
 				UsePrecompiledHeader="0"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
 				WarningLevel="3"
@@ -136,8 +137,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="1"
 				LinkIncremental="1"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				SubSystem="2"
 				OptimizeReferences="2"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				EnableCOMDATFolding="2"
@@ -168,48 +171,38 @@
 	</Configurations>
 	</Configurations>
 	<References>
 	<References>
 	</References>
 	</References>
-	<Files>
-		<Filter
-			Name="sdl"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\event\sdl\Event.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\event\sdl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\event\sdl\Event.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\event\sdl\wrap_Event.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\event\sdl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\event\sdl\wrap_Event.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\event\Event.h"
-			>
-		</File>
-	</Files>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\event\Event.h">
+</File>
+
+<Filter Name="sdl">
+<File RelativePath="..\..\src\modules\event\sdl\Event.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\event\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\event\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\event\sdl\Event.h">
+</File>
+<File RelativePath="..\..\src\modules\event\sdl\wrap_Event.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\event\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\event\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\event\sdl\wrap_Event.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
 	<Globals>
 	<Globals>
 	</Globals>
 	</Globals>
 </VisualStudioProject>
 </VisualStudioProject>

+ 248 - 0
platform/msvc2008/filesystem.vcproj

@@ -0,0 +1,248 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="filesystem"
+	ProjectGUID="{2E82BC23-19FB-068A-EF4A-7C91369FFC8F}"
+	RootNamespace="filesystem"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FILESYSTEM_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib physfs.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FILESYSTEM_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib physfs.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\filesystem\File.h">
+</File>
+<File RelativePath="..\..\src\modules\filesystem\FileData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\filesystem\FileData.h">
+</File>
+
+<Filter Name="physfs">
+<File RelativePath="..\..\src\modules\filesystem\physfs\File.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\File.h">
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\Filesystem.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\Filesystem.h">
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\wrap_File.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\wrap_File.h">
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\wrap_FileData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\wrap_FileData.h">
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\wrap_Filesystem.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\filesystem\physfs\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\filesystem\physfs\wrap_Filesystem.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 231
platform/msvc2008/filesystem/filesystem.vcproj

@@ -1,231 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="filesystem"
-	ProjectGUID="{0A2BDA60-43BB-4837-921A-2E4955FD8AEC}"
-	RootNamespace="filesystem"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LOVE_FILESYSTEM_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="lua5.1.lib physfs.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;FILESYSTEM_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="filesystem"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\File.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\File.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\Filesystem.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\Filesystem.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\wrap_File.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\wrap_File.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\wrap_FileData.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\wrap_FileData.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\wrap_Filesystem.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\filesystem\physfs\wrap_Filesystem.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\filesystem\File.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\filesystem\FileData.cpp"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\filesystem\FileData.h"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 266 - 0
platform/msvc2008/font.vcproj

@@ -0,0 +1,266 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="font"
+	ProjectGUID="{9C9E90E2-325A-2362-0C6C-C0D36425D65C}"
+	RootNamespace="font"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FONT_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib freetype.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;FONT_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib freetype.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\font\GlyphData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\GlyphData.h">
+</File>
+<File RelativePath="..\..\src\modules\font\ImageRasterizer.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\ImageRasterizer.h">
+</File>
+<File RelativePath="..\..\src\modules\font\Rasterizer.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\Rasterizer.h">
+</File>
+<File RelativePath="..\..\src\modules\font\wrap_GlyphData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\wrap_GlyphData.h">
+</File>
+<File RelativePath="..\..\src\modules\font\wrap_Rasterizer.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\wrap_Rasterizer.h">
+</File>
+
+<Filter Name="freetype">
+<File RelativePath="..\..\src\modules\font\freetype\Font.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\freetype\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\freetype\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\freetype\Font.h">
+</File>
+<File RelativePath="..\..\src\modules\font\freetype\TrueTypeRasterizer.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\freetype\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\freetype\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\freetype\TrueTypeRasterizer.h">
+</File>
+<File RelativePath="..\..\src\modules\font\freetype\wrap_Font.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\freetype\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\font\freetype\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\font\freetype\wrap_Font.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 307
platform/msvc2008/font/font.vcproj

@@ -1,307 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="font"
-	ProjectGUID="{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}"
-	RootNamespace="font"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;FONT_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="freetype.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;FONT_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="freetype"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\font\freetype\Font.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\font\freetype\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\font\freetype\Font.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\font\freetype\TrueTypeRasterizer.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\font\freetype\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\font\freetype\TrueTypeRasterizer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\font\freetype\wrap_Font.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\font\freetype\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\font\freetype\wrap_Font.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\font\GlyphData.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\font\freetype\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\GlyphData.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\ImageRasterizer.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\font\freetype\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\ImageRasterizer.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\Rasterizer.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\font\freetype\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\Rasterizer.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\wrap_GlyphData.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\font\freetype\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\wrap_GlyphData.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\wrap_Rasterizer.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\font\freetype\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\font\wrap_Rasterizer.h"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 262 - 0
platform/msvc2008/gen-project.lua

@@ -0,0 +1,262 @@
+-- Generates some MSVC2008 project files.
+
+require("lfs")
+
+math.randomseed(os.time())
+
+function scan(path)
+	local files = {}
+	local dirs = {}
+	for f in lfs.dir(path) do
+		if f ~= "." and f ~= ".."  then
+			local a = lfs.attributes(path.."/"..f)
+			if a and a.mode == "directory" then
+				table.insert(dirs, f)
+			else
+				table.insert(files, f)
+			end
+		end
+	end
+	return files, dirs
+end
+
+function ignore(path)
+	
+	if string.find(path, "libtcc") then
+		if string.find(path, "libtcc%.c") then
+			return false
+		else
+			print("NO", path)
+			return true
+		end
+	end
+	
+	return false
+end
+
+function traverse(path, p, t)
+	
+	if not p then p = path end
+	if not t then t = {} end
+	
+	local f, d = scan(path)
+	
+	for i,v in ipairs(f) do
+		if not ignore(path.."/"..v) then
+			table.insert(t, path.."/"..v)
+		end
+	end
+	
+	for i,v in ipairs(d) do
+		t[v] = traverse(path.."/"..v, v, {})
+	end
+	
+	return t
+end
+
+function winslash(s)
+	return string.gsub(s, "/", "\\")
+end
+
+function addfolder(name, t, out)
+	-- Build the data.
+	for i,v in pairs(t) do
+		if type(v) == "table" then
+			table.insert(out, "\n<Filter Name=\""..i.."\">")
+			addfolder(i, v, out)
+			table.insert(out, "</Filter>\n")
+		else
+			table.insert(out, "<File RelativePath=\""..winslash(v).."\">")
+			if string.find(v, "%.cpp") then
+				table.insert(out, "<FileConfiguration Name=\"Debug|Win32\">")
+				local u1,u2,obj = string.find(v, "(/modules/.*/)")
+				table.insert(out, "<Tool Name=\"VCCLCompilerTool\" ObjectFile=\"$(IntDir)"..winslash(obj).."\" />")
+				table.insert(out, "</FileConfiguration>")
+				table.insert(out, "<FileConfiguration Name=\"Release|Win32\">")
+				table.insert(out, "<Tool Name=\"VCCLCompilerTool\" ObjectFile=\"$(IntDir)"..winslash(obj).."\" />")
+				table.insert(out, "</FileConfiguration>")
+			end
+			table.insert(out, "</File>")
+		end
+	end
+end
+
+function contains(haystack, needle)
+	for i,v in ipairs(haystack) do
+		if v == needle then return true end
+	end
+	return false
+end
+
+guid = {}
+guid.chars = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'}
+
+function guid.gen()
+	local g = {"{"}
+	for i=1,8 do table.insert(g, guid.chars[math.random(1,16)]) end
+	table.insert(g, "-")
+	for j=1,3 do
+		for i=1,4 do table.insert(g, guid.chars[math.random(1,16)]) end
+		table.insert(g, "-")
+	end
+	for i=1,12 do table.insert(g, guid.chars[math.random(1,16)]) end
+	table.insert(g, "}")
+	return table.concat(g)
+end
+
+filter = {}
+
+function filter.guid(data)
+	local g = guid.gen()
+	print(" GUID: " .. g)
+	return string.gsub(data, "{GUID}", g)
+end
+
+function filter.name(data, module)
+	print(" Name: " .. module)
+	return string.gsub(data, "{MODULE}", module)
+end
+
+function filter.includes(data, module)
+
+	local incstr = "include;../../src;../../src/modules;"
+	local sdlstr = "include/SDL"
+
+	local sdlmod = {"audio", "event", "graphics", "joystick", "keyboard", "mouse", "timer"}
+	
+	if contains(sdlmod, module) then
+		incstr = incstr .. sdlstr
+	end
+
+	print(" Include: " .. incstr)
+	return string.gsub(data, "{INCLUDES}", incstr)
+end
+
+function filter.defines(data, module)
+
+	local unique = string.upper(module) .."_EXPORTS"
+	local release = "WIN32;NDEBUG;_WINDOWS;_USRDLL;".. unique
+	local dbg = "WIN32;_DEBUG;_WINDOWS;_USRDLL;".. unique
+	
+	print(" Defines:")
+	print("  Debug: "..dbg)
+	print("  Release: "..release)
+	
+	local data = string.gsub(data, "{DEFINES_RELEASE}", release)
+	
+	return string.gsub(data, "{DEFINES_DEBUG}", dbg)
+end
+
+function filter.libdir(data, module)
+	local dir = "lib"
+	print(" Libdir: " .. dir)
+	return string.gsub(data, "{LIBDIR}", dir)
+end
+
+libconf = {
+	audio = "lua5.1.lib SDL.lib openal32.lib",
+	event = "lua5.1.lib SDL.lib",
+	filesystem = "lua5.1.lib physfs.lib",
+	font = "lua5.1.lib freetype.lib",
+	graphics = "lua5.1.lib SDL.lib freetype.lib opengl32.lib",
+	image = "lua5.1.lib DevIL.lib",
+	joystick = "lua5.1.lib SDL.lib",
+	keyboard = "lua5.1.lib SDL.lib",
+	mouse = "lua5.1.lib SDL.lib",
+	native = "lua5.1.lib",
+	physics = "lua5.1.lib",
+	sound = "lua5.1.lib libmodplug.lib libmpg123.lib libogg.lib libvorbis.lib libvorbisfile.lib libFLAC_static.lib libFLAC++_static.lib",
+	timer = "lua5.1.lib SDL.lib",
+}
+
+function filter.libs(data, module)
+	print(" Libs: " .. libconf[module])
+	return string.gsub(data, "{LIBS}", libconf[module])
+end
+
+filter.filters = {
+	filter.name,
+	filter.guid,
+	filter.includes,
+	filter.defines,
+	filter.libdir,
+	filter.libs,
+}
+
+function update(module, t)
+
+	print("Updating "..module.." ...")
+
+	local infile = "master.vct"
+	local outfile = module..".vcproj"
+
+	-- Get the template.
+	local f = io.open(infile, "r")
+	if not f then print("Warning, file "..infile.." not found."); return end
+	local data = f:read("*a")
+	io.close(f)
+	
+	for i,v in ipairs(filter.filters) do
+		data = v(data, module)
+	end
+	
+	local out = {}
+	
+	table.insert(out, "<!-- Generated stuff begins -->")
+	table.insert(out, "<Files>")
+	
+	-- Build the data.
+	addfolder(module, t.modules[module], out)
+	
+	table.insert(out, "</Files>")
+	table.insert(out, "<!-- Generated stuff ends -->")
+	
+	-- Insert into file.
+	data = string.gsub(data, "{FILES}", table.concat(out, "\n"))
+	
+	-- Write the file.
+	f = io.open(outfile, "w")
+	f:write(data)
+	io.close(f)
+end
+
+t = traverse("../../src")
+
+print("")
+print("------------------")
+print("")
+
+function printr(t, tab)
+	if not tab then tab = 0 end
+	for i,v in pairs(t) do
+		if type(v) == "table" then
+			print(string.rep("\t", tab)..i.." => {")
+			printr(v, tab+1)
+			print(string.rep("\t", tab).."}")
+		else
+			print(string.rep("\t", tab)..i.." => " .. v)
+		end
+	end
+end
+
+--printr(t)
+
+local mods = {
+	"audio",
+	"event",
+	"filesystem",
+	"font",
+	"graphics",
+	"image",
+	"joystick",
+	"keyboard",
+	"mouse",
+	"native",
+	"physics",
+	"sound",
+	"timer",
+}
+
+for i,v in ipairs(mods) do
+	update(v, t)
+end

+ 354 - 0
platform/msvc2008/graphics.vcproj

@@ -0,0 +1,354 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="graphics"
+	ProjectGUID="{9F991E7D-FF31-60DB-466D-6E6A51DB513E}"
+	RootNamespace="graphics"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GRAPHICS_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib freetype.lib opengl32.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GRAPHICS_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib freetype.lib opengl32.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\graphics\Drawable.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\Drawable.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\Graphics.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\Image.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\Volatile.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\Volatile.h">
+</File>
+
+<Filter Name="opengl">
+<File RelativePath="..\..\src\modules\graphics\opengl\Font.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Font.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Frame.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Frame.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\GLee.c">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\GLee.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Glyph.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Glyph.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Graphics.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Graphics.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Image.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\Image.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\ImageFont.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\ImageFont.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\SpriteBatch.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\SpriteBatch.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\TrueTypeFont.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\TrueTypeFont.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Font.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Font.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Frame.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Frame.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Glyph.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Glyph.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Graphics.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Graphics.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Image.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_Image.h">
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_SpriteBatch.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\graphics\opengl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\graphics\opengl\wrap_SpriteBatch.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 459
platform/msvc2008/graphics/graphics.vcproj

@@ -1,459 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="graphics"
-	ProjectGUID="{8A97E9E7-8C48-4C33-A3ED-31487FE58E9E}"
-	RootNamespace="graphics"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GRAPHICS_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="opengl32.lib glu32.lib SDL.lib freetype.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;GRAPHICS_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="opengl"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Font.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Font.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Frame.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Frame.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\GLee.c"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\GLee.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Glyph.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Glyph.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Graphics.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Graphics.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Image.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\Image.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\ImageFont.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\ImageFont.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\SpriteBatch.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\SpriteBatch.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\TrueTypeFont.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\TrueTypeFont.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Font.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Font.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Frame.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Frame.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Glyph.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Glyph.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Graphics.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Graphics.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Image.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_Image.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_SpriteBatch.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\graphics\opengl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\graphics\opengl\wrap_SpriteBatch.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\graphics\Drawable.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\graphics\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\graphics\Drawable.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\graphics\Graphics.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\graphics\Image.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\graphics\Volatile.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\graphics\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\graphics\Volatile.h"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 70 - 95
platform/msvc2008/image/image.vcproj → platform/msvc2008/image.vcproj

@@ -3,7 +3,7 @@
 	ProjectType="Visual C++"
 	ProjectType="Visual C++"
 	Version="9,00"
 	Version="9,00"
 	Name="image"
 	Name="image"
-	ProjectGUID="{55F35AEA-2D84-4A39-BF98-505106A15FF7}"
+	ProjectGUID="{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}"
 	RootNamespace="image"
 	RootNamespace="image"
 	Keyword="Win32Proj"
 	Keyword="Win32Proj"
 	TargetFrameworkVersion="196613"
 	TargetFrameworkVersion="196613"
@@ -41,7 +41,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;IMAGE_EXPORTS"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;IMAGE_EXPORTS"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -64,7 +64,7 @@
 				AdditionalDependencies="lua5.1.lib DevIL.lib"
 				AdditionalDependencies="lua5.1.lib DevIL.lib"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="2"
 				SubSystem="2"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -118,8 +118,9 @@
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="2"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				EnableIntrinsicFunctions="true"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;IMAGE_EXPORTS"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;IMAGE_EXPORTS"
-				RuntimeLibrary="2"
+				RuntimeLibrary="0"
 				EnableFunctionLevelLinking="true"
 				EnableFunctionLevelLinking="true"
 				UsePrecompiledHeader="0"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
 				WarningLevel="3"
@@ -136,8 +137,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib DevIL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="1"
 				LinkIncremental="1"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				SubSystem="2"
 				OptimizeReferences="2"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				EnableCOMDATFolding="2"
@@ -168,96 +171,68 @@
 	</Configurations>
 	</Configurations>
 	<References>
 	<References>
 	</References>
 	</References>
-	<Files>
-		<Filter
-			Name="devil"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\image\devil\Image.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\image\devil\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\image\devil\Image.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\image\devil\ImageData.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\image\devil\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\image\devil\ImageData.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\image\Image.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\image\ImageData.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\image\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\image\ImageData.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\image\wrap_Image.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\image\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\image\wrap_Image.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\image\wrap_ImageData.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\image\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\image\wrap_ImageData.h"
-			>
-		</File>
-	</Files>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\image\Image.h">
+</File>
+<File RelativePath="..\..\src\modules\image\ImageData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\image\ImageData.h">
+</File>
+<File RelativePath="..\..\src\modules\image\wrap_Image.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\image\wrap_Image.h">
+</File>
+<File RelativePath="..\..\src\modules\image\wrap_ImageData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\image\wrap_ImageData.h">
+</File>
+
+<Filter Name="devil">
+<File RelativePath="..\..\src\modules\image\devil\Image.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\devil\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\devil\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\image\devil\Image.h">
+</File>
+<File RelativePath="..\..\src\modules\image\devil\ImageData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\devil\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\image\devil\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\image\devil\ImageData.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
 	<Globals>
 	<Globals>
 	</Globals>
 	</Globals>
 </VisualStudioProject>
 </VisualStudioProject>

+ 208 - 0
platform/msvc2008/joystick.vcproj

@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="joystick"
+	ProjectGUID="{B9BC5667-6841-528D-422C-B064849D8620}"
+	RootNamespace="joystick"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;JOYSTICK_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;JOYSTICK_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\joystick\Joystick.h">
+</File>
+
+<Filter Name="sdl">
+<File RelativePath="..\..\src\modules\joystick\sdl\Joystick.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\joystick\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\joystick\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\joystick\sdl\Joystick.h">
+</File>
+<File RelativePath="..\..\src\modules\joystick\sdl\wrap_Joystick.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\joystick\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\joystick\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\joystick\sdl\wrap_Joystick.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 40 - 47
platform/msvc2008/keyboard/keyboard.vcproj → platform/msvc2008/keyboard.vcproj

@@ -3,7 +3,7 @@
 	ProjectType="Visual C++"
 	ProjectType="Visual C++"
 	Version="9,00"
 	Version="9,00"
 	Name="keyboard"
 	Name="keyboard"
-	ProjectGUID="{F84CE42B-BBA4-4E32-824B-1F2CAD9236C3}"
+	ProjectGUID="{D8648013-2A9D-AFEC-760A-DA3D2D6DDD6E}"
 	RootNamespace="keyboard"
 	RootNamespace="keyboard"
 	Keyword="Win32Proj"
 	Keyword="Win32Proj"
 	TargetFrameworkVersion="196613"
 	TargetFrameworkVersion="196613"
@@ -41,7 +41,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;KEYBOARD_EXPORTS"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;KEYBOARD_EXPORTS"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -64,7 +64,7 @@
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="2"
 				SubSystem="2"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -118,8 +118,9 @@
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="2"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				EnableIntrinsicFunctions="true"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;KEYBOARD_EXPORTS"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;KEYBOARD_EXPORTS"
-				RuntimeLibrary="2"
+				RuntimeLibrary="0"
 				EnableFunctionLevelLinking="true"
 				EnableFunctionLevelLinking="true"
 				UsePrecompiledHeader="0"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
 				WarningLevel="3"
@@ -136,8 +137,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="1"
 				LinkIncremental="1"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				SubSystem="2"
 				OptimizeReferences="2"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				EnableCOMDATFolding="2"
@@ -168,48 +171,38 @@
 	</Configurations>
 	</Configurations>
 	<References>
 	<References>
 	</References>
 	</References>
-	<Files>
-		<Filter
-			Name="sdl"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\keyboard\sdl\Keyboard.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\keyboard\sdlkeyboard\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\keyboard\sdl\Keyboard.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\keyboard\sdl\wrap_Keyboard.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\keyboard\sdlkeyboard\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\keyboard\sdl\wrap_Keyboard.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\keyboard\Keyboard.h"
-			>
-		</File>
-	</Files>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\keyboard\Keyboard.h">
+</File>
+
+<Filter Name="sdl">
+<File RelativePath="..\..\src\modules\keyboard\sdl\Keyboard.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\keyboard\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\keyboard\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\keyboard\sdl\Keyboard.h">
+</File>
+<File RelativePath="..\..\src\modules\keyboard\sdl\wrap_Keyboard.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\keyboard\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\keyboard\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\keyboard\sdl\wrap_Keyboard.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
 	<Globals>
 	<Globals>
 	</Globals>
 	</Globals>
 </VisualStudioProject>
 </VisualStudioProject>

+ 79 - 80
platform/msvc2008/love.sln

@@ -1,82 +1,81 @@
 
 
 Microsoft Visual Studio Solution File, Format Version 10.00
 Microsoft Visual Studio Solution File, Format Version 10.00
 # Visual C++ Express 2008
 # Visual C++ Express 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "love", "love.vcproj", "{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "common\common.vcproj", "{8273822F-45A4-4BE3-82F3-B8B3223C578C}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filesystem", "filesystem\filesystem.vcproj", "{0A2BDA60-43BB-4837-921A-2E4955FD8AEC}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "audio", "audio.vcproj", "{BA0FC12D-5ED5-FCFE-DD98-FAE9D85C9FC2}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "image", "image\image.vcproj", "{55F35AEA-2D84-4A39-BF98-505106A15FF7}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "common.vcproj", "{8273822F-45A4-4BE3-82F3-B8B3223C578C}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "filesystem", "filesystem.vcproj", "{2E82BC23-19FB-068A-EF4A-7C91369FFC8F}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC} = {0A2BDA60-43BB-4837-921A-2E4955FD8AEC}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "sound\sound.vcproj", "{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "event", "event.vcproj", "{6FAF7CE7-283C-8F9D-C398-045C9CCF16BC}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC} = {0A2BDA60-43BB-4837-921A-2E4955FD8AEC}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mouse", "mouse\mouse.vcproj", "{88881251-6818-485E-A262-DE1283096589}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "font", "font.vcproj", "{9C9E90E2-325A-2362-0C6C-C0D36425D65C}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F} = {2E82BC23-19FB-068A-EF4A-7C91369FFC8F}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graphics", "graphics\graphics.vcproj", "{8A97E9E7-8C48-4C33-A3ED-31487FE58E9E}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "image", "image.vcproj", "{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
-		{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E} = {0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}
-		{55F35AEA-2D84-4A39-BF98-505106A15FF7} = {55F35AEA-2D84-4A39-BF98-505106A15FF7}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "font", "font\font.vcproj", "{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "joystick", "joystick.vcproj", "{B9BC5667-6841-528D-422C-B064849D8620}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC} = {0A2BDA60-43BB-4837-921A-2E4955FD8AEC}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "keyboard", "keyboard\keyboard.vcproj", "{F84CE42B-BBA4-4E32-824B-1F2CAD9236C3}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "keyboard", "keyboard.vcproj", "{D8648013-2A9D-AFEC-760A-DA3D2D6DDD6E}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "audio", "audio\audio.vcproj", "{1E405CDD-5FD7-42E0-BCF1-147305DA3EA0}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mouse", "mouse.vcproj", "{B4EC48F6-808C-7CD7-CA18-0A165EC7ED2C}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
-		{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3} = {3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "physics", "physics\physics.vcproj", "{39CDF8C8-016D-423E-94BA-7DD798CF0E15}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "native", "native.vcproj", "{612C0914-1557-E6DD-6619-362F6026A67F}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "event", "event\event.vcproj", "{62C66448-36CB-4350-9D6E-02F49F05EDB4}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "physics", "physics.vcproj", "{5CA04389-C0CB-F277-0E5E-3B80F8B63F83}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "joystick", "joystick\joystick.vcproj", "{C6C174AC-B339-4A39-A353-CFF523327B53}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "graphics", "graphics.vcproj", "{9F991E7D-FF31-60DB-466D-6E6A51DB513E}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
+		{9C9E90E2-325A-2362-0C6C-C0D36425D65C} = {9C9E90E2-325A-2362-0C6C-C0D36425D65C}
+		{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6} = {B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F} = {2E82BC23-19FB-068A-EF4A-7C91369FFC8F}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "timer", "timer\timer.vcproj", "{3DFF2849-C47D-4251-B2AC-E60EDBC29511}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "sound.vcproj", "{61A24CAA-E555-9976-C4F9-E6BB0944419E}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F} = {2E82BC23-19FB-068A-EF4A-7C91369FFC8F}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "native", "native\native.vcproj", "{CCAD89EC-2C3C-4F69-BF71-D9DA230FE109}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "timer", "timer.vcproj", "{D6FB3DE4-3542-86A3-F68F-EB29126DCC1D}"
 	ProjectSection(ProjectDependencies) = postProject
 	ProjectSection(ProjectDependencies) = postProject
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C} = {8273822F-45A4-4BE3-82F3-B8B3223C578C}
 	EndProjectSection
 	EndProjectSection
 EndProject
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua", "lua\lua.vcproj", "{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua", "lua.vcproj", "{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "love", "love.vcproj", "{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}"
 EndProject
 EndProject
 Global
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -84,70 +83,70 @@ Global
 		Release|Win32 = Release|Win32
 		Release|Win32 = Release|Win32
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Debug|Win32.ActiveCfg = Debug|Win32
-		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Debug|Win32.Build.0 = Debug|Win32
-		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Release|Win32.ActiveCfg = Release|Win32
-		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Release|Win32.Build.0 = Release|Win32
+		{BA0FC12D-5ED5-FCFE-DD98-FAE9D85C9FC2}.Debug|Win32.ActiveCfg = Debug|Win32
+		{BA0FC12D-5ED5-FCFE-DD98-FAE9D85C9FC2}.Debug|Win32.Build.0 = Debug|Win32
+		{BA0FC12D-5ED5-FCFE-DD98-FAE9D85C9FC2}.Release|Win32.ActiveCfg = Release|Win32
+		{BA0FC12D-5ED5-FCFE-DD98-FAE9D85C9FC2}.Release|Win32.Build.0 = Release|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Debug|Win32.ActiveCfg = Debug|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Debug|Win32.ActiveCfg = Debug|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Debug|Win32.Build.0 = Debug|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Debug|Win32.Build.0 = Debug|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Release|Win32.ActiveCfg = Release|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Release|Win32.ActiveCfg = Release|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Release|Win32.Build.0 = Release|Win32
 		{8273822F-45A4-4BE3-82F3-B8B3223C578C}.Release|Win32.Build.0 = Release|Win32
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC}.Debug|Win32.ActiveCfg = Debug|Win32
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC}.Debug|Win32.Build.0 = Debug|Win32
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC}.Release|Win32.ActiveCfg = Release|Win32
-		{0A2BDA60-43BB-4837-921A-2E4955FD8AEC}.Release|Win32.Build.0 = Release|Win32
-		{55F35AEA-2D84-4A39-BF98-505106A15FF7}.Debug|Win32.ActiveCfg = Debug|Win32
-		{55F35AEA-2D84-4A39-BF98-505106A15FF7}.Debug|Win32.Build.0 = Debug|Win32
-		{55F35AEA-2D84-4A39-BF98-505106A15FF7}.Release|Win32.ActiveCfg = Release|Win32
-		{55F35AEA-2D84-4A39-BF98-505106A15FF7}.Release|Win32.Build.0 = Release|Win32
-		{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}.Debug|Win32.ActiveCfg = Debug|Win32
-		{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}.Debug|Win32.Build.0 = Debug|Win32
-		{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}.Release|Win32.ActiveCfg = Release|Win32
-		{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}.Release|Win32.Build.0 = Release|Win32
-		{88881251-6818-485E-A262-DE1283096589}.Debug|Win32.ActiveCfg = Debug|Win32
-		{88881251-6818-485E-A262-DE1283096589}.Debug|Win32.Build.0 = Debug|Win32
-		{88881251-6818-485E-A262-DE1283096589}.Release|Win32.ActiveCfg = Release|Win32
-		{88881251-6818-485E-A262-DE1283096589}.Release|Win32.Build.0 = Release|Win32
-		{8A97E9E7-8C48-4C33-A3ED-31487FE58E9E}.Debug|Win32.ActiveCfg = Debug|Win32
-		{8A97E9E7-8C48-4C33-A3ED-31487FE58E9E}.Debug|Win32.Build.0 = Debug|Win32
-		{8A97E9E7-8C48-4C33-A3ED-31487FE58E9E}.Release|Win32.ActiveCfg = Release|Win32
-		{8A97E9E7-8C48-4C33-A3ED-31487FE58E9E}.Release|Win32.Build.0 = Release|Win32
-		{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Debug|Win32.ActiveCfg = Debug|Win32
-		{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Debug|Win32.Build.0 = Debug|Win32
-		{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.ActiveCfg = Release|Win32
-		{0E3ACF52-EEB5-4E35-8631-43B3E9F4577E}.Release|Win32.Build.0 = Release|Win32
-		{F84CE42B-BBA4-4E32-824B-1F2CAD9236C3}.Debug|Win32.ActiveCfg = Debug|Win32
-		{F84CE42B-BBA4-4E32-824B-1F2CAD9236C3}.Debug|Win32.Build.0 = Debug|Win32
-		{F84CE42B-BBA4-4E32-824B-1F2CAD9236C3}.Release|Win32.ActiveCfg = Release|Win32
-		{F84CE42B-BBA4-4E32-824B-1F2CAD9236C3}.Release|Win32.Build.0 = Release|Win32
-		{1E405CDD-5FD7-42E0-BCF1-147305DA3EA0}.Debug|Win32.ActiveCfg = Debug|Win32
-		{1E405CDD-5FD7-42E0-BCF1-147305DA3EA0}.Debug|Win32.Build.0 = Debug|Win32
-		{1E405CDD-5FD7-42E0-BCF1-147305DA3EA0}.Release|Win32.ActiveCfg = Release|Win32
-		{1E405CDD-5FD7-42E0-BCF1-147305DA3EA0}.Release|Win32.Build.0 = Release|Win32
-		{39CDF8C8-016D-423E-94BA-7DD798CF0E15}.Debug|Win32.ActiveCfg = Debug|Win32
-		{39CDF8C8-016D-423E-94BA-7DD798CF0E15}.Debug|Win32.Build.0 = Debug|Win32
-		{39CDF8C8-016D-423E-94BA-7DD798CF0E15}.Release|Win32.ActiveCfg = Release|Win32
-		{39CDF8C8-016D-423E-94BA-7DD798CF0E15}.Release|Win32.Build.0 = Release|Win32
-		{62C66448-36CB-4350-9D6E-02F49F05EDB4}.Debug|Win32.ActiveCfg = Debug|Win32
-		{62C66448-36CB-4350-9D6E-02F49F05EDB4}.Debug|Win32.Build.0 = Debug|Win32
-		{62C66448-36CB-4350-9D6E-02F49F05EDB4}.Release|Win32.ActiveCfg = Release|Win32
-		{62C66448-36CB-4350-9D6E-02F49F05EDB4}.Release|Win32.Build.0 = Release|Win32
-		{C6C174AC-B339-4A39-A353-CFF523327B53}.Debug|Win32.ActiveCfg = Debug|Win32
-		{C6C174AC-B339-4A39-A353-CFF523327B53}.Debug|Win32.Build.0 = Debug|Win32
-		{C6C174AC-B339-4A39-A353-CFF523327B53}.Release|Win32.ActiveCfg = Release|Win32
-		{C6C174AC-B339-4A39-A353-CFF523327B53}.Release|Win32.Build.0 = Release|Win32
-		{3DFF2849-C47D-4251-B2AC-E60EDBC29511}.Debug|Win32.ActiveCfg = Debug|Win32
-		{3DFF2849-C47D-4251-B2AC-E60EDBC29511}.Debug|Win32.Build.0 = Debug|Win32
-		{3DFF2849-C47D-4251-B2AC-E60EDBC29511}.Release|Win32.ActiveCfg = Release|Win32
-		{3DFF2849-C47D-4251-B2AC-E60EDBC29511}.Release|Win32.Build.0 = Release|Win32
-		{CCAD89EC-2C3C-4F69-BF71-D9DA230FE109}.Debug|Win32.ActiveCfg = Debug|Win32
-		{CCAD89EC-2C3C-4F69-BF71-D9DA230FE109}.Debug|Win32.Build.0 = Debug|Win32
-		{CCAD89EC-2C3C-4F69-BF71-D9DA230FE109}.Release|Win32.ActiveCfg = Release|Win32
-		{CCAD89EC-2C3C-4F69-BF71-D9DA230FE109}.Release|Win32.Build.0 = Release|Win32
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F}.Debug|Win32.ActiveCfg = Debug|Win32
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F}.Debug|Win32.Build.0 = Debug|Win32
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F}.Release|Win32.ActiveCfg = Release|Win32
+		{2E82BC23-19FB-068A-EF4A-7C91369FFC8F}.Release|Win32.Build.0 = Release|Win32
+		{6FAF7CE7-283C-8F9D-C398-045C9CCF16BC}.Debug|Win32.ActiveCfg = Debug|Win32
+		{6FAF7CE7-283C-8F9D-C398-045C9CCF16BC}.Debug|Win32.Build.0 = Debug|Win32
+		{6FAF7CE7-283C-8F9D-C398-045C9CCF16BC}.Release|Win32.ActiveCfg = Release|Win32
+		{6FAF7CE7-283C-8F9D-C398-045C9CCF16BC}.Release|Win32.Build.0 = Release|Win32
+		{9C9E90E2-325A-2362-0C6C-C0D36425D65C}.Debug|Win32.ActiveCfg = Debug|Win32
+		{9C9E90E2-325A-2362-0C6C-C0D36425D65C}.Debug|Win32.Build.0 = Debug|Win32
+		{9C9E90E2-325A-2362-0C6C-C0D36425D65C}.Release|Win32.ActiveCfg = Release|Win32
+		{9C9E90E2-325A-2362-0C6C-C0D36425D65C}.Release|Win32.Build.0 = Release|Win32
+		{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}.Debug|Win32.ActiveCfg = Debug|Win32
+		{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}.Debug|Win32.Build.0 = Debug|Win32
+		{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}.Release|Win32.ActiveCfg = Release|Win32
+		{B4AB1115-4A1B-5A81-626D-9BB2C67ACAA6}.Release|Win32.Build.0 = Release|Win32
+		{B9BC5667-6841-528D-422C-B064849D8620}.Debug|Win32.ActiveCfg = Debug|Win32
+		{B9BC5667-6841-528D-422C-B064849D8620}.Debug|Win32.Build.0 = Debug|Win32
+		{B9BC5667-6841-528D-422C-B064849D8620}.Release|Win32.ActiveCfg = Release|Win32
+		{B9BC5667-6841-528D-422C-B064849D8620}.Release|Win32.Build.0 = Release|Win32
+		{D8648013-2A9D-AFEC-760A-DA3D2D6DDD6E}.Debug|Win32.ActiveCfg = Debug|Win32
+		{D8648013-2A9D-AFEC-760A-DA3D2D6DDD6E}.Debug|Win32.Build.0 = Debug|Win32
+		{D8648013-2A9D-AFEC-760A-DA3D2D6DDD6E}.Release|Win32.ActiveCfg = Release|Win32
+		{D8648013-2A9D-AFEC-760A-DA3D2D6DDD6E}.Release|Win32.Build.0 = Release|Win32
+		{B4EC48F6-808C-7CD7-CA18-0A165EC7ED2C}.Debug|Win32.ActiveCfg = Debug|Win32
+		{B4EC48F6-808C-7CD7-CA18-0A165EC7ED2C}.Debug|Win32.Build.0 = Debug|Win32
+		{B4EC48F6-808C-7CD7-CA18-0A165EC7ED2C}.Release|Win32.ActiveCfg = Release|Win32
+		{B4EC48F6-808C-7CD7-CA18-0A165EC7ED2C}.Release|Win32.Build.0 = Release|Win32
+		{612C0914-1557-E6DD-6619-362F6026A67F}.Debug|Win32.ActiveCfg = Debug|Win32
+		{612C0914-1557-E6DD-6619-362F6026A67F}.Debug|Win32.Build.0 = Debug|Win32
+		{612C0914-1557-E6DD-6619-362F6026A67F}.Release|Win32.ActiveCfg = Release|Win32
+		{612C0914-1557-E6DD-6619-362F6026A67F}.Release|Win32.Build.0 = Release|Win32
+		{5CA04389-C0CB-F277-0E5E-3B80F8B63F83}.Debug|Win32.ActiveCfg = Debug|Win32
+		{5CA04389-C0CB-F277-0E5E-3B80F8B63F83}.Debug|Win32.Build.0 = Debug|Win32
+		{5CA04389-C0CB-F277-0E5E-3B80F8B63F83}.Release|Win32.ActiveCfg = Release|Win32
+		{5CA04389-C0CB-F277-0E5E-3B80F8B63F83}.Release|Win32.Build.0 = Release|Win32
+		{9F991E7D-FF31-60DB-466D-6E6A51DB513E}.Debug|Win32.ActiveCfg = Debug|Win32
+		{9F991E7D-FF31-60DB-466D-6E6A51DB513E}.Debug|Win32.Build.0 = Debug|Win32
+		{9F991E7D-FF31-60DB-466D-6E6A51DB513E}.Release|Win32.ActiveCfg = Release|Win32
+		{9F991E7D-FF31-60DB-466D-6E6A51DB513E}.Release|Win32.Build.0 = Release|Win32
+		{61A24CAA-E555-9976-C4F9-E6BB0944419E}.Debug|Win32.ActiveCfg = Debug|Win32
+		{61A24CAA-E555-9976-C4F9-E6BB0944419E}.Debug|Win32.Build.0 = Debug|Win32
+		{61A24CAA-E555-9976-C4F9-E6BB0944419E}.Release|Win32.ActiveCfg = Release|Win32
+		{61A24CAA-E555-9976-C4F9-E6BB0944419E}.Release|Win32.Build.0 = Release|Win32
+		{D6FB3DE4-3542-86A3-F68F-EB29126DCC1D}.Debug|Win32.ActiveCfg = Debug|Win32
+		{D6FB3DE4-3542-86A3-F68F-EB29126DCC1D}.Debug|Win32.Build.0 = Debug|Win32
+		{D6FB3DE4-3542-86A3-F68F-EB29126DCC1D}.Release|Win32.ActiveCfg = Release|Win32
+		{D6FB3DE4-3542-86A3-F68F-EB29126DCC1D}.Release|Win32.Build.0 = Release|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Debug|Win32.ActiveCfg = Debug|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Debug|Win32.ActiveCfg = Debug|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Debug|Win32.Build.0 = Debug|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Debug|Win32.Build.0 = Debug|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Release|Win32.ActiveCfg = Release|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Release|Win32.ActiveCfg = Release|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Release|Win32.Build.0 = Release|Win32
 		{892D9BD8-F38E-40BC-B4E1-FAEBD59AECDE}.Release|Win32.Build.0 = Release|Win32
+		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Debug|Win32.ActiveCfg = Debug|Win32
+		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Debug|Win32.Build.0 = Debug|Win32
+		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Release|Win32.ActiveCfg = Release|Win32
+		{F2FDC53D-1ECD-4CF1-BA3F-3E59A2484DB9}.Release|Win32.Build.0 = Release|Win32
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
 		HideSolutionNode = FALSE

+ 0 - 0
platform/msvc2008/lua/lua.c → platform/msvc2008/lua.c


+ 2 - 2
platform/msvc2008/lua/lua.vcproj → platform/msvc2008/lua.vcproj

@@ -41,7 +41,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include"
+				AdditionalIncludeDirectories="include"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -63,7 +63,7 @@
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
 				AdditionalDependencies="lua5.1.lib"
 				AdditionalDependencies="lua5.1.lib"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="1"
 				SubSystem="1"
 				TargetMachine="1"
 				TargetMachine="1"

+ 16 - 48
platform/msvc2008/timer/timer.vcproj → platform/msvc2008/master.vct

@@ -2,9 +2,9 @@
 <VisualStudioProject
 <VisualStudioProject
 	ProjectType="Visual C++"
 	ProjectType="Visual C++"
 	Version="9,00"
 	Version="9,00"
-	Name="timer"
-	ProjectGUID="{3DFF2849-C47D-4251-B2AC-E60EDBC29511}"
-	RootNamespace="timer"
+	Name="{MODULE}"
+	ProjectGUID="{GUID}"
+	RootNamespace="{MODULE}"
 	Keyword="Win32Proj"
 	Keyword="Win32Proj"
 	TargetFrameworkVersion="196613"
 	TargetFrameworkVersion="196613"
 	>
 	>
@@ -41,8 +41,8 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
+				AdditionalIncludeDirectories="{INCLUDES}"
+				PreprocessorDefinitions="{DEFINES_DEBUG}"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
 				RuntimeLibrary="1"
@@ -61,10 +61,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
-				AdditionalDependencies="lua5.1.lib SDL.lib"
+				AdditionalDependencies="{LIBS}"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="{LIBDIR}"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="2"
 				SubSystem="2"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -118,8 +118,9 @@
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="2"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				EnableIntrinsicFunctions="true"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
-				RuntimeLibrary="2"
+				AdditionalIncludeDirectories="{INCLUDES}"
+				PreprocessorDefinitions="{DEFINES_RELEASE}"
+				RuntimeLibrary="0"
 				EnableFunctionLevelLinking="true"
 				EnableFunctionLevelLinking="true"
 				UsePrecompiledHeader="0"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
 				WarningLevel="3"
@@ -136,8 +137,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
+				AdditionalDependencies="{LIBS}"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="1"
 				LinkIncremental="1"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				SubSystem="2"
 				OptimizeReferences="2"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				EnableCOMDATFolding="2"
@@ -168,44 +171,9 @@
 	</Configurations>
 	</Configurations>
 	<References>
 	<References>
 	</References>
 	</References>
-	<Files>
-		<Filter
-			Name="sdl"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\timer\sdl\Timer.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\timer\sdl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\timer\sdl\Timer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\timer\sdl\wrap_Timer.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\timer\sdl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\timer\sdl\wrap_Timer.h"
-				>
-			</File>
-		</Filter>
-	</Files>
+
+{FILES}
+	
 	<Globals>
 	<Globals>
 	</Globals>
 	</Globals>
 </VisualStudioProject>
 </VisualStudioProject>

+ 40 - 47
platform/msvc2008/mouse/mouse.vcproj → platform/msvc2008/mouse.vcproj

@@ -3,7 +3,7 @@
 	ProjectType="Visual C++"
 	ProjectType="Visual C++"
 	Version="9,00"
 	Version="9,00"
 	Name="mouse"
 	Name="mouse"
-	ProjectGUID="{88881251-6818-485E-A262-DE1283096589}"
+	ProjectGUID="{B4EC48F6-808C-7CD7-CA18-0A165EC7ED2C}"
 	RootNamespace="mouse"
 	RootNamespace="mouse"
 	Keyword="Win32Proj"
 	Keyword="Win32Proj"
 	TargetFrameworkVersion="196613"
 	TargetFrameworkVersion="196613"
@@ -41,7 +41,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MOUSE_EXPORTS"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;MOUSE_EXPORTS"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -64,7 +64,7 @@
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="2"
 				SubSystem="2"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -118,8 +118,9 @@
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="2"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				EnableIntrinsicFunctions="true"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MOUSE_EXPORTS"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MOUSE_EXPORTS"
-				RuntimeLibrary="2"
+				RuntimeLibrary="0"
 				EnableFunctionLevelLinking="true"
 				EnableFunctionLevelLinking="true"
 				UsePrecompiledHeader="0"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
 				WarningLevel="3"
@@ -136,8 +137,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="1"
 				LinkIncremental="1"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				SubSystem="2"
 				OptimizeReferences="2"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				EnableCOMDATFolding="2"
@@ -168,48 +171,38 @@
 	</Configurations>
 	</Configurations>
 	<References>
 	<References>
 	</References>
 	</References>
-	<Files>
-		<Filter
-			Name="sdl"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\mouse\sdl\Mouse.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\mouse\sdlmouse\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\mouse\sdl\Mouse.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\mouse\sdl\wrap_Mouse.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\mouse\sdlmouse\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\mouse\sdl\wrap_Mouse.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\mouse\Mouse.h"
-			>
-		</File>
-	</Files>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\mouse\Mouse.h">
+</File>
+
+<Filter Name="sdl">
+<File RelativePath="..\..\src\modules\mouse\sdl\Mouse.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\mouse\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\mouse\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\mouse\sdl\Mouse.h">
+</File>
+<File RelativePath="..\..\src\modules\mouse\sdl\wrap_Mouse.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\mouse\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\mouse\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\mouse\sdl\wrap_Mouse.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
 	<Globals>
 	<Globals>
 	</Globals>
 	</Globals>
 </VisualStudioProject>
 </VisualStudioProject>

+ 216 - 0
platform/msvc2008/native.vcproj

@@ -0,0 +1,216 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="native"
+	ProjectGUID="{612C0914-1557-E6DD-6619-362F6026A67F}"
+	RootNamespace="native"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;NATIVE_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;NATIVE_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+
+<Filter Name="tcc">
+<File RelativePath="..\..\src\modules\native\tcc\api.c">
+</File>
+<File RelativePath="..\..\src\modules\native\tcc\api.h">
+</File>
+<File RelativePath="..\..\src\modules\native\tcc\Native.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\native\tcc\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\native\tcc\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\native\tcc\Native.h">
+</File>
+<File RelativePath="..\..\src\modules\native\tcc\wrap_Native.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\native\tcc\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\native\tcc\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\native\tcc\wrap_Native.h">
+</File>
+
+<Filter Name="libtcc">
+<File RelativePath="..\..\src\modules\native\tcc\libtcc\libtcc.c">
+</File>
+</Filter>
+
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 244
platform/msvc2008/native/native.vcproj

@@ -1,244 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="native"
-	ProjectGUID="{CCAD89EC-2C3C-4F69-BF71-D9DA230FE109}"
-	RootNamespace="native"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS;_CRT_SECURE_NO_WARNINGS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="lua5.1.lib SDL.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;EVENT_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="tcc"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\native\tcc\api.c"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\native\tcc\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\native\tcc\api.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\native\tcc\Native.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\native\tcc\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\native\tcc\Native.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\native\tcc\wrap_Native.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\native\tcc\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\native\tcc\wrap_Native.h"
-				>
-			</File>
-			<Filter
-				Name="libtcc"
-				>
-				<File
-					RelativePath="..\..\..\src\modules\native\tcc\libtcc\libtcc.c"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\native\tcc\libtcc\"
-							WarningLevel="0"
-						/>
-					</FileConfiguration>
-				</File>
-			</Filter>
-		</Filter>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 826 - 0
platform/msvc2008/physics.vcproj

@@ -0,0 +1,826 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="physics"
+	ProjectGUID="{5CA04389-C0CB-F277-0E5E-3B80F8B63F83}"
+	RootNamespace="physics"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PHYSICS_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;PHYSICS_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\physics\Joint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\Shape.h">
+</File>
+
+<Filter Name="box2d">
+<File RelativePath="..\..\src\modules\physics\box2d\Body.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Body.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\CircleShape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\CircleShape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Contact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Contact.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\DistanceJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\DistanceJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\GearJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\GearJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Joint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Joint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\MouseJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\MouseJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Physics.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Physics.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\PolygonShape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\PolygonShape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\PrismaticJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\PrismaticJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\PulleyJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\PulleyJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\RevoluteJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\RevoluteJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Shape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Shape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\World.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\World.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Body.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Body.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_CircleShape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_CircleShape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Contact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Contact.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_DistanceJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_DistanceJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_GearJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_GearJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Joint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Joint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_MouseJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_MouseJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Physics.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Physics.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_PolygonShape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_PolygonShape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_PrismaticJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_PrismaticJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_PulleyJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_PulleyJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_RevoluteJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_RevoluteJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Shape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_Shape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_World.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\wrap_World.h">
+</File>
+
+<Filter Name="Include">
+<File RelativePath="..\..\src\modules\physics\box2d\Include\Box2D.h">
+</File>
+</Filter>
+
+
+<Filter Name="Source">
+
+<Filter Name="Dynamics">
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2Body.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2Body.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2ContactManager.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2ContactManager.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2Island.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2Island.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2World.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2World.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2WorldCallbacks.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\b2WorldCallbacks.h">
+</File>
+
+<Filter Name="Joints">
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2DistanceJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2DistanceJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2GearJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2GearJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2Joint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2Joint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2MouseJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2MouseJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2PrismaticJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2PrismaticJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2PulleyJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2PulleyJoint.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2RevoluteJoint.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Joints\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2RevoluteJoint.h">
+</File>
+</Filter>
+
+
+<Filter Name="Contacts">
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2CircleContact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2CircleContact.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2Contact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2Contact.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2ContactSolver.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2ContactSolver.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2NullContact.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2PolyAndCircleContact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2PolyAndCircleContact.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2PolyContact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Dynamics\Contacts\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2PolyContact.h">
+</File>
+</Filter>
+
+</Filter>
+
+
+<Filter Name="Collision">
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2BroadPhase.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2BroadPhase.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2CollideCircle.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2CollidePoly.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2Collision.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2Collision.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2Distance.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2PairManager.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2PairManager.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\b2TimeOfImpact.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\" />
+</FileConfiguration>
+</File>
+
+<Filter Name="Shapes">
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2CircleShape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\Shapes\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\Shapes\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2CircleShape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2PolygonShape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\Shapes\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\Shapes\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2PolygonShape.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2Shape.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\Shapes\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Collision\Shapes\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2Shape.h">
+</File>
+</Filter>
+
+</Filter>
+
+
+<Filter Name="Common">
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2BlockAllocator.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2BlockAllocator.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2Math.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2Math.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2Settings.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2Settings.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2StackAllocator.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\Source\Common\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\b2StackAllocator.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\Fixed.h">
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\Source\Common\jtypes.h">
+</File>
+</Filter>
+
+</Filter>
+
+
+<Filter Name="graham">
+<File RelativePath="..\..\src\modules\physics\box2d\graham\GrahamScanConvexHull.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\graham\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\physics\box2d\graham\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\physics\box2d\graham\GrahamScanConvexHull.h">
+</File>
+</Filter>
+
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 1031
platform/msvc2008/physics/physics.vcproj

@@ -1,1031 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="physics"
-	ProjectGUID="{39CDF8C8-016D-423E-94BA-7DD798CF0E15}"
-	RootNamespace="physics"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PHYSICS_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="lua5.1.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;PHYSICS_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="box2d"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Body.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Body.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\CircleShape.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\CircleShape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Contact.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Contact.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\DistanceJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\DistanceJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\GearJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\GearJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Joint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Joint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\MouseJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\MouseJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Physics.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Physics.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\PolygonShape.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\PolygonShape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\PrismaticJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\PrismaticJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\PulleyJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\PulleyJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\RevoluteJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\RevoluteJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Shape.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\Shape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\World.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\World.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Body.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Body.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_CircleShape.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_CircleShape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Contact.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Contact.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_DistanceJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_DistanceJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_GearJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_GearJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Joint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Joint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_MouseJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_MouseJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Physics.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Physics.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_PolygonShape.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_PolygonShape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_PrismaticJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_PrismaticJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_PulleyJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_PulleyJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_RevoluteJoint.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_RevoluteJoint.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Shape.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_Shape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_World.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\physics\box2d\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\physics\box2d\wrap_World.h"
-				>
-			</File>
-			<Filter
-				Name="lib"
-				>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Common\b2BlockAllocator.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\b2Body.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2BroadPhase.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2CircleContact.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2CircleShape.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2CollideCircle.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2CollidePoly.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2Collision.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2Contact.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\b2ContactManager.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2ContactSolver.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2Distance.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2DistanceJoint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2GearJoint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\b2Island.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2Joint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Common\b2Math.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2MouseJoint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2PairManager.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2PolyAndCircleContact.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Contacts\b2PolyContact.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2PolygonShape.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2PrismaticJoint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2PulleyJoint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\Joints\b2RevoluteJoint.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Common\b2Settings.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\Shapes\b2Shape.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Common\b2StackAllocator.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Collision\b2TimeOfImpact.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\b2World.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\Source\Dynamics\b2WorldCallbacks.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\lib\"
-						/>
-					</FileConfiguration>
-				</File>
-			</Filter>
-			<Filter
-				Name="graham"
-				>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\graham\GrahamScanConvexHull.cpp"
-					>
-					<FileConfiguration
-						Name="Debug|Win32"
-						>
-						<Tool
-							Name="VCCLCompilerTool"
-							ObjectFile="$(IntDir)\physics\box2d\graham\"
-						/>
-					</FileConfiguration>
-				</File>
-				<File
-					RelativePath="..\..\..\src\modules\physics\box2d\graham\GrahamScanConvexHull.h"
-					>
-				</File>
-			</Filter>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\physics\Joint.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\physics\Shape.h"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 298 - 0
platform/msvc2008/sound.vcproj

@@ -0,0 +1,298 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="9,00"
+	Name="sound"
+	ProjectGUID="{61A24CAA-E555-9976-C4F9-E6BB0944419E}"
+	RootNamespace="sound"
+	Keyword="Win32Proj"
+	TargetFrameworkVersion="196613"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="1"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="4"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib libmodplug.lib libmpg123.lib libogg.lib libvorbis.lib libvorbisfile.lib libFLAC_static.lib libFLAC++_static.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="lib"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			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"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS"
+				RuntimeLibrary="0"
+				EnableFunctionLevelLinking="true"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib libmodplug.lib libmpg123.lib libogg.lib libvorbis.lib libvorbisfile.lib libFLAC_static.lib libFLAC++_static.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
+				LinkIncremental="1"
+				GenerateDebugInformation="false"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+
+<!-- Generated stuff begins -->
+<Files>
+<File RelativePath="..\..\src\modules\sound\Decoder.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\Sound.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\SoundData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\SoundData.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\wrap_Decoder.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\wrap_Decoder.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\wrap_Sound.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\wrap_Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\wrap_SoundData.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\wrap_SoundData.h">
+</File>
+
+<Filter Name="lullaby">
+<File RelativePath="..\..\src\modules\sound\lullaby\Decoder.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\Decoder.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\FLACDecoder.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\FLACDecoder.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\ModPlugDecoder.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\ModPlugDecoder.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\Mpg123Decoder.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\Mpg123Decoder.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\Sound.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\Sound.h">
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\VorbisDecoder.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\sound\lullaby\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\sound\lullaby\VorbisDecoder.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
+	<Globals>
+	</Globals>
+</VisualStudioProject>

+ 0 - 359
platform/msvc2008/sound/sound.vcproj

@@ -1,359 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="9,00"
-	Name="sound"
-	ProjectGUID="{3D59D1E2-2682-4317-BB8D-D85E9BBC02E3}"
-	RootNamespace="sound"
-	Keyword="Win32Proj"
-	TargetFrameworkVersion="196613"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SOUND_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="1"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="libmodplug.lib libmpg123.lib libogg.lib libvorbis.lib libvorbisfile.lib libFLAC_static_d.lib libFLAC++_static_d.lib"
-				OutputFile="$(OutDir)\love\$(ProjectName).dll"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			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;_WINDOWS;_USRDLL;SOUND_EXPORTS"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="true"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="lullaby"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\Decoder.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\sound\lullaby\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\Decoder.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\FLACDecoder.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\sound\lullaby\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\FLACDecoder.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\ModPlugDecoder.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\sound\lullaby\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\ModPlugDecoder.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\Mpg123Decoder.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\sound\lullaby\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\Mpg123Decoder.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\Sound.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\sound\lullaby\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\Sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\VorbisDecoder.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\sound\lullaby\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\sound\lullaby\VorbisDecoder.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\sound\Decoder.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\Sound.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\sound\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\Sound.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\SoundData.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\sound\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\SoundData.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\wrap_Decoder.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\sound\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\wrap_Decoder.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\wrap_Sound.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\sound\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\wrap_Sound.h"
-			>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\wrap_SoundData.cpp"
-			>
-			<FileConfiguration
-				Name="Debug|Win32"
-				>
-				<Tool
-					Name="VCCLCompilerTool"
-					ObjectFile="$(IntDir)\sound\"
-				/>
-			</FileConfiguration>
-		</File>
-		<File
-			RelativePath="..\..\..\src\modules\sound\wrap_SoundData.h"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

+ 42 - 51
platform/msvc2008/joystick/joystick.vcproj → platform/msvc2008/timer.vcproj

@@ -2,9 +2,9 @@
 <VisualStudioProject
 <VisualStudioProject
 	ProjectType="Visual C++"
 	ProjectType="Visual C++"
 	Version="9,00"
 	Version="9,00"
-	Name="joystick"
-	ProjectGUID="{C6C174AC-B339-4A39-A353-CFF523327B53}"
-	RootNamespace="joystick"
+	Name="timer"
+	ProjectGUID="{D6FB3DE4-3542-86A3-F68F-EB29126DCC1D}"
+	RootNamespace="timer"
 	Keyword="Win32Proj"
 	Keyword="Win32Proj"
 	TargetFrameworkVersion="196613"
 	TargetFrameworkVersion="196613"
 	>
 	>
@@ -41,8 +41,8 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories="../include;../../../src;../../../src/modules;../include/SDL"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;TIMER_EXPORTS"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
 				RuntimeLibrary="1"
@@ -64,7 +64,7 @@
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				AdditionalDependencies="lua5.1.lib SDL.lib"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="2"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\lib"
+				AdditionalLibraryDirectories="lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="2"
 				SubSystem="2"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -118,8 +118,9 @@
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="2"
 				Optimization="2"
 				EnableIntrinsicFunctions="true"
 				EnableIntrinsicFunctions="true"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;EVENT_EXPORTS"
-				RuntimeLibrary="2"
+				AdditionalIncludeDirectories="include;../../src;../../src/modules;include/SDL"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TIMER_EXPORTS"
+				RuntimeLibrary="0"
 				EnableFunctionLevelLinking="true"
 				EnableFunctionLevelLinking="true"
 				UsePrecompiledHeader="0"
 				UsePrecompiledHeader="0"
 				WarningLevel="3"
 				WarningLevel="3"
@@ -136,8 +137,10 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
+				AdditionalDependencies="lua5.1.lib SDL.lib"
+				OutputFile="$(OutDir)\love\$(ProjectName).dll"
 				LinkIncremental="1"
 				LinkIncremental="1"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				SubSystem="2"
 				OptimizeReferences="2"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				EnableCOMDATFolding="2"
@@ -168,48 +171,36 @@
 	</Configurations>
 	</Configurations>
 	<References>
 	<References>
 	</References>
 	</References>
-	<Files>
-		<Filter
-			Name="sdl"
-			>
-			<File
-				RelativePath="..\..\..\src\modules\joystick\sdl\Joystick.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\joystick\sdl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\joystick\sdl\Joystick.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\joystick\sdl\wrap_Joystick.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\joystick\sdl\"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\..\src\modules\joystick\sdl\wrap_Joystick.h"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath="..\..\..\src\modules\joystick\Joystick.h"
-			>
-		</File>
-	</Files>
+
+<!-- Generated stuff begins -->
+<Files>
+
+<Filter Name="sdl">
+<File RelativePath="..\..\src\modules\timer\sdl\Timer.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\timer\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\timer\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\timer\sdl\Timer.h">
+</File>
+<File RelativePath="..\..\src\modules\timer\sdl\wrap_Timer.cpp">
+<FileConfiguration Name="Debug|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\timer\sdl\" />
+</FileConfiguration>
+<FileConfiguration Name="Release|Win32">
+<Tool Name="VCCLCompilerTool" ObjectFile="$(IntDir)\modules\timer\sdl\" />
+</FileConfiguration>
+</File>
+<File RelativePath="..\..\src\modules\timer\sdl\wrap_Timer.h">
+</File>
+</Filter>
+
+</Files>
+<!-- Generated stuff ends -->
+	
 	<Globals>
 	<Globals>
 	</Globals>
 	</Globals>
 </VisualStudioProject>
 </VisualStudioProject>

+ 10 - 3
src/common/Data.h

@@ -27,23 +27,30 @@
 
 
 namespace love
 namespace love
 {	
 {	
+	/**
+	* This class is a simple abstraction over 
+	**/
 	class Data : public Object
 	class Data : public Object
 	{
 	{
 	public:
 	public:
 
 
+		/**
+		* Destructor.
+		**/
 		virtual ~Data() {};
 		virtual ~Data() {};
 
 
 		/**
 		/**
-		* Gets a pointer to the data.
+		* Gets a pointer to the data. This pointer will obviously not
+		* be valid if the Data object is destroyed.
 		**/
 		**/
 		virtual void * getData() const = 0 ;
 		virtual void * getData() const = 0 ;
 
 
 		/**
 		/**
-		* Gets the size of the data buffer.
+		* Gets the size of the Data in bytes.
 		**/
 		**/
 		virtual int getSize() const = 0;
 		virtual int getSize() const = 0;
 
 
 	}; // Data
 	}; // Data
 } // love
 } // love
 
 
-#endif // LOVE_DATA_H
+#endif // LOVE_DATA_H

+ 14 - 10
src/love.cpp

@@ -1,4 +1,12 @@
 /**
 /**
+* @mainpage LOVE
+* @section sec-intro Introduction
+* 
+* LOVE is a free 2D game "engine" which allows you to create games in 
+* Lua primarily, but increasingly in C as well.
+* 
+* @section sec-license License
+* 
 * Copyright (c) 2006-2009 LOVE Development Team
 * Copyright (c) 2006-2009 LOVE Development Team
 * 
 * 
 * This software is provided 'as-is', without any express or implied
 * This software is provided 'as-is', without any express or implied
@@ -9,13 +17,13 @@
 * including commercial applications, and to alter it and redistribute it
 * including commercial applications, and to alter it and redistribute it
 * freely, subject to the following restrictions:
 * freely, subject to the following restrictions:
 * 
 * 
-* 1. The origin of this software must not be misrepresented; you must not
+* -# The origin of this software must not be misrepresented; you must not
 *    claim that you wrote the original software. If you use this software
 *    claim that you wrote the original software. If you use this software
 *    in a product, an acknowledgment in the product documentation would be
 *    in a product, an acknowledgment in the product documentation would be
 *    appreciated but is not required.
 *    appreciated but is not required.
-* 2. Altered source versions must be plainly marked as such, and must not be
+* -# Altered source versions must be plainly marked as such, and must not be
 *    misrepresented as being the original software.
 *    misrepresented as being the original software.
-* 3. This notice may not be removed or altered from any source distribution.
+* -# This notice may not be removed or altered from any source distribution.
 **/
 **/
 
 
 // SDL
 // SDL
@@ -100,17 +108,15 @@ int main(int argc, char ** argv)
 
 
 	luaopen_love(L);	
 	luaopen_love(L);	
 
 
-	// Add command line arguments to love.__args
+	// Add command line arguments to global arg (like stand-alone Lua).
 	{
 	{
-		lua_getglobal(L, "love");
 		lua_newtable(L);
 		lua_newtable(L);
 		for(int i = 0;i<argc;i++)
 		for(int i = 0;i<argc;i++)
 		{
 		{
 			lua_pushstring(L, argv[i]);
 			lua_pushstring(L, argv[i]);
 			lua_rawseti(L, -2, i);
 			lua_rawseti(L, -2, i);
 		}
 		}
-		lua_setfield(L, -2, "_args");
-		lua_pop(L, 1);
+		lua_setglobal(L, "arg");
 	}
 	}
 
 
 	// Add love.__exe = true.
 	// Add love.__exe = true.
@@ -127,9 +133,7 @@ int main(int argc, char ** argv)
 	// This is where we should run the built-in Lua code
 	// This is where we should run the built-in Lua code
 	// which gets everything started.
 	// which gets everything started.
 
 
-	// TODO: This is obviously test code.
-	luaL_dofile(L, "../../src/scripts/boot.lua");
-//#	include "scripts/boot.lua.h"
+#	include "scripts/boot.lua.h"
 
 
 	lua_close(L);
 	lua_close(L);
 
 

+ 0 - 78
src/modules/event/signal/Event.cpp

@@ -1,78 +0,0 @@
-/**
-* Copyright (c) 2006-2009 LOVE Development Team
-* 
-* This software is provided 'as-is', without any express or implied
-* warranty.  In no event will the authors be held liable for any damages
-* arising from the use of this software.
-* 
-* Permission is granted to anyone to use this software for any purpose,
-* including commercial applications, and to alter it and redistribute it
-* freely, subject to the following restrictions:
-* 
-* 1. The origin of this software must not be misrepresented; you must not
-*    claim that you wrote the original software. If you use this software
-*    in a product, an acknowledgment in the product documentation would be
-*    appreciated but is not required.
-* 2. Altered source versions must be plainly marked as such, and must not be
-*    misrepresented as being the original software.
-* 3. This notice may not be removed or altered from any source distribution.
-**/
-
-#include "Event.h"
-
-namespace love
-{
-namespace event
-{
-namespace signal
-{
-
-	Event::Event()
-		: signals(0)
-	{
-		cb = 0;
-	}
-	
-	Event::~Event()
-	{
-		::signal(signals, SIG_DFL);
-	}
-	
-	bool Event::registerSignal(int sgn)
-	{
-		signals |= sgn;
-		return ::signal(sgn, (void (*)(int)) &handler) != SIG_ERR;
-	}
-	
-	void Event::setCallback(lua_State *L)
-	{
-		luax_assert_argc(L, 1, 1);
-		luax_assert_function(L, -1);
-
-		if(cb != 0)
-		{
-			delete cb;
-			cb = 0;
-		}
-
-		cb = new Reference(L);
-	}
-	
-	void handler(int signal)
-	{
-		if (cb == 0)
-			return;
-		lua_State *L = cb->getL();
-		cb->push();
-		lua_pushnumber(L, signal);
-		lua_call(L, 1, 0);
-	}
-	
-	const char * Event::getName() const
-	{
-		return "love.event.signal";
-	}
-
-} // signal
-} // event
-} // love

+ 0 - 57
src/modules/event/signal/Event.h

@@ -1,57 +0,0 @@
-/**
-* Copyright (c) 2006-2009 LOVE Development Team
-* 
-* This software is provided 'as-is', without any express or implied
-* warranty.  In no event will the authors be held liable for any damages
-* arising from the use of this software.
-* 
-* Permission is granted to anyone to use this software for any purpose,
-* including commercial applications, and to alter it and redistribute it
-* freely, subject to the following restrictions:
-* 
-* 1. The origin of this software must not be misrepresented; you must not
-*    claim that you wrote the original software. If you use this software
-*    in a product, an acknowledgment in the product documentation would be
-*    appreciated but is not required.
-* 2. Altered source versions must be plainly marked as such, and must not be
-*    misrepresented as being the original software.
-* 3. This notice may not be removed or altered from any source distribution.
-**/
-
-#ifndef LOVE_EVENT_SIGNAL_EVENT_H
-#define LOVE_EVENT_SIGNAL_EVENT_H
-
-// LOVE
-#include <event/Event.h>
-#include <common/runtime.h>
-#include <common/Reference.h>
-
-#include <signal.h>
-
-namespace love
-{
-namespace event
-{
-namespace signal
-{
-	class Event : public event::Event
-	{
-		private:
-			int signals;
-			
-		public:
-			Event();
-			~Event();
-			bool registerSignal(int sgn);
-			void setCallback(lua_State *L);
-			const char * getName() const;
-	};
-	
-	void handler(int signal);
-	static Reference *cb;
-
-} // signal
-} // event
-} // love
-
-#endif // LOVE_EVENT_SIGNAL_EVENT_H

+ 0 - 78
src/modules/event/signal/wrap_Event.cpp

@@ -1,78 +0,0 @@
-/**
-* Copyright (c) 2006-2009 LOVE Development Team
-* 
-* This software is provided 'as-is', without any express or implied
-* warranty.  In no event will the authors be held liable for any damages
-* arising from the use of this software.
-* 
-* Permission is granted to anyone to use this software for any purpose,
-* including commercial applications, and to alter it and redistribute it
-* freely, subject to the following restrictions:
-* 
-* 1. The origin of this software must not be misrepresented; you must not
-*    claim that you wrote the original software. If you use this software
-*    in a product, an acknowledgment in the product documentation would be
-*    appreciated but is not required.
-* 2. Altered source versions must be plainly marked as such, and must not be
-*    misrepresented as being the original software.
-* 3. This notice may not be removed or altered from any source distribution.
-**/
-
-#include "wrap_Event.h"
-
-// LOVE
-#include <common/runtime.h>
-
-#include "Event.h"
-
-namespace love
-{
-namespace event
-{
-namespace signal
-{
-	static Event * instance = 0;
-	
-	int _wrap_registerSignal(lua_State *L)
-	{
-		luaL_argcheck(L, lua_isnumber(L, 1), 1, "Expected number");
-		lua_pushboolean(L, instance->registerSignal(lua_tonumber(L, 1)));
-		return 1;
-	}
-	
-	int _wrap_setCallback(lua_State *L)
-	{
-		luaL_argcheck(L, lua_isfunction(L, 1), 1, "Expected function");
-		instance->setCallback(L);
-		return 0;
-	}
-
-	// List of functions to wrap.
-	static const luaL_Reg wrap_Event_signal_functions[] = {
-		{ "registerSignal", _wrap_registerSignal },
-		{ "setCallback", _wrap_setCallback }, 
-		{ 0, 0 }
-	};
-
-	int wrap_Event_signal_open(lua_State * L)
-	{
-		if(instance == 0)
-		{
-			try 
-			{
-				instance = new Event();
-			} 
-			catch(Exception & e)
-			{
-				return luaL_error(L, e.what());
-			}
-		}
-
-		luax_register_gc(L, "love.event.signal", instance);
-
-		return luax_register_module(L, wrap_Event_signal_functions, 0);
-	}
-
-} // signal
-} // event
-} // love

+ 0 - 42
src/modules/event/signal/wrap_Event.h

@@ -1,42 +0,0 @@
-/**
-* Copyright (c) 2006-2009 LOVE Development Team
-* 
-* This software is provided 'as-is', without any express or implied
-* warranty.  In no event will the authors be held liable for any damages
-* arising from the use of this software.
-* 
-* Permission is granted to anyone to use this software for any purpose,
-* including commercial applications, and to alter it and redistribute it
-* freely, subject to the following restrictions:
-* 
-* 1. The origin of this software must not be misrepresented; you must not
-*    claim that you wrote the original software. If you use this software
-*    in a product, an acknowledgment in the product documentation would be
-*    appreciated but is not required.
-* 2. Altered source versions must be plainly marked as such, and must not be
-*    misrepresented as being the original software.
-* 3. This notice may not be removed or altered from any source distribution.
-**/
-
-#ifndef LOVE_EVENT_SIGNAL_WRAP_EVENT_H
-#define LOVE_EVENT_SIGNAL_WRAP_EVENT_H
-
-// LOVE
-#include "Event.h"
-
-namespace love
-{
-namespace event
-{
-namespace signal
-{
-	int _wrap_registerSignal(lua_State *L);
-	int _wrap_setCallback(lua_State *L);
-
-	int wrap_Event_signal_open(lua_State * L);
-
-} // sdl
-} // event
-} // love
-
-#endif // LOVE_EVENT_SIGNAL_WRAP_EVENT_H

+ 240 - 224
src/scripts/boot.lua.h

@@ -10,246 +10,262 @@ static const unsigned char B1[]={
 116, 32,108,111,118,101, 32,116,104,101,110, 32,108,111,118,101, 32, 61, 32,123,
 116, 32,108,111,118,101, 32,116,104,101,110, 32,108,111,118,101, 32, 61, 32,123,
 125, 32,101,110,100, 13, 10, 13, 10, 45, 45, 32, 85,115,101,100, 32,102,111,114,
 125, 32,101,110,100, 13, 10, 13, 10, 45, 45, 32, 85,115,101,100, 32,102,111,114,
  32,115,101,116,117,112, 58, 13, 10,108,111,118,101, 46,112, 97,116,104, 32, 61,
  32,115,101,116,117,112, 58, 13, 10,108,111,118,101, 46,112, 97,116,104, 32, 61,
- 32,123,125, 13, 10, 13, 10, 45, 45, 32, 82,101,112,108, 97, 99,101, 32, 97,110,
-121, 32, 92, 32,119,105,116,104, 32, 47, 46, 13, 10,102,117,110, 99,116,105,111,
-110, 32,108,111,118,101, 46,112, 97,116,104, 46,110,111,114,109, 97,108,115,108,
- 97,115,104,101,115, 40,112, 41, 13, 10,  9,114,101,116,117,114,110, 32,115,116,
-114,105,110,103, 46,103,115,117, 98, 40,112, 44, 32, 34, 92, 92, 34, 44, 32, 34,
- 47, 34, 41, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 32, 77, 97,107,101,115,
- 32,115,117,114,101, 32,116,104,101,114,101, 32,105,115, 32, 97, 32,115,108, 97,
-115,104, 32, 97,116, 32,116,104,101, 32,101,110,100, 13, 10, 45, 45, 32,111,102,
- 32, 97, 32,112, 97,116,104, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,
-111,118,101, 46,112, 97,116,104, 46,101,110,100,115,108, 97,115,104, 40,112, 41,
- 13, 10,  9,105,102, 32,115,116,114,105,110,103, 46,115,117, 98, 40,112, 44, 32,
-115,116,114,105,110,103, 46,108,101,110, 40,112, 41, 45, 49, 41, 32,126, 61, 32,
- 34, 47, 34, 32,116,104,101,110, 13, 10,  9,  9,114,101,116,117,114,110, 32,112,
- 32, 46, 46, 32, 34, 47, 34, 13, 10,  9,101,108,115,101, 13, 10,  9,  9,114,101,
-116,117,114,110, 32,112, 13, 10,  9,101,110,100, 13, 10,101,110,100, 13, 10, 13,
- 10, 45, 45, 32, 67,104,101, 99,107,115, 32,119,104,101,116,104,101,114, 32, 97,
- 32,112, 97,116,104, 32,105,115, 32, 97, 98,115,111,108,117,116,101, 32,111,114,
- 32,110,111,116, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101,
- 46,112, 97,116,104, 46, 97, 98,115, 40,112, 41, 13, 10, 13, 10,  9,108,111, 99,
- 97,108, 32,116,109,112, 32, 61, 32,108,111,118,101, 46,112, 97,116,104, 46,110,
-111,114,109, 97,108,115,108, 97,115,104,101,115, 40,112, 41, 13, 10, 13, 10,  9,
- 45, 45, 32, 80, 97,116,104, 32,105,115, 32, 97, 98,115,111,108,117,116,101, 32,
-105,102, 32,105,116, 32,115,116, 97,114,116,115, 32,119,105,116,104, 32, 97, 32,
- 34, 47, 34, 46, 13, 10,  9,105,102, 32,115,116,114,105,110,103, 46,102,105,110,
-100, 40,116,109,112, 44, 32, 34, 47, 34, 41, 32, 61, 61, 32, 49, 32,116,104,101,
-110, 13, 10,  9,  9,114,101,116,117,114,110, 32,116,114,117,101, 13, 10,  9,101,
-110,100, 13, 10, 13, 10,  9, 45, 45, 32, 80, 97,116,104, 32,105,115, 32, 97, 98,
-115,111,108,117,116,101, 32,105,102, 32,105,116, 32,115,116, 97,114,116,115, 32,
-119,105,116,104, 32, 97, 32, 13, 10,  9, 45, 45, 32,108,101,116,116,101,114, 32,
-102,111,108,108,111,119,101,100, 32, 98,121, 32, 97, 32, 99,111,108,111,110, 46,
- 13, 10,  9,105,102, 32,115,116,114,105,110,103, 46,102,105,110,100, 40,116,109,
-112, 44, 32, 34, 37, 97, 58, 34, 41, 32, 61, 61, 32, 49, 32,116,104,101,110, 13,
- 10,  9,  9,114,101,116,117,114,110, 32,116,114,117,101, 13, 10,  9,101,110,100,
- 13, 10,  9, 13, 10,  9, 45, 45, 32, 82,101,108, 97,116,105,118,101, 46, 13, 10,
-  9,114,101,116,117,114,110, 32,102, 97,108,115,101, 13, 10, 13, 10,101,110,100,
- 13, 10, 13, 10, 45, 45, 32, 67,111,110,118,101,114,116,115, 32, 97,110,121, 32,
-112, 97,116,104, 32,105,110,116,111, 32, 97, 32,102,117,108,108, 32,112, 97,116,
-104, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,112, 97,
-116,104, 46,103,101,116,102,117,108,108, 40,112, 41, 13, 10, 13, 10,  9,105,102,
- 32,108,111,118,101, 46,112, 97,116,104, 46, 97, 98,115, 40,112, 41, 32,116,104,
-101,110, 13, 10,  9,  9,114,101,116,117,114,110, 32,108,111,118,101, 46,112, 97,
-116,104, 46,110,111,114,109, 97,108,115,108, 97,115,104,101,115, 40,112, 41, 13,
- 10,  9,101,110,100, 13, 10, 13, 10,  9,108,111, 99, 97,108, 32, 99,119,100, 32,
- 61, 32,108,111,118,101, 46,102,105,108,101,115,121,115,116,101,109, 46,103,101,
-116, 87,111,114,107,105,110,103, 68,105,114,101, 99,116,111,114,121, 40, 41, 13,
- 10,  9, 99,119,100, 32, 61, 32,108,111,118,101, 46,112, 97,116,104, 46,110,111,
-114,109, 97,108,115,108, 97,115,104,101,115, 40, 99,119,100, 41, 13, 10,  9, 99,
-119,100, 32, 61, 32,108,111,118,101, 46,112, 97,116,104, 46,101,110,100,115,108,
- 97,115,104, 40, 99,119,100, 41, 13, 10,  9, 13, 10,  9, 45, 45, 32, 67,111,110,
-115,116,114,117, 99,116, 32, 97, 32,102,117,108,108, 32,112, 97,116,104, 46, 13,
- 10,  9,114,101,116,117,114,110, 32, 99,119,100, 32, 46, 46, 32,108,111,118,101,
- 46,112, 97,116,104, 46,110,111,114,109, 97,108,115,108, 97,115,104,101,115, 40,
-112, 41, 13, 10, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 32, 82,101,116,117,
-114,110,115, 32,116,104,101, 32,108,101, 97,102, 32,111,102, 32, 97, 32,102,117,
-108,108, 32,112, 97,116,104, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,
-111,118,101, 46,112, 97,116,104, 46,108,101, 97,102, 40,112, 41, 13, 10, 13, 10,
-101,110,100, 13, 10, 13, 10, 45, 45, 32, 83,116, 97,110,100, 97,114,100, 32, 99,
- 97,108,108, 98, 97, 99,107, 32,104, 97,110,100,108,101,114,115, 46, 13, 10,108,
-111,118,101, 46,104, 97,110,100,108,101,114,115, 32, 61, 32,123, 13, 10,  9, 91,
-108,111,118,101, 46,101,118,101,110,116, 95,107,101,121,112,114,101,115,115,101,
-100, 93, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40, 98, 44, 32,117, 41,
- 13, 10,  9,  9,105,102, 32,108,111,118,101, 46,107,101,121,112,114,101,115,115,
-101,100, 32,116,104,101,110, 32,108,111,118,101, 46,107,101,121,112,114,101,115,
-115,101,100, 40, 98, 44, 32,117, 41, 32,101,110,100, 13, 10,  9,101,110,100, 44,
- 13, 10,  9, 91,108,111,118,101, 46,101,118,101,110,116, 95,107,101,121,114,101,
-108,101, 97,115,101,100, 93, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,
- 98, 41, 13, 10,  9,  9,105,102, 32,108,111,118,101, 46,107,101,121,114,101,108,
-101, 97,115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,107,101,121,114,
-101,108,101, 97,115,101,100, 40, 98, 41, 32,101,110,100, 13, 10,  9,101,110,100,
- 44, 13, 10,  9, 91,108,111,118,101, 46,101,118,101,110,116, 95,109,111,117,115,
-101,112,114,101,115,115,101,100, 93, 32, 61, 32,102,117,110, 99,116,105,111,110,
- 32, 40,120, 44,121, 44, 98, 41, 13, 10,  9,  9,105,102, 32,108,111,118,101, 46,
-109,111,117,115,101,112,114,101,115,115,101,100, 32,116,104,101,110, 32,108,111,
-118,101, 46,109,111,117,115,101,112,114,101,115,115,101,100, 40,120, 44,121, 44,
- 98, 41, 32,101,110,100, 13, 10,  9,101,110,100, 44, 13, 10,  9, 91,108,111,118,
-101, 46,101,118,101,110,116, 95,109,111,117,115,101,114,101,108,101, 97,115,101,
+ 32,123,125, 13, 10,108,111,118,101, 46, 97,114,103, 32, 61, 32,123,125, 13, 10,
+ 13, 10, 45, 45, 32, 82,101,112,108, 97, 99,101, 32, 97,110,121, 32, 92, 32,119,
+105,116,104, 32, 47, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,
+101, 46,112, 97,116,104, 46,110,111,114,109, 97,108,115,108, 97,115,104,101,115,
+ 40,112, 41, 13, 10,  9,114,101,116,117,114,110, 32,115,116,114,105,110,103, 46,
+103,115,117, 98, 40,112, 44, 32, 34, 92, 92, 34, 44, 32, 34, 47, 34, 41, 13, 10,
+101,110,100, 13, 10, 13, 10, 45, 45, 32, 77, 97,107,101,115, 32,115,117,114,101,
+ 32,116,104,101,114,101, 32,105,115, 32, 97, 32,115,108, 97,115,104, 32, 97,116,
+ 32,116,104,101, 32,101,110,100, 13, 10, 45, 45, 32,111,102, 32, 97, 32,112, 97,
+116,104, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,112,
+ 97,116,104, 46,101,110,100,115,108, 97,115,104, 40,112, 41, 13, 10,  9,105,102,
+ 32,115,116,114,105,110,103, 46,115,117, 98, 40,112, 44, 32,115,116,114,105,110,
+103, 46,108,101,110, 40,112, 41, 45, 49, 41, 32,126, 61, 32, 34, 47, 34, 32,116,
+104,101,110, 13, 10,  9,  9,114,101,116,117,114,110, 32,112, 32, 46, 46, 32, 34,
+ 47, 34, 13, 10,  9,101,108,115,101, 13, 10,  9,  9,114,101,116,117,114,110, 32,
+112, 13, 10,  9,101,110,100, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 32, 67,
+104,101, 99,107,115, 32,119,104,101,116,104,101,114, 32, 97, 32,112, 97,116,104,
+ 32,105,115, 32, 97, 98,115,111,108,117,116,101, 32,111,114, 32,110,111,116, 46,
+ 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,112, 97,116,104,
+ 46, 97, 98,115, 40,112, 41, 13, 10, 13, 10,  9,108,111, 99, 97,108, 32,116,109,
+112, 32, 61, 32,108,111,118,101, 46,112, 97,116,104, 46,110,111,114,109, 97,108,
+115,108, 97,115,104,101,115, 40,112, 41, 13, 10, 13, 10,  9, 45, 45, 32, 80, 97,
+116,104, 32,105,115, 32, 97, 98,115,111,108,117,116,101, 32,105,102, 32,105,116,
+ 32,115,116, 97,114,116,115, 32,119,105,116,104, 32, 97, 32, 34, 47, 34, 46, 13,
+ 10,  9,105,102, 32,115,116,114,105,110,103, 46,102,105,110,100, 40,116,109,112,
+ 44, 32, 34, 47, 34, 41, 32, 61, 61, 32, 49, 32,116,104,101,110, 13, 10,  9,  9,
+114,101,116,117,114,110, 32,116,114,117,101, 13, 10,  9,101,110,100, 13, 10, 13,
+ 10,  9, 45, 45, 32, 80, 97,116,104, 32,105,115, 32, 97, 98,115,111,108,117,116,
+101, 32,105,102, 32,105,116, 32,115,116, 97,114,116,115, 32,119,105,116,104, 32,
+ 97, 32, 13, 10,  9, 45, 45, 32,108,101,116,116,101,114, 32,102,111,108,108,111,
+119,101,100, 32, 98,121, 32, 97, 32, 99,111,108,111,110, 46, 13, 10,  9,105,102,
+ 32,115,116,114,105,110,103, 46,102,105,110,100, 40,116,109,112, 44, 32, 34, 37,
+ 97, 58, 34, 41, 32, 61, 61, 32, 49, 32,116,104,101,110, 13, 10,  9,  9,114,101,
+116,117,114,110, 32,116,114,117,101, 13, 10,  9,101,110,100, 13, 10,  9, 13, 10,
+  9, 45, 45, 32, 82,101,108, 97,116,105,118,101, 46, 13, 10,  9,114,101,116,117,
+114,110, 32,102, 97,108,115,101, 13, 10, 13, 10,101,110,100, 13, 10, 13, 10, 45,
+ 45, 32, 67,111,110,118,101,114,116,115, 32, 97,110,121, 32,112, 97,116,104, 32,
+105,110,116,111, 32, 97, 32,102,117,108,108, 32,112, 97,116,104, 46, 13, 10,102,
+117,110, 99,116,105,111,110, 32,108,111,118,101, 46,112, 97,116,104, 46,103,101,
+116,102,117,108,108, 40,112, 41, 13, 10, 13, 10,  9,105,102, 32,108,111,118,101,
+ 46,112, 97,116,104, 46, 97, 98,115, 40,112, 41, 32,116,104,101,110, 13, 10,  9,
+  9,114,101,116,117,114,110, 32,108,111,118,101, 46,112, 97,116,104, 46,110,111,
+114,109, 97,108,115,108, 97,115,104,101,115, 40,112, 41, 13, 10,  9,101,110,100,
+ 13, 10, 13, 10,  9,108,111, 99, 97,108, 32, 99,119,100, 32, 61, 32,108,111,118,
+101, 46,102,105,108,101,115,121,115,116,101,109, 46,103,101,116, 87,111,114,107,
+105,110,103, 68,105,114,101, 99,116,111,114,121, 40, 41, 13, 10,  9, 99,119,100,
+ 32, 61, 32,108,111,118,101, 46,112, 97,116,104, 46,110,111,114,109, 97,108,115,
+108, 97,115,104,101,115, 40, 99,119,100, 41, 13, 10,  9, 99,119,100, 32, 61, 32,
+108,111,118,101, 46,112, 97,116,104, 46,101,110,100,115,108, 97,115,104, 40, 99,
+119,100, 41, 13, 10,  9, 13, 10,  9, 45, 45, 32, 67,111,110,115,116,114,117, 99,
+116, 32, 97, 32,102,117,108,108, 32,112, 97,116,104, 46, 13, 10,  9,114,101,116,
+117,114,110, 32, 99,119,100, 32, 46, 46, 32,108,111,118,101, 46,112, 97,116,104,
+ 46,110,111,114,109, 97,108,115,108, 97,115,104,101,115, 40,112, 41, 13, 10, 13,
+ 10,101,110,100, 13, 10, 13, 10, 45, 45, 32, 82,101,116,117,114,110,115, 32,116,
+104,101, 32,108,101, 97,102, 32,111,102, 32, 97, 32,102,117,108,108, 32,112, 97,
+116,104, 46, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,112,
+ 97,116,104, 46,108,101, 97,102, 40,112, 41, 13, 10, 13, 10,101,110,100, 13, 10,
+ 13, 10, 45, 45, 32, 70,105,110,100,115, 32,116,104,101, 32,107,101,121, 32,105,
+110, 32,116,104,101, 32,116, 97, 98,108,101, 32,119,105,116,104, 32,116,104,101,
+ 32,108,111,119,101,115,116, 32,105,110,116,101,103,114, 97,108, 32,105,110,100,
+101,120, 46, 32, 84,104,101, 32,108,111,119,101,115,116, 32, 13, 10, 45, 45, 32,
+119,105,108,108, 32,116,121,112,105, 99, 97,108,108,121, 32,116,104,101, 32,101,
+120,101, 99,117,116, 97, 98,108,101, 44, 32,102,111,114, 32,105,110,115,116, 97,
+110, 99,101, 32, 34,108,117, 97, 53, 46, 49, 46,101,120,101, 34, 46, 13, 10,102,
+117,110, 99,116,105,111,110, 32,108,111,118,101, 46, 97,114,103, 46,103,101,116,
+ 76,111,119, 40, 97, 41, 13, 10,  9,108,111, 99, 97,108, 32,109, 32, 61, 32,109,
+ 97,116,104, 46,104,117,103,101, 13, 10,  9,102,111,114, 32,107, 44,118, 32,105,
+110, 32,112, 97,105,114,115, 40, 97, 41, 32,100,111, 13, 10,  9,  9,105,102, 32,
+107, 32, 60, 32,109, 32,116,104,101,110, 32, 13, 10,  9,  9,  9,109, 32, 61, 32,
+107, 13, 10,  9,  9,101,110,100, 13, 10,  9,101,110,100, 13, 10,  9,114,101,116,
+117,114,110, 32, 97, 91,109, 93, 13, 10,101,110,100, 13, 10, 13, 10,102,117,110,
+ 99,116,105,111,110, 32,108,111,118,101, 46, 99,114,101, 97,116,101,104, 97,110,
+100,108,101,114,115, 40, 41, 13, 10, 13, 10,  9, 45, 45, 32, 83,116, 97,110,100,
+ 97,114,100, 32, 99, 97,108,108, 98, 97, 99,107, 32,104, 97,110,100,108,101,114,
+115, 46, 13, 10,  9,108,111,118,101, 46,104, 97,110,100,108,101,114,115, 32, 61,
+ 32,123, 13, 10,  9,  9, 91,108,111,118,101, 46,101,118,101,110,116, 95,107,101,
+121,112,114,101,115,115,101,100, 93, 32, 61, 32,102,117,110, 99,116,105,111,110,
+ 32, 40, 98, 44, 32,117, 41, 13, 10,  9,  9,  9,105,102, 32,108,111,118,101, 46,
+107,101,121,112,114,101,115,115,101,100, 32,116,104,101,110, 32,108,111,118,101,
+ 46,107,101,121,112,114,101,115,115,101,100, 40, 98, 44, 32,117, 41, 32,101,110,
+100, 13, 10,  9,  9,101,110,100, 44, 13, 10,  9,  9, 91,108,111,118,101, 46,101,
+118,101,110,116, 95,107,101,121,114,101,108,101, 97,115,101,100, 93, 32, 61, 32,
+102,117,110, 99,116,105,111,110, 32, 40, 98, 41, 13, 10,  9,  9,  9,105,102, 32,
+108,111,118,101, 46,107,101,121,114,101,108,101, 97,115,101,100, 32,116,104,101,
+110, 32,108,111,118,101, 46,107,101,121,114,101,108,101, 97,115,101,100, 40, 98,
+ 41, 32,101,110,100, 13, 10,  9,  9,101,110,100, 44, 13, 10,  9,  9, 91,108,111,
+118,101, 46,101,118,101,110,116, 95,109,111,117,115,101,112,114,101,115,115,101,
 100, 93, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,120, 44,121, 44, 98,
 100, 93, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,120, 44,121, 44, 98,
- 41, 13, 10,  9,  9,105,102, 32,108,111,118,101, 46,109,111,117,115,101,114,101,
-108,101, 97,115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,109,111,117,
-115,101,114,101,108,101, 97,115,101,100, 40,120, 44,121, 44, 98, 41, 32,101,110,
-100, 13, 10,  9,101,110,100, 44, 13, 10,  9, 91,108,111,118,101, 46,101,118,101,
-110,116, 95,106,111,121,115,116,105, 99,107,112,114,101,115,115,101,100, 93, 32,
- 61, 32,102,117,110, 99,116,105,111,110, 32, 40,106, 44, 98, 41, 13, 10,  9,  9,
+ 41, 13, 10,  9,  9,  9,105,102, 32,108,111,118,101, 46,109,111,117,115,101,112,
+114,101,115,115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,109,111,117,
+115,101,112,114,101,115,115,101,100, 40,120, 44,121, 44, 98, 41, 32,101,110,100,
+ 13, 10,  9,  9,101,110,100, 44, 13, 10,  9,  9, 91,108,111,118,101, 46,101,118,
+101,110,116, 95,109,111,117,115,101,114,101,108,101, 97,115,101,100, 93, 32, 61,
+ 32,102,117,110, 99,116,105,111,110, 32, 40,120, 44,121, 44, 98, 41, 13, 10,  9,
+  9,  9,105,102, 32,108,111,118,101, 46,109,111,117,115,101,114,101,108,101, 97,
+115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,109,111,117,115,101,114,
+101,108,101, 97,115,101,100, 40,120, 44,121, 44, 98, 41, 32,101,110,100, 13, 10,
+  9,  9,101,110,100, 44, 13, 10,  9,  9, 91,108,111,118,101, 46,101,118,101,110,
+116, 95,106,111,121,115,116,105, 99,107,112,114,101,115,115,101,100, 93, 32, 61,
+ 32,102,117,110, 99,116,105,111,110, 32, 40,106, 44, 98, 41, 13, 10,  9,  9,  9,
 105,102, 32,108,111,118,101, 46,106,111,121,115,116,105, 99,107,112,114,101,115,
 105,102, 32,108,111,118,101, 46,106,111,121,115,116,105, 99,107,112,114,101,115,
 115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,106,111,121,115,116,105,
 115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,106,111,121,115,116,105,
  99,107,112,114,101,115,115,101,100, 40,106, 44, 98, 41, 32,101,110,100, 13, 10,
  99,107,112,114,101,115,115,101,100, 40,106, 44, 98, 41, 32,101,110,100, 13, 10,
-  9,101,110,100, 44, 13, 10,  9, 91,108,111,118,101, 46,101,118,101,110,116, 95,
-106,111,121,115,116,105, 99,107,114,101,108,101, 97,115,101,100, 93, 32, 61, 32,
-102,117,110, 99,116,105,111,110, 32, 40,106, 44, 98, 41, 13, 10,  9,  9,105,102,
- 32,108,111,118,101, 46,106,111,121,115,116,105, 99,107,114,101,108,101, 97,115,
-101,100, 32,116,104,101,110, 32,108,111,118,101, 46,106,111,121,115,116,105, 99,
-107,114,101,108,101, 97,115,101,100, 40,106, 44, 98, 41, 32,101,110,100, 13, 10,
-  9,101,110,100, 44, 13, 10,  9, 91,108,111,118,101, 46,101,118,101,110,116, 95,
-113,117,105,116, 93, 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40, 41, 13,
- 10,  9,  9,114,101,116,117,114,110, 13, 10,  9,101,110,100, 44, 13, 10,125, 13,
- 10, 13, 10, 45, 45, 32, 84,104,105,115, 32, 99, 97,110, 39,116, 32, 98,101, 32,
-111,118,101,114,114,105,100,101,110, 46, 32, 13, 10,102,117,110, 99,116,105,111,
-110, 32,108,111,118,101, 46, 98,111,111,116, 40, 41, 13, 10, 13, 10,  9,112,114,
-105,110,116, 40, 34, 98,111,111,116, 34, 41, 13, 10, 13, 10,  9, 45, 45, 32, 84,
-104,105,115, 32,105,115, 32, 97, 98,115,111,108,117,116,101,108,121, 32,110,101,
-101,100,101,100, 46, 32, 13, 10,  9,114,101,113,117,105,114,101, 40, 34,108,111,
-118,101, 46,102,105,108,101,115,121,115,116,101,109, 34, 41, 13, 10, 13, 10,  9,
- 45, 45, 32, 80,114,105,110,116,115, 32,116,104,101, 32, 97,114,103,117,109,101,
-110,116,115, 32,112, 97,115,115,101,115, 32,116,111, 32,116,104,101, 32, 97,112,
-112, 46, 13, 10,  9,105,102, 32,108,111,118,101, 46, 95, 95, 97,114,103,115, 32,
-116,104,101,110, 13, 10,  9,  9,102,111,114, 32,105, 44,118, 32,105,110, 32,112,
- 97,105,114,115, 40,108,111,118,101, 46, 95, 95, 97,114,103,115, 41, 32,100,111,
- 13, 10,  9,  9,  9,112,114,105,110,116, 40,105, 44,118, 41, 13, 10,  9,  9,101,
-110,100, 13, 10,  9,101,110,100,  9, 13, 10,  9, 13, 10,  9, 45, 45, 32, 83,101,
-116,115, 32,116,104,101, 32,115,111,117,114, 99,101, 32,102,111,114, 32,116,104,
-101, 32,103, 97,109,101, 46, 13, 10,  9,105,102, 32,108,111,118,101, 46, 95, 95,
- 97,114,103,115, 91, 49, 93, 32, 97,110,100, 32,108,111,118,101, 46, 95, 95, 97,
-114,103,115, 91, 49, 93, 32,126, 61, 32, 34, 34, 32,116,104,101,110, 13, 10,  9,
-  9,108,111,118,101, 46,102,105,108,101,115,121,115,116,101,109, 46,115,101,116,
- 83,111,117,114, 99,101, 40,108,111,118,101, 46,112, 97,116,104, 46,103,101,116,
-102,117,108,108, 40,108,111,118,101, 46, 95, 95, 97,114,103,115, 91, 49, 93, 41,
- 41, 13, 10,  9,101,110,100, 13, 10,  9, 13, 10,101,110,100, 13, 10, 13, 10,102,
-117,110, 99,116,105,111,110, 32,108,111,118,101, 46,105,110,105,116, 40, 41, 13,
- 10, 13, 10,  9, 45, 45, 32, 67,114,101, 97,116,101, 32,100,101,102, 97,117,108,
-116, 32, 99,111,110,102,105,103,117,114, 97,116,105,111,110, 32,115,101,116,116,
-105,110,103,115, 46, 13, 10,  9,108,111, 99, 97,108, 32, 99, 32, 61, 32,123, 13,
- 10,  9,  9,116,105,116,108,101, 32, 61, 32, 34, 85,110,116,105,116,108,101,100,
- 34, 44, 13, 10,  9,  9, 97,117,116,104,111,114, 32, 61, 32, 34, 85,110,110, 97,
-109,101,100, 34, 44, 13, 10,  9,  9,118,101,114,115,105,111,110, 32, 61, 32, 48,
- 44, 13, 10,  9,  9,115, 99,114,101,101,110, 32, 61, 32,123, 13, 10,  9,  9,  9,
-119,105,100,116,104, 32, 61, 32, 56, 48, 48, 44, 13, 10,  9,  9,  9,104,101,105,
-103,104,116, 32, 61, 32, 54, 48, 48, 44, 13, 10,  9,  9,  9,102,117,108,108,115,
- 99,114,101,101,110, 32, 61, 32,102, 97,108,115,101, 44, 13, 10,  9,  9,  9,118,
-115,121,110, 99, 32, 61, 32,116,114,117,101, 44, 13, 10,  9,  9,  9,102,115, 97,
- 97, 32, 61, 32, 48, 44, 13, 10,  9,  9,125, 44, 32, 13, 10,  9,  9,109,111,100,
-117,108,101,115, 32, 61, 32,123, 13, 10,  9,  9,  9,101,118,101,110,116, 32, 61,
- 32,116,114,117,101, 44, 13, 10,  9,  9,  9,107,101,121, 98,111, 97,114,100, 32,
- 61, 32,116,114,117,101, 44, 13, 10,  9,  9,  9,109,111,117,115,101, 32, 61, 32,
-116,114,117,101, 44, 13, 10,  9,  9,  9,116,105,109,101,114, 32, 61, 32,116,114,
-117,101, 44, 13, 10,  9,  9,  9,106,111,121,115,116,105, 99,107, 32, 61, 32,116,
-114,117,101, 44, 13, 10,  9,  9,  9,105,109, 97,103,101, 32, 61, 32,116,114,117,
-101, 44, 13, 10,  9,  9,  9,103,114, 97,112,104,105, 99,115, 32, 61, 32,116,114,
-117,101, 44, 13, 10,  9,  9,  9, 97,117,100,105,111, 32, 61, 32,116,114,117,101,
- 44, 13, 10,  9,  9,  9,112,104,121,115,105, 99,115, 32, 61, 32,116,114,117,101,
- 44, 13, 10,  9,  9,  9,115,111,117,110,100, 32, 61, 32,116,114,117,101, 44, 13,
- 10,  9,  9,  9,110, 97,116,105,118,101, 32, 61, 32,116,114,117,101, 44, 13, 10,
-  9,  9,  9,102,111,110,116, 32, 61, 32,116,114,117,101, 44, 13, 10,  9,  9,125,
- 44, 13, 10,  9,125, 13, 10, 13, 10,  9, 45, 45, 32, 73,102, 32, 99,111,110,102,
-105,103, 32,102,105,108,101, 32,101,120,105,115,116,115, 44, 32,108,111, 97,100,
- 32,105,116, 32, 97,110,100, 32, 97,108,108,111,119, 32,105,116, 32,116,111, 32,
-117,112,100, 97,116,101, 32, 99,111,110,102,105,103, 32,116, 97, 98,108,101, 46,
- 13, 10,  9,105,102, 32,108,111,118,101, 46,102,105,108,101,115,121,115,116,101,
-109, 46,101,120,105,115,116,115, 40, 34, 99,111,110,102, 46,108,117, 97, 34, 41,
- 32,116,104,101,110, 13, 10,  9,  9,114,101,113,117,105,114,101, 40, 34, 99,111,
-110,102, 46,108,117, 97, 34, 41, 13, 10,  9,  9,108,111,118,101, 46, 99,111,110,
-102, 40, 99, 41, 13, 10,  9,101,110,100, 13, 10,  9, 13, 10,  9, 45, 45, 32, 71,
-101,116,115, 32,100,101,115,105,114,101,100, 32,109,111,100,117,108,101,115, 46,
- 13, 10,  9,102,111,114, 32,107, 44,118, 32,105,110, 32,112, 97,105,114,115, 40,
- 99, 46,109,111,100,117,108,101,115, 41, 32,100,111, 13, 10,  9,  9,105,102, 32,
-118, 32,116,104,101,110, 13, 10,  9,  9,  9,114,101,113,117,105,114,101, 40, 34,
-108,111,118,101, 46, 34, 32, 46, 46, 32,107, 41, 13, 10,  9,  9,101,110,100, 13,
- 10,  9,101,110,100, 13, 10,  9, 13, 10,  9, 13, 10,  9, 45, 45, 32, 83,101,116,
-117,112, 32,115, 99,114,101,101,110, 32,104,101,114,101, 46, 13, 10,  9,105,102,
- 32, 99, 46,115, 99,114,101,101,110, 32, 97,110,100, 32, 99, 46,109,111,100,117,
-108,101,115, 46,103,114, 97,112,104,105, 99,115, 32,116,104,101,110, 32, 13, 10,
-  9,  9,105,102, 32,108,111,118,101, 46,103,114, 97,112,104,105, 99,115, 46, 99,
-104,101, 99,107, 77,111,100,101, 40, 99, 46,115, 99,114,101,101,110, 46,119,105,
-100,116,104, 44, 32, 99, 46,115, 99,114,101,101,110, 46,104,101,105,103,104,116,
- 44, 32, 99, 46,115, 99,114,101,101,110, 46,102,117,108,108,115, 99,114,101,101,
-110, 41, 32,116,104,101,110, 13, 10,  9,  9,  9,108,111,118,101, 46,103,114, 97,
-112,104,105, 99,115, 46,115,101,116, 77,111,100,101, 40, 99, 46,115, 99,114,101,
-101,110, 46,119,105,100,116,104, 44, 32, 99, 46,115, 99,114,101,101,110, 46,104,
-101,105,103,104,116, 44, 32, 99, 46,115, 99,114,101,101,110, 46,102,117,108,108,
-115, 99,114,101,101,110, 44, 32, 99, 46,115, 99,114,101,101,110, 46,118,115,121,
-110, 99, 44, 32, 99, 46,115, 99,114,101,101,110, 46,102,115, 97, 97, 41, 13, 10,
-  9,  9,101,110,100, 13, 10,  9,  9,108,111,118,101, 46,103,114, 97,112,104,105,
- 99,115, 46,115,101,116, 67, 97,112,116,105,111,110, 40, 99, 46,116,105,116,108,
-101, 41, 13, 10,  9,101,110,100, 13, 10,  9, 13, 10,  9,105,102, 32,108,111,118,
-101, 46,102,105,108,101,115,121,115,116,101,109, 46,101,120,105,115,116,115, 40,
- 34,109, 97,105,110, 46,108,117, 97, 34, 41, 32,116,104,101,110, 32,114,101,113,
-117,105,114,101, 40, 34,109, 97,105,110, 46,108,117, 97, 34, 41, 32,101,110,100,
- 13, 10,  9, 13, 10,101,110,100, 13, 10, 13, 10,102,117,110, 99,116,105,111,110,
- 32,108,111,118,101, 46,114,117,110, 40, 41, 13, 10, 13, 10,  9,105,102, 32,108,
-111,118,101, 46,108,111, 97,100, 32,116,104,101,110, 32,108,111,118,101, 46,108,
-111, 97,100, 40, 41, 32,101,110,100, 13, 10, 13, 10,  9, 45, 45, 32, 77, 97,105,
-110, 32,108,111,111,112, 32,116,105,109,101, 46, 13, 10,  9,119,104,105,108,101,
- 32,116,114,117,101, 32,100,111, 13, 10,  9,  9,108,111,118,101, 46,116,105,109,
-101,114, 46,115,116,101,112, 40, 41, 13, 10,  9,  9,105,102, 32,108,111,118,101,
- 46,117,112,100, 97,116,101, 32,116,104,101,110, 32,108,111,118,101, 46,117,112,
-100, 97,116,101, 40,108,111,118,101, 46,116,105,109,101,114, 46,103,101,116, 68,
-101,108,116, 97, 40, 41, 41, 32,101,110,100, 13, 10,  9,  9,108,111,118,101, 46,
-103,114, 97,112,104,105, 99,115, 46, 99,108,101, 97,114, 40, 41, 13, 10,  9,  9,
-105,102, 32,108,111,118,101, 46,100,114, 97,119, 32,116,104,101,110, 32,108,111,
-118,101, 46,100,114, 97,119, 40, 41, 32,101,110,100, 13, 10, 13, 10,  9,  9, 45,
- 45, 32, 80,114,111, 99,101,115,115, 32,101,118,101,110,116,115, 46, 13, 10,  9,
-  9,102,111,114, 32,101, 44, 97, 44, 98, 44, 99, 32,105,110, 32,108,111,118,101,
- 46,101,118,101,110,116, 46,112,111,108,108, 40, 41, 32,100,111, 13, 10,  9,  9,
-  9,105,102, 32,101, 32, 61, 61, 32,108,111,118,101, 46,101,118,101,110,116, 95,
-113,117,105,116, 32,116,104,101,110, 32,114,101,116,117,114,110, 32,101,110,100,
- 13, 10,  9,  9,  9,108,111,118,101, 46,104, 97,110,100,108,101,114,115, 91,101,
- 93, 40, 97, 44, 98, 44, 99, 41, 13, 10,  9,  9,101,110,100, 13, 10, 13, 10,  9,
-  9, 45, 45,108,111,118,101, 46,116,105,109,101,114, 46,115,108,101,101,112, 40,
- 49, 48, 41, 13, 10,  9,  9,108,111,118,101, 46,103,114, 97,112,104,105, 99,115,
- 46,112,114,101,115,101,110,116, 40, 41, 13, 10, 13, 10,  9,101,110,100, 13, 10,
- 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+  9,  9,101,110,100, 44, 13, 10,  9,  9, 91,108,111,118,101, 46,101,118,101,110,
+116, 95,106,111,121,115,116,105, 99,107,114,101,108,101, 97,115,101,100, 93, 32,
+ 61, 32,102,117,110, 99,116,105,111,110, 32, 40,106, 44, 98, 41, 13, 10,  9,  9,
+  9,105,102, 32,108,111,118,101, 46,106,111,121,115,116,105, 99,107,114,101,108,
+101, 97,115,101,100, 32,116,104,101,110, 32,108,111,118,101, 46,106,111,121,115,
+116,105, 99,107,114,101,108,101, 97,115,101,100, 40,106, 44, 98, 41, 32,101,110,
+100, 13, 10,  9,  9,101,110,100, 44, 13, 10,  9,  9, 91,108,111,118,101, 46,101,
+118,101,110,116, 95,113,117,105,116, 93, 32, 61, 32,102,117,110, 99,116,105,111,
+110, 32, 40, 41, 13, 10,  9,  9,  9,114,101,116,117,114,110, 13, 10,  9,  9,101,
+110,100, 44, 13, 10,  9,125, 13, 10, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45,
+ 32, 84,104,105,115, 32, 99, 97,110, 39,116, 32, 98,101, 32,111,118,101,114,114,
+105,100,101,110, 46, 32, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,
+101, 46, 98,111,111,116, 40, 41, 13, 10, 13, 10,  9,112,114,105,110,116, 40, 34,
+ 98,111,111,116, 34, 41, 13, 10, 13, 10,  9, 45, 45, 32, 84,104,105,115, 32,105,
+115, 32, 97, 98,115,111,108,117,116,101,108,121, 32,110,101,101,100,101,100, 46,
+ 32, 13, 10,  9,114,101,113,117,105,114,101, 40, 34,108,111,118,101, 46,102,105,
+108,101,115,121,115,116,101,109, 34, 41, 13, 10, 13, 10,  9,105,102, 32, 97,114,
+103, 32, 97,110,100, 32, 97,114,103, 91, 49, 93, 32,116,104,101,110, 13, 10,  9,
+  9,108,111,118,101, 46,102,105,108,101,115,121,115,116,101,109, 46,105,110,105,
+116, 40,108,111,118,101, 46,112, 97,116,104, 46,103,101,116,102,117,108,108, 40,
+108,111,118,101, 46, 97,114,103, 46,103,101,116, 76,111,119, 40, 97,114,103, 41,
+ 41, 41, 13, 10,  9,  9,108,111,118,101, 46,102,105,108,101,115,121,115,116,101,
+109, 46,115,101,116, 83,111,117,114, 99,101, 40,108,111,118,101, 46,112, 97,116,
+104, 46,103,101,116,102,117,108,108, 40, 97,114,103, 91, 49, 93, 41, 41, 13, 10,
+  9,101,108,115,101, 13, 10,  9,  9, 45, 45, 32, 68,111, 32,110,111,116, 32,115,
+101,116, 32, 97, 32,115,111,117,114, 99,101, 44, 32,108,111, 97,100, 32,116,104,
+101, 32,100,101,102, 97,117,108,116, 32,103, 97,109,101, 46, 13, 10,  9,  9,108,
+111,118,101, 46,100,101,102, 97,117,108,116,115, 99,114,101,101,110, 40, 41, 13,
+ 10,  9,101,110,100, 13, 10,  9, 13, 10,101,110,100, 13, 10, 13, 10,102,117,110,
+ 99,116,105,111,110, 32,108,111,118,101, 46,105,110,105,116, 40, 41, 13, 10, 13,
+ 10,  9, 45, 45, 32, 67,114,101, 97,116,101, 32,100,101,102, 97,117,108,116, 32,
+ 99,111,110,102,105,103,117,114, 97,116,105,111,110, 32,115,101,116,116,105,110,
+103,115, 46, 13, 10,  9,108,111, 99, 97,108, 32, 99, 32, 61, 32,123, 13, 10,  9,
+  9,116,105,116,108,101, 32, 61, 32, 34, 85,110,116,105,116,108,101,100, 34, 44,
+ 13, 10,  9,  9, 97,117,116,104,111,114, 32, 61, 32, 34, 85,110,110, 97,109,101,
+100, 34, 44, 13, 10,  9,  9,118,101,114,115,105,111,110, 32, 61, 32, 48, 44, 13,
+ 10,  9,  9,115, 99,114,101,101,110, 32, 61, 32,123, 13, 10,  9,  9,  9,119,105,
+100,116,104, 32, 61, 32, 56, 48, 48, 44, 13, 10,  9,  9,  9,104,101,105,103,104,
+116, 32, 61, 32, 54, 48, 48, 44, 13, 10,  9,  9,  9,102,117,108,108,115, 99,114,
+101,101,110, 32, 61, 32,102, 97,108,115,101, 44, 13, 10,  9,  9,  9,118,115,121,
+110, 99, 32, 61, 32,116,114,117,101, 44, 13, 10,  9,  9,  9,102,115, 97, 97, 32,
+ 61, 32, 48, 44, 13, 10,  9,  9,125, 44, 32, 13, 10,  9,  9,109,111,100,117,108,
+101,115, 32, 61, 32,123, 13, 10,  9,  9,  9,101,118,101,110,116, 32, 61, 32,116,
+114,117,101, 44, 13, 10,  9,  9,  9,107,101,121, 98,111, 97,114,100, 32, 61, 32,
+116,114,117,101, 44, 13, 10,  9,  9,  9,109,111,117,115,101, 32, 61, 32,116,114,
+117,101, 44, 13, 10,  9,  9,  9,116,105,109,101,114, 32, 61, 32,116,114,117,101,
+ 44, 13, 10,  9,  9,  9,106,111,121,115,116,105, 99,107, 32, 61, 32,116,114,117,
+101, 44, 13, 10,  9,  9,  9,105,109, 97,103,101, 32, 61, 32,116,114,117,101, 44,
+ 13, 10,  9,  9,  9,103,114, 97,112,104,105, 99,115, 32, 61, 32,116,114,117,101,
+ 44, 13, 10,  9,  9,  9, 97,117,100,105,111, 32, 61, 32,116,114,117,101, 44, 13,
+ 10,  9,  9,  9,112,104,121,115,105, 99,115, 32, 61, 32,116,114,117,101, 44, 13,
+ 10,  9,  9,  9,115,111,117,110,100, 32, 61, 32,116,114,117,101, 44, 13, 10,  9,
+  9,  9,110, 97,116,105,118,101, 32, 61, 32,116,114,117,101, 44, 13, 10,  9,  9,
+  9,102,111,110,116, 32, 61, 32,116,114,117,101, 44, 13, 10,  9,  9,125, 44, 13,
+ 10,  9,125, 13, 10, 13, 10,  9, 45, 45, 32, 73,102, 32, 99,111,110,102,105,103,
+ 32,102,105,108,101, 32,101,120,105,115,116,115, 44, 32,108,111, 97,100, 32,105,
+116, 32, 97,110,100, 32, 97,108,108,111,119, 32,105,116, 32,116,111, 32,117,112,
+100, 97,116,101, 32, 99,111,110,102,105,103, 32,116, 97, 98,108,101, 46, 13, 10,
+  9,105,102, 32,108,111,118,101, 46,102,105,108,101,115,121,115,116,101,109, 46,
+101,120,105,115,116,115, 40, 34, 99,111,110,102, 46,108,117, 97, 34, 41, 32,116,
+104,101,110, 13, 10,  9,  9,114,101,113,117,105,114,101, 40, 34, 99,111,110,102,
+ 46,108,117, 97, 34, 41, 13, 10,  9,  9,108,111,118,101, 46, 99,111,110,102, 40,
+ 99, 41, 13, 10,  9,101,110,100, 13, 10,  9, 13, 10,  9, 45, 45, 32, 71,101,116,
+115, 32,100,101,115,105,114,101,100, 32,109,111,100,117,108,101,115, 46, 13, 10,
+  9,102,111,114, 32,107, 44,118, 32,105,110, 32,112, 97,105,114,115, 40, 99, 46,
+109,111,100,117,108,101,115, 41, 32,100,111, 13, 10,  9,  9,105,102, 32,118, 32,
+116,104,101,110, 13, 10,  9,  9,  9,114,101,113,117,105,114,101, 40, 34,108,111,
+118,101, 46, 34, 32, 46, 46, 32,107, 41, 13, 10,  9,  9,101,110,100, 13, 10,  9,
+101,110,100, 13, 10,  9, 13, 10,  9,105,102, 32,108,111,118,101, 46,107,101,121,
+ 98,111, 97,114,100, 32,116,104,101,110, 13, 10,  9,  9,108,111,118,101, 46, 99,
+114,101, 97,116,101,104, 97,110,100,108,101,114,115, 40, 41, 13, 10,  9,101,110,
+100, 13, 10,  9, 13, 10,  9, 45, 45, 32, 83,101,116,117,112, 32,115, 99,114,101,
+101,110, 32,104,101,114,101, 46, 13, 10,  9,105,102, 32, 99, 46,115, 99,114,101,
+101,110, 32, 97,110,100, 32, 99, 46,109,111,100,117,108,101,115, 46,103,114, 97,
+112,104,105, 99,115, 32,116,104,101,110, 32, 13, 10,  9,  9,105,102, 32,108,111,
+118,101, 46,103,114, 97,112,104,105, 99,115, 46, 99,104,101, 99,107, 77,111,100,
+101, 40, 99, 46,115, 99,114,101,101,110, 46,119,105,100,116,104, 44, 32, 99, 46,
+115, 99,114,101,101,110, 46,104,101,105,103,104,116, 44, 32, 99, 46,115, 99,114,
+101,101,110, 46,102,117,108,108,115, 99,114,101,101,110, 41, 32,116,104,101,110,
+ 13, 10,  9,  9,  9,108,111,118,101, 46,103,114, 97,112,104,105, 99,115, 46,115,
+101,116, 77,111,100,101, 40, 99, 46,115, 99,114,101,101,110, 46,119,105,100,116,
+104, 44, 32, 99, 46,115, 99,114,101,101,110, 46,104,101,105,103,104,116, 44, 32,
+ 99, 46,115, 99,114,101,101,110, 46,102,117,108,108,115, 99,114,101,101,110, 44,
+ 32, 99, 46,115, 99,114,101,101,110, 46,118,115,121,110, 99, 44, 32, 99, 46,115,
+ 99,114,101,101,110, 46,102,115, 97, 97, 41, 13, 10,  9,  9,101,110,100, 13, 10,
+  9,  9,108,111,118,101, 46,103,114, 97,112,104,105, 99,115, 46,115,101,116, 67,
+ 97,112,116,105,111,110, 40, 99, 46,116,105,116,108,101, 41, 13, 10,  9,101,110,
+100, 13, 10,  9, 13, 10,  9,105,102, 32,108,111,118,101, 46,102,105,108,101,115,
+121,115,116,101,109, 46,101,120,105,115,116,115, 40, 34,109, 97,105,110, 46,108,
+117, 97, 34, 41, 32,116,104,101,110, 32,114,101,113,117,105,114,101, 40, 34,109,
+ 97,105,110, 46,108,117, 97, 34, 41, 32,101,110,100, 13, 10,  9, 13, 10,101,110,
+100, 13, 10, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,114,
+117,110, 40, 41, 13, 10, 13, 10,  9,105,102, 32,108,111,118,101, 46,108,111, 97,
+100, 32,116,104,101,110, 32,108,111,118,101, 46,108,111, 97,100, 40, 41, 32,101,
+110,100, 13, 10, 13, 10,  9, 45, 45, 32, 77, 97,105,110, 32,108,111,111,112, 32,
+116,105,109,101, 46, 13, 10,  9,119,104,105,108,101, 32,116,114,117,101, 32,100,
+111, 13, 10,  9,  9,108,111,118,101, 46,116,105,109,101,114, 46,115,116,101,112,
+ 40, 41, 13, 10,  9,  9,105,102, 32,108,111,118,101, 46,117,112,100, 97,116,101,
+ 32,116,104,101,110, 32,108,111,118,101, 46,117,112,100, 97,116,101, 40,108,111,
+118,101, 46,116,105,109,101,114, 46,103,101,116, 68,101,108,116, 97, 40, 41, 41,
+ 32,101,110,100, 13, 10,  9,  9,108,111,118,101, 46,103,114, 97,112,104,105, 99,
+115, 46, 99,108,101, 97,114, 40, 41, 13, 10,  9,  9,105,102, 32,108,111,118,101,
+ 46,100,114, 97,119, 32,116,104,101,110, 32,108,111,118,101, 46,100,114, 97,119,
+ 40, 41, 32,101,110,100, 13, 10, 13, 10,  9,  9, 45, 45, 32, 80,114,111, 99,101,
+115,115, 32,101,118,101,110,116,115, 46, 13, 10,  9,  9,102,111,114, 32,101, 44,
+ 97, 44, 98, 44, 99, 32,105,110, 32,108,111,118,101, 46,101,118,101,110,116, 46,
+112,111,108,108, 40, 41, 32,100,111, 13, 10,  9,  9,  9,105,102, 32,101, 32, 61,
+ 61, 32,108,111,118,101, 46,101,118,101,110,116, 95,113,117,105,116, 32,116,104,
+101,110, 32,114,101,116,117,114,110, 32,101,110,100, 13, 10,  9,  9,  9,108,111,
+118,101, 46,104, 97,110,100,108,101,114,115, 91,101, 93, 40, 97, 44, 98, 44, 99,
+ 41, 13, 10,  9,  9,101,110,100, 13, 10, 13, 10,  9,  9, 45, 45,108,111,118,101,
+ 46,116,105,109,101,114, 46,115,108,101,101,112, 40, 49, 48, 41, 13, 10,  9,  9,
+108,111,118,101, 46,103,114, 97,112,104,105, 99,115, 46,112,114,101,115,101,110,
+116, 40, 41, 13, 10, 13, 10,  9,101,110,100, 13, 10, 13, 10,101,110,100, 13, 10,
+ 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 13, 10, 45, 45, 32, 68,101,102, 97,117,108,116,
- 32,115, 99,114,101,101,110, 46, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 13, 10, 45, 45, 32, 68,101,102, 97,117,108,116, 32,115, 99,114,101,101,110,
+ 46, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 13, 10, 13, 10,102,117,110, 99,116,105,111,
-110, 32,108,111,118,101, 46,100,101,102, 97,117,108,116,115, 99,114,101,101,110,
- 40, 41, 13, 10, 13, 10,  9, 45, 45, 32, 77, 97,105,110, 32,108,111,111,112, 32,
-103,111,101,115, 32,104,101,114,101, 46, 13, 10, 13, 10,101,110,100, 13, 10, 13,
- 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 13, 10, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,
+100,101,102, 97,117,108,116,115, 99,114,101,101,110, 40, 41, 13, 10, 13, 10, 13,
+ 10, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 13, 10, 45, 45, 32, 69,114,114,111,114, 32,115, 99,114,101,101,110, 46, 13, 10,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 13, 10, 45, 45, 32, 69,114,114,111,114, 32,
+115, 99,114,101,101,110, 46, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 13,
- 10, 13, 10,102,117,110, 99,116,105,111,110, 32,108,111,118,101, 46,101,114,114,
-111,114,115, 99,114,101,101,110, 40, 41, 13, 10,  9, 13, 10,  9, 45, 45, 32, 77,
- 97,105,110, 32,108,111,111,112, 32,103,111,101,115, 32,104,101,114,101, 46, 13,
- 10, 13, 10,101,110,100, 13, 10, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 13, 10, 13, 10,102,117,110, 99,116,105,111,110,
+ 32,108,111,118,101, 46,101,114,114,111,114,115, 99,114,101,101,110, 40, 41, 13,
+ 10,  9, 13, 10,  9, 45, 45, 32, 77, 97,105,110, 32,108,111,111,112, 32,103,111,
+101,115, 32,104,101,114,101, 46, 13, 10, 13, 10,101,110,100, 13, 10, 13, 10, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 13, 10, 45, 45, 32, 84,104,101, 32,114,111,
-111,116, 32,111,102, 32, 97,108,108, 32, 99, 97,108,108,115, 46, 13, 10, 45, 45,
+ 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 13, 10,
+ 45, 45, 32, 84,104,101, 32,114,111,111,116, 32,111,102, 32, 97,108,108, 32, 99,
+ 97,108,108,115, 46, 13, 10, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 13, 10, 13,
- 10,102,117,110, 99,116,105,111,110, 32,101,114,114,111,114, 95,112,114,105,110,
-116,101,114, 40,109,115,103, 41, 13, 10,  9,112,114,105,110,116, 40, 34, 98,111,
-111,116, 34, 44, 32,109,115,103, 44, 32,100,101, 98,117,103, 46,116,114, 97, 99,
-101, 98, 97, 99,107, 40, 41, 41, 13, 10,101,110,100, 13, 10, 13, 10,114,101,115,
-117,108,116, 32, 61, 32,120,112, 99, 97,108,108, 40,108,111,118,101, 46, 98,111,
-111,116, 44, 32,101,114,114,111,114, 95,112,114,105,110,116,101,114, 41, 13, 10,
-114,101,115,117,108,116, 32, 61, 32,120,112, 99, 97,108,108, 40,108,111,118,101,
- 46,105,110,105,116, 44, 32,101,114,114,111,114, 95,112,114,105,110,116,101,114,
- 41, 13, 10,114,101,115,117,108,116, 32, 61, 32,120,112, 99, 97,108,108, 40,108,
-111,118,101, 46,114,117,110, 44, 32,101,114,114,111,114, 95,112,114,105,110,116,
-101,114, 41, 13, 10, 13, 10,112,114,105,110,116, 40, 34, 68,111,110,101, 46, 34,
- 41,
+ 45, 45, 45, 45, 45, 45, 13, 10, 13, 10,102,117,110, 99,116,105,111,110, 32,101,
+114,114,111,114, 95,112,114,105,110,116,101,114, 40,109,115,103, 41, 13, 10,  9,
+112,114,105,110,116, 40, 34, 98,111,111,116, 34, 44, 32,109,115,103, 44, 32,100,
+101, 98,117,103, 46,116,114, 97, 99,101, 98, 97, 99,107, 40, 41, 41, 13, 10,101,
+110,100, 13, 10, 13, 10,114,101,115,117,108,116, 32, 61, 32,120,112, 99, 97,108,
+108, 40,108,111,118,101, 46, 98,111,111,116, 44, 32,101,114,114,111,114, 95,112,
+114,105,110,116,101,114, 41, 13, 10,114,101,115,117,108,116, 32, 61, 32,120,112,
+ 99, 97,108,108, 40,108,111,118,101, 46,105,110,105,116, 44, 32,101,114,114,111,
+114, 95,112,114,105,110,116,101,114, 41, 13, 10,114,101,115,117,108,116, 32, 61,
+ 32,120,112, 99, 97,108,108, 40,108,111,118,101, 46,114,117,110, 44, 32,101,114,
+114,111,114, 95,112,114,105,110,116,101,114, 41, 13, 10, 13, 10,112,114,105,110,
+116, 40, 34, 68,111,110,101, 46, 34, 41,
 };
 };
 
 
  if (luaL_loadbuffer(L,(const char*)B1,sizeof(B1),"boot.lua")==0) lua_call(L, 0, 0);
  if (luaL_loadbuffer(L,(const char*)B1,sizeof(B1),"boot.lua")==0) lua_call(L, 0, 0);

+ 0 - 175
src/scripts/error.lua

@@ -1,175 +0,0 @@
----------------------------------------------
--- LOVE Error handling code.
----------------------------------------------
-
--- Colors. (Only one for now)
-c = 
-{
-	{ name = "#0072ff", r = 0, g = 114, b = 255 }
-}
-
--- This will be displayed at any time.
-display =
-{
-	message = "",
-	title = "ERROR"
-}
-
--- Helper variables.
-ww, wh = love.graphics.getWidth(), love.graphics.getHeight()
-
-
--- This saves the graphics state when entering 
--- error mode.
-function save_state()
-	-- Save the graphics state.
-	state = {}
-	state.color = love.graphics.getColor()
-	state.background_color = love.graphics.getBackgroundColor()
-	state.font = love.graphics.getFont()
-	state.color_mode = love.graphics.getColorMode()
-	state.blend_mode = love.graphics.getBlendMode()
-	state.scissor = { love.graphics.getScissor() }
-
-	-- Set new values.
-	love.graphics.setFont(font)
-	love.graphics.setColor(255, 255, 255)
-	love.graphics.setBackgroundColor(c[1].r, c[1].g, c[1].b)
-	love.graphics.setColorMode(love.color_normal)
-	love.graphics.setBlendMode(love.blend_normal)
-	love.graphics.setScissor()
-end
-
--- This restores the graphics state when 
--- exiting error mode.
-function restore_state()
-	if state then
-		if state.color then love.graphics.setColor(state.color) end
-		if state.background_color then love.graphics.setBackgroundColor(state.background_color) end
-		if state.font then love.graphics.setFont(state.font) end
-		if state.color_mode then love.graphics.setColorMode(state.color_mode) end
-		if state.blend_mode then love.graphics.setBlendMode(state.blend_mode) end
-		if state.scissor[1] then love.graphics.setScissor(state.scissor[1], state.scissor[2], state.scissor[3], state.scissor[4]) end
-	end
-end
-
-function load()
-
-	-- Create buttons.
-	b = 
-	{
-		{ 
-			x = 20, y = wh-42, 
-			w = 150, h = 24,
-			label = "(Q)uit", 
-			key = love.key_q,
-			action = love.system.exit, 
-			hover = false
-		}, 
-		{ 
-			x = 171, y = wh-42, 
-			w = 150, h = 24,
-			label = "(R)estart",
-			key = love.key_r, 
-			action = game_restart, 
-			hover = false
-		}, 
-		{ 
-			x = 322, y = wh-42, 
-			w = 150, h = 24,
-			label = "(C)ontinue", 
-			key = love.key_c, 
-			action = game_continue, 
-			hover = false
-		}
-	}
-	font = love.graphics.newFont(love.default_font, 14)
-	logo = love.graphics.newImage(love.default_logo_128)
-	logo:setCenter(128, 64)
-end
-
-function update(dt)
-	local mx, my = love.mouse.getX(), love.mouse.getY()
-	for i=1,#b do
-		if mx > b[i].x and mx < b[i].x+b[i].w and my > b[i].y and my < b[i].y+b[i].h and not love.mouse.isDown(love.mouse_left) then
-			b[i].hover = true
-		else
-			b[i].hover = false
-		end
-	end
-end
-
-function message(msg, tag)
-
-	if tag == love.tag_command and msg == "savestate" then
-		save_state()
-	end
-	
-	if tag == love.tag_incompatible then
-		display.title = "Incompatible game!"
-		display.message = msg	
-	end
-
-	if tag == love.tag_error then
-		display.title = "ERROR!"
-		msg = string.gsub(msg, "stack traceback", "\nStack traceback");
-		msg = string.gsub(msg, "%[string \"", "");
-		msg = string.gsub(msg, "\"%]:", ":");
-		msg = string.gsub(msg, "\t", "   ");
-		display.message = msg	
-	end
-	
-	if tag == love.tag_warning then
-		display.title = "Warning!"
-		display.message = msg
-	end
-end
-
-function draw()
-	love.graphics.setBackgroundColor(c[1].r, c[1].g, c[1].b)
-	love.graphics.setColor(255, 255, 255)
-	love.graphics.draw(display.title, 50, 50)
-	love.graphics.drawf(display.message, 50, 100, ww-100)
-	love.graphics.draw( logo, love.graphics.getWidth(), love.graphics.getHeight())
-	
-	-- Draw buttons.
-	for i=1,#b do
-		if not b[i].hover then love.graphics.setColor(255, 255, 255, 128) else love.graphics.setColor(255, 255, 255, 200) end
-		love.graphics.quad(love.draw_fill, 
-			b[i].x, b[i].y, 
-			b[i].x, b[i].y+b[i].h, 
-			b[i].x+b[i].w, b[i].y+b[i].h, 
-			b[i].x+b[i].w, b[i].y)
-		if not b[i].hover then love.graphics.setColor(255, 255, 255) else love.graphics.setColor(0, 114, 255) end
-		love.graphics.draw(b[i].label, b[i].x + b[i].w/2 - font:getWidth(b[i].label)/2, b[i].y + b[i].h/2 + 5)
-	end
-end
-
-function keypressed(key)
-	for i=1,#b do
-		if b[i].key == key then
-			b[i].action()
-		end
-	end
-end
-
-function mousereleased(x, y, button)
-	for i=1,#b do
-		if button == love.mouse_left and x > b[i].x and x < b[i].x+b[i].w and y > b[i].y and y < b[i].y+b[i].h then
-			b[i].action()
-		end
-	end
-end
-
-function game_continue()
-	restore_state()
-	love.system.resume()
-	display.message = ""
-end
-	
-function game_restart()
-	restore_state()
-	love.system.resume()
-	love.system.restart() -- Main game is current.
-	display.message = ""
-end