|
From: Tapio V. <aa...@us...> - 2009-12-11 12:45:14
|
Module: performous
Branch: dance
Commit: 8a07936067e48beee8d3a061e6b8c7ac3fcb6a54
Author: Vincent Le Ligeour <yo...@us...>
Date: Sat Dec 5 14:01:13 2009 +0100
Added track name to highscore display
---
game/database.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/game/database.cc b/game/database.cc
index 5b06dda..d04741c 100644
--- a/game/database.cc
+++ b/game/database.cc
@@ -113,8 +113,8 @@ void Database::queryPerSongHiscore (std::ostream & os, boost::shared_ptr<Song> s
{
os << i+1 << ".\t"
<< m_players.lookup(hi[i].playerid) << "\t"
- // << hi[i].track << "\t"
- << hi[i].score << "\n";
+ << hi[i].score << "\t"
+ << "(" << hi[i].track << ")\n";
}
}
@@ -125,8 +125,8 @@ void Database::queryPerPlayerHiscore (std::ostream & os, std::string const& trac
{
os << i+1 << ".\t"
<< m_songs.lookup(hi[i].songid) << "\t"
- // << hi[i].track << "\t"
- << hi[i].score << "\n";
+ << hi[i].score << "\t"
+ << "(" << hi[i].track << ")\n";
}
}
|