1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-01 15:30:16 +00:00

more guards for CAP_SHOT/CAP_FILES

This commit is contained in:
Zeno Rogue
2018-12-15 15:20:27 +01:00
parent c08cad3e0b
commit 8a6d3173bd
3 changed files with 9 additions and 3 deletions

View File

@@ -656,7 +656,7 @@ void rollback() {
}
}
#if CAP_FILES
#if CAP_FILES && CAP_SHOT
string animfile = "animation-%04d.png";
bool record_animation() {
@@ -896,7 +896,7 @@ void show() {
dialog::addBoolItem(XLAT("history mode"), (conformal::on || conformal::includeHistory), 'h');
dialog::add_action([] () { pushScreen(conformal::history_menu); });
#if CAP_SHOT
#if CAP_FILES && CAP_SHOT
dialog::addItem(XLAT("shot settings"), 's');
dialog::add_action([] () { pushScreen(shot::menu); });