Qt status fix: 'showexp'

For Qt, experience points weren't shown when enabling 'showexp'
option because they were conditional upon '#if EXP_ON_BOTL'.  That
got eliminated prior to 3.6.0 so wasn't defined for qt_stat.cpp.

When displayed, show Exp as Level:Xp/Exp instead of as a separate
status field.  This has the intentional side-effect of omitting it
when hero is polymorphed and status shows HD instead of Xp.

Label the six characteristics in mixed case instead of all upper
case:  Str, Dex, and so forth.
This commit is contained in:
PatR
2020-09-23 05:21:31 -07:00
parent 5346d8f9e9
commit b672511513
3 changed files with 65 additions and 53 deletions
+5 -4
View File
@@ -78,10 +78,11 @@ private:
NetHackQtLabelledIcon hp;
NetHackQtLabelledIcon power;
NetHackQtLabelledIcon ac;
NetHackQtLabelledIcon level;
NetHackQtLabelledIcon exp;
NetHackQtLabelledIcon align;
NetHackQtLabelledIcon level; // Xp level
NetHackQtLabelledIcon exp; // appended to Xp rather than separate
// but still used to pad their line
NetHackQtLabelledIcon align; // alignment is on Conditions line
// because it has an icon above it
NetHackQtLabelledIcon time;
NetHackQtLabelledIcon score;