| 2203 | } |
| 2204 | |
| 2205 | NetHackQtStatusWindow::NetHackQtStatusWindow() : |
| 2206 | // Notes: |
| 2207 | // Alignment needs -2 init value, because -1 is an alignment. |
| 2208 | // Armor Class is an schar, so 256 is out of range. |
| 2209 | // Blank value is 0 and should never change. |
| 2210 | name(this,"(name)"), |
| 2211 | dlevel(this,"(dlevel)"), |
| 2212 | str(this,"STR"), |
| 2213 | dex(this,"DEX"), |
| 2214 | con(this,"CON"), |
| 2215 | intel(this,"INT"), |
| 2216 | wis(this,"WIS"), |
| 2217 | cha(this,"CHA"), |
| 2218 | gold(this,"Gold"), |
| 2219 | hp(this,"Hit Points"), |
| 2220 | power(this,"Power"), |
| 2221 | ac(this,"Armour Class"), |
| 2222 | level(this,"Level"), |
| 2223 | exp(this,"Experience"), |
| 2224 | align(this,"Alignment"), |
| 2225 | time(this,"Time"), |
| 2226 | score(this,"Score"), |
| 2227 | hunger(this,""), |
| 2228 | confused(this,"Confused"), |
| 2229 | sick_fp(this,"Sick"), |
| 2230 | sick_il(this,"Ill"), |
| 2231 | blind(this,"Blind"), |
| 2232 | stunned(this,"Stunned"), |
| 2233 | hallu(this,"Hallu"), |
| 2234 | encumber(this,""), |
| 2235 | hline1(this), |
| 2236 | hline2(this), |
| 2237 | hline3(this), |
| 2238 | first_set(TRUE) |
| 2239 | { |
| 2240 | p_str = QPixmap(str_xpm); |
| 2241 | p_str = QPixmap(str_xpm); |
| 2242 | p_dex = QPixmap(dex_xpm); |
| 2243 | p_con = QPixmap(cns_xpm); |
| 2244 | p_int = QPixmap(int_xpm); |
| 2245 | p_wis = QPixmap(wis_xpm); |
| 2246 | p_cha = QPixmap(cha_xpm); |
| 2247 | |
| 2248 | p_chaotic = QPixmap(chaotic_xpm); |
| 2249 | p_neutral = QPixmap(neutral_xpm); |
| 2250 | p_lawful = QPixmap(lawful_xpm); |
| 2251 | |
| 2252 | p_satiated = QPixmap(satiated_xpm); |
| 2253 | p_hungry = QPixmap(hungry_xpm); |
| 2254 | |
| 2255 | p_confused = QPixmap(confused_xpm); |
| 2256 | p_sick_fp = QPixmap(sick_fp_xpm); |
| 2257 | p_sick_il = QPixmap(sick_il_xpm); |
| 2258 | p_blind = QPixmap(blind_xpm); |
| 2259 | p_stunned = QPixmap(stunned_xpm); |
| 2260 | p_hallu = QPixmap(hallu_xpm); |
| 2261 | |
| 2262 | p_encumber[0] = QPixmap(slt_enc_xpm); |