hedgewars/uScript.pas
changeset 5583 63b274a4fb01
parent 5554 b27ed6c6f538
child 5587 0b0a0f0c2cdc
child 5612 2638dec1b323
--- a/hedgewars/uScript.pas	Tue Aug 16 21:57:58 2011 +0400
+++ b/hedgewars/uScript.pas	Tue Aug 16 21:37:10 2011 -0400
@@ -1539,6 +1539,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);