projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved global animation class "pointer" for animation at mouse position
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 4e64c32648224417a0da13705b567fc20155b420..d4e732e9fb22a535c1329dcb652ff80aafc9db6a 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-469,6
+469,7
@@
y >= gfx.ey && y < gfx.ey + gfx.eysize)
// values for mouse cursor
y >= gfx.ey && y < gfx.ey + gfx.eysize)
// values for mouse cursor
+#define CURSOR_UNDEFINED -1
#define CURSOR_DEFAULT 0
#define CURSOR_NONE 1
#define CURSOR_PLAYFIELD 2
#define CURSOR_DEFAULT 0
#define CURSOR_NONE 1
#define CURSOR_PLAYFIELD 2
@@
-1121,6
+1122,8
@@
struct GfxInfo
void (*draw_tile_cursor_function)(int);
int cursor_mode;
void (*draw_tile_cursor_function)(int);
int cursor_mode;
+ int cursor_mode_override;
+ int cursor_mode_final;
int mouse_x, mouse_y;
};
int mouse_x, mouse_y;
};