hedgewars/uScript.pas
changeset 4319 81391b54b078
parent 4243 bbf7451f6b4e
child 4357 a1fcfc341a52
equal deleted inserted replaced
4317:ba5d5a2f4c4b 4319:81391b54b078
  1124 ScriptSetInteger('gfAISurvival', gfAISurvival);
  1124 ScriptSetInteger('gfAISurvival', gfAISurvival);
  1125 ScriptSetInteger('gfInfAttack', gfInfAttack);
  1125 ScriptSetInteger('gfInfAttack', gfInfAttack);
  1126 ScriptSetInteger('gfResetWeps', gfResetWeps);
  1126 ScriptSetInteger('gfResetWeps', gfResetWeps);
  1127 ScriptSetInteger('gfPerHogAmmo', gfPerHogAmmo);
  1127 ScriptSetInteger('gfPerHogAmmo', gfPerHogAmmo);
  1128 ScriptSetInteger('gfDisableWind', gfDisableWind);
  1128 ScriptSetInteger('gfDisableWind', gfDisableWind);
       
  1129 ScriptSetInteger('gfMoreWind', gfMoreWind);
  1129 
  1130 
  1130 ScriptSetInteger('gmLeft', gmLeft);
  1131 ScriptSetInteger('gmLeft', gmLeft);
  1131 ScriptSetInteger('gmRight', gmRight);
  1132 ScriptSetInteger('gmRight', gmRight);
  1132 ScriptSetInteger('gmUp', gmUp);
  1133 ScriptSetInteger('gmUp', gmUp);
  1133 ScriptSetInteger('gmDown', gmDown);
  1134 ScriptSetInteger('gmDown', gmDown);
  1182 lua_register(luaState, 'SetAmmo', @lc_setammo);
  1183 lua_register(luaState, 'SetAmmo', @lc_setammo);
  1183 lua_register(luaState, 'PlaySound', @lc_playsound);
  1184 lua_register(luaState, 'PlaySound', @lc_playsound);
  1184 lua_register(luaState, 'AddTeam', @lc_addteam);
  1185 lua_register(luaState, 'AddTeam', @lc_addteam);
  1185 lua_register(luaState, 'AddHog', @lc_addhog);
  1186 lua_register(luaState, 'AddHog', @lc_addhog);
  1186 lua_register(luaState, 'SetHealth', @lc_sethealth);
  1187 lua_register(luaState, 'SetHealth', @lc_sethealth);
       
  1188 lua_register(luaState, 'GetHealth', @lc_gethealth);
  1187 lua_register(luaState, 'SetEffect', @lc_seteffect);
  1189 lua_register(luaState, 'SetEffect', @lc_seteffect);
  1188 lua_register(luaState, 'GetHogClan', @lc_gethogclan);
  1190 lua_register(luaState, 'GetHogClan', @lc_gethogclan);
  1189 lua_register(luaState, 'GetHogTeamName', @lc_gethogteamname);
  1191 lua_register(luaState, 'GetHogTeamName', @lc_gethogteamname);
  1190 lua_register(luaState, 'GetHogName', @lc_gethogname);
  1192 lua_register(luaState, 'GetHogName', @lc_gethogname);
  1191 lua_register(luaState, 'GetHogLevel', @lc_gethoglevel);
  1193 lua_register(luaState, 'GetHogLevel', @lc_gethoglevel);
  1198 lua_register(luaState, 'SetState', @lc_setstate);
  1200 lua_register(luaState, 'SetState', @lc_setstate);
  1199 lua_register(luaState, 'GetState', @lc_getstate);
  1201 lua_register(luaState, 'GetState', @lc_getstate);
  1200 lua_register(luaState, 'SetTag', @lc_settag);
  1202 lua_register(luaState, 'SetTag', @lc_settag);
  1201 lua_register(luaState, 'SetTimer', @lc_settimer);
  1203 lua_register(luaState, 'SetTimer', @lc_settimer);
  1202 lua_register(luaState, 'GetTimer', @lc_gettimer);
  1204 lua_register(luaState, 'GetTimer', @lc_gettimer);
  1203 lua_register(luaState, 'GetHealth', @lc_gethealth);
       
  1204 lua_register(luaState, 'SetZoom', @lc_setzoom);
  1205 lua_register(luaState, 'SetZoom', @lc_setzoom);
  1205 lua_register(luaState, 'GetZoom', @lc_getzoom);
  1206 lua_register(luaState, 'GetZoom', @lc_getzoom);
  1206 lua_register(luaState, 'HogSay', @lc_hogsay);
  1207 lua_register(luaState, 'HogSay', @lc_hogsay);
  1207 lua_register(luaState, 'HogTurnLeft', @lc_hogturnleft);
  1208 lua_register(luaState, 'HogTurnLeft', @lc_hogturnleft);
  1208 lua_register(luaState, 'CampaignLock', @lc_campaignlock);
  1209 lua_register(luaState, 'CampaignLock', @lc_campaignlock);