X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/dc3de726c11f4b4e34333def89200ceff1ce2066..5080469db3c8e85caa768da3f6d5b8050013900d:/puzzles.h diff --git a/puzzles.h b/puzzles.h index b375c3b..a1acada 100644 --- a/puzzles.h +++ b/puzzles.h @@ -306,6 +306,7 @@ void move_cursor(int button, int *x, int *y, int maxw, int maxh, int wrap); /* Used in netslide.c and sixteen.c for cursor movement around edge. */ int c2pos(int w, int h, int cx, int cy); +int c2diff(int w, int h, int cx, int cy, int button); void pos2c(int w, int h, int pos, int *cx, int *cy); /* Draws text with an 'outline' formed by offsetting the text