hedgewars/uScript.pas
changeset 14598 62dea281e4d5
parent 14537 ce40351e0690
child 14611 3cf7799e04b5
equal deleted inserted replaced
14597:6d2954037e57 14598:62dea281e4d5
  4143 luaopen_string(luaState);
  4143 luaopen_string(luaState);
  4144 luaopen_math(luaState);
  4144 luaopen_math(luaState);
  4145 luaopen_table(luaState);
  4145 luaopen_table(luaState);
  4146 
  4146 
  4147 // import some variables
  4147 // import some variables
  4148 ScriptSetString(_S'LOCALE', cLocale);
  4148 ScriptSetString(_S'LOCALE', cLanguage);
  4149 
  4149 
  4150 {$IFDEF USE_TOUCH_INTERFACE}
  4150 {$IFDEF USE_TOUCH_INTERFACE}
  4151 ScriptSetString(_S'INTERFACE', 'touch');
  4151 ScriptSetString(_S'INTERFACE', 'touch');
  4152 {$ELSE}
  4152 {$ELSE}
  4153 ScriptSetString(_S'INTERFACE', 'desktop');
  4153 ScriptSetString(_S'INTERFACE', 'desktop');