diff options
author | Darkvater <darkvater@openttd.org> | 2005-06-06 13:47:06 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-06-06 13:47:06 +0000 |
commit | 5fed47964e28c49f7af879700d013f2897341f4e (patch) | |
tree | ac935893726bc7005c7c5ad7d411354e5b8cc0f9 /gfx.h | |
parent | 71c2a573e193b0e4530cee49e02148320c84c612 (diff) | |
download | openttd-5fed47964e28c49f7af879700d013f2897341f4e.tar.xz |
(svn r2420) - Codechange: magic number elminitation of cursorsprites.
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |