This commit is contained in:
2025-11-24 14:19:51 +05:30
commit f5c1412b28
6734 changed files with 1527575 additions and 0 deletions

View File

@ -0,0 +1,594 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug - Unicode|Win32">
<Configuration>Debug - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release - Unicode|Win32">
<Configuration>Release - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail - Unicode|Win32">
<Configuration>Retail - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail|Win32">
<Configuration>Retail</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{E0B645F2-CDE7-4C1B-A0E2-A0457DCCD0E3}</ProjectGuid>
<RootNamespace>SQLiteServerLogger</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">$(ProjectDir)$(Configuration)\</OutDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">$(ProjectDir)$(Configuration)\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">$(ProjectDir)$(Configuration)\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">$(ProjectDir)$(Configuration)\</OutDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(SolutionDir)Source/include;$(SolutionDir)DependentExtensions\DXTCompressor\Src;$(SolutionDir)DependentExtensions\DXTCompressor\External\include;$(SolutionDir)DependentExtensions\jpeg-7;$(SolutionDir)DependentExtensions\SQLite3Plugin;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger\ServerOnly;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>$(SolutionDir)Lib/SLikeNet_LibStatic_Debug_Win32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\DependentExtensions\DXTCompressor\External\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>copy $(SolutionDir)DependentExtensions\DXTCompressor\*.dll .\</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(SolutionDir)Source/include;$(SolutionDir)DependentExtensions\DXTCompressor\Src;$(SolutionDir)DependentExtensions\DXTCompressor\External\include;$(SolutionDir)DependentExtensions\jpeg-7;$(SolutionDir)DependentExtensions\SQLite3Plugin;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger\ServerOnly;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>$(SolutionDir)Lib/SLikeNet_LibStatic_Debug - Unicode_Win32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\DependentExtensions\DXTCompressor\External\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>copy $(SolutionDir)DependentExtensions\DXTCompressor\*.dll .\</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)Source/include;$(SolutionDir)DependentExtensions\DXTCompressor\Src;$(SolutionDir)DependentExtensions\DXTCompressor\External\include;$(SolutionDir)DependentExtensions\jpeg-7;$(SolutionDir)DependentExtensions\SQLite3Plugin;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger\ServerOnly;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>$(SolutionDir)Lib/SLikeNet_LibStatic_Release_Win32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\DependentExtensions\DXTCompressor\External\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>copy $(SolutionDir)DependentExtensions\DXTCompressor\*.dll .\</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)Source/include;$(SolutionDir)DependentExtensions\DXTCompressor\Src;$(SolutionDir)DependentExtensions\DXTCompressor\External\include;$(SolutionDir)DependentExtensions\jpeg-7;$(SolutionDir)DependentExtensions\SQLite3Plugin;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger\ServerOnly;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_RETAIL;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BufferSecurityCheck>false</BufferSecurityCheck>
</ClCompile>
<Link>
<AdditionalDependencies>$(SolutionDir)Lib/SLikeNet_LibStatic_Retail_Win32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\DependentExtensions\DXTCompressor\External\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>copy $(SolutionDir)DependentExtensions\DXTCompressor\*.dll .\</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)Source/include;$(SolutionDir)DependentExtensions\DXTCompressor\Src;$(SolutionDir)DependentExtensions\DXTCompressor\External\include;$(SolutionDir)DependentExtensions\jpeg-7;$(SolutionDir)DependentExtensions\SQLite3Plugin;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger\ServerOnly;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>$(SolutionDir)Lib/SLikeNet_LibStatic_Release - Unicode_Win32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\DependentExtensions\DXTCompressor\External\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>copy $(SolutionDir)DependentExtensions\DXTCompressor\*.dll .\</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)Source/include;$(SolutionDir)DependentExtensions\DXTCompressor\Src;$(SolutionDir)DependentExtensions\DXTCompressor\External\include;$(SolutionDir)DependentExtensions\jpeg-7;$(SolutionDir)DependentExtensions\SQLite3Plugin;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger;$(SolutionDir)DependentExtensions\SQLite3Plugin\Logger\ServerOnly;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_RETAIL;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BufferSecurityCheck>false</BufferSecurityCheck>
</ClCompile>
<Link>
<AdditionalDependencies>$(SolutionDir)Lib/SLikeNet_LibStatic_Retail - Unicode_Win32.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>$(SolutionDir)\DependentExtensions\DXTCompressor\External\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
</Link>
<PostBuildEvent>
<Command>copy $(SolutionDir)DependentExtensions\DXTCompressor\*.dll .\</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\..\jpeg-7\cderror.h" />
<ClInclude Include="..\..\..\jpeg-7\cdjpeg.h" />
<ClInclude Include="..\..\..\jpeg-7\jconfig.h" />
<ClInclude Include="..\..\..\jpeg-7\jdct.h" />
<ClInclude Include="..\..\..\jpeg-7\jerror.h" />
<ClInclude Include="..\..\..\jpeg-7\jinclude.h" />
<ClInclude Include="..\..\..\jpeg-7\jmemsys.h" />
<ClInclude Include="..\..\..\jpeg-7\jmorecfg.h" />
<ClInclude Include="..\..\..\jpeg-7\jpegint.h" />
<ClInclude Include="..\..\..\jpeg-7\jpeglib.h" />
<ClInclude Include="..\..\..\jpeg-7\jversion.h" />
<ClInclude Include="..\..\..\jpeg-7\transupp.h" />
<ClInclude Include="..\..\..\DXTCompressor\Src\DDSHeader.h" />
<ClInclude Include="..\..\..\DXTCompressor\Src\DXTCompressor.h" />
<ClInclude Include="..\..\..\DXTCompressor\Src\FrameBufferRenderBuffer.hpp" />
<ClInclude Include="..\..\..\DXTCompressor\Src\OpenGLWindow.hpp" />
<ClInclude Include="..\..\..\DXTCompressor\Src\ShaderSource.h" />
<ClInclude Include="..\..\sqlite3.h" />
<ClInclude Include="..\..\sqlite3ext.h" />
<ClInclude Include="jpeg_memory_dest.h" />
<ClInclude Include="..\..\SQLite3PluginCommon.h" />
<ClInclude Include="..\..\SQLite3ServerPlugin.h" />
<ClInclude Include="..\SQLiteLoggerCommon.h" />
<ClInclude Include="SQLiteServerLoggerPlugin.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\jpeg-7\cdjpeg.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4996</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jaricom.c" />
<ClCompile Include="..\..\..\jpeg-7\jcapimin.c" />
<ClCompile Include="..\..\..\jpeg-7\jcapistd.c" />
<ClCompile Include="..\..\..\jpeg-7\jcarith.c" />
<ClCompile Include="..\..\..\jpeg-7\jccoefct.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jccolor.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcdctmgr.c" />
<ClCompile Include="..\..\..\jpeg-7\jchuff.c" />
<ClCompile Include="..\..\..\jpeg-7\jcinit.c" />
<ClCompile Include="..\..\..\jpeg-7\jcmainct.c" />
<ClCompile Include="..\..\..\jpeg-7\jcmarker.c" />
<ClCompile Include="..\..\..\jpeg-7\jcmaster.c" />
<ClCompile Include="..\..\..\jpeg-7\jcomapi.c" />
<ClCompile Include="..\..\..\jpeg-7\jcparam.c" />
<ClCompile Include="..\..\..\jpeg-7\jcprepct.c" />
<ClCompile Include="..\..\..\jpeg-7\jcsample.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jctrans.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdapimin.c" />
<ClCompile Include="..\..\..\jpeg-7\jdapistd.c" />
<ClCompile Include="..\..\..\jpeg-7\jdarith.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4244</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdatadst.c" />
<ClCompile Include="..\..\..\jpeg-7\jdatasrc.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdcoefct.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdcolor.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jddctmgr.c" />
<ClCompile Include="..\..\..\jpeg-7\jdhuff.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4244</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4244</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdinput.c" />
<ClCompile Include="..\..\..\jpeg-7\jdmainct.c" />
<ClCompile Include="..\..\..\jpeg-7\jdmarker.c" />
<ClCompile Include="..\..\..\jpeg-7\jdmaster.c" />
<ClCompile Include="..\..\..\jpeg-7\jdmerge.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdpostct.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdsample.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdtrans.c" />
<ClCompile Include="..\..\..\jpeg-7\jerror.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4996</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jfdctflt.c" />
<ClCompile Include="..\..\..\jpeg-7\jfdctfst.c" />
<ClCompile Include="..\..\..\jpeg-7\jfdctint.c" />
<ClCompile Include="..\..\..\jpeg-7\jidctflt.c" />
<ClCompile Include="..\..\..\jpeg-7\jidctfst.c" />
<ClCompile Include="..\..\..\jpeg-7\jidctint.c" />
<ClCompile Include="..\..\..\jpeg-7\jmemansi.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100;4996</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jmemmgr.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4127;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4127;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4127;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4127;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4127;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4127;4996</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jquant1.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jquant2.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jutils.c" />
<ClCompile Include="..\..\..\jpeg-7\memsrc.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdbmp.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdcolmap.c" />
<ClCompile Include="..\..\..\jpeg-7\rdgif.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100;4702</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100;4702</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100;4702</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100;4702</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100;4702</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100;4702</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdppm.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdrle.c" />
<ClCompile Include="..\..\..\jpeg-7\rdswitch.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4996</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdtarga.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\transupp.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrbmp.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrgif.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrppm.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrrle.c" />
<ClCompile Include="..\..\..\jpeg-7\wrtarga.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\..\DXTCompressor\Src\DXTCompressor.cpp">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4100;4189;4201;4459;4505;4706</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4100;4189;4201;4459;4505;4706</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4100;4189;4201;4459;4505;4706</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4100;4189;4201;4459;4505;4706</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4100;4189;4201;4459;4505;4706</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4100;4189;4201;4459;4505;4706</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="..\..\sqlite3.c">
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4127;4244;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">4127;4244;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">4127;4244;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">4127;4244;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">4127;4244;4996</DisableSpecificWarnings>
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">4127;4244;4996</DisableSpecificWarnings>
</ClCompile>
<ClCompile Include="jpeg_memory_dest.cpp" />
<ClCompile Include="..\..\SQLite3PluginCommon.cpp" />
<ClCompile Include="..\..\SQLite3ServerPlugin.cpp" />
<ClCompile Include="..\SQLiteLoggerCommon.cpp" />
<ClCompile Include="SQLiteServerLoggerPlugin.cpp" />
<ClCompile Include="SQLiteServerLoggerSample.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\Lib\LibStatic\LibStatic.vcxproj">
<Project>{6533bdae-0f0c-45e4-8fe7-add0f37fe063}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,275 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="jpeg">
<UniqueIdentifier>{1a47961f-0528-4848-94f7-0c0bc5541bbf}</UniqueIdentifier>
</Filter>
<Filter Include="DXTCompressor">
<UniqueIdentifier>{a3e487f9-312a-4683-8846-575590d20ba3}</UniqueIdentifier>
</Filter>
<Filter Include="SQLite">
<UniqueIdentifier>{1b366568-a9d5-41bd-a291-8fba4c40d727}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\jpeg-7\cderror.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\cdjpeg.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jconfig.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jdct.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jerror.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jinclude.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jmemsys.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jmorecfg.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jpegint.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jpeglib.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\jversion.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jpeg-7\transupp.h">
<Filter>jpeg</Filter>
</ClInclude>
<ClInclude Include="..\..\..\DXTCompressor\Src\DDSHeader.h">
<Filter>DXTCompressor</Filter>
</ClInclude>
<ClInclude Include="..\..\..\DXTCompressor\Src\DXTCompressor.h">
<Filter>DXTCompressor</Filter>
</ClInclude>
<ClInclude Include="..\..\..\DXTCompressor\Src\FrameBufferRenderBuffer.hpp">
<Filter>DXTCompressor</Filter>
</ClInclude>
<ClInclude Include="..\..\..\DXTCompressor\Src\OpenGLWindow.hpp">
<Filter>DXTCompressor</Filter>
</ClInclude>
<ClInclude Include="..\..\..\DXTCompressor\Src\ShaderSource.h">
<Filter>DXTCompressor</Filter>
</ClInclude>
<ClInclude Include="..\..\sqlite3.h">
<Filter>SQLite</Filter>
</ClInclude>
<ClInclude Include="..\..\sqlite3ext.h">
<Filter>SQLite</Filter>
</ClInclude>
<ClInclude Include="jpeg_memory_dest.h" />
<ClInclude Include="..\..\SQLite3PluginCommon.h" />
<ClInclude Include="..\..\SQLite3ServerPlugin.h" />
<ClInclude Include="..\SQLiteLoggerCommon.h" />
<ClInclude Include="SQLiteServerLoggerPlugin.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\jpeg-7\cdjpeg.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jaricom.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcapimin.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcapistd.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcarith.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jccoefct.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jccolor.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcdctmgr.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jchuff.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcinit.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcmainct.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcmarker.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcmaster.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcomapi.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcparam.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcprepct.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jcsample.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jctrans.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdapimin.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdapistd.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdarith.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdatadst.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdatasrc.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdcoefct.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdcolor.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jddctmgr.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdhuff.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdinput.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdmainct.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdmarker.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdmaster.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdmerge.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdpostct.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdsample.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jdtrans.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jerror.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jfdctflt.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jfdctfst.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jfdctint.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jidctflt.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jidctfst.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jidctint.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jmemansi.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jmemmgr.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jquant1.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jquant2.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\jutils.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\memsrc.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdbmp.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdcolmap.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdgif.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdppm.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdrle.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdswitch.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\rdtarga.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\transupp.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrbmp.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrgif.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrppm.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrrle.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jpeg-7\wrtarga.c">
<Filter>jpeg</Filter>
</ClCompile>
<ClCompile Include="..\..\..\DXTCompressor\Src\DXTCompressor.cpp">
<Filter>DXTCompressor</Filter>
</ClCompile>
<ClCompile Include="..\..\sqlite3.c">
<Filter>SQLite</Filter>
</ClCompile>
<ClCompile Include="jpeg_memory_dest.cpp" />
<ClCompile Include="..\..\SQLite3PluginCommon.cpp" />
<ClCompile Include="..\..\SQLite3ServerPlugin.cpp" />
<ClCompile Include="..\SQLiteLoggerCommon.cpp" />
<ClCompile Include="SQLiteServerLoggerPlugin.cpp" />
<ClCompile Include="SQLiteServerLoggerSample.cpp" />
</ItemGroup>
</Project>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,209 @@
/*
* Original work: Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* RakNet License.txt file in the licenses directory of this source tree. An additional grant
* of patent rights can be found in the RakNet Patents.txt file in the same directory.
*
*
* Modified work: Copyright (c) 2017, SLikeSoft UG (haftungsbeschränkt)
*
* This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
* license found in the license.txt file in the root directory of this source tree.
*/
/// \file
/// \brief Extends SQLite3ServerPlugin to support logging functions, including compressing images.
///
#ifndef ___SQLITE_SERVER_LOGGER_PLUGIN_H
#define ___SQLITE_SERVER_LOGGER_PLUGIN_H
#include "SQLite3ServerPlugin.h"
#include "SQLiteLoggerCommon.h"
class RakPeerInterface;
#define MAX_PACKETS_PER_CPU_INPUT_THREAD 16
namespace SLNet
{
/// \brief Extends SQLite3ServerPlugin to support logging functions, including compressing images.
/// \details SQLiteClientLoggerPlugin has the ability to send logs. Logs contain a description of the name of the table, the name of the columns, the types, and the data.<BR>
/// This class will create tables as necessary to support the client inputs.<BR>
/// Also, if images are sent, the server will format them from uncompressed to compressed JPG using jpeg-7 in a thread.<BR>
/// Compatible as a plugin with both RakPeerInterface and PacketizedTCP
/// \ingroup SQL_LITE_3_PLUGIN
class RAK_DLL_EXPORT SQLiteServerLoggerPlugin : public SQLite3ServerPlugin
{
public:
SQLiteServerLoggerPlugin();
virtual ~SQLiteServerLoggerPlugin();
/// Used with SetSessionManagementMode()
enum SessionManagementMode
{
/// \brief USE_ANY_DB_HANDLE is for games where the clients are not allowed to create new databases, and the clients don't care which database is written to. Typically only used if there is only one database ever.
/// \details Ignore SQLiteClientLoggerPlugin::StartSession(), and rely on a prior call to SQLite3ServerPlugin::AddDBHandle().
/// If no handles exist, logging calls silently fail.
USE_ANY_DB_HANDLE,
/// \brief USE_NAMED_DB_HANDLE is for games where the clients are not allowed to create new databases. Instead, they use named databases precreated.
/// \details Interpret the sessionId parameter passed to SQLiteClientLoggerPlugin::StartSession() as the dbIdentifier parameter passed to SQLite3ServerPlugin::AddDBHandle().
/// Use this database if it exists. If not, logging calls silently fail.
USE_NAMED_DB_HANDLE,
/// \brief CREATE_EACH_NAMED_DB_HANDLE is for single player games or multiplayer games where every game has a unique sesionId.
/// \details Use the sessionId parameter passed to SQLiteClientLoggerPlugin::StartSession() as a dbIdentifier.
/// A new database is created for each user
CREATE_EACH_NAMED_DB_HANDLE,
/// \brief CREATE_SHARED_NAMED_DB_HANDLE is for multiplayer games where you don't want to have to transmit and synchronize a unique sessionId. Everyone is in the same sessionId.
/// \details Use the sessionId parameter passed to SQLiteClientLoggerPlugin::StartSession() as a dbIdentifier.
/// A new database is created only if the sessionId is different. Two users using the same sessionId will write to the same database
CREATE_SHARED_NAMED_DB_HANDLE,
};
/// \brief Determine if and how to automatically create databases, rather than call SQLite3ServerPlugin::AddDBHandle()
/// \details Typically you want one database to hold the events of a single application session, rather than one database for all sessions over all time.
/// A user of SQLiteClientLoggerPlugin can optionally call SQLiteClientLoggerPlugin::StartSession() in order to join a session to enable this.
/// Call this before calling AddDBHandle(), and before any clients connect
/// \param[in] _sessionManagementMode See SessionManagementMode. Default is CREATE_EACH_NAMED_DB_HANDLE.
/// \param[in] _createDirectoryForFile If true, uses the current server date as a directory to the filename. This ensures filenames do not overwrite each other, even if the sessionId is reused. Defaults to true.
/// \param[in] _newDatabaseFilePath For CREATE_EACH_NAMED_DB_HANDLE and CREATE_SHARED_NAMED_DB_HANDLE, will create the databases here. Not used for the other modes. Defaults to whatever the operating system picks (usually the application directory).
void SetSessionManagementMode(SessionManagementMode _sessionManagementMode, bool _createDirectoryForFile, const char *_newDatabaseFilePath);
/// Close all connected sessions, writing all databases immediately
void CloseAllSessions(void);
/// \brief Enable using realtime shader based DXT compression on an Nvidia based video card. This will activate OpenGL
/// \details Call this before anyone connects.
/// If not enabled, or initialization fails, then jpg compression is used instead on the CPU.
/// Defaults to false, in case the target system does not support OpenGL
/// \param[in] enable True to enable, false to disable.
void SetEnableDXTCompression(bool enable);
struct ProcessingStatus
{
int packetsBuffered;
int cpuPendingProcessing;
int cpuProcessedAwaitingDeallocation;
int cpuNumThreadsWorking;
int sqlPendingProcessing;
int sqlProcessedAwaitingDeallocation;
int sqlNumThreadsWorking;
};
/// Return the thread and command processing statuses
void GetProcessingStatus(ProcessingStatus *processingStatus);
/// \internal
void Update(void);
/// \internal For plugin handling
virtual PluginReceiveResult OnReceive(Packet *packet);
/// \internal For plugin handling
virtual void OnClosedConnection(const SystemAddress &systemAddress, RakNetGUID rakNetGUID, PI2_LostConnectionReason lostConnectionReason );
/// \internal For plugin handling
virtual void OnShutdown(void);
virtual void OnAttach(void);
virtual void OnDetach(void);
struct SessionNameAndSystemAddress
{
SLNet::RakString sessionName;
SystemAddress systemAddress;
sqlite3 *referencedPointer;
SLNet::TimeMS timestampDelta;
// SLNet::TimeMS dbAgeWhenCreated;
};
DataStructures::List<SessionNameAndSystemAddress> loggedInSessions;
// An incoming data packet, and when it arrived
struct CPUThreadInputNode
{
SLNet::Packet *packet;
// SLNet::TimeMS whenMessageArrived;
// Time difference from their time to server time, plus the age of the database at the time the session was created
// Applied to CPUThreadOutputNode::clientSendingTime before being passed to SQL
SLNet::TimeMS timestampDelta;
SLNet::RakString dbIdentifier;
};
// As packets arrive, they are added to a CPUThreadInput structure.
// When the structure is full, or when a maximum amount of time has elapsed, whichever is first, then it is pushed to a thread for processing
// Deallocated in the thread
struct CPUThreadInput
{
// One or more incoming data packets, and when those packets arrived
// Processed on the CPU, possibly with batch processing for image compression
CPUThreadInputNode cpuInputArray[MAX_PACKETS_PER_CPU_INPUT_THREAD];
int arraySize;
};
// Each CPUThreadInputNode is unpacked to a CPUThreadOutputNode
// Images are now in compressed format, should the parameter list indeed have a query
struct CPUThreadOutputNode
{
SLNet::Packet *packet; // Passthrough
// SLNet::TimeMS whenMessageArrived; // Passthrough
SLNet::RakString dbIdentifier; // Passthrough
// SystemAddress systemAddress;
char ipAddressString[32];
SLNet::RakString tableName;
SLNet::RakString file;
SLNet::TimeMS clientSendingTime;
unsigned char parameterCount;
bool isFunctionCall;
DataStructures::List<SLNet::RakString> insertingColumnNames;
LogParameter parameterList[MAX_SQLLITE_LOGGER_PARAMETERS];
uint32_t tickCount;
int line;
};
// List of CPUThreadOutputNode
struct CPUThreadOutput
{
// cpuOutputNodeArray pointers are not deallocated, just handed over to SQLThreadInput
// Each element in the array is pushed to one SQLThreadInput
CPUThreadOutputNode *cpuOutputNodeArray[MAX_PACKETS_PER_CPU_INPUT_THREAD];
int arraySize;
};
struct SQLThreadInput
{
sqlite3 *dbHandle;
CPUThreadOutputNode *cpuOutputNode;
};
struct SQLThreadOutput
{
// cpuOutputNode gets deallocated here
CPUThreadOutputNode *cpuOutputNode;
};
protected:
unsigned int CreateDBHandle(SLNet::RakString dbIdentifier);
void CloseUnreferencedSessions(void);
SessionManagementMode sessionManagementMode;
bool createDirectoryForFile;
SLNet::RakString newDatabaseFilePath;
ThreadPool<CPUThreadInput*, CPUThreadOutput*> cpuLoggerThreadPool;
ThreadPool<SQLThreadInput, SQLThreadOutput> sqlLoggerThreadPool;
CPUThreadInput *LockCpuThreadInput(void);
void ClearCpuThreadInput(void);
void UnlockCpuThreadInput(void);
void CancelLockCpuThreadInput(void);
void PushCpuThreadInputIfNecessary(void);
void PushCpuThreadInput(void);
void StopCPUSQLThreads(void);
CPUThreadInput *cpuThreadInput;
SLNet::TimeMS whenCpuThreadInputAllocated;
bool dxtCompressionEnabled;
};
};
#endif

View File

@ -0,0 +1,104 @@
/*
* This file was taken from RakNet 4.082.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*
* Modified work: Copyright (c) 2016-2017, SLikeSoft UG (haftungsbeschränkt)
*
* This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
* license found in the license.txt file in the root directory of this source tree.
*/
#include "slikenet/peerinterface.h"
#include "SQLiteServerLoggerPlugin.h"
#include "slikenet/BitStream.h"
#include "slikenet/sleep.h"
#include "slikenet/Kbhit.h"
#include "slikenet/GetTime.h"
#include "slikenet/PacketizedTCP.h"
int main(void)
{
printf("Demonstration of SQLiteServerLoggerPlugin.\n");
SLNet::PacketizedTCP packetizedTCP;
SLNet::SQLiteServerLoggerPlugin loggerPlugin;
// printf("Enable DXT compression (y/n)? ");
// loggerPlugin.SetEnableDXTCompression(_getche()=='y');
loggerPlugin.SetEnableDXTCompression(true);
loggerPlugin.SetSessionManagementMode(SLNet::SQLiteServerLoggerPlugin::CREATE_SHARED_NAMED_DB_HANDLE, true, "");
/*
// printf("Enter path to DB file to create, or enter for memory.\n");
char filePath[256];
Gets(filePath,sizeof(filePath));
filePath[0]=0;
if (filePath[0]==0)
strcpy(filePath, "C:\\EchoChamber\\logger.sqlite");
sqlite3 *database;
if (sqlite3_open_v2(filePath, &database, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, 0)!=SQLITE_OK)
return 1;
loggerPlugin.AddDBHandle("loggerDb", database);
*/
packetizedTCP.AttachPlugin(&loggerPlugin);
packetizedTCP.Start(38123,8);
printf("\nStarted.\n");
bool quit=false;
bool isProcessing=false;
SLNet::SQLiteServerLoggerPlugin::ProcessingStatus processingStatusNew;
SLNet::SQLiteServerLoggerPlugin::ProcessingStatus processingStatusOld;
memset(&processingStatusOld,0,sizeof(processingStatusOld));
SLNet::SystemAddress sa;
while (quit==false || isProcessing==true)
{
SLNet::Packet *p;
for (p = packetizedTCP.Receive(); p; packetizedTCP.DeallocatePacket(p), p = packetizedTCP.Receive())
{
;
}
sa = packetizedTCP.HasNewIncomingConnection();
if (sa!= SLNet::UNASSIGNED_SYSTEM_ADDRESS)
printf("New incoming connection from %s\n", sa.ToString(true));
sa = packetizedTCP.HasLostConnection();
if (sa!= SLNet::UNASSIGNED_SYSTEM_ADDRESS)
printf("Lost connection from %s\n", sa.ToString(true));
sa = packetizedTCP.HasFailedConnectionAttempt();
sa = packetizedTCP.HasCompletedConnectionAttempt();
RakSleep(0);
if (_kbhit())
{
if (_getch()=='q')
{
printf("Quitting as soon as threads finish.\n");
packetizedTCP.Stop();
quit=true;
}
}
loggerPlugin.GetProcessingStatus(&processingStatusNew);
if (memcmp(&processingStatusNew,&processingStatusOld,sizeof(processingStatusOld))!=0)
{
printf("buffered=%i cpuWait=%i cpuDo=%i cpuDone=%i sqlWait=%i sqlDo=%i sqlDone=%i\n",
processingStatusNew.packetsBuffered,
processingStatusNew.cpuPendingProcessing,processingStatusNew.cpuNumThreadsWorking,processingStatusNew.cpuProcessedAwaitingDeallocation,
processingStatusNew.sqlPendingProcessing,processingStatusNew.sqlNumThreadsWorking,processingStatusNew.sqlProcessedAwaitingDeallocation
);
memcpy(&processingStatusOld,&processingStatusNew,sizeof(processingStatusOld));
}
if (processingStatusNew.cpuNumThreadsWorking==processingStatusNew.cpuPendingProcessing==processingStatusNew.cpuProcessedAwaitingDeallocation==
processingStatusNew.packetsBuffered==processingStatusNew.sqlNumThreadsWorking==processingStatusNew.sqlPendingProcessing==processingStatusNew.sqlProcessedAwaitingDeallocation==0)
isProcessing=false;
else
isProcessing=true;
}
loggerPlugin.CloseAllSessions();
return 1;
}

View File

@ -0,0 +1,168 @@
/*
* This file was taken from RakNet 4.082.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*
* Modified work: Copyright (c) 2017, SLikeSoft UG (haftungsbeschr<68>nkt)
*
* This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
* license found in the license.txt file in the root directory of this source tree.
*/
#include "jpeg_memory_dest.h"
/* ------------------------------------------------------------- */
/* MEMORY DESTINATION INTERFACE METHODS */
/* ------------------------------------------------------------- */
/* This function is called by the library before any data gets written */
METHODDEF(void)
init_destination (j_compress_ptr cinfo)
{
mem_dest_ptr dest = (mem_dest_ptr)cinfo->dest;
dest->pub.next_output_byte = dest->buffer; /* set destination buffer */
dest->pub.free_in_buffer = dest->bufsize; /* input buffer size */
dest->datasize = 0; /* reset output size */
dest->errcount = 0; /* reset error count */
}
/* This function is called by the library if the buffer fills up
I just reset destination pointer and buffer size here.
Note that this behavior, while preventing seg faults
will lead to invalid output streams as data is over-
written.
*/
METHODDEF(boolean)
empty_output_buffer (j_compress_ptr cinfo)
{
mem_dest_ptr dest = (mem_dest_ptr)cinfo->dest;
dest->pub.next_output_byte = dest->buffer;
dest->pub.free_in_buffer = dest->bufsize;
++dest->errcount; /* need to increase error count */
return TRUE;
}
/* Usually the library wants to flush output here.
I will calculate output buffer size here.
Note that results become incorrect, once
empty_output_buffer was called.
This situation is notified by errcount.
*/
METHODDEF(void)
term_destination (j_compress_ptr cinfo)
{
mem_dest_ptr dest = (mem_dest_ptr)cinfo->dest;
dest->datasize = dest->bufsize - dest->pub.free_in_buffer;
if (dest->outsize) *dest->outsize += (int)dest->datasize;
}
/* Override the default destination manager initialization
provided by jpeglib. Since we want to use memory-to-memory
compression, we need to use our own destination manager.
*/
GLOBAL(void)
jpeg_memory_dest (j_compress_ptr cinfo, JOCTET* buffer, int bufsize, int* outsize)
{
mem_dest_ptr dest;
/* first call for this instance - need to setup */
if (cinfo->dest == 0) {
cinfo->dest = (struct jpeg_destination_mgr *)
(*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,
sizeof (memory_destination_mgr));
}
dest = (mem_dest_ptr) cinfo->dest;
dest->bufsize = bufsize;
dest->buffer = buffer;
dest->outsize = outsize;
/* set method callbacks */
dest->pub.init_destination = init_destination;
dest->pub.empty_output_buffer = empty_output_buffer;
dest->pub.term_destination = term_destination;
}
/* ------------------------------------------------------------- */
/* MEMORY SOURCE INTERFACE METHODS */
/* ------------------------------------------------------------- */
/* Called before data is read */
METHODDEF(void)
init_source (j_decompress_ptr dinfo)
{
// unused parameters
(void)dinfo;
/* nothing to do here, really. I mean. I'm not lazy or something, but...
we're actually through here. */
}
/* Called if the decoder wants some bytes that we cannot provide... */
METHODDEF(boolean)
fill_input_buffer (j_decompress_ptr dinfo)
{
// unused parameters
(void)dinfo;
/* we can't do anything about this. This might happen if the provided
buffer is either invalid with regards to its content or just a to
small bufsize has been given. */
/* fail. */
return FALSE;
}
/* From IJG docs: "it's not clear that being smart is worth much trouble"
So I save myself some trouble by ignoring this bit.
*/
METHODDEF(void)
skip_input_data (j_decompress_ptr dinfo, INT32 num_bytes)
{
/* There might be more data to skip than available in buffer.
This clearly is an error, so screw this mess. */
if ((size_t)num_bytes > dinfo->src->bytes_in_buffer) {
dinfo->src->next_input_byte = 0; /* no buffer byte */
dinfo->src->bytes_in_buffer = 0; /* no input left */
} else {
dinfo->src->next_input_byte += num_bytes;
dinfo->src->bytes_in_buffer -= num_bytes;
}
}
/* Finished with decompression */
METHODDEF(void)
term_source (j_decompress_ptr dinfo)
{
// unused parameters
(void)dinfo;
/* Again. Absolute laziness. Nothing to do here. Boring. */
}
GLOBAL(void)
jpeg_memory_src (j_decompress_ptr dinfo, unsigned char* buffer, size_t size)
{
struct jpeg_source_mgr* src;
/* first call for this instance - need to setup */
if (dinfo->src == 0) {
dinfo->src = (struct jpeg_source_mgr *)
(*dinfo->mem->alloc_small) ((j_common_ptr) dinfo, JPOOL_PERMANENT,
sizeof (struct jpeg_source_mgr));
}
src = dinfo->src;
src->next_input_byte = buffer;
src->bytes_in_buffer = size;
src->init_source = init_source;
src->fill_input_buffer = fill_input_buffer;
src->skip_input_data = skip_input_data;
src->term_source = term_source;
/* IJG recommend to use their function - as I don't know ****
about how to do better, I follow this recommendation */
src->resync_to_restart = jpeg_resync_to_restart;
}

View File

@ -0,0 +1,49 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
// From http://www.codeguru.com/forum/archive/index.php/t-378333.html
#include "jpeglib.h"
/*
This a custom destination manager for jpeglib that
enables the use of memory to memory compression.
*/
typedef struct {
struct jpeg_destination_mgr pub; /* base class */
JOCTET* buffer; /* buffer start address */
int bufsize; /* size of buffer */
size_t datasize; /* final size of compressed data */
int* outsize; /* user pointer to datasize */
int errcount; /* counts up write errors due to
buffer overruns */
} memory_destination_mgr;
typedef memory_destination_mgr* mem_dest_ptr;
METHODDEF(void)
init_destination (j_compress_ptr cinfo);
METHODDEF(boolean)
empty_output_buffer (j_compress_ptr cinfo);
METHODDEF(void)
term_destination (j_compress_ptr cinfo);
GLOBAL(void)
jpeg_memory_dest (j_compress_ptr cinfo, JOCTET* buffer, int bufsize, int* outsize);
METHODDEF(void)
init_source (j_decompress_ptr dinfo);
METHODDEF(boolean)
fill_input_buffer (j_decompress_ptr dinfo);
METHODDEF(void)
skip_input_data (j_decompress_ptr dinfo, INT32 num_bytes);
METHODDEF(void)
term_source (j_decompress_ptr dinfo);
GLOBAL(void)
jpeg_memory_src (j_decompress_ptr dinfo, unsigned char* buffer, size_t size);