camino-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Camino-devel] camino/src/common MsgCoder.cpp


From: Philippe Fremy
Subject: [Camino-devel] camino/src/common MsgCoder.cpp
Date: Tue, 18 Feb 2003 16:27:47 -0500

CVSROOT:        /cvsroot/camino
Module name:    camino
Changes by:     Philippe Fremy <address@hidden> 03/02/18 16:27:47

Modified files:
        src/common     : MsgCoder.cpp 

Log message:
        include subtype argument by default

Patches:
Index: camino/src/common/MsgCoder.cpp
diff -u camino/src/common/MsgCoder.cpp:1.8 camino/src/common/MsgCoder.cpp:1.9
--- camino/src/common/MsgCoder.cpp:1.8  Tue Feb 18 13:43:20 2003
+++ camino/src/common/MsgCoder.cpp      Tue Feb 18 16:27:46 2003
@@ -2,7 +2,7 @@
 **
 ** Camino
 **
-** Version : $Id: MsgCoder.cpp,v 1.8 2003/02/18 18:43:20 pfremy Exp $
+** Version : $Id: MsgCoder.cpp,v 1.9 2003/02/18 21:27:46 pfremy Exp $
 **
 ** Author(s) : Philippe Fremy, Pascal Audoux
 ** Creation : 14/01/2003
@@ -67,117 +67,117 @@
 
 void MsgCoder::sendServerInformation()
 {
-       *this << ServerInformation;
+       *this << ServerInformation << 0;
        device()->flush();
 }
 void MsgCoder::sendPlayerConnected()
 {
-       *this << PlayerConnected;
+       *this << PlayerConnected << 0;
        device()->flush();
 }
 void MsgCoder::sendTeamIsBeingChosen()
 {
-       *this << TeamIsBeingChosen;
+       *this << TeamIsBeingChosen << 0;
        device()->flush();
 }
 void MsgCoder::sendTeamsComposition()
 {
-       *this << TeamsComposition;
+       *this << TeamsComposition << 0;
        device()->flush();
 }
 
 void MsgCoder::sendTilesForYou()
 {
-       *this << TilesForYou;
+       *this << TilesForYou << 0;
        device()->flush();
 }
 void MsgCoder::sendActivePlayer()
 {
-       *this << ActivePlayer;
+       *this << ActivePlayer << 0;
        device()->flush();
 }
 void MsgCoder::sendPlayerPlaysAMove()
 {
-       *this << PlayerPlaysAMove;
+       *this << PlayerPlaysAMove << 0;
        device()->flush();
 }
 void MsgCoder::sendMoveRejected()
 {
-       *this << MoveRejected;
+       *this << MoveRejected << 0;
        device()->flush();
 }
 void MsgCoder::sendUpdateBoard()
 {
-       *this << UpdateBoard;
+       *this << UpdateBoard << 0;
        device()->flush();
 }
 
 void MsgCoder::sendUndoRequest()
 {
-       *this << UndoRequest;
+       *this << UndoRequest << 0;
        device()->flush();
 }
 void MsgCoder::sendUndoAccepted()
 {
-       *this << UndoAccepted;
+       *this << UndoAccepted << 0;
        device()->flush();
 }
 void MsgCoder::sendUndoRejected()
 {
-       *this << UndoRejected;
+       *this << UndoRejected << 0;
        device()->flush();
 }
 void MsgCoder::sendUndoUpdateBoard()
 {
-       *this << UndoUpdateBoard;
+       *this << UndoUpdateBoard << 0;
        device()->flush();
 }
 
 void MsgCoder::sendEndOfGameRequest()
 {
-       *this << EndOfGameRequest;
+       *this << EndOfGameRequest << 0;
        device()->flush();
 }
 void MsgCoder::sendEndOfGameAccepted()
 {
-       *this << EndOfGameAccepted;
+       *this << EndOfGameAccepted << 0;
        device()->flush();
 }
 void MsgCoder::sendEndOfGameRejected()
 {
-       *this << EndOfGameRejected;
+       *this << EndOfGameRejected << 0;
        device()->flush();
 }
 
 void MsgCoder::sendPleaseFinishTheBoard()
 {
-       *this << PleaseFinishTheBoard;
+       *this << PleaseFinishTheBoard << 0;
        device()->flush();
 }
 void MsgCoder::sendFinishBoardMove()
 {
-       *this << FinishBoardMove;
+       *this << FinishBoardMove << 0;
        device()->flush();
 }
 void MsgCoder::sendBoardsCompleted()
 {
-       *this << BoardsCompleted;
+       *this << BoardsCompleted << 0;
        device()->flush();
 }
 
 void MsgCoder::sendWinnerInformation()
 {
-       *this << WinnerInformation;
+       *this << WinnerInformation << 0;
        device()->flush();
 }
 void MsgCoder::sendAnotherGameRequest()
 {
-       *this << AnotherGameRequest;
+       *this << AnotherGameRequest << 0;
        device()->flush();
 }
 void MsgCoder::sendAnotherGameAccept()
 {
-       *this << AnotherGameAccept;
+       *this << AnotherGameAccept << 0;
        device()->flush();
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]