Expose some vars for tracking the border.
authormikade
Wed, 14 Sep 2011 15:23:40 +0200
changeset 5897 0e0fc7e08a3d
parent 5895 212d3b459658
child 5899 0c3db82e9f4d
Expose some vars for tracking the border.
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Tue Sep 13 21:25:13 2011 -0400
+++ b/hedgewars/uScript.pas	Wed Sep 14 15:23:40 2011 +0200
@@ -1809,6 +1809,9 @@
 // import some variables
 ScriptSetInteger('LAND_WIDTH', LAND_WIDTH);
 ScriptSetInteger('LAND_HEIGHT', LAND_HEIGHT);
+ScriptSetInteger('topY', topY);
+ScriptSetInteger('leftX', leftX);
+ScriptSetInteger('rightX', rightX); 
 
 ScriptSetString('L', cLocale);