From 57c75c6cb8dffcf58e641549e6e13eabaa1d17f8 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 3 Jun 2021 12:25:24 +0200 Subject: [PATCH] corner HUD now displays the active specimodes --- hud.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/hud.cpp b/hud.cpp index a23f805f..4306a37b 100644 --- a/hud.cpp +++ b/hud.cpp @@ -643,6 +643,31 @@ EX void drawStats() { } } 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 CAP_MEMORY_RESERVE