hedgewars/uCommandHandlers.pas
changeset 7407 c1ade666c124
parent 7404 38a23771ee45
child 7409 fd91aa100ce0
equal deleted inserted replaced
7406:1fe2c821f9bf 7407:c1ade666c124
   784 end;
   784 end;
   785 
   785 
   786 procedure initModule;
   786 procedure initModule;
   787 begin
   787 begin
   788 //////// Begin top sorted by freq analysis not including chatmsg
   788 //////// Begin top sorted by freq analysis not including chatmsg
   789     RegisterVariable('+right'  , @chRight_p      , false);
   789     RegisterVariable('+right'  , @chRight_p      , false, true);
   790     RegisterVariable('-right'  , @chRight_m      , false);
   790     RegisterVariable('-right'  , @chRight_m      , false, true);
   791     RegisterVariable('+up'     , @chUp_p         , false);
   791     RegisterVariable('+up'     , @chUp_p         , false, true);
   792     RegisterVariable('-up'     , @chUp_m         , false);
   792     RegisterVariable('-up'     , @chUp_m         , false, true);
   793     RegisterVariable('+left'   , @chLeft_p       , false);
   793     RegisterVariable('+left'   , @chLeft_p       , false, true);
   794     RegisterVariable('-left'   , @chLeft_m       , false);
   794     RegisterVariable('-left'   , @chLeft_m       , false, true);
   795     RegisterVariable('+attack' , @chAttack_p     , false);
   795     RegisterVariable('+attack' , @chAttack_p     , false, true);
   796     RegisterVariable('+down'   , @chDown_p       , false);
   796     RegisterVariable('+down'   , @chDown_p       , false, true);
   797     RegisterVariable('-down'   , @chDown_m       , false);
   797     RegisterVariable('-down'   , @chDown_m       , false, true);
   798     RegisterVariable('hjump'   , @chHJump        , false);
   798     RegisterVariable('hjump'   , @chHJump        , false, true);
   799     RegisterVariable('ljump'   , @chLJump        , false);
   799     RegisterVariable('ljump'   , @chLJump        , false, true);
   800     RegisterVariable('nextturn', @chNextTurn     , false);
   800     RegisterVariable('nextturn', @chNextTurn     , false, true);
   801     RegisterVariable('-attack' , @chAttack_m     , false);
   801     RegisterVariable('-attack' , @chAttack_m     , false, true);
   802     RegisterVariable('slot'    , @chSlot         , false);
   802     RegisterVariable('slot'    , @chSlot         , false, true);
   803     RegisterVariable('setweap' , @chSetWeapon    , false);
   803     RegisterVariable('setweap' , @chSetWeapon    , false, true);
   804 //////// End top by freq analysis
   804 //////// End top by freq analysis
   805     RegisterVariable('gencmd'  , @chGenCmd       , false);
   805     RegisterVariable('gencmd'  , @chGenCmd       , false, true);
   806     RegisterVariable('flag'    , @chFlag         , false);
   806     RegisterVariable('flag'    , @chFlag         , false);
   807     RegisterVariable('script'  , @chScript       , false);
   807     RegisterVariable('script'  , @chScript       , false);
   808     RegisterVariable('proto'   , @chCheckProto   , true );
   808     RegisterVariable('proto'   , @chCheckProto   , true );
   809     RegisterVariable('spectate', @chFastUntilLag   , false);
   809     RegisterVariable('spectate', @chFastUntilLag   , false);
   810     RegisterVariable('capture' , @chCapture      , true );
   810     RegisterVariable('capture' , @chCapture      , true );