[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.65.4.7,1.65.4.8 atlan
From: kde () office ! kde ! org
Date: 2003-01-21 0:31:17
[Download RAW message or body]
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv20213/libatlantikclient
Modified Files:
Tag: KDE_3_1_BRANCH
atlantik_network.cpp atlantik_network.h
Log Message:
backport: disable games that can't be joined
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.65.4.7
retrieving revision 1.65.4.8
diff -u -d -r1.65.4.7 -r1.65.4.8
--- atlantik_network.cpp 20 Jan 2003 23:47:37 -0000 1.65.4.7
+++ atlantik_network.cpp 21 Jan 2003 00:31:14 -0000 1.65.4.8
@@ -323,9 +323,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.34.4.3
retrieving revision 1.34.4.4
diff -u -d -r1.34.4.3 -r1.34.4.4
--- atlantik_network.h 20 Jan 2003 22:28:07 -0000 1.34.4.3
+++ atlantik_network.h 21 Jan 2003 00:31:14 -0000 1.34.4.4
@@ -127,8 +127,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();
_______________________________________________
atlantik-cvs mailing list
atlantik-cvs@mail.kde.org
http://mail.kde.org/mailman/listinfo/atlantik-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic