1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 09:00:34 +00:00

corner HUD now displays the active specimodes

This commit is contained in:
Zeno Rogue 2021-06-03 12:25:24 +02:00
parent 41f8f7fba3
commit 57c75c6cb8

25
hud.cpp
View File

@ -643,6 +643,31 @@ EX void drawStats() {
} }
} }
string vers = VER; string vers = VER;
if(true) {
if(casual) vers += " casual";
if(autocheat) vers += " god";
else if(cheater) vers += " cheat";
if(yendor::on) vers += " Yendor";
if(tactic::on) vers += " PTM";
if(inv::on) vers += " inv";
if(tour::on) vers += " tour";
if(shmup::on) vers += " shmup";
if(multi::players > 1) vers += " P" + its(multi::players);
if(pureHardcore()) vers += " hardcore";
else if(hardcore) vers += " partial hardcore";
if(peace::on) vers += " peace";
if(racing::on) vers += " racing";
if(daily::on) vers += " strange";
if(land_structure != default_land_structure())
vers += land_structure_name(true);
if(princess::challenge) vers += " Princess";
if(randomPatternsMode) vers += " RPM";
if(land_structure) vers += " inv";
if(geometry != gNormal || !BITRUNCATED)
vers = vers + " " + full_geometry_name();
}
if(!nofps) vers += XLAT(" fps: ") + its(calcfps()); if(!nofps) vers += XLAT(" fps: ") + its(calcfps());
#if CAP_MEMORY_RESERVE #if CAP_MEMORY_RESERVE