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:
@@ -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