# HG changeset patch # User Wuzzy # Date 1518645392 -3600 # Node ID c5529aabdda937b2b97c5a45652f990379cca611 # Parent 46ba3285449ab9987cdeb198f00c56621324e264 Flip Switch/Precise key combintions with change hog tags diff -r 46ba3285449a -r c5529aabdda9 ChangeLog.txt --- a/ChangeLog.txt Wed Feb 14 22:54:13 2018 +0100 +++ b/ChangeLog.txt Wed Feb 14 22:56:32 2018 +0100 @@ -8,8 +8,8 @@ + Show remaining ammo when using Birdy egg or RC Plane bomb + Add separate control for team chat (default: U) + Add separate control for changing hedgehog tags (default: Home) - + Hedgehog tag translucency is now changed with [Precise] + [Change hedgehog tags] - + Toggle all hedgehog tags at once with [Switch] + [Change hedgehog tags] + + Toggle all hedgehog tags at once with [Precise] + [Change hedgehog tags] + + Hedgehog tag translucency is now changed with [Switch] + [Change hedgehog tags] * Fix time box being usable in Sudden Death with 0 health decrease * Fix chat input key being sometimes registered twice diff -r 46ba3285449a -r c5529aabdda9 hedgewars/uCommandHandlers.pas --- a/hedgewars/uCommandHandlers.pas Wed Feb 14 22:54:13 2018 +0100 +++ b/hedgewars/uCommandHandlers.pas Wed Feb 14 22:56:32 2018 +0100 @@ -625,14 +625,14 @@ procedure chRotateTags(var s: shortstring); begin s:= s; // avoid compiler hint -// Rotate Tags key + Precise: Toggle translucency only -if LocalMessage and gmPrecise = gmPrecise then +// Rotate Tags key + Switch: Toggle translucency only +if LocalMessage and gmSwitch = gmSwitch then if ((cTagsMask and htTransparent) = 0) then cTagsMask:= cTagsMask or htTransparent else cTagsMask:= cTagsMask and (not htTransparent) -// Rotate Tags key + Switch: Toggle all tags on and off -else if LocalMessage and gmSwitch = gmSwitch then +// Rotate Tags key + Precise: Toggle all tags on and off +else if LocalMessage and gmPrecise = gmPrecise then if ((cTagsMask and (htTeamName or htName or htHealth)) = 0) then cTagsMask:= cPrevTagsMask else