mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 21:43:55 -07:00
Standardize TODO/FIXME comments to Doxygen \todo format
Convert informal TODO and FIXME comments to Doxygen-recognized
\todo format.
- // TODO comments → //! \todo ...
- // FIXME comments → //! \todo ...
- /** @todo ... */ blocks → //! \todo ...
- @brief TODO: placeholders → //! \todo (moved outside doc blocks)
This commit is contained in:
parent
f361cd65e0
commit
330ea7b8c6
280 changed files with 300 additions and 300 deletions
|
|
@ -334,7 +334,7 @@ void Server_Game::doStartGameIfReady(bool forceStartGame)
|
|||
if (!player->getReadyStart()) {
|
||||
if (forceStartGame) {
|
||||
// Player is not ready to start, so kick them
|
||||
// TODO: Move them to Spectators instead
|
||||
//! \todo Move them to Spectators instead.
|
||||
kickParticipant(player->getPlayerId());
|
||||
} else {
|
||||
return;
|
||||
|
|
@ -517,7 +517,7 @@ void Server_Game::addPlayer(Server_AbstractUserInterface *userInterface,
|
|||
allPlayersEver.insert(playerName);
|
||||
|
||||
// if the original creator of the game joins, give them host status back
|
||||
//! \todo transferring host to spectators has side effects
|
||||
//! \todo Transferring host to spectators has side effects.
|
||||
if (newParticipant->getUserInfo()->name() == creatorInfo->name()) {
|
||||
hostId = newParticipant->getPlayerId();
|
||||
sendGameEventContainer(prepareGameEvent(Event_GameHostChanged(), hostId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue