Qt status conditions

The status lines are out of date.  This brings status conditions
up to 3.6.0 level:  adding Stoned, Slimed, Strangled, Deaf,
Levitating, Flying, Riding.  It also reorders a few things:
put encumbrance after hunger, put Confused after Stunned, and
Blind after Hallucinating.  Also renames Sick to FoodPois and
Ill to TermIll.

So, the portion of status devoted to conditions is now (left to
right on one line):
Satiated/[omitted]/Hungry/Weak/Fainting/Fainted,
[omitted]/Burdened/Stressed/Strained/Overtaxed/Overloaded,
Stone, Slime, Strngl, FoodPois, TermIll,
Stun, Conf, Hallu, Blind, Deaf,
Lev, Fly, Ride.

It's actually two lines.  The upper line has a 40x40 or so icon
(aka tile, defined in qt_xpms.h rather than a data file) above
the corresponding text on the lower line.  I created a blank icon
and used it for all the added conditions.  At some point someone
with artistic talent will need to draw a bunch of things.
This commit is contained in:
PatR
2020-07-31 16:05:35 -07:00
parent dcf5d7d68e
commit 308e7ededd
4 changed files with 186 additions and 54 deletions
+21 -7
View File
@@ -48,15 +48,21 @@ private:
QPixmap p_satiated;
QPixmap p_hungry;
QPixmap p_encumber[5];
QPixmap p_confused;
QPixmap p_stoned;
QPixmap p_slimed;
QPixmap p_strngld;
QPixmap p_sick_fp;
QPixmap p_sick_il;
QPixmap p_blind;
QPixmap p_stunned;
QPixmap p_confused;
QPixmap p_hallu;
QPixmap p_encumber[5];
QPixmap p_blind;
QPixmap p_deaf;
QPixmap p_lev;
QPixmap p_fly;
QPixmap p_ride;
NetHackQtLabelledIcon name;
NetHackQtLabelledIcon dlevel;
@@ -80,13 +86,21 @@ private:
NetHackQtLabelledIcon score;
NetHackQtLabelledIcon hunger;
NetHackQtLabelledIcon confused;
NetHackQtLabelledIcon encumber;
NetHackQtLabelledIcon stoned;
NetHackQtLabelledIcon slimed;
NetHackQtLabelledIcon strngld;
NetHackQtLabelledIcon sick_fp;
NetHackQtLabelledIcon sick_il;
NetHackQtLabelledIcon blind;
NetHackQtLabelledIcon stunned;
NetHackQtLabelledIcon confused;
NetHackQtLabelledIcon hallu;
NetHackQtLabelledIcon encumber;
NetHackQtLabelledIcon blind;
NetHackQtLabelledIcon deaf;
NetHackQtLabelledIcon lev;
NetHackQtLabelledIcon fly;
NetHackQtLabelledIcon ride;
QFrame hline1;
QFrame hline2;