diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-27 17:21:48 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-27 17:21:48 +0100 |
commit | e203be06e81e5f85c179a28219836ed394d2ba64 (patch) | |
tree | 6c11e442c1eac49dc534b712d1499362ecb17923 /converter | |
parent | Set player interaction kicking to 5 interactions per .1 seconds to help with lag disconnects. Still need to change code to lessen the false positives. (diff) | |
download | cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.tar cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.tar.gz cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.tar.bz2 cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.tar.lz cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.tar.xz cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.tar.zst cuberite-e203be06e81e5f85c179a28219836ed394d2ba64.zip |
Diffstat (limited to 'converter')
-rw-r--r-- | converter/DeNotchConverter.sln | 34 | ||||
-rw-r--r-- | converter/DeNotchConverter.vcxproj | 89 | ||||
-rw-r--r-- | converter/DeNotchConverter.vcxproj.filters | 54 | ||||
-rw-r--r-- | converter/DeNotchConverter.vcxproj.user | 3 | ||||
-rw-r--r-- | converter/clean.bat | 25 | ||||
-rw-r--r-- | converter/source/printdir.c | 5 |
6 files changed, 210 insertions, 0 deletions
diff --git a/converter/DeNotchConverter.sln b/converter/DeNotchConverter.sln new file mode 100644 index 000000000..c90aaa4fc --- /dev/null +++ b/converter/DeNotchConverter.sln @@ -0,0 +1,34 @@ +
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DeNotchConverter", "DeNotchConverter.vcxproj", "{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ZLib", "..\VC2010\ZLib.vcxproj", "{F6F43A78-816D-4C37-A07B-68BED529273A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Debug|Win32.ActiveCfg = Debug|Win32
+ {A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Debug|Win32.Build.0 = Debug|Win32
+ {A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Debug|x64.ActiveCfg = Debug|Win32
+ {A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Release|Win32.ActiveCfg = Release|Win32
+ {A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Release|Win32.Build.0 = Release|Win32
+ {A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}.Release|x64.ActiveCfg = Release|Win32
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|Win32.ActiveCfg = Debug|Win32
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|Win32.Build.0 = Debug|Win32
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|x64.ActiveCfg = Debug|x64
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Debug|x64.Build.0 = Debug|x64
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Release|Win32.ActiveCfg = Release|Win32
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Release|Win32.Build.0 = Release|Win32
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Release|x64.ActiveCfg = Release|x64
+ {F6F43A78-816D-4C37-A07B-68BED529273A}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/converter/DeNotchConverter.vcxproj b/converter/DeNotchConverter.vcxproj new file mode 100644 index 000000000..6ca8e55fa --- /dev/null +++ b/converter/DeNotchConverter.vcxproj @@ -0,0 +1,89 @@ +<?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|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{A6F31DB3-6F2F-413B-ACAC-8E24A6C8B38A}</ProjectGuid>
+ <RootNamespace>DeNotchConverter</RootNamespace>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>MultiByte</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>MultiByte</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup />
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>../zlib-1.2.5</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <AdditionalIncludeDirectories>../zlib-1.2.5</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="source\cDeNotch.cpp" />
+ <ClCompile Include="source\cNBTData.cpp" />
+ <ClCompile Include="source\cQuicksort.cpp" />
+ <ClCompile Include="source\cTimer.cpp" />
+ <ClCompile Include="source\main.cpp" />
+ <ClCompile Include="source\printdir.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="source\cDeNotch.h" />
+ <ClInclude Include="source\cNBTData.h" />
+ <ClInclude Include="source\cQuicksort.h" />
+ <ClInclude Include="source\cTimer.h" />
+ <ClInclude Include="source\wdirent.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\VC2010\ZLib.vcxproj">
+ <Project>{f6f43a78-816d-4c37-a07b-68bed529273a}</Project>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file diff --git a/converter/DeNotchConverter.vcxproj.filters b/converter/DeNotchConverter.vcxproj.filters new file mode 100644 index 000000000..939174c13 --- /dev/null +++ b/converter/DeNotchConverter.vcxproj.filters @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="source\cDeNotch.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="source\cNBTData.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="source\cQuicksort.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="source\cTimer.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="source\main.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="source\printdir.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="source\cDeNotch.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="source\cNBTData.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="source\cQuicksort.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="source\cTimer.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="source\wdirent.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
\ No newline at end of file diff --git a/converter/DeNotchConverter.vcxproj.user b/converter/DeNotchConverter.vcxproj.user new file mode 100644 index 000000000..695b5c78b --- /dev/null +++ b/converter/DeNotchConverter.vcxproj.user @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+</Project>
\ No newline at end of file diff --git a/converter/clean.bat b/converter/clean.bat new file mode 100644 index 000000000..dfc7a6777 --- /dev/null +++ b/converter/clean.bat @@ -0,0 +1,25 @@ +del *.ncb
+del *.ilk
+del *.lib
+del *.exp
+del *.map
+del *.pdb
+del *.bsc
+del *.sdf
+del *.opensdf /AH
+del *.insprc
+del *.aps
+del applog.txt
+del *.suo /AH
+del debug\*.* /Q
+del release\*.* /Q
+del x64\*.* /Q
+del "My Inspector Results"\*.* /Q
+del ipch\*.* /Q
+rd release /S /Q
+rd debug /S /Q
+rd ipch /S /Q
+rd x64 /Q
+rd "My Inspector Results" /Q
+
+pause
\ No newline at end of file diff --git a/converter/source/printdir.c b/converter/source/printdir.c index 7216413be..d163be380 100644 --- a/converter/source/printdir.c +++ b/converter/source/printdir.c @@ -1,3 +1,5 @@ +#if 0 + /* list contents of a directory */ #include <stdio.h> #include <stdlib.h> @@ -50,3 +52,6 @@ int main (int argc, char *argv[]) { } return EXIT_SUCCESS; } + + +#endif
\ No newline at end of file |