diff options
author | madmaxoft <github@xoft.cz> | 2013-11-28 13:48:52 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-28 13:48:52 +0100 |
commit | bb37271f306507f8d0161bc655913c69412ba16a (patch) | |
tree | 468080dd6a28ebb4071262b8cfad8616a786ba84 | |
parent | Fixed BiomeVisualiser after folder move. (diff) | |
download | cuberite-bb37271f306507f8d0161bc655913c69412ba16a.tar cuberite-bb37271f306507f8d0161bc655913c69412ba16a.tar.gz cuberite-bb37271f306507f8d0161bc655913c69412ba16a.tar.bz2 cuberite-bb37271f306507f8d0161bc655913c69412ba16a.tar.lz cuberite-bb37271f306507f8d0161bc655913c69412ba16a.tar.xz cuberite-bb37271f306507f8d0161bc655913c69412ba16a.tar.zst cuberite-bb37271f306507f8d0161bc655913c69412ba16a.zip |
-rw-r--r-- | Tools/BlockZapper/.gitignore | 3 | ||||
-rw-r--r-- | Tools/BlockZapper/BlockZapper.sln | 2 | ||||
-rw-r--r-- | Tools/BlockZapper/BlockZapper.vcproj | 44 | ||||
-rw-r--r-- | Tools/BlockZapper/GNUmakefile | 28 | ||||
-rw-r--r-- | Tools/BlockZapper/Globals.h | 2 | ||||
-rw-r--r-- | Tools/BlockZapper/Zapper.cpp | 2 |
6 files changed, 37 insertions, 44 deletions
diff --git a/Tools/BlockZapper/.gitignore b/Tools/BlockZapper/.gitignore new file mode 100644 index 000000000..b4e15dc3c --- /dev/null +++ b/Tools/BlockZapper/.gitignore @@ -0,0 +1,3 @@ +Debug/ +logs/ +Release/ diff --git a/Tools/BlockZapper/BlockZapper.sln b/Tools/BlockZapper/BlockZapper.sln index 9a71b9311..f65451d1b 100644 --- a/Tools/BlockZapper/BlockZapper.sln +++ b/Tools/BlockZapper/BlockZapper.sln @@ -6,7 +6,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BlockZapper", "BlockZapper. {EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA} = {EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "..\..\..\mc-server.clean\VC2008\zlib.vcproj", "{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "..\..\VC2008\zlib.vcproj", "{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Tools/BlockZapper/BlockZapper.vcproj b/Tools/BlockZapper/BlockZapper.vcproj index 2a98197eb..4fa27dd31 100644 --- a/Tools/BlockZapper/BlockZapper.vcproj +++ b/Tools/BlockZapper/BlockZapper.vcproj @@ -41,7 +41,7 @@ <Tool Name="VCCLCompilerTool" Optimization="0" - AdditionalIncludeDirectories="../../source;../../zlib-1.2.7" + AdditionalIncludeDirectories="../../src;../../lib" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" MinimalRebuild="true" BasicRuntimeChecks="3" @@ -116,7 +116,7 @@ Name="VCCLCompilerTool" Optimization="2" EnableIntrinsicFunctions="true" - AdditionalIncludeDirectories="../../source;../../zlib-1.2.7" + AdditionalIncludeDirectories="../../src;../../lib" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" RuntimeLibrary="0" EnableFunctionLevelLinking="true" @@ -222,70 +222,62 @@ Name="shared" > <File - RelativePath="..\..\source\Log.cpp" + RelativePath="..\..\src\Log.cpp" > </File> <File - RelativePath="..\..\source\Log.h" + RelativePath="..\..\src\Log.h" > </File> <File - RelativePath="..\..\source\MCLogger.cpp" + RelativePath="..\..\src\MCLogger.cpp" > </File> <File - RelativePath="..\..\source\MCLogger.h" + RelativePath="..\..\src\MCLogger.h" > </File> <File - RelativePath="..\..\source\StringCompression.cpp" + RelativePath="..\..\src\StringCompression.cpp" > </File> <File - RelativePath="..\..\source\StringCompression.h" + RelativePath="..\..\src\StringCompression.h" > </File> <File - RelativePath="..\..\source\StringUtils.cpp" + RelativePath="..\..\src\StringUtils.cpp" > </File> <File - RelativePath="..\..\source\StringUtils.h" + RelativePath="..\..\src\StringUtils.h" > </File> <Filter Name="OSSupport" > <File - RelativePath="..\..\source\OSSupport\CriticalSection.cpp" + RelativePath="..\..\src\OSSupport\CriticalSection.cpp" > </File> <File - RelativePath="..\..\source\OSSupport\CriticalSection.h" + RelativePath="..\..\src\OSSupport\CriticalSection.h" > </File> <File - RelativePath="..\..\source\OSSupport\File.cpp" + RelativePath="..\..\src\OSSupport\File.cpp" > </File> <File - RelativePath="..\..\source\OSSupport\File.h" + RelativePath="..\..\src\OSSupport\File.h" > </File> <File - RelativePath="..\..\source\OSSupport\IsThread.cpp" + RelativePath="..\..\src\OSSupport\IsThread.cpp" > </File> <File - RelativePath="..\..\source\OSSupport\IsThread.h" - > - </File> - <File - RelativePath="..\..\source\OSSupport\MakeDir.cpp" - > - </File> - <File - RelativePath="..\..\source\OSSupport\MakeDir.h" + RelativePath="..\..\src\OSSupport\IsThread.h" > </File> </Filter> @@ -293,11 +285,11 @@ Name="WorldStorage" > <File - RelativePath="..\..\source\WorldStorage\FastNBT.cpp" + RelativePath="..\..\src\WorldStorage\FastNBT.cpp" > </File> <File - RelativePath="..\..\source\WorldStorage\FastNBT.h" + RelativePath="..\..\src\WorldStorage\FastNBT.h" > </File> </Filter> diff --git a/Tools/BlockZapper/GNUmakefile b/Tools/BlockZapper/GNUmakefile index edd5f9009..0ef5eb3cc 100644 --- a/Tools/BlockZapper/GNUmakefile +++ b/Tools/BlockZapper/GNUmakefile @@ -100,8 +100,8 @@ endif # INCLUDE = -I.\ - -I../../source\ - -I../../zlib-1.2.7\ + -I../../src\ + -I../../lib\ @@ -114,16 +114,16 @@ INCLUDE = -I.\ SOURCES := $(shell find . '(' -name '*.cpp' -o -name '*.c' ')') SHAREDSOURCES := \ - source/Log.cpp \ - source/MCLogger.cpp \ - source/Noise.cpp \ - source/StringCompression.cpp \ - source/StringUtils.cpp \ - source/OSSupport/CriticalSection.cpp \ - source/OSSupport/File.cpp \ - source/OSSupport/IsThread.cpp \ - source/OSSupport/MakeDir.cpp \ - source/WorldStorage/FastNBT.cpp + src/Log.cpp \ + src/MCLogger.cpp \ + src/Noise.cpp \ + src/StringCompression.cpp \ + src/StringUtils.cpp \ + src/OSSupport/CriticalSection.cpp \ + src/OSSupport/File.cpp \ + src/OSSupport/IsThread.cpp \ + src/OSSupport/MakeDir.cpp \ + src/WorldStorage/FastNBT.cpp SHAREDSOURCES := $(filter-out %minigzip.c,$(SHAREDSOURCES)) @@ -142,8 +142,6 @@ BlockZapper : $(OBJECTS) $(SHAREDOBJECTS) clean : rm -rf $(BUILDDIR) BlockZapper -install : MCServer - cp MCServer MCServer @@ -175,7 +173,7 @@ $(BUILDDIR)%.o: %.cpp @sed -e 's/.*://' -e 's/\\$$//' < $(patsubst %.o,%.d,$@).tmp | fmt -1 | sed -e 's/^ *//' -e 's/$$/:/' >> $(patsubst %.o,%.d,$@) @rm -f $(patsubst %.o,%.d,$@).tmp -$(BUILDDIR)source/%.o: ../../source/%.cpp +$(BUILDDIR)src/%.o: ../../src/%.cpp @mkdir -p $(dir $@) $(CC) $(CXX_OPTIONS) -c $(INCLUDE) $< -o $@ @$(CC) $(CXX_OPTIONS) -MM $(INCLUDE) $< > $(patsubst %.o,%.d,$@) diff --git a/Tools/BlockZapper/Globals.h b/Tools/BlockZapper/Globals.h index e27315ec5..3826c72fa 100644 --- a/Tools/BlockZapper/Globals.h +++ b/Tools/BlockZapper/Globals.h @@ -7,7 +7,7 @@ -#include "../../source/Globals.h" +#include "../../src/Globals.h" diff --git a/Tools/BlockZapper/Zapper.cpp b/Tools/BlockZapper/Zapper.cpp index 702f968ab..304d49770 100644 --- a/Tools/BlockZapper/Zapper.cpp +++ b/Tools/BlockZapper/Zapper.cpp @@ -7,7 +7,7 @@ #include "WorldStorage/FastNBT.h" #include "StringCompression.h" -#include "zlib.h" +#include "zlib/zlib.h" #include "Zapper.h" |