Introduce diagonal movement keys on the numeric keypad, and use them

as an alternative control method in Cube. (This was a bit of hassle
in the Windows front end; I also introduced a debugging framework
and made TranslateMessage conditional.)

[originally from svn r4162]
This commit is contained in:
Simon Tatham
2004-04-28 17:21:57 +00:00
parent d37b52bde5
commit 56a59e2e51
4 changed files with 131 additions and 8 deletions

View File

@ -21,7 +21,11 @@ enum {
CURSOR_UP,
CURSOR_DOWN,
CURSOR_LEFT,
CURSOR_RIGHT
CURSOR_RIGHT,
CURSOR_UP_LEFT,
CURSOR_DOWN_LEFT,
CURSOR_UP_RIGHT,
CURSOR_DOWN_RIGHT
};
#define IGNOREARG(x) ( (x) = (x) )