diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-04-27 17:44:30 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-04-27 17:44:30 +0000 |
| commit | d99e217cfb12f40dd7dbc26146ef287f9f9020fc (patch) | |
| tree | 531dd9d2e94f62ba974f8a9ddab2222c2eba2d8b /puzzles.h | |
| parent | 9867234e70002b8252a48c2bc023875ff87b8ca1 (diff) | |
| download | puzzles-d99e217cfb12f40dd7dbc26146ef287f9f9020fc.zip puzzles-d99e217cfb12f40dd7dbc26146ef287f9f9020fc.tar.gz puzzles-d99e217cfb12f40dd7dbc26146ef287f9f9020fc.tar.bz2 puzzles-d99e217cfb12f40dd7dbc26146ef287f9f9020fc.tar.xz | |
Implemented Cube, in a sufficiently general way that it also handles
the tetrahedron, octahedron and icosahedron.
[originally from svn r4151]
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); |