Adding leftX/rightX/topY to simplify determining bounds based on map playing area.
authornemo
Sat, 17 Mar 2012 14:13:16 -0400
changeset 6789 bed473d0aa7d
parent 6788 88036f0e0a92
child 6790 e688db01bc9c
Adding leftX/rightX/topY to simplify determining bounds based on map playing area.
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Sat Mar 17 14:02:11 2012 -0400
+++ b/hedgewars/uScript.pas	Sat Mar 17 14:13:16 2012 -0400
@@ -1720,6 +1720,9 @@
 ScriptSetInteger('MapGen', cMapGen);
 ScriptSetInteger('ScreenHeight', cScreenHeight);
 ScriptSetInteger('ScreenWidth', cScreenWidth);
+ScriptSetInteger('LeftX', leftX);
+ScriptSetInteger('RightX', rightX);
+ScriptSetInteger('TopY', topY);
 ScriptSetInteger('TurnTime', cHedgehogTurnTime);
 ScriptSetInteger('CaseFreq', cCaseFactor);
 ScriptSetInteger('HealthCaseProb', cHealthCaseProb);