map.h
changeset 1330 8a67d04016ce
parent 1247 01711347f9ac
child 1394 449e84bdc04e
--- a/map.h	Sun Feb 06 22:25:27 2005 +0000
+++ b/map.h	Sun Feb 06 22:36:08 2005 +0000
@@ -35,6 +35,14 @@
 uint ScaleByMapSize1D(uint); // Scale relative to the circumference of the map
 
 typedef uint32 TileIndex;
+
+typedef enum {
+	OWNER_TOWN			= 0xf,	// a town owns the tile
+	OWNER_NONE			= 0x10,	// nobody owns the tile
+	OWNER_WATER			= 0x11,	// "water" owns the tile
+	OWNER_SPECTATOR	= 0xff,	// spectator in MP or in scenario editor
+} Owner;
+
 enum {
 	INVALID_TILE = (uint32) -1
 };