From d99e217cfb12f40dd7dbc26146ef287f9f9020fc Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 27 Apr 2004 17:44:30 +0000 Subject: Implemented Cube, in a sufficiently general way that it also handles the tetrahedron, octahedron and icosahedron. [originally from svn r4151] --- puzzles.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'puzzles.h') diff --git a/puzzles.h b/puzzles.h index 79a938a..632f9b2 100644 --- a/puzzles.h +++ b/puzzles.h @@ -17,7 +17,11 @@ enum { LEFT_BUTTON = 0x1000, MIDDLE_BUTTON, - RIGHT_BUTTON + RIGHT_BUTTON, + CURSOR_UP, + CURSOR_DOWN, + CURSOR_LEFT, + CURSOR_RIGHT }; #define IGNORE(x) ( (x) = (x) ) @@ -53,8 +57,6 @@ void midend_set_params(midend_data *me, game_params *params); void midend_size(midend_data *me, int *x, int *y); void midend_new_game(midend_data *me, char *seed); void midend_restart_game(midend_data *me); -void midend_undo(midend_data *me); -void midend_redo(midend_data *me); int midend_process_key(midend_data *me, int x, int y, int button); void midend_redraw(midend_data *me); float *midend_colours(midend_data *me, int *ncolours); -- cgit v1.1