1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 11:58:07 +00:00

made background screen darkening consistent and optional

This commit is contained in:
Zeno Rogue
2022-07-05 11:51:06 +02:00
parent b3a394c266
commit 75f58766a2
39 changed files with 170 additions and 129 deletions

View File

@@ -293,7 +293,7 @@ struct debugScreen {
void operator () () {
cmode = sm::SIDE | sm::DIALOG_STRICT_X;
gamescreen(0);
gamescreen();
getcstat = '-';
dialog::init(show_debug_data ? XLAT("debug values") : XLAT("internal details"));
@@ -468,7 +468,8 @@ EX void push_debug_screen() {
/** show the cheat menu */
EX void showCheatMenu() {
gamescreen(1);
cmode = sm::SIDE | sm::MAYDARK;
gamescreen();
dialog::init("cheat menu");
for(auto& ch: cheats) {
dialog::addItem(XLAT(ch.desc), ch.key);