Home
last modified time | relevance | path

Searched refs:mPegCnt (Results 1 – 16 of 16) sorted by relevance

/dports/games/colorcode/ColorCode-0.8.5/
H A Dccsolver.cpp151 mPegCnt = 0; in CCSolver()
278 mPegCnt = pcnt; in NewGame()
448 mCascade = new int [mPegCnt]; in InitTables()
481 mMaxRes = mPegCnt * 10; in InitTables()
483 mResCnt = (IntFac(mPegCnt + 2)) / (IntFac(mPegCnt) * 2) - 1; in InitTables()
611 char s[mPegCnt]; in FirstGuess()
673 return string(s, mPegCnt); in FirstGuess()
784 char s[mPegCnt]; in RowOut()
792 return string(s, mPegCnt); in RowOut()
801 if (len != mPegCnt) in Row2Ix()
[all …]
H A Dpegrow.cpp32 mPegCnt = 0; in PegRow()
46 for (int i = 0; i < mPegCnt; ++i) in ~PegRow()
73 for (int i = 0; i < mPegCnt; ++i) in ClearRow()
95 for (int i = 0; i < mPegCnt; ++i) in SetPegCnt()
102 mPegCnt = pegcnt; in SetPegCnt()
104 for (int i = 0; i < mPegCnt; ++i) in SetPegCnt()
118 mXOffs = 100 - mPegCnt * 20; in SetXOffs()
127 for (i = 0; i < mPegCnt; ++i) in GetPegCnt()
200 if (posix > mPegCnt - 1) in ForceSnap()
326 if (mPegCnt == 0) in paint()
[all …]
H A Dccgame.cpp36 mPegCnt = 0; in CCGame()
59 mPegCnt = fields.at(9).toInt(&ok); in CCGame()
75 mPegCnt = 0; in CCGame()
93 mPegCnt = pcnt; in CCGame()
110 && mPegCnt == other.mPegCnt in operator ==()
161 …ng(" (") + QString::number(mDoubles) + QString("|") + QString::number(mPegCnt) + QString("|") +… in GetCmbStr()
184 slist << QString::number(mPegCnt); in ToString()
191 …return (mGameNo == g.mGameNo && mColorCnt == g.mColorCnt && mPegCnt == g.mPegCnt && mDoubles == g.… in HasSameSettings()
198 && mPegCnt >= 2 && mPegCnt <= 5 in IsValidGame()
H A Drowhint.cpp59 mPegCnt = 0; in RowHint()
86 mHints.assign(mPegCnt, 0); in Reset()
103 mPegCnt = pegcnt; in SetPegCnt()
136 mHints.assign(mPegCnt, 0); in SetActive()
173 mHints.assign(mPegCnt, 0); in DrawHints()
217 int posix = mPegCnt - 2; in mousePressEvent()
218 for (int i = 0; i < mPegCnt; i++) in mousePressEvent()
254 if (mPegCnt == 0) in paint()
303 int posix = mPegCnt - 2; in paint()
305 for (i = 0; i < mPegCnt; i++) in paint()
H A Dsettings.cpp85 mPegCnt = DEF_PEG_CNT; in InitSettings()
140 mPegCnt = map["ColumnCount"].toInt(); in RestoreSettingsMap()
174 map["ColumnCount"] = mPegCnt; in SaveSettingsMap()
209 mPegCnt = mSettings.value("ColumnCount", mPegCnt).toInt(); in ReadSettings()
246 if (mPegCnt < 2 || mPegCnt > 5) in Validate()
248 mPegCnt = 4; in Validate()
301 g->mPegCnt = mPegCnt; in GetCurSettingsGame()
343 mSettings.setValue("ColumnCount", mPegCnt); in WriteSettings()
H A Dsolutionrow.cpp56 mXOffs = 110 - mPegCnt * 20; in SetXOffs()
67 if (mPegCnt == 0) in paint()
83 int x0 = (220 - mPegCnt * 40) / 2; in paint()
85 for (i = 0; i <= mPegCnt; ++i) in paint()
94 if (i < mPegCnt) in paint()
H A Dcolorcode.cpp85 int ColorCode::mPegCnt = 0; member in ColorCode
757 || mSettings->mPegCnt != mPegCnt in NeedsRestart()
1331 if (pcnt == mPegCnt) in PegCntChangedSlot()
1687 if (b == mPegCnt) in SetSolverGuessSlot()
1821 if (mColorCnt < mPegCnt) in CheckDoublesSetting()
2030 if (mGameInput->mPegCnt != mPegCnt) in NewGame()
2032 mGameInput->mPegCnt = mPegCnt; in NewGame()
2129 if (bl == mPegCnt) in ResolveRow()
2209 if (b == mPegCnt) in ResolveHints()
2352 mPegCnt = GetPegCntInput(); in ApplyPegCnt()
[all …]
H A Dccgame.h46 int mPegCnt; variable
H A Drowhint.h68 int mPegCnt; variable
H A Dpegrow.h78 int mPegCnt; variable
H A Dsettings.h78 int mPegCnt; variable
H A Dccsolver.h73 int mPegCnt; variable
H A Dprefdialog.cpp133 i = mPegCntCmb->findData(mSettings->mPegCnt); in SetSettings()
485 mSettings->mPegCnt = mPegCntCmb->itemData(mPegCntCmb->currentIndex()).toInt(); in ApplySettings()
H A Dcolorcode.h181 static int mPegCnt; variable
H A Dgameslistmodel.cpp399 return g.mPegCnt; in data()
H A Dgametablesdialog.cpp276 ui->mPegCntValLbl->setText(QString::number(g->mPegCnt)); in SetGameProperties()