X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.c;h=95b12ecb944bce0d4a9e10359704bc1e53ce1a5a;hb=ae3b4e39699426588abeb16a6114819652aa2cdb;hp=b1ecf6945ea34ac7b35d4f321d0e059f39d1d76d;hpb=d0409bd76aa84a8745ec2ea6d8a5480c8bea0bcd;p=rocksndiamonds.git diff --git a/src/cartoons.c b/src/cartoons.c index b1ecf694..95b12ecb 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -164,8 +164,6 @@ static struct GlobalAnimControlInfo global_anim_ctrl[NUM_GAME_MODES]; static struct ToonInfo toons[MAX_NUM_TOONS]; static unsigned int anim_sync_frame = 0; -static unsigned int anim_sync_frame_delay = 0; -static unsigned int anim_sync_frame_delay_value = GAME_FRAME_DELAY; static int game_mode_anim_classes[NUM_GAME_MODES]; static int anim_class_game_modes[NUM_ANIM_CLASSES]; @@ -354,8 +352,6 @@ void InitGlobalAnimControls() anim_sync_frame = 0; - ResetDelayCounter(&anim_sync_frame_delay); - for (m = 0; m < NUM_GAME_MODES; m++) { mode_nr = m; @@ -1111,14 +1107,6 @@ static void HandleGlobalAnim(int action, int game_mode) HandleGlobalAnim_Mode(&global_anim_ctrl[game_mode], action); } -void InitAnimation() -{ -} - -void StopAnimation() -{ -} - static void DoAnimationExt() { int i; @@ -1138,13 +1126,3 @@ static void DoAnimationExt() redraw_mask = REDRAW_ALL; #endif } - -void DoAnimation() -{ - // HandleAnimation(ANIM_CONTINUE); - -#if 1 - // force screen redraw in next frame to continue drawing global animations - redraw_mask = REDRAW_ALL; -#endif -}