1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 11:27:39 +00:00

added some missing CAP_ and MAXMDIM guards

This commit is contained in:
Zeno Rogue
2019-05-07 01:08:49 +02:00
parent 044298d0bd
commit c8e950cd40
25 changed files with 126 additions and 25 deletions

View File

@@ -417,6 +417,7 @@ void showCreative() {
gamescreen(3);
dialog::init(XLAT("creative mode"));
#if CAP_EDIT
dialog::addItem(XLAT("map editor"), 'm');
dialog::add_action([] {
if(tactic::on)
@@ -431,6 +432,7 @@ void showCreative() {
addMessage(XLAT("You activate your terraforming powers!"));
});
});
#endif
#if CAP_EDIT
dialog::addItem(XLAT("vector graphics editor"), 'g');
@@ -448,11 +450,15 @@ void showCreative() {
}
#endif
#if CAP_SHOT
dialog::addItem(XLAT("screenshots"), 's');
dialog::add_action_push(shot::menu);
#endif
#if CAP_ANIMATIONS
dialog::addBoolItem(XLAT("animations"), anims::any_on(), 'a');
dialog::add_action_push(anims::show);
#endif
dialog::addBoolItem(XLAT("history mode"), conformal::on || conformal::includeHistory, 'h');
dialog::add_action_push(conformal::history_menu);