--- a/hedgewars/uCommandHandlers.pas Fri Jul 20 19:56:58 2012 -0400
+++ b/hedgewars/uCommandHandlers.pas Fri Jul 20 21:15:38 2012 -0400
@@ -786,23 +786,23 @@
procedure initModule;
begin
//////// Begin top sorted by freq analysis not including chatmsg
- RegisterVariable('+right' , @chRight_p , false, false);
- RegisterVariable('-right' , @chRight_m , false, false);
- RegisterVariable('+up' , @chUp_p , false, false);
- RegisterVariable('-up' , @chUp_m , false, false);
- RegisterVariable('+left' , @chLeft_p , false, false);
- RegisterVariable('-left' , @chLeft_m , false, false);
- RegisterVariable('+attack' , @chAttack_p , false, false);
- RegisterVariable('+down' , @chDown_p , false, false);
- RegisterVariable('-down' , @chDown_m , false, false);
- RegisterVariable('hjump' , @chHJump , false, false);
- RegisterVariable('ljump' , @chLJump , false, false);
- RegisterVariable('nextturn', @chNextTurn , false, false);
- RegisterVariable('-attack' , @chAttack_m , false, false);
- RegisterVariable('slot' , @chSlot , false, false);
- RegisterVariable('setweap' , @chSetWeapon , false, false);
+ RegisterVariable('+right' , @chRight_p , false, true);
+ RegisterVariable('-right' , @chRight_m , false, true);
+ RegisterVariable('+up' , @chUp_p , false, true);
+ RegisterVariable('-up' , @chUp_m , false, true);
+ RegisterVariable('+left' , @chLeft_p , false, true);
+ RegisterVariable('-left' , @chLeft_m , false, true);
+ RegisterVariable('+attack' , @chAttack_p , false);
+ RegisterVariable('+down' , @chDown_p , false, true);
+ RegisterVariable('-down' , @chDown_m , false, true);
+ RegisterVariable('hjump' , @chHJump , false, true);
+ RegisterVariable('ljump' , @chLJump , false, true);
+ RegisterVariable('nextturn', @chNextTurn , false);
+ RegisterVariable('-attack' , @chAttack_m , false);
+ RegisterVariable('slot' , @chSlot , false);
+ RegisterVariable('setweap' , @chSetWeapon , false, true);
//////// End top by freq analysis
- RegisterVariable('gencmd' , @chGenCmd , false, false);
+ RegisterVariable('gencmd' , @chGenCmd , false);
RegisterVariable('flag' , @chFlag , false);
RegisterVariable('script' , @chScript , false);
RegisterVariable('proto' , @chCheckProto , true );
@@ -846,10 +846,10 @@
RegisterVariable('zoomout' , @chZoomOut , true );
RegisterVariable('zoomreset',@chZoomReset , true );
RegisterVariable('ammomenu', @chAmmoMenu , true);
- RegisterVariable('+precise', @chPrecise_p , false);
- RegisterVariable('-precise', @chPrecise_m , false);
+ RegisterVariable('+precise', @chPrecise_p , false, true);
+ RegisterVariable('-precise', @chPrecise_m , false, true);
RegisterVariable('switch' , @chSwitch , false);
- RegisterVariable('timer' , @chTimer , false);
+ RegisterVariable('timer' , @chTimer , false, true);
RegisterVariable('taunt' , @chTaunt , false);
RegisterVariable('put' , @chPut , false);
RegisterVariable('+volup' , @chVol_p , true );