mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
preliminary client-side replay support, works in principle
This commit is contained in:
parent
d50d179b2f
commit
a1bcd9854f
13 changed files with 220 additions and 32 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue