animcursors.h

Go to the documentation of this file.
00001 /* $Id: animcursors.h 8880 2007-02-24 15:05:14Z rubidium $ */
00002 
00016 #define ANIM_CURSOR_LINE(Sprite, display_time) { Sprite, display_time },
00017 
00020 #define ANIM_CURSOR_END() ANIM_CURSOR_LINE(AnimCursor::LAST, 0)
00021 
00024 static const AnimCursor _demolish_animcursor[] = {
00025   ANIM_CURSOR_LINE(0x2C0, 8)
00026   ANIM_CURSOR_LINE(0x2C1, 8)
00027   ANIM_CURSOR_LINE(0x2C2, 8)
00028   ANIM_CURSOR_LINE(0x2C3, 8)
00029   ANIM_CURSOR_END()
00030 };
00031 
00034 static const AnimCursor _lower_land_animcursor[] = {
00035   ANIM_CURSOR_LINE(0x2BB, 10)
00036   ANIM_CURSOR_LINE(0x2BC, 10)
00037   ANIM_CURSOR_LINE(0x2BD, 29)
00038   ANIM_CURSOR_END()
00039 };
00040 
00043 static const AnimCursor _raise_land_animcursor[] = {
00044   ANIM_CURSOR_LINE(0x2B8, 10)
00045   ANIM_CURSOR_LINE(0x2B9, 10)
00046   ANIM_CURSOR_LINE(0x2BA, 29)
00047   ANIM_CURSOR_END()
00048 };
00049 
00052 static const AnimCursor _order_goto_animcursor[] = {
00053   ANIM_CURSOR_LINE(0x2CC, 10)
00054   ANIM_CURSOR_LINE(0x2CD, 10)
00055   ANIM_CURSOR_LINE(0x2CE, 29)
00056   ANIM_CURSOR_END()
00057 };
00058 
00061 static const AnimCursor _build_signals_animcursor[] = {
00062   ANIM_CURSOR_LINE(0x50C, 20)
00063   ANIM_CURSOR_LINE(0x50D, 20)
00064   ANIM_CURSOR_END()
00065 };
00066 
00071 static const AnimCursor * const _animcursors[] = {
00072   _demolish_animcursor,
00073   _lower_land_animcursor,
00074   _raise_land_animcursor,
00075   _order_goto_animcursor,
00076   _build_signals_animcursor
00077 };

Generated on Wed Jul 15 20:36:02 2009 for OpenTTD by  doxygen 1.5.6