summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-06-06 13:47:06 +0000
committerDarkvater <darkvater@openttd.org>2005-06-06 13:47:06 +0000
commit5fed47964e28c49f7af879700d013f2897341f4e (patch)
treeac935893726bc7005c7c5ad7d411354e5b8cc0f9 /gfx.h
parent71c2a573e193b0e4530cee49e02148320c84c612 (diff)
downloadopenttd-5fed47964e28c49f7af879700d013f2897341f4e.tar.xz
(svn r2420) - Codechange: magic number elminitation of cursorsprites.
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx.h b/gfx.h
index 2572ddea0..b56b28ef2 100644
--- a/gfx.h
+++ b/gfx.h
@@ -20,10 +20,10 @@ struct DrawPixelInfo {
typedef struct CursorVars {
Point pos, size, offs, delta;
Point draw_pos, draw_size;
- uint32 sprite;
+ CursorID sprite;
int wheel; // mouse wheel movement
- const uint16 *animate_list, *animate_cur;
+ const CursorID *animate_list, *animate_cur;
uint animate_timeout;
bool visible;
@@ -60,7 +60,7 @@ bool FillDrawPixelInfo(DrawPixelInfo *n, DrawPixelInfo *o, int left, int top, in
void DrawOverlappedWindowForAll(int left, int top, int right, int bottom);
void SetMouseCursor(uint cursor);
-void SetAnimatedMouseCursor(const uint16 *table);
+void SetAnimatedMouseCursor(const CursorID *table);
void CursorTick(void);
void DrawMouseCursor(void);
void ScreenSizeChanged(void);