missing map editor implementation

This commit is contained in:
Geoffray Levasseur committed 2026-10-29 11:18:46 +01:00
1 parent 28a7acc6ac
commit 89ef44503a
2 files changed
+34

No files matched your search

+4
View File
@@ -257,6 +257,10 @@ void completeJob(int p, int loc, int job);
// --- Map Editor ---
// Allocates the supervisor's (player 0) map-editor-only Map/MapObservedLast/
// Territory buffers for standalone map editing (no other player, no
// initGame()). Must be paired with releaseMapEditor().
void initMapEditor();
// Converts a tile to ocean if it has no grass-or-better neighbor, to shore
// otherwise; returns true if the terrain type actually changed.
bool checkShore(int loc);