From atlantik-devel Wed Oct 06 09:42:34 2004 From: kde () office ! kde ! org Date: Wed, 06 Oct 2004 09:42:34 +0000 To: atlantik-devel Subject: [atlantik-cvs] CVS: kdegames/atlantik/libatlantic estate.h, 1.16, Message-Id: <4163BE0A.mailLVJ1Z5UV0 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=atlantik-devel&m=109705584418668 Update of /home/kde/kdegames/atlantik/libatlantic In directory office:/tmp/cvs-serv28087/libatlantic Modified Files: estate.h 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: estate.h =================================================================== RCS file: /home/kde/kdegames/atlantik/libatlantic/estate.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- estate.h 10 Feb 2004 19:46:35 -0000 1.16 +++ estate.h 6 Oct 2004 09:42:32 -0000 1.17 @@ -46,10 +46,18 @@ bool canBuyHouses() const { return m_canBuyHouses; } void setCanSellHouses(const bool canSellHouses); bool canSellHouses() const { return m_canSellHouses; } + void setHousePrice(const unsigned int housePrice) { m_housePrice = housePrice; } + unsigned int housePrice() const { return m_housePrice; } + void setHouseSellPrice(const unsigned int houseSellPrice) { m_houseSellPrice = houseSellPrice; } + unsigned int houseSellPrice() const { return m_houseSellPrice; } void setIsMortgaged(const bool isMortgaged); bool isMortgaged() const { return m_isMortgaged; } void setCanToggleMortgage(const bool canToggleMortgage); bool canToggleMortgage() const { return m_canToggleMortgage; } + void setMortgagePrice(const unsigned int mortgagePrice) { m_mortgagePrice = mortgagePrice; } + unsigned int mortgagePrice() const { return m_mortgagePrice; } + void setUnmortgagePrice(const unsigned int unmortgagePrice) { m_unmortgagePrice = unmortgagePrice; } + unsigned int unmortgagePrice() const { return m_unmortgagePrice; } void setColor(QColor color); QColor color() const { return m_color; } void setBgColor(QColor color); @@ -76,7 +84,7 @@ QString m_name; Player *m_owner; EstateGroup *m_estateGroup; - unsigned int m_houses, m_price; + unsigned int m_houses, m_price, m_housePrice, m_houseSellPrice, m_mortgagePrice, m_unmortgagePrice; int m_money; bool m_canBeOwned, m_canBuyHouses, m_canSellHouses, m_isMortgaged, m_canToggleMortgage; QColor m_bgColor, m_color; _______________________________________________ atlantik-cvs mailing list atlantik-cvs@kde.org https://mail.kde.org/mailman/listinfo/atlantik-cvs