diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-10-22 16:35:23 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-10-22 16:35:23 +0000 |
| commit | b7f192eea34e0bd36abcd457333ab37eb221789f (patch) | |
| tree | 91f6482f7eec6deb4d1de4a0e2838a2b091962f3 /puzzles.h | |
| parent | 6824dcde03d894886fea4c1e16e0020a9c176225 (diff) | |
| download | puzzles-b7f192eea34e0bd36abcd457333ab37eb221789f.zip puzzles-b7f192eea34e0bd36abcd457333ab37eb221789f.tar.gz puzzles-b7f192eea34e0bd36abcd457333ab37eb221789f.tar.bz2 puzzles-b7f192eea34e0bd36abcd457333ab37eb221789f.tar.xz | |
Cleanup: the `mouse_priorities' field in the back end has been a
more general-purpose flags word for some time now. Rename it to
`flags'.
[originally from svn r6414]
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -60,12 +60,14 @@ enum { #define IS_MOUSE_RELEASE(m) ( (unsigned)((m) - LEFT_RELEASE) <= \ (unsigned)(RIGHT_RELEASE - LEFT_RELEASE)) +/* + * Flags in the back end's `flags' word. + */ /* Bit flags indicating mouse button priorities */ #define BUTTON_BEATS(x,y) ( 1 << (((x)-LEFT_BUTTON)*3+(y)-LEFT_BUTTON) ) - -/* Another random flag that goes in the mouse priorities section for want - * of a better place to put it */ +/* Flag indicating that Solve operations should be animated */ #define SOLVE_ANIMATES ( 1 << 9 ) +/* end of `flags' word definitions */ #define IGNOREARG(x) ( (x) = (x) ) @@ -397,7 +399,7 @@ struct game { int (*wants_statusbar)(void); int is_timed; int (*timing_state)(game_state *state, game_ui *ui); - int mouse_priorities; + int flags; }; /* |