X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Ftoons.c;h=264cda431781b41a8d5eb34ccc3b344addcf1e4f;hb=61c3da024802ecc0268bab42d7499fc0346e4fd3;hp=300ae70bf3da93d4f8505d87896424cc7bc3ae13;hpb=e9306042d9ea3bc310590fe16653538905a9b99d;p=rocksndiamonds.git diff --git a/src/libgame/toons.c b/src/libgame/toons.c index 300ae70b..264cda43 100644 --- a/src/libgame/toons.c +++ b/src/libgame/toons.c @@ -186,13 +186,13 @@ void DrawAnim(Bitmap *toon_bitmap, GC toon_clip_gc, boolean AnimateToon(int toon_nr, boolean restart) { - static unsigned long animation_frame_counter = 0; + static unsigned int animation_frame_counter = 0; static int pos_x = 0, pos_y = 0; static int delta_x = 0, delta_y = 0; static int frame = 0; static boolean horiz_move, vert_move; - static unsigned long anim_delay = 0; - static unsigned long anim_delay_value = 0; + static unsigned int anim_delay = 0; + static unsigned int anim_delay_value = 0; static int width,height; static int pad_x,pad_y; static int cut_x,cut_y; @@ -342,8 +342,8 @@ boolean AnimateToon(int toon_nr, boolean restart) void HandleAnimation(int mode) { - static unsigned long animstart_delay = -1; - static unsigned long animstart_delay_value = 0; + static unsigned int animstart_delay = -1; + static unsigned int animstart_delay_value = 0; static boolean anim_running = FALSE; static boolean anim_restart = TRUE; static boolean reset_delay = TRUE;