Victor Sergienko
c59987753c
iOS: Touch-hex action added.
2018-07-09 08:02:52 +11:00
Victor Sergienko
20e4a6e207
iOS: Touch interface implemented, and a RMB emulation of such on PC.
2018-07-09 08:02:52 +11:00
kallaballa
4f1a7a9faa
Introduce surrender hotkey
2018-02-05 00:35:35 +01:00
Wedge009
0925aa7e0c
Align default quit hot-key with conventions ( fixes #2397 )
...
Switch quit to title-screen from Ctrl+Q to Ctrl+W (OSX already uses Cmd+W) and quit-to-desktop from Ctrl+Shift+Q to Ctrl+Q.
2018-01-26 14:12:03 +11:00
Andreas Löf
92ca7fdb5e
Fix #24681 : Use composed hotkeys where appropriate and revert help to be ':'
...
This enables textinput events in SDL and adds handling of them. The events
are processed for hotkeys if the length of the hotkey string is 1 (which is the
case for all straightforward hotkeys).
2017-04-29 11:30:31 +12:00
Ryan Roden-Corrent
a58e595705
Add default hotkeys for map scrolling
2016-04-05 20:51:33 -04:00
Celtic Minstrel
24a54e1108
Show the non-rebindable shortcuts in preferences.
...
They can't be changed, but it will at least let people know that the key works for that command.
Currently they're just hard-coded. A more general solution would be possible, if there's
any chance that more non-rebindable hotkeys are needed.
This also removes Cmd+Shift+Q as a shortcut for Quit to Desktop on OSX.
2015-09-08 10:45:42 -04:00
Celtic Minstrel
c35387982c
Generalize Quit to Desktop hotkey so it works in-game and at titlescreen
2015-09-07 14:52:00 -04:00
Andreas Löf
56eb59df5e
Replace keycode with scancode and fix broken keybindings.
...
Broken keybindings are fixed byreplacing " " with "space".
Scancodes are tied to physical buttons on the keyboard and are
language independant.
2015-08-25 18:56:28 +12:00
Andreas Löf
2459e7db10
This reworks the hotkey system to rely on keycodes.
...
There is a new class introduced, hokey_base, that is the public
interface to the hotkey bindings. It is an abstract class that relies
on concrete classes hokey_keyboard and hotkey_mouse to do the device
specific hotkey work via the template method pattern.
There are two factory methods introduced, load_hotkey and
create_hotkey that should only be used to instantiate new objects.
This commit also changes the hotkey ":" and "+" to ";" respective "="
becausse ":" and "+" are not valid keycodes.
2015-08-25 18:56:28 +12:00
Chris Beck
2021a42d5b
Add lua console
...
- Add an internal command logger to the lua kernel base, and expose
this.
- Redirect the internal lua `print` to the command logger.
- Add an external logger registration system to lua kernel, in
addition to the internal one.
- Add a lua console dialog which binds to a lua kernel base and
permits to review the contents of the logger and issue new commands,
and report errors.
- Add a hotkey binding to launch the lua console "`"
- Adds tab completion support to the lua console
2014-11-13 11:38:58 -05:00
Ignacio R. Morelle
2295b3b6d0
wmlindent pass
2014-10-11 00:55:26 -03:00
fendrin
e6256c28ee
Default hotkeys for editor brushes(1-5) and terrain description(ctr+t).
2014-07-14 18:37:57 -04:00
fendrin
22c7025148
Resolved overlapping hotkey definitions.
...
Refresh editor display: ctrl+e ---> ctrl+d
New Map: ctrl+n ---> ctrl+m
2014-07-14 17:35:34 -04:00
fendrin
fe4064d774
Restored the old control scheme as the default
2014-02-07 20:05:20 +01:00
fendrin
3119d70e20
Change the default hotkey binding for the paint tool action.
...
This changes the binding from "d" to "p" to avoid conflicting with the
unit description one.
2013-12-28 12:45:22 +01:00
Bär Halberkamp
9ce2dfbc84
ran wmlindent
2013-12-20 19:59:12 +01:00
fendrin
b68ae75c4e
Default bindings for the title screen hotkeys.
2013-12-06 18:50:57 +01:00
fendrin
4a8c66c9a4
default bindings for mouse button actions.
2013-11-27 02:25:49 +01:00
Alexander van Gessel
38b224c1ff
Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
...
This reverts commit 23b72d6956
.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956
Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
...
This reverts commit 5fa5c03411
, reversing
changes made to 06374c64ba
.
2013-08-08 18:50:46 +02:00
Alexander van Gessel
0738a4e59c
make reindent minus some wmlindent issues
2013-08-04 23:22:56 +02:00
flix
9d1dfe0638
Add possibility to kill unit under cursor
...
...with context menu in debug mode.
Also assign the hotkey "shift+k" for this action.
Patch by pl_kolek. See https://gna.org/patch/?3905
2013-06-09 21:50:48 +03:00
Fabian Müller
f5feb5cb2f
Removed duplicate entry for the "editor-update-transitions" hotkey.
2012-10-27 17:21:27 +00:00
Fabian Müller
35b82080c4
Merged the editor hotkeys.cfg with the default one.
...
Having different config files for each scope is no longer supported
with the newly modified hotkeys system.
2012-10-26 12:40:17 +00:00
Gabriel Morin
192e7a017e
Completely removed the waypoint functionality on 'w' key,
...
...since the whiteboard is now an adequate replacement.
Fixes bug #17060
2011-09-08 00:52:38 +00:00
Gabriel Morin
df4ba3108c
Patch #2640 by tschmitz
...
* Adds new Suppose Dead feature to the whiteboard, temporarily bound
to 'i' key.
* Fixes wrong use of std::equals
2011-04-17 22:56:44 +00:00
Mark de Wever
71c0db2a12
Strip trailing whitespace.
2011-03-06 18:27:59 +00:00
Mark de Wever
aa723cd7b1
Change titlescreen reload hotky to F5 for the Mac.
...
Also some minor changelog cleanups. (Applies patch #2531 including extra
information regarding the change.)
2011-02-17 20:57:39 +00:00
Mark de Wever
19490f0a31
Implement the helptips.
2011-02-12 21:36:42 +00:00
Steven Panek
9936b58d27
Ran wmlindent.
2010-11-25 10:06:26 +00:00
Gabriel Morin
ef81324150
Whiteboard: add a new "Execute all actions" command,
...
...bound to ctrl+y by default, and added to the actions (not context)
menu. It executes actions in sequence until the first attack, or until
an action fails to execute. Fulfills the feature request of bug
#16807 .
Simplified some return type in the process in side_actions: returning
iterators wasn't really useful for the execute functions.
2010-10-10 03:33:24 +00:00
Gunter Labes
b7ba801aad
changed the refresh cache hotkey to ctrl+F5 for macs (fixes bug #16744 )
2010-09-25 18:02:34 +00:00
Mark de Wever
d3857f4aea
Fix an error in my last commit.
2010-09-25 09:21:06 +00:00
Mark de Wever
3adf224851
Changed the refresh cache Mac hotkey to CMD+F5.
...
(Fixes bug #16744 )
2010-09-25 09:13:42 +00:00
Eric S. Raymond
e7d337a676
Reindent mainline.
2010-09-23 13:04:56 +00:00
Mark de Wever
0e5225043a
Add new hotkeys to the title screen buttons.
2010-09-20 19:29:48 +00:00
Mark de Wever
d8c362bff8
Add a F5 hotkey to the gui2 title screen.
...
This makes 2010-09-02T20:02:54Z!alinkmaze@gmail.com no longer needed and that commit will be
reverted with the next commit.
2010-09-12 20:07:34 +00:00
Gabriel Morin
13b9f24ad6
Whiteboard: moved toggle hotkey to p instead of shift+p
2010-08-23 19:55:05 +00:00
Gabriel Morin
e3c4d5388f
Added shift-p hotkey to turn the whiteboard on and off.
...
Commented out the delay shroud updates hotkey.
2010-08-15 09:00:12 +00:00
Gabriel Morin
163468cabe
Whiteboard: changed keys to move actions up and down the queue...
...
...to pgup and pgdown, since 1, 2 were taken but not listed in
hotkeys.cfg
2010-07-07 05:42:35 +00:00
Gabriel Morin
9d3268d9fb
Whiteboard: hotkeys for bumping actions up and down the queue,
...
...not functional yet.
2010-07-06 02:32:40 +00:00
Gabriel Morin
16efa6f710
Whiteboard: delete latest defined action with 'h' key.
...
(Choice of hotkeys is temporary.) Also, renamed a method.
2010-06-19 09:19:44 +00:00
Gabriel Morin
d68bf1c9f0
Whiteboard: Action execution with the 'y' key.
2010-06-19 00:44:31 +00:00
Eric S. Raymond
0aa99781cf
Reindent mainline.
2009-11-23 14:39:03 +00:00
Ali El Gariani
ab236e3576
Add a default hotkey 'w' for the new "Add waypoint" feature.
2009-08-28 23:50:59 +00:00
Gunter Labes
63ef91b385
Removed the hotkey to enable/disable mouse scrolling
...
it conflicts with setting team labels and is generally just confusing
most users fixes bug #14164 : Default "set team label" hotkey does not
work
2009-08-22 12:33:04 +00:00
Ben Anderman
b0550c5eb9
Changed preferences hotkey on Mac to the standard cmd+comma from cmd+p.
2009-06-29 19:48:00 +00:00
Karol Nowak
b0d4f5b133
Merge branch 'ellipse_hotkey'
2009-06-24 22:50:27 +00:00
Ben Anderman
ce9491cd3a
Changed quit hotkey to cmd+w on Mac, fixing bug #13634 .
2009-06-16 18:40:39 +00:00