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 /table | |
parent | 71c2a573e193b0e4530cee49e02148320c84c612 (diff) | |
download | openttd-5fed47964e28c49f7af879700d013f2897341f4e.tar.xz |
(svn r2420) - Codechange: magic number elminitation of cursorsprites.
Diffstat (limited to 'table')
-rw-r--r-- | table/animcursors.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/table/animcursors.h b/table/animcursors.h index e43dfc1c8..ca9de3e1b 100644 --- a/table/animcursors.h +++ b/table/animcursors.h @@ -1,7 +1,7 @@ #define ANIM_CURSOR_LINE(a,b) a,b, #define ANIM_CURSOR_END() 0xFFFF -static const uint16 _demolish_animcursor[] = { +static const CursorID _demolish_animcursor[] = { ANIM_CURSOR_LINE(0x2C0, 29) ANIM_CURSOR_LINE(0x2C1, 29) ANIM_CURSOR_LINE(0x2C2, 29) @@ -9,34 +9,34 @@ static const uint16 _demolish_animcursor[] = { ANIM_CURSOR_END() }; -static const uint16 _lower_land_animcursor[] = { +static const CursorID _lower_land_animcursor[] = { ANIM_CURSOR_LINE(0x2BB, 29) ANIM_CURSOR_LINE(0x2BC, 29) ANIM_CURSOR_LINE(0x2BD, 98) ANIM_CURSOR_END() }; -static const uint16 _raise_land_animcursor[] = { +static const CursorID _raise_land_animcursor[] = { ANIM_CURSOR_LINE(0x2B8, 29) ANIM_CURSOR_LINE(0x2B9, 29) ANIM_CURSOR_LINE(0x2BA, 98) ANIM_CURSOR_END() }; -static const uint16 _pick_station_animcursor[] = { +static const CursorID _pick_station_animcursor[] = { ANIM_CURSOR_LINE(0x2CC, 29) ANIM_CURSOR_LINE(0x2CD, 29) ANIM_CURSOR_LINE(0x2CE, 98) ANIM_CURSOR_END() }; -static const uint16 _build_signals_animcursor[] = { +static const CursorID _build_signals_animcursor[] = { ANIM_CURSOR_LINE(0x50C, 148) ANIM_CURSOR_LINE(0x50D, 148) ANIM_CURSOR_END() }; -static const uint16 * const _animcursors[] = { +static const CursorID * const _animcursors[] = { _demolish_animcursor, _lower_land_animcursor, _raise_land_animcursor, |