mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-10 15:59:53 +00:00
kills and treasure count no longer appear in the peace mode
This commit is contained in:
parent
22aa5ca4bb
commit
0afeb9986e
46
hud.cpp
46
hud.cpp
@ -430,29 +430,31 @@ void drawStats() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string s0;
|
string s0;
|
||||||
if(displayButtonS(vid.xres - 8, vid.fsize, "score: " + its(gold()), forecolor, 16, vid.fsize)) {
|
if(!peace::on) {
|
||||||
mouseovers = XLAT("Your total wealth"),
|
if(displayButtonS(vid.xres - 8, vid.fsize, "score: " + its(gold()), forecolor, 16, vid.fsize)) {
|
||||||
instat = true,
|
mouseovers = XLAT("Your total wealth"),
|
||||||
getcstat = SDLK_F1,
|
instat = true,
|
||||||
help = helptitle(XLAT("Your total wealth"), 0xFFD500) +
|
getcstat = SDLK_F1,
|
||||||
XLAT(
|
help = helptitle(XLAT("Your total wealth"), 0xFFD500) +
|
||||||
"The total value of the treasure you have collected.\n\n"
|
|
||||||
"Every world type contains a specific type of treasure, worth 1 $$$; "
|
|
||||||
"your goal is to collect as much treasure as possible, but every treasure you find "
|
|
||||||
"causes more enemies to hunt you in its native land.\n\n"
|
|
||||||
"Orbs of Yendor are worth 50 $$$ each.\n\n"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
if(displayButtonS(8, vid.fsize, "kills: " + its(tkills()), forecolor, 0, vid.fsize)) {
|
|
||||||
instat = true,
|
|
||||||
getcstat = SDLK_F1,
|
|
||||||
mouseovers = XLAT("Your total kills")+": " + its(tkills()),
|
|
||||||
help = helptitle(XLAT("Your total kills") + ": " + its(tkills()), 0x404040) +
|
|
||||||
XLAT(
|
XLAT(
|
||||||
"In most lands, more treasures are generated with each enemy native to this land you kill. "
|
"The total value of the treasure you have collected.\n\n"
|
||||||
"Moreover, 100 kills is a requirement to enter the Graveyard and the Hive.\n\n"
|
"Every world type contains a specific type of treasure, worth 1 $$$; "
|
||||||
"Friendly creatures and parts of monsters (such as the Ivy) do appear in the list, "
|
"your goal is to collect as much treasure as possible, but every treasure you find "
|
||||||
"but are not counted in the total kill count.");
|
"causes more enemies to hunt you in its native land.\n\n"
|
||||||
|
"Orbs of Yendor are worth 50 $$$ each.\n\n"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if(displayButtonS(8, vid.fsize, "kills: " + its(tkills()), forecolor, 0, vid.fsize)) {
|
||||||
|
instat = true,
|
||||||
|
getcstat = SDLK_F1,
|
||||||
|
mouseovers = XLAT("Your total kills")+": " + its(tkills()),
|
||||||
|
help = helptitle(XLAT("Your total kills") + ": " + its(tkills()), 0x404040) +
|
||||||
|
XLAT(
|
||||||
|
"In most lands, more treasures are generated with each enemy native to this land you kill. "
|
||||||
|
"Moreover, 100 kills is a requirement to enter the Graveyard and the Hive.\n\n"
|
||||||
|
"Friendly creatures and parts of monsters (such as the Ivy) do appear in the list, "
|
||||||
|
"but are not counted in the total kill count.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(displayButtonS(4, vid.yres - 4 - vid.fsize/2, s0+VER+ " fps: " + its(calcfps()), 0x202020, 0, vid.fsize/2)) {
|
if(displayButtonS(4, vid.yres - 4 - vid.fsize/2, s0+VER+ " fps: " + its(calcfps()), 0x202020, 0, vid.fsize/2)) {
|
||||||
mouseovers = XLAT("frames per second"),
|
mouseovers = XLAT("frames per second"),
|
||||||
|
Loading…
Reference in New Issue
Block a user