From 1ddf12beb9340cd8dbe7e22fe35cf407a5ea9c7d Mon Sep 17 00:00:00 2001 From: MatthewBeshay <92357869+MatthewBeshay@users.noreply.github.com> Date: Wed, 8 Apr 2026 21:17:49 +1000 Subject: [PATCH] refactor: move WstringLookup into minecraft --- targets/app/common_sources.txt | 1 - targets/minecraft/sources.txt | 1 + .../GameRules => minecraft/world/level}/WstringLookup.cpp | 2 +- .../common/GameRules => minecraft/world/level}/WstringLookup.h | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename targets/{app/common/GameRules => minecraft/world/level}/WstringLookup.cpp (95%) rename targets/{app/common/GameRules => minecraft/world/level}/WstringLookup.h (100%) diff --git a/targets/app/common_sources.txt b/targets/app/common_sources.txt index 8f1b38284..c16c39958 100644 --- a/targets/app/common_sources.txt +++ b/targets/app/common_sources.txt @@ -45,7 +45,6 @@ common/GameRules/LevelRules/RuleDefinitions/NamedAreaRuleDefinition.cpp common/GameRules/LevelRules/RuleDefinitions/UpdatePlayerRuleDefinition.cpp common/GameRules/LevelRules/RuleDefinitions/UseTileRuleDefinition.cpp common/GameRules/LevelRules/Rules/GameRule.cpp -common/GameRules/WstringLookup.cpp common/GameSettingsManager.cpp common/Game_XuiActions.cpp common/Leaderboards/LeaderboardInterface.cpp diff --git a/targets/minecraft/sources.txt b/targets/minecraft/sources.txt index cb6d0b47a..aefd496ad 100644 --- a/targets/minecraft/sources.txt +++ b/targets/minecraft/sources.txt @@ -731,6 +731,7 @@ world/level/TickNextTickData.cpp world/level/TileEventData.cpp world/level/TilePos.cpp world/level/WaterColor.cpp +world/level/WstringLookup.cpp world/level/biome/BeachBiome.cpp world/level/biome/Biome.cpp world/level/biome/BiomeCache.cpp diff --git a/targets/app/common/GameRules/WstringLookup.cpp b/targets/minecraft/world/level/WstringLookup.cpp similarity index 95% rename from targets/app/common/GameRules/WstringLookup.cpp rename to targets/minecraft/world/level/WstringLookup.cpp index 41e82b0c1..7df353651 100644 --- a/targets/app/common/GameRules/WstringLookup.cpp +++ b/targets/minecraft/world/level/WstringLookup.cpp @@ -1,5 +1,5 @@ -#include "WstringLookup.h" +#include "minecraft/world/level/WstringLookup.h" #include diff --git a/targets/app/common/GameRules/WstringLookup.h b/targets/minecraft/world/level/WstringLookup.h similarity index 100% rename from targets/app/common/GameRules/WstringLookup.h rename to targets/minecraft/world/level/WstringLookup.h