added special screen position for button to show level set info for "jue0"
authorHolger Schemel <info@artsoft.org>
Fri, 16 Dec 2022 17:56:39 +0000 (18:56 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 16 Dec 2022 17:56:39 +0000 (18:56 +0100)
src/screens.c

index 5fe48e3d68050d3670c67895a49d3ad2e848b2d5..2c312d4ce7c2b57a8be88ea044b3e163f8431112 100644 (file)
@@ -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;
+       }
       }
     }