|
|
|
@ -95,7 +95,7 @@ KGame::KGame(int cookie,TQObject* parent) : KGameNetwork(cookie,parent)
|
|
|
|
|
d->mMaxPlayer.setLocal(-1); // Infinite
|
|
|
|
|
d->mMinPlayer.registerData(KGamePropertyBase::IdMinPlayer, this, i18n("MinPlayers"));
|
|
|
|
|
d->mMinPlayer.setLocal(0); // Always ok
|
|
|
|
|
d->mGametqStatus.registerData(KGamePropertyBase::IdGametqStatus, this, i18n("GametqStatus"));
|
|
|
|
|
d->mGametqStatus.registerData(KGamePropertyBase::IdGametqStatus, this, i18n("GameStatus"));
|
|
|
|
|
d->mGametqStatus.setLocal(Init);
|
|
|
|
|
// d->mUniquePlayerNumber = 0;
|
|
|
|
|
d->mRandom = new KRandomSequence;
|
|
|
|
@ -1244,7 +1244,7 @@ void KGame::Debug()
|
|
|
|
|
kdDebug(11001) << "------------------- KGAME -------------------------" << endl;
|
|
|
|
|
kdDebug(11001) << "this: " << this << endl;
|
|
|
|
|
kdDebug(11001) << "uniquePlayer " << d->mUniquePlayerNumber << endl;
|
|
|
|
|
kdDebug(11001) << "gametqStatus " << gametqStatus() << endl;
|
|
|
|
|
kdDebug(11001) << "gameStatus " << gametqStatus() << endl;
|
|
|
|
|
kdDebug(11001) << "MaxPlayers : " << maxPlayers() << endl;
|
|
|
|
|
kdDebug(11001) << "NoOfPlayers : " << playerCount() << endl;
|
|
|
|
|
kdDebug(11001) << "NoOfInactive: " << d->mInactivePlayerList.count() << endl;
|
|
|
|
|