Change default demo speedup key from S to F
authorWuzzy <Wuzzy2@mail.ru>
Sat, 11 May 2019 00:08:50 +0200
changeset 14916 938e67bc08ac
parent 14915 29a111397496
child 14917 3a53309e684b
Change default demo speedup key from S to F Rationale: S collides with WASD. F is short for “fast-forward”.
ChangeLog.txt
QTfrontend/binds.cpp
hedgewars/uInputHandler.pas
--- a/ChangeLog.txt	Fri May 10 23:51:24 2019 +0200
+++ b/ChangeLog.txt	Sat May 11 00:08:50 2019 +0200
@@ -60,6 +60,7 @@
  + Precise + volume up/down changes volume in smaller steps
  + Precise + cursor move keys move camera slower
  + New chat command: “/help room” (shows room chat commands within the game)
+ + Default demo fast-forward key changed from “S” to “F”
  * Fix broken default keyboard controls for team chat and camera movement
 
 Graphics:
--- a/QTfrontend/binds.cpp	Fri May 10 23:51:24 2019 +0200
+++ b/QTfrontend/binds.cpp	Sat May 11 00:08:50 2019 +0200
@@ -75,7 +75,7 @@
     {"fullscr",   "f12",        QT_TRANSLATE_NOOP("binds", "change mode"),     NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle fullscreen mode:")},
     {"capture",   "c",          QT_TRANSLATE_NOOP("binds", "screenshot"),      NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Take a screenshot:")},
     {"!MULTI",    QT_TRANSLATE_NOOP("binds (combination)", "precise + screenshot"), QT_TRANSLATE_NOOP("binds", "save map as image"), NULL, NULL},
-    {"+speedup",  "s",          QT_TRANSLATE_NOOP("binds", "speed up replay"),         NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Demo replay:")},
+    {"+speedup",  "f",          QT_TRANSLATE_NOOP("binds", "speed up replay"),         NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Demo replay:")},
     {"+mission",  "m",          QT_TRANSLATE_NOOP("binds", "show mission information"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Heads-up display:")},
     {"gearinfo",  "o",          QT_TRANSLATE_NOOP("binds", "show object information"), NULL, NULL},
     //: This refers to the team info bars (name/flag/health) of all teams. These are shown at the bottom center of the screen
--- a/hedgewars/uInputHandler.pas	Fri May 10 23:51:24 2019 +0200
+++ b/hedgewars/uInputHandler.pas	Sat May 11 00:08:50 2019 +0200
@@ -398,7 +398,7 @@
     RegisterBind(DefaultBinds, _S'r', 'record');
     RegisterBind(DefaultBinds, _S'h', 'findhh');
     RegisterBind(DefaultBinds, _S'p', 'pause');
-    RegisterBind(DefaultBinds, _S's', '+speedup');
+    RegisterBind(DefaultBinds, _S'f', '+speedup');
     RegisterBind(DefaultBinds, _S't', 'chat');
     RegisterBind(DefaultBinds, _S'u', 'chat team');
     RegisterBind(DefaultBinds, _S'y', 'confirm');