hedgewars/uScript.pas
changeset 13037 3718637c14be
parent 13036 434bcdd9562c
child 13038 356995c8c48b
equal deleted inserted replaced
13036:434bcdd9562c 13037:3718637c14be
  3728 
  3728 
  3729 // ai hints
  3729 // ai hints
  3730 ScriptSetInteger('aihUsualProcessing', aihUsualProcessing);
  3730 ScriptSetInteger('aihUsualProcessing', aihUsualProcessing);
  3731 ScriptSetInteger('aihDoesntMatter'   , aihDoesntMatter);
  3731 ScriptSetInteger('aihDoesntMatter'   , aihDoesntMatter);
  3732 
  3732 
  3733 // land flags
  3733 // land flags (partial)
  3734 ScriptSetInteger('lfIndestructible', lfIndestructible);
  3734 ScriptSetInteger('lfIndestructible', lfIndestructible);
  3735 ScriptSetInteger('lfIce'           , lfIce);
  3735 ScriptSetInteger('lfIce'           , lfIce);
  3736 ScriptSetInteger('lfBouncy'        , lfBouncy);
  3736 ScriptSetInteger('lfBouncy'        , lfBouncy);
       
  3737 
       
  3738 ScriptSetInteger('lfLandMask'      , lfLandMask);
       
  3739 ScriptSetInteger('lfCurrentHog'    , lfCurrentHog);
       
  3740 ScriptSetInteger('lfHHMask'        , lfHHMask);
       
  3741 ScriptSetInteger('lfNotHHObjMask'  , lfNotHHObjMask);
       
  3742 ScriptSetInteger('lfAllObjMask'    , lfAllObjMask);
  3737 
  3743 
  3738 // register functions
  3744 // register functions
  3739 lua_register(luaState, _P'HideHog', @lc_hidehog);
  3745 lua_register(luaState, _P'HideHog', @lc_hidehog);
  3740 lua_register(luaState, _P'RestoreHog', @lc_restorehog);
  3746 lua_register(luaState, _P'RestoreHog', @lc_restorehog);
  3741 lua_register(luaState, _P'SaveCampaignVar', @lc_savecampaignvar);
  3747 lua_register(luaState, _P'SaveCampaignVar', @lc_savecampaignvar);