[atlantik-cvs] CVS: kdegames/atlantik/libatlantikclient atlantik_network.cpp,1.101,1.102
[email protected] Wed, 06 Oct 2004 11:42:34 +0200
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/libatlantikclient
In directory office:/tmp/cvs-serv28087/libatlantikclient
Modified Files:
atlantik_network.cpp
Log Message:
Combo patch:
- forward port running game fix from KDE_3_3_BRANCH (fixed bug #88617)
- backport by Jtb: extra estateview tooltip info (mortgage and house
price/value) from 0.8.0 in arch, this already works with monopd 0.9.x and
doesn't need the unreleased monopd 0.10.x
- version bump: KDE 3.4 will use 0.7.{5,6,7,8,9} so I won't have to rename
0.8.x in time for KDE4.
Index: atlantik_network.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikclient/atlantik_network.cpp,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- atlantik_network.cpp 30 May 2004 16:02:09 -0000 1.101
+++ atlantik_network.cpp 6 Oct 2004 09:42:32 -0000 1.102
@@ -680,6 +680,22 @@
if (estate && !a.isNull())
estate->setPrice(a.value().toInt());
+ a = e.attributeNode(QString("houseprice"));
+ if (estate && !a.isNull())
+ estate->setHousePrice(a.value().toInt());
+
+ a = e.attributeNode(QString("sellhouseprice"));
+ if (estate && !a.isNull())
+ estate->setHouseSellPrice(a.value().toInt());
+
+ a = e.attributeNode(QString("mortgageprice"));
+ if (estate && !a.isNull())
+ estate->setMortgagePrice(a.value().toInt());
+
+ a = e.attributeNode(QString("unmortgageprice"));
+ if (estate && !a.isNull())
+ estate->setUnmortgagePrice(a.value().toInt());
+
a = e.attributeNode(QString("money"));
if (estate && !a.isNull())
estate->setMoney(a.value().toInt());