mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 00:15:46 -07:00
Implemented Cube, in a sufficiently general way that it also handles
the tetrahedron, octahedron and icosahedron. [originally from svn r4151]
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user