From: Holger Schemel Date: Fri, 16 Dec 2022 17:56:39 +0000 (+0100) Subject: added special screen position for button to show level set info for "jue0" X-Git-Tag: 4.3.4.0~6 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=7b8807231938cc80e673f822d8f9853b930509a8 added special screen position for button to show level set info for "jue0" --- diff --git a/src/screens.c b/src/screens.c index 5fe48e3d..2c312d4c 100644 --- a/src/screens.c +++ b/src/screens.c @@ -9821,6 +9821,13 @@ static void CreateScreenMenubuttons(void) // special compatibility handling for "BD2K3" graphics set if (strPrefix(leveldir_current->identifier, "BD2K3")) x = SX + TILESIZE + MINI_TILESIZE; + + // special compatibility handling for "jue0" graphics set + if (strPrefix(artwork.gfx_current_identifier, "jue0")) + { + x = SX + SXSIZE - 4 * TILESIZE; + y = SY + SYSIZE - 3 * TILESIZE; + } } }