LuaGlobals: Add NO_CURSOR explicitly
authorWuzzy
Wed, 17 Apr 2019 19:25:30 +0100
changeset 1820 8dd93fe308aa
parent 1819 529bf5849f75
child 1821 e514ad7c39a3
LuaGlobals: Add NO_CURSOR explicitly
LuaGlobals.wiki
--- a/LuaGlobals.wiki	Wed Apr 17 15:52:42 2019 +0100
+++ b/LuaGlobals.wiki	Wed Apr 17 19:25:30 2019 +0100
@@ -22,6 +22,7 @@
 || `TopY` || Y coordinate of the topmost point of the landscape. Not available before `onGameStart` ||
 || `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this equals `NO_CURSOR` ||
 || `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this equals `NO_CURSOR` ||
+|| `NO_CURSOR` || Special value used by `CursorX` and `CursorY` when no cursor is displayed ||
 || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. ||
 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) ||
 || `TeamsCount` || Number of teams, including defeated ones ||