hedgewars/uScript.pas
changeset 3724 b8678667e7dc
parent 3723 958eeaf84714
child 3730 aecea9aa53dc
equal deleted inserted replaced
3723:958eeaf84714 3724:b8678667e7dc
   819 
   819 
   820 // open internal libraries
   820 // open internal libraries
   821 luaopen_base(luaState);
   821 luaopen_base(luaState);
   822 luaopen_string(luaState);
   822 luaopen_string(luaState);
   823 luaopen_math(luaState);
   823 luaopen_math(luaState);
       
   824 luaopen_table(luaState);
   824 
   825 
   825 // import some variables
   826 // import some variables
   826 ScriptSetInteger('LAND_WIDTH', LAND_WIDTH);
   827 ScriptSetInteger('LAND_WIDTH', LAND_WIDTH);
   827 ScriptSetInteger('LAND_HEIGHT', LAND_HEIGHT);
   828 ScriptSetInteger('LAND_HEIGHT', LAND_HEIGHT);
   828 
   829