Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldServer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldServer.hpp')
-rw-r--r--source/game/StarWorldServer.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/game/StarWorldServer.hpp b/source/game/StarWorldServer.hpp
index 896bb40..7e14efa 100644
--- a/source/game/StarWorldServer.hpp
+++ b/source/game/StarWorldServer.hpp
@@ -296,6 +296,8 @@ private:
List<Vec2I> roots;
};
+ typedef function<ServerTile const& (Vec2I)> ServerTileGetter;
+
void init(bool firstTime);
// Returns nothing if the processing defined by the given configuration entry
@@ -346,6 +348,7 @@ private:
EntityMapPtr m_entityMap;
ServerTileSectorArrayPtr m_tileArray;
+ ServerTileGetter m_tileGetterFunction;
WorldStoragePtr m_worldStorage;
WorldServerFidelity m_fidelity;
Json m_fidelityConfig;