1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 01:37:57 +00:00

more adjustments to disabled CAP_*

This commit is contained in:
Zeno Rogue
2019-09-13 03:10:26 +02:00
parent 9a0507ba58
commit a3d9711ec2
8 changed files with 34 additions and 13 deletions

View File

@@ -258,8 +258,6 @@ EX void reuse_music_memory() {
for(auto& s: to_free) chunks.erase(s);
}
#else
EX void resetmusic() {}
#endif
#if CAP_COMMANDLINE
@@ -280,4 +278,9 @@ auto ah_sound = addHook(hooks_args, 0, read_sound_args) + addHook(hooks_clear_ca
#endif
#if !CAP_SDLAUDIO
EX void playSound(cell *c, const string& fname, int vol IS(100)) { }
EX void resetmusic() { }
#endif
}