rnd-20100207-2-src
[rocksndiamonds.git] / src / tools.c
index 18c5ca28f8c439934f25542eabae836d2ae96b7b..b4f9fc4a4670d13192768205a74f66971fa3b28c 100644 (file)
@@ -7749,6 +7749,11 @@ void getGraphicSource_SP(struct GraphicInfo_SP *g_sp,
   getGraphicSource(graphic, frame, &g_sp->bitmap, &g_sp->src_x, &g_sp->src_y);
 }
 
+int getGraphicInfo_Delay(int graphic)
+{
+  return graphic_info[graphic].anim_delay;
+}
+
 void PlayMenuSoundExt(int sound)
 {
   if (sound == SND_UNDEFINED)