OpenXcom Forum

Contributions => Programming => Topic started by: Constantine on September 17, 2024, 11:14:58 am

Title: Add hotkeys for moving unit up/down
Post by: Constantine on September 17, 2024, 11:14:58 am
Almost every battlescape button in OXC has hotkey. But somehow moving unit up/down buttons do not. Seems strange as this actions are very useful.
So I set them up.
PageUp and PageDown are used for moving view up/down; also I couldn't use W and S because S is set for Stats. So I decided default values to be W and X.
Tests proof that X for "Move unit below" and X for "Clear inventory" do not interfere, both work just ok.

P. S. Now there is only one button without hotkey -- "Multilevel view". I just see no use in that one, so I ignored it.

Here's my pull request: https://github.com/OpenXcom/OpenXcom/pull/1446
Title: Re: Add hotkeys for moving unit up/down
Post by: Meridian on September 23, 2024, 11:18:02 pm
The W hotkey is already taken in OXCE.

Otherwise I'm happy to include into OXCE (if OXC isn't interested).