1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-10 11:14:07 +00:00

exported mfcode for two-character music codes

This commit is contained in:
Zeno Rogue 2025-04-05 23:24:35 +02:00
parent c49c9d6a5d
commit b98d93c41e

View File

@ -155,6 +155,10 @@ EX void resetmusic() {
}
}
#if HDR
constexpr eLand mfcode(const char* buf) { return eLand((buf[0] - '0') * 10 + buf[1] - '0'); }
#endif
EX bool loadMusicInfo(string dir) {
DEBBI(DF_INIT, ("load music info"));
if(dir == "") return false;