preliminary client-side replay support, works in principle

This commit is contained in:
Max-Wilhelm Bruker 2012-02-21 00:09:03 +01:00
parent d50d179b2f
commit a1bcd9854f
13 changed files with 220 additions and 32 deletions

View file

@ -29,6 +29,14 @@ void MessageLogWidget::logGameJoined(int gameId)
appendHtml(tr("You have joined game #%1.", "male").arg(gameId));
}
void MessageLogWidget::logReplayStarted(int gameId)
{
if (female)
appendHtml(tr("You are watching a replay of game #%1.", "female").arg(gameId));
else
appendHtml(tr("You are watching a replay of game #%1.", "male").arg(gameId));
}
void MessageLogWidget::logJoin(Player *player)
{
soundEngine->cuckoo();