X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=b4f9fc4a4670d13192768205a74f66971fa3b28c;hp=18c5ca28f8c439934f25542eabae836d2ae96b7b;hb=be1c10e7863850eba871b2c0da9d635313b2bc01;hpb=e742774a369161df5592ec2d7c553ea6d1143de3 diff --git a/src/tools.c b/src/tools.c index 18c5ca28..b4f9fc4a 100644 --- a/src/tools.c +++ b/src/tools.c @@ -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)