diff options
author | rubidium <rubidium@openttd.org> | 2010-12-07 20:40:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-07 20:40:50 +0000 |
commit | 249d21d3de87f77c5cbd859b5367b98db31917a5 (patch) | |
tree | c1e0bd9b69b19c2d77f6af463fa80d1b067cd15f /src/table/animcursors.h | |
parent | 933a4d482561bec328d7a7415944896bc4f1c285 (diff) | |
download | openttd-249d21d3de87f77c5cbd859b5367b98db31917a5.tar.xz |
(svn r21423) -Codechange: replace some magic numbers by slightly less magic numbers
Diffstat (limited to 'src/table/animcursors.h')
-rw-r--r-- | src/table/animcursors.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/table/animcursors.h b/src/table/animcursors.h index 4757c5c53..14d22b7ef 100644 --- a/src/table/animcursors.h +++ b/src/table/animcursors.h @@ -33,10 +33,10 @@ * Animated cursor elements for demolishion */ static const AnimCursor _demolish_animcursor[] = { - ANIM_CURSOR_LINE(0x2C0, 8) - ANIM_CURSOR_LINE(0x2C1, 8) - ANIM_CURSOR_LINE(0x2C2, 8) - ANIM_CURSOR_LINE(0x2C3, 8) + ANIM_CURSOR_LINE(SPR_CURSOR_DEMOLISH_FIRST, 8) + ANIM_CURSOR_LINE(SPR_CURSOR_DEMOLISH_1, 8) + ANIM_CURSOR_LINE(SPR_CURSOR_DEMOLISH_2, 8) + ANIM_CURSOR_LINE(SPR_CURSOR_DEMOLISH_LAST, 8) ANIM_CURSOR_END() }; @@ -44,9 +44,9 @@ static const AnimCursor _demolish_animcursor[] = { * Animated cursor elements for lower land */ static const AnimCursor _lower_land_animcursor[] = { - ANIM_CURSOR_LINE(0x2BB, 10) - ANIM_CURSOR_LINE(0x2BC, 10) - ANIM_CURSOR_LINE(0x2BD, 29) + ANIM_CURSOR_LINE(SPR_CURSOR_LOWERLAND_FIRST, 10) + ANIM_CURSOR_LINE(SPR_CURSOR_LOWERLAND_1, 10) + ANIM_CURSOR_LINE(SPR_CURSOR_LOWERLAND_LAST, 29) ANIM_CURSOR_END() }; @@ -54,9 +54,9 @@ static const AnimCursor _lower_land_animcursor[] = { * Animated cursor elements for raise land */ static const AnimCursor _raise_land_animcursor[] = { - ANIM_CURSOR_LINE(0x2B8, 10) - ANIM_CURSOR_LINE(0x2B9, 10) - ANIM_CURSOR_LINE(0x2BA, 29) + ANIM_CURSOR_LINE(SPR_CURSOR_RAISELAND_FIRST, 10) + ANIM_CURSOR_LINE(SPR_CURSOR_RAISELAND_1, 10) + ANIM_CURSOR_LINE(SPR_CURSOR_RAISELAND_LAST, 29) ANIM_CURSOR_END() }; @@ -64,9 +64,9 @@ static const AnimCursor _raise_land_animcursor[] = { * Animated cursor elements for the goto icon */ static const AnimCursor _order_goto_animcursor[] = { - ANIM_CURSOR_LINE(0x2CC, 10) - ANIM_CURSOR_LINE(0x2CD, 10) - ANIM_CURSOR_LINE(0x2CE, 29) + ANIM_CURSOR_LINE(SPR_CURSOR_PICKSTATION_FIRST, 10) + ANIM_CURSOR_LINE(SPR_CURSOR_PICKSTATION_1, 10) + ANIM_CURSOR_LINE(SPR_CURSOR_PICKSTATION_LAST, 29) ANIM_CURSOR_END() }; @@ -74,8 +74,8 @@ static const AnimCursor _order_goto_animcursor[] = { * Animated cursor elements for the build signal icon */ static const AnimCursor _build_signals_animcursor[] = { - ANIM_CURSOR_LINE(0x50C, 20) - ANIM_CURSOR_LINE(0x50D, 20) + ANIM_CURSOR_LINE(SPR_CURSOR_BUILDSIGNALS_FIRST, 20) + ANIM_CURSOR_LINE(SPR_CURSOR_BUILDSIGNALS_LAST, 20) ANIM_CURSOR_END() }; |