home · contact · privacy
Load last world state from save file, not from re-stepping record file.
[plomrogue] / src / server / map.h
index f74d85df18bd7b6305b1733949df74e52ca7a60d..4ff6f68faa123348023c550909a3a9bc18875021 100644 (file)
 
 
 
-/* Initialize island map "~" cells representing water and "." cells representing
- * land. The island shape is built randomly by starting with a sea of one land
- * cell in the middle, then going into a cycle of repeatedly selecting a random
- * seal cell and transforming it into land if it is neighbor to land; the cycle
- * ends when a land cell is due to be created right at the border of the map.
- * Lots of 'X' cells representing trees are put on the island, too.
+/* (Re-)make island map "~" cells representing water and "." cells representing
+ * land. The island shape is built randomly from world.seed_map by starting with
+ * a sea of one land cell in the middle, then going into a cycle of repeatedly
+ * selecting a random sea cell and transforming it into land if it is neighbor
+ * to land; the cycle ends when a land cell is due to be created right at the
+ * border of the map. Lots of 'X' cells representing trees are put on the island.
  */
-extern void init_map();
+extern void remake_map();
 
 /* Check if coordinate "pos" on (or beyond) world.map is accessible to thing
  * movement.