1
0

Remove unused Temporary namespace

- Remove unused temporary mapping generation at startup
This commit is contained in:
Tiger Wang 2020-09-08 09:46:16 +01:00
parent 73ae985a4b
commit 742e27ad2f
12 changed files with 11 additions and 19 deletions

View File

@ -6,10 +6,7 @@ target_sources(
BiomeDef.cpp
BlockArea.cpp
BlockInfo.cpp
BlockState.cpp
BlockType.cpp
BlockTypePalette.cpp
BlockTypeRegistry.cpp
BrewingRecipes.cpp
Broadcaster.cpp
BoundingBox.cpp
@ -53,7 +50,6 @@ target_sources(
MonsterConfig.cpp
NetherPortalScanner.cpp
OverridesSettingsRepository.cpp
PalettedBlockArea.cpp
ProbabDistrib.cpp
RankManager.cpp
RCONServer.cpp
@ -76,11 +72,8 @@ target_sources(
BlockArea.h
BlockInServerPluginInterface.h
BlockInfo.h
BlockState.h
BlockTracer.h
BlockType.h
BlockTypePalette.h
BlockTypeRegistry.h
BrewingRecipes.h
BoundingBox.h
BuildInfo.h.cmake
@ -135,7 +128,6 @@ target_sources(
NetherPortalScanner.h
OpaqueWorld.h
OverridesSettingsRepository.h
PalettedBlockArea.h
ProbabDistrib.h
RankManager.h
RCONServer.h

View File

@ -6,7 +6,7 @@
#include <utility>
#include "BlockTypePalette.h"
#include "Bindings/BlockTypePalette.h"
#include "Cuboid.h"

View File

@ -1,5 +1,5 @@
#include "Globals.h"
#include "BlockState.h"
#include "Bindings/BlockState.h"
#include "../TestHelpers.h"

View File

@ -1,6 +1,6 @@
#include "Globals.h"
#include "../TestHelpers.h"
#include "BlockTypePalette.h"
#include "Bindings/BlockTypePalette.h"
#include "Stopwatch.h"

View File

@ -1,6 +1,6 @@
#include "Globals.h"
#include "BlockTypeRegistry.h"
#include "Bindings/BlockTypeRegistry.h"
#include "../TestHelpers.h"

View File

@ -7,7 +7,7 @@ include_directories(${PROJECT_SOURCE_DIR}/src/)
add_executable(BlockStateTest
BlockStateTest.cpp
../TestHelpers.h
${PROJECT_SOURCE_DIR}/src/BlockState.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockState.cpp
${PROJECT_SOURCE_DIR}/src/StringUtils.cpp
${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp
)
@ -16,8 +16,8 @@ target_link_libraries(BlockStateTest fmt::fmt)
add_executable(BlockTypePaletteTest
BlockTypePaletteTest.cpp
../TestHelpers.h
${PROJECT_SOURCE_DIR}/src/BlockState.cpp
${PROJECT_SOURCE_DIR}/src/BlockTypePalette.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockState.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockTypePalette.cpp
${PROJECT_SOURCE_DIR}/src/JsonUtils.cpp
${PROJECT_SOURCE_DIR}/src/StringUtils.cpp
${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp
@ -29,7 +29,7 @@ target_link_libraries(BlockTypePaletteTest fmt::fmt jsoncpp_lib)
add_executable(BlockTypeRegistryTest
BlockTypeRegistryTest.cpp
../TestHelpers.h
${PROJECT_SOURCE_DIR}/src/BlockTypeRegistry.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockTypeRegistry.cpp
${PROJECT_SOURCE_DIR}/src/StringUtils.cpp
${PROJECT_SOURCE_DIR}/src/OSSupport/CriticalSection.cpp
)
@ -39,9 +39,9 @@ target_link_libraries(BlockTypeRegistryTest fmt::fmt Threads::Threads)
add_executable(PalettedBlockAreaTest
PalettedBlockAreaTest.cpp
../TestHelpers.h
${PROJECT_SOURCE_DIR}/src/BlockState.cpp
${PROJECT_SOURCE_DIR}/src/BlockTypeRegistry.cpp
${PROJECT_SOURCE_DIR}/src/BlockTypePalette.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockState.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockTypeRegistry.cpp
${PROJECT_SOURCE_DIR}/src/Bindings/BlockTypePalette.cpp
${PROJECT_SOURCE_DIR}/src/Cuboid.cpp
${PROJECT_SOURCE_DIR}/src/JsonUtils.cpp
${PROJECT_SOURCE_DIR}/src/PalettedBlockArea.cpp