X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=b0df34409cfbc97772af22c78e8815c9ae6c3644;hb=HEAD;hp=3f551d63a01b630d6b195716c5d056307bae15eb;hpb=f8adc288ec39fcd2f1855e337bb021a6760f6842;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 3f551d63..4083e77e 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1517,6 +1517,11 @@ void SetRandomAnimationValue(int x, int y) gfx.anim_random_frame = GfxRandom[x][y]; } +void SetAnimationFirstLevel(int first_level) +{ + gfx.anim_first_level = first_level; +} + int getGraphicAnimationFrame(int graphic, int sync_frame) { // animation synchronized with global frame counter, not move position