migrating save files

This commit is contained in:
2025-07-31 13:48:26 +02:00
parent 2b8447766a
commit 02d872c49b
14 changed files with 249 additions and 176 deletions

View File

@@ -14,7 +14,7 @@ class World {
std::vector<Color> m_DecorationPalette;
Color m_Background;
std::unordered_map<ChunkCoord, ChunkPtr> m_Chunks;
ChunkList m_Chunks;
SpawnColorPalette m_SpawnColorPalette;
@@ -70,7 +70,7 @@ class World {
TowerPtr GetTower(const Vec2f& position) const; // returns null if no tower is here
const std::unordered_map<ChunkCoord, ChunkPtr>& GetChunks() const {
const ChunkList& GetChunks() const {
return m_Chunks;
}