Re: Auctions and the protocol

Rob Kaper <[email protected]>
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
On Fri, Jun 06, 2003 at 10:35:01PM +0200, Albert 'TSDgeos' Astals Cid wrote:
> Add pTmp->setBoolProperty("can_auction", m_auctionsEnabled); to 
> Game::start(Player *pInput)
> 
> Add p->setBoolProperty("can_auction", m_auctionsEnabled); to 
> Game::addPlayer(Player *p, bool isMaster)

Not sure if that works properly, wouldn't the auction button be enabled at
all times when auctions are enabled? I think m_auctionsEnabled is a
configuration setting, not a variable that changes througout the game.

One alternative is to let Atlantik be a bit smarter about its menu and bind
it to the actions available from buttons. That would probably be the most
generic way.

> Remove another layout warning in libatlantikui/estatedetails.cpp

Committed that one to both branches already.

Rob
-- 
Rob Kaper     | "They that can give up essential liberty to obtain a little
[email protected] | temporary safety deserve neither liberty nor safety."
www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759

_______________________________________________
atlantik-devel mailing list
[email protected]
http://mail.kde.org/mailman/listinfo/atlantik-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+5P6jtppIl2G1SjcRAl3iAJ9Xya5Lso2W3X21HYbMnLIBNynf7QCglHNi
1YAQn1SJ1qcFLxGEJEesXuo=
=SM37
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.