X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=e6f09e1c330d32f0f48fdb992fa0fa9448c8d25a;hp=db2e193a86e80c45197cc96773c87ce532c51b24;hb=796c49130a11576aeb603104bdd25a6020598761;hpb=c8058770312fb6ec95cd6a57164669031bfaf2bf diff --git a/src/tools.c b/src/tools.c index db2e193a..e6f09e1c 100644 --- a/src/tools.c +++ b/src/tools.c @@ -9391,6 +9391,13 @@ void ResetFontStatus() SetFontStatus(-1); } +void SetLevelSetInfo(char *identifier, int level_nr) +{ + setString(&levelset.identifier, identifier); + + levelset.level_nr = level_nr; +} + boolean CheckIfPlayfieldViewportHasChanged() { // if game status has not changed, playfield viewport has not changed either