1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-13 00:49:54 +00:00

kills and treasure count no longer appear in the peace mode

This commit is contained in:
Zeno Rogue 2017-08-13 21:13:51 +02:00
parent 22aa5ca4bb
commit 0afeb9986e

View File

@ -430,6 +430,7 @@ void drawStats() {
} }
string s0; string s0;
if(!peace::on) {
if(displayButtonS(vid.xres - 8, vid.fsize, "score: " + its(gold()), forecolor, 16, vid.fsize)) { if(displayButtonS(vid.xres - 8, vid.fsize, "score: " + its(gold()), forecolor, 16, vid.fsize)) {
mouseovers = XLAT("Your total wealth"), mouseovers = XLAT("Your total wealth"),
instat = true, instat = true,
@ -454,6 +455,7 @@ void drawStats() {
"Friendly creatures and parts of monsters (such as the Ivy) do appear in the list, " "Friendly creatures and parts of monsters (such as the Ivy) do appear in the list, "
"but are not counted in the total kill count."); "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"),
getcstat = SDLK_F1, getcstat = SDLK_F1,