[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.69,1.70 atlantik_network.h,1.36,1.37
[email protected] Sat, 14 Dec 2002 02:04:05 +0100 (CET)
Newsgroups
gmane.comp.kde.devel.atlantik
Message-ID
<[email protected] >
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv8662/libatlantikclient
Modified Files:
atlantik_network.cpp atlantik_network.h
Log Message:
use updategamelist's canbejoined attribute
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- atlantik_network.cpp 29 Nov 2002 04:27:31 -0000 1.69
+++ atlantik_network.cpp 14 Dec 2002 01:04:03 -0000 1.70
@@ -314,9 +314,9 @@
if (type=="del")
emit gameListDel(e_game.attributeNode(QString("id")).value());
else if (type=="edit")
- emit gameListEdit(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("name")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value(), e_game.attributeNode(QString("gametype")).value());
+ emit gameListEdit(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("name")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value(), e_game.attributeNode(QString("gametype")).value(), e_game.attributeNode(QString("canbejoined")).value().toInt());
else if (type=="add" || type=="full")
- emit gameListAdd(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("name")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value(), e_game.attributeNode(QString("gametype")).value());
+ emit gameListAdd(e_game.attributeNode(QString("id")).value(), e_game.attributeNode(QString("name")).value(), e_game.attributeNode(QString("description")).value(), e_game.attributeNode(QString("players")).value(), e_game.attributeNode(QString("gametype")).value(), e_game.attributeNode(QString("canbejoined")).value().toInt());
}
n_game = n_game.nextSibling();
}
Index: atlantik_network.h
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- atlantik_network.h 28 Nov 2002 11:59:25 -0000 1.36
+++ atlantik_network.h 14 Dec 2002 01:04:03 -0000 1.37
@@ -122,8 +122,8 @@
void gameOption(QString title, QString type, QString value, QString edit, QString command);
void gameListClear();
void gameListEndUpdate();
- void gameListAdd(QString gameId, QString name, QString description, QString players, QString gameType);
- void gameListEdit(QString gameId, QString name, QString description, QString players, QString gameType);
+ void gameListAdd(QString gameId, QString name, QString description, QString players, QString gameType, bool canBeJoined);
+ void gameListEdit(QString gameId, QString name, QString description, QString players, QString gameType, bool canBeJoined);
void gameListDel(QString gameId);
void gameConfig();