projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a5b35
)
added special screen position for button to show level set info for "BD2K3"
author
Holger Schemel
<info@artsoft.org>
Wed, 14 Dec 2022 11:19:39 +0000
(12:19 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 14 Dec 2022 11:19:39 +0000
(12:19 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index d986f8d96a164c12258cb1f6532278d95fa9f490..284f4e332c915455cc97c22d55230bc9e22c11d9 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-9777,6
+9777,10
@@
static void CreateScreenMenubuttons(void)
// use "SX" here to place button (ignore draw offsets)
x = SX + SXSIZE - 2 * TILESIZE;
y = SY + SYSIZE - 2 * TILESIZE;
+
+ // special compatibility handling for "BD2K3" graphics set
+ if (strPrefix(leveldir_current->identifier, "BD2K3"))
+ x = SX + TILESIZE + MINI_TILESIZE;
}
}