aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-28 17:21:57 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-28 17:21:57 +0000
commit56a59e2e51d0cbe93ce16253e52a6421b0168c06 (patch)
tree863204a212690fba3d260e4580b063f4052732dd /puzzles.h
parentd37b52bde5a358b1ee839c263bdc0308d1047a1a (diff)
downloadpuzzles-56a59e2e51d0cbe93ce16253e52a6421b0168c06.zip
puzzles-56a59e2e51d0cbe93ce16253e52a6421b0168c06.tar.gz
puzzles-56a59e2e51d0cbe93ce16253e52a6421b0168c06.tar.bz2
puzzles-56a59e2e51d0cbe93ce16253e52a6421b0168c06.tar.xz
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]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/puzzles.h b/puzzles.h
index 86c2cc1..81a9a7a 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -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) )