1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 18:37:39 +00:00

rogueviz:: in rvcol, renamed leaderboards to mention the name of the game first

This commit is contained in:
Zeno Rogue
2025-06-25 23:55:41 +02:00
parent 408b920039
commit fc63e540f0
3 changed files with 6 additions and 6 deletions

View File

@@ -1031,12 +1031,12 @@ void seuphorica_screen() {
post_achievements();
if(roundindex == 21) {
save();
if(is_daily && cheats == 0) rogueviz::rv_leaderboard(get_geom_name() + " daily " + its(daily), total_gain, 1, rvlc::num, rv_data());
if(cheats == 0) rogueviz::rv_leaderboard(get_geom_name() + get_setname() + " (20 turns)", total_gain, 1, rvlc::num, rv_data());
if(is_daily && cheats == 0) rogueviz::rv_leaderboard("Seuphorica daily " + its(daily) + ": " + get_geom_name(), total_gain, 1, rvlc::num, rv_data());
if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica 20: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num, rv_data());
}
if(roundindex == 51) {
save();
if(cheats == 0) rogueviz::rv_leaderboard(get_geom_name() + get_setname() + " (50 turns)", total_gain, 1, rvlc::num, rv_data());
if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica 50: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num, rv_data());
}
});
}
@@ -1749,7 +1749,7 @@ string get_geom_name() {
void save_old_game_if_needed() {
// no point to save on the 1st turn, and also on 21st and 51st turn, it has just been saved
if(!among(roundindex, 0, 1, 21, 51)) save();
if(cheats == 0) rogueviz::rv_leaderboard(get_geom_name() + get_setname() + " (endless)", total_gain, 1, rvlc::num);
if(cheats == 0) rogueviz::rv_leaderboard("Seuphorica endless: " + get_geom_name() + get_setname(), total_gain, 1, rvlc::num);
}
void load() {