mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 08:23:08 +00:00
more adjustments to disabled CAP_*
This commit is contained in:
1 parent
9a0507ba58
commit
a3d9711ec2
8 files changed
+34
-13
No files matched your search
@@ -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
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user