Files
nethack/src
Pasi Kallinen 9f9551bdb3 Swap running and rushing modes back
I unintentionally swapped the shift and ctrl movement keys
when redoing the movement input - change them back to how
it was earlier.

Also change the number_pad meta-key bindings, and explain
in the comments why: We can't bind shift or ctrl numbers.
Meta (aka alt-key) works with number-pad numbers when
the altmeta-option is on. There was no altmeta in 3.4.3.

Here's a table of the flags.run/g.context.run values,
from 3.4.3 and 3.7 as of this commit:

             | num_pad:0 || num_pad:1
             | 343 | 370 || 343 | 370
-------------------------------------------------
 <dir>       |  0  |  0  ||  0  |  0
 shift-<dir> |  1  |  1  ||  0  | N/A
 ctrl-<dir>  |  3  |  3  ||  0  | N/A
 meta-<dir>  | N/A | N/A || N/A |  1 (with altmeta)
 m-prefix    |  0  |  -  ||  0  |  -
 G-prefix    |  3  |  3  ||  3  |  3
 g-prefix    |  2  |  2  ||  2  |  2
 5-prefix    | N/A | N/A ||  3  |  3
-------------------------------------------------

The m-prefix in 3.7 does not set the run-value, as it can now
be used with any movement key or prefix, which will set the run value.

New input system does not lose functionality when compared to 3.4.3.
Instead, the number_pad users gain the meta-<dir> running.

This doesn't fix the issue of three badly differentiated run values.
2022-01-29 12:58:06 +02:00
..
2021-09-18 19:51:04 -04:00
2022-01-11 11:25:04 -08:00
2021-01-26 21:06:16 -05:00
2022-01-11 11:25:04 -08:00
2022-01-23 17:18:05 -08:00
2022-01-29 12:58:06 +02:00
2021-12-15 18:39:29 -08:00
2021-01-26 21:06:16 -05:00
2022-01-28 08:30:08 +02:00
2021-01-26 21:06:16 -05:00
2022-01-18 14:13:56 -08:00
2021-08-10 13:35:25 -04:00
2022-01-11 10:25:50 -08:00
2022-01-23 17:18:05 -08:00
2022-01-28 08:30:08 +02:00
2021-01-26 21:06:16 -05:00
2021-12-29 02:21:13 -08:00
2021-12-16 15:56:52 -08:00
2022-01-20 16:31:34 -08:00
2021-12-14 07:43:40 -08:00
2021-12-16 15:56:52 -08:00
2022-01-28 08:30:08 +02:00
2021-12-16 15:56:52 -08:00
2021-12-21 02:56:59 -08:00
2021-11-25 13:17:03 -08:00
2022-01-23 11:02:26 -08:00
2022-01-19 14:22:21 -08:00
2021-12-20 08:30:48 -08:00
2021-02-10 17:06:12 +02:00
2022-01-05 17:35:33 +02:00
2021-12-19 19:31:19 -08:00
2022-01-08 19:15:02 +02:00
2021-01-26 21:06:16 -05:00
2021-01-26 21:06:16 -05:00
2022-01-10 14:18:12 -05:00
2022-01-10 14:18:12 -05:00
2022-01-14 22:42:41 -08:00
2021-12-16 15:56:52 -08:00
2022-01-28 08:30:08 +02:00
2021-01-26 21:06:16 -05:00
2021-01-26 21:06:16 -05:00
2022-01-28 08:30:08 +02:00
2022-01-21 13:37:33 -08:00
2021-12-22 18:29:01 -08:00
2021-09-18 19:51:04 -04:00
2021-12-07 15:54:46 -08:00
2021-12-25 10:26:44 -08:00
2022-01-28 08:30:08 +02:00