# HG changeset patch # User mikade # Date 1316006620 -7200 # Node ID 0e0fc7e08a3dc71f85a63438d3647aa636f994f5 # Parent 212d3b4596584b095cb2500cdc81fd0e2ba85c02 Expose some vars for tracking the border. diff -r 212d3b459658 -r 0e0fc7e08a3d 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);