hedgewars/uScript.pas
changeset 13093 2b5314cc356c
parent 13067 bcb87269867e
child 13126 de07c8423beb
equal deleted inserted replaced
13092:b6df6283e2ba 13093:2b5314cc356c
  3599 luaopen_string(luaState);
  3599 luaopen_string(luaState);
  3600 luaopen_math(luaState);
  3600 luaopen_math(luaState);
  3601 luaopen_table(luaState);
  3601 luaopen_table(luaState);
  3602 
  3602 
  3603 // import some variables
  3603 // import some variables
  3604 ScriptSetString(_S'L', cLocale);
  3604 ScriptSetString(_S'LOCALE', cLocale);
  3605 
  3605 
  3606 // import game flags
  3606 // import game flags
  3607 ScriptSetInteger('gfForts', gfForts);
  3607 ScriptSetInteger('gfForts', gfForts);
  3608 ScriptSetInteger('gfMultiWeapon', gfMultiWeapon);
  3608 ScriptSetInteger('gfMultiWeapon', gfMultiWeapon);
  3609 ScriptSetInteger('gfSolidLand', gfSolidLand);
  3609 ScriptSetInteger('gfSolidLand', gfSolidLand);