mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
moved creative to game menu
This commit is contained in:
parent
0c445ef365
commit
fd36f65fc4
11
menus.cpp
11
menus.cpp
@ -374,9 +374,6 @@ EX void showCreative() {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
dialog::addBoolItem(XLAT("cheat mode"), (cheater), 'c');
|
|
||||||
dialog::add_action(enable_cheat);
|
|
||||||
|
|
||||||
// dialog::addBoolItem(XLAT("expansion"), viewdists, 'x');
|
// dialog::addBoolItem(XLAT("expansion"), viewdists, 'x');
|
||||||
|
|
||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
@ -616,14 +613,9 @@ EX void showChangeMode() {
|
|||||||
dialog::add_action_confirmed(tour::start);
|
dialog::add_action_confirmed(tour::start);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
dialog::addBoolItem(XLAT("creative mode"), (false), 'c');
|
|
||||||
dialog::add_action_push(showCreative);
|
|
||||||
|
|
||||||
dialog::addBoolItem(XLAT("experiment with geometry"), geometry || CHANGED_VARIATION || viewdists, 'e');
|
dialog::addBoolItem(XLAT("experiment with geometry"), geometry || CHANGED_VARIATION || viewdists, 'e');
|
||||||
dialog::add_action(runGeometryExperiments);
|
dialog::add_action(runGeometryExperiments);
|
||||||
|
|
||||||
dialog::addBreak(100);
|
|
||||||
|
|
||||||
dialog::addBoolItem(XLAT(SHMUPTITLE), shmup::on, 's');
|
dialog::addBoolItem(XLAT(SHMUPTITLE), shmup::on, 's');
|
||||||
dialog::add_action_confirmed(shmup::switch_shmup);
|
dialog::add_action_confirmed(shmup::switch_shmup);
|
||||||
|
|
||||||
@ -696,6 +688,9 @@ EX void showChangeMode() {
|
|||||||
dialog::add_action_push(daily::showMenu);
|
dialog::add_action_push(daily::showMenu);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
dialog::addBoolItem(XLAT("cheat mode"), (cheater), 'c');
|
||||||
|
dialog::add_action(enable_cheat);
|
||||||
|
|
||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
|
|
||||||
dialog::addItem(XLAT("highlights & achievements"), 'h');
|
dialog::addItem(XLAT("highlights & achievements"), 'h');
|
||||||
|
4
quit.cpp
4
quit.cpp
@ -522,11 +522,13 @@ EX void showGameMenu() {
|
|||||||
dialog::addItem(XLAT("message log"), 'l');
|
dialog::addItem(XLAT("message log"), 'l');
|
||||||
|
|
||||||
if(cheater) {
|
if(cheater) {
|
||||||
dialog::addItem(XLAT("cheats"), 'c');
|
dialog::addItem(XLAT("cheats"), 'C');
|
||||||
dialog::add_action_push(showCheatMenu);
|
dialog::add_action_push(showCheatMenu);
|
||||||
}
|
}
|
||||||
dialog::addItem(XLAT("settings"), 's');
|
dialog::addItem(XLAT("settings"), 's');
|
||||||
dialog::add_action_push(showSettings);
|
dialog::add_action_push(showSettings);
|
||||||
|
dialog::addItem(XLAT("creative mode"), 'c');
|
||||||
|
dialog::add_action_push(showCreative);
|
||||||
dialog::addItem(XLAT("special modes"), 'm');
|
dialog::addItem(XLAT("special modes"), 'm');
|
||||||
dialog::add_action_push(showChangeMode);
|
dialog::add_action_push(showChangeMode);
|
||||||
#if CAP_SAVE
|
#if CAP_SAVE
|
||||||
|
Loading…
Reference in New Issue
Block a user