hedgewars/uScript.pas
branchhedgeroid
changeset 5587 0b0a0f0c2cdc
parent 5577 272c82f82cee
parent 5583 63b274a4fb01
child 5644 4ad07103cfae
--- a/hedgewars/uScript.pas	Wed Aug 17 12:31:10 2011 +0200
+++ b/hedgewars/uScript.pas	Wed Aug 17 12:32:40 2011 +0200
@@ -1542,6 +1542,8 @@
 // push game variables so they may be modified by the script
 ScriptSetInteger('GameFlags', GameFlags);
 ScriptSetString('Seed', cSeed);
+ScriptSetInteger('ScreenHeight', cScreenHeight);
+ScriptSetInteger('ScreenWidth', cScreenWidth);
 ScriptSetInteger('TurnTime', cHedgehogTurnTime);
 ScriptSetInteger('CaseFreq', cCaseFactor);
 ScriptSetInteger('HealthCaseProb', cHealthCaseProb);