mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 17:37:39 +00:00
help lines and ASCII graphics for Blizzard and Terracotta
This commit is contained in:
17
help.cpp
17
help.cpp
@@ -617,6 +617,9 @@ void gotoHelpFor(eMonster m) {
|
||||
help = generateHelpForMonster(m);
|
||||
};
|
||||
|
||||
unsigned char lastval;
|
||||
int windtotal;
|
||||
|
||||
void describeMouseover() {
|
||||
DEBB(DF_GRAPH, (debugfile,"describeMouseover\n"));
|
||||
|
||||
@@ -646,6 +649,20 @@ void describeMouseover() {
|
||||
out += " (" + turnstring(t) + XLAT(" to submerge") + ")";
|
||||
}
|
||||
}
|
||||
else if(c->land == laVolcano) {
|
||||
int id = alchemyval(c, -1)/4;
|
||||
if(id < 96/4)
|
||||
out += " (" + turnstring(96/4-id) + XLAT(" to go cold") + ")";
|
||||
else
|
||||
out += " (" + turnstring(256/4-id) + XLAT(" to submerge") + ")";
|
||||
}
|
||||
else if(c->land == laBlizzard) {
|
||||
int wm = windmap::at(c);
|
||||
windtotal += (signed char) (wm-lastval);
|
||||
lastval = wm;
|
||||
if(c == cwt.c) windtotal = 0;
|
||||
out += " [" + its(windtotal) + "]";
|
||||
}
|
||||
|
||||
if(c->land == laTortoise && tortoise::seek()) out += " " + tortoise::measure(getBits(c));
|
||||
|
||||
|
Reference in New Issue
Block a user