-static int getGraphicAnimationPhase_MM(int frames, int delay, int mode)
-{
- int phase;
-
- if (mode == ANIM_PINGPONG)
- {
- int max_anim_frames = 2 * frames - 2;
- phase = (FrameCounter % (delay * max_anim_frames)) / delay;
- phase = (phase < frames ? phase : max_anim_frames - phase);
- }
- else
- phase = (FrameCounter % (delay * frames)) / delay;
-
- if (mode == ANIM_REVERSE)
- phase = -phase;
-
- return(phase);
-}
-
-void DrawGraphicAnimationExt_MM(int x, int y, int graphic,
- int frames, int delay, int mode, int mask_mode)
+void DrawGraphicAnimation_MM(int x, int y, int graphic, int frame)