projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdeae16
)
fixed support for level specific information text messages
author
Holger Schemel
<holger.schemel@virtion.de>
Sun, 27 Oct 2024 18:24:17 +0000
(19:24 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Sun, 27 Oct 2024 18:24:19 +0000
(19:24 +0100)
Added special compatibility handling for "BD2K3" graphics set.
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index c0bd1a841cea1be3bf268774cf84ad4c20af7365..98fe6867d53b739b69bab92cc76985ea6dcd1ba3 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-10764,6
+10764,10
@@
static void CreateScreenMenubuttons(void)
// use "SX" here to place button (ignore draw offsets)
x = SX + TILESIZE;
y = SY + SYSIZE - 2 * TILESIZE;
+
+ // special compatibility handling for "BD2K3" graphics set
+ if (strPrefix(leveldir_current->identifier, "BD2K3"))
+ x = -1000; // hide button (to prevent partially undrawing level set info button)
}
}