/dports/games/hexxagon/hexxagon-1.0.2/src/gui/ |
H A D | gamemodel.cpp | 54 computerPlayer = !getTurn(); in GameModel() 79 int playerTurn = !getTurn(); in computerMove() 80 while(getTurn() != playerTurn && !endOfGame() && playing) in computerMove() 104 int turn = !getTurn(); in computerSingleMove() 121 computerPlayer = getTurn(); in applyMove()
|
H A D | gtkhexxagonboardplay.cpp | 39 if(!game->getTurn()) in updateView() 56 if((bbBoard & (game->getTurn() ? bbColor : ~bbColor)).getBit(cell)) in on_cell_press_event() 65 int playerTurn = game->getTurn(); in on_cell_press_event() 104 if(game->getNoOfPlayers() == 1 && game->getTurn() != playerTurn) in on_cell_press_event()
|
H A D | gtkscore.cpp | 114 if(game->getTurn()) in updateView()
|
/dports/games/hexxagon/hexxagon-1.0.2/src/libhexx/ |
H A D | game.h | 45 virtual int getTurn() const { return pos->second; }; in getTurn() function 65 …int getBrickCount(int player) const { return getBoard().countBricks((getTurn()+!player) % 2 + 1, b… in getBrickCount() 74 void displayText() const { getBoard().displayBoardText(lookUp, getTurn()); }; in displayText()
|
H A D | game.cpp | 126 boardList.push_back(make_pair(b, !getTurn())); in applyMove() 150 boardList.push_back(make_pair(b, !getTurn())); in computerMove()
|
/dports/games/brutalchess/brutalchess-0.5.2/src/ |
H A D | chessgame.h | 85 inline Piece::Color getTurn() const in getTurn() function 86 { return m_state.getTurn(); } in getTurn()
|
H A D | chessgamestate.cpp | 58 return m_board.isStaleMate(this->getTurn()) || in isDraw() 123 m_check = m_board.isCheck(getTurn()); in update() 157 if(getTurn() != m_board.getPiece(bp)->color()) in isPositionSelectable()
|
H A D | chessgamestate.h | 56 Piece::Color getTurn() const in getTurn() function
|
H A D | basicset.cpp | 183 if(cgs.isCheck() && p->type() == Piece::KING && p->color() == cgs.getTurn()) in draw() 243 if(cgs.isCheck() && selected->type() == Piece::KING && selected->color() == cgs.getTurn()) in draw()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/script/ |
H A D | Unblock.java | 64 this.turn = SingletonRepository.getRuleProcessor().getTurn(); in PlayerPositionEntry() 130 public int getTurn() { in getTurn() method in Unblock.PlayerPositionEntry 247 if (entry.getTurn() + GRACE_PERIOD_IN_TURNS < turn) { in teleportAway()
|
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/ |
H A D | NextTurnState.cpp | 92 _txtTurn->setText(tr("STR_TURN").arg(_battleGame->getTurn())); in NextTurnState() 168 if (_battleGame->getTurn() % 5 == 0 && _battleGame->getSide() == FACTION_PLAYER) in close()
|
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/windows/windowreports/ |
H A D | windowreports.cpp | 171 …k.i18n ("Text~Punctuation~Colon") + plural (player->getScore (turnClock->getTurn()), "Text~Comp~Po… in cWindowReports() 444 auto maxTurns = turnClock->getTurn() + 20; in initializeScorePlot() 460 maxScore = std::max (maxScore, extrapolate (*players[i], turnClock->getTurn(), turn)); in initializeScorePlot() 461 minScore = std::min (minScore, extrapolate (*players[i], turnClock->getTurn(), turn)); in initializeScorePlot() 481 …scorePlot->addGraph ([ = ] (int x) { return extrapolate (*players[i], turnClock->getTurn(), x); }); in initializeScorePlot() 486 auto& marker = scorePlot->addXMarker (turnClock->getTurn()); in initializeScorePlot()
|
/dports/games/maxr/maxr-0.2.9/src/game/logic/ |
H A D | turnclock.h | 30 int getTurn() const;
|
H A D | turnclock.cpp | 28 int cTurnClock::getTurn() const in getTurn() function in cTurnClock
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/ |
H A D | MockStendhalRPRuleProcessor.java | 31 public int getTurn() { in getTurn() method in MockStendhalRPRuleProcessor
|
H A D | MockStendhalRPRuleProcessorTest.java | 46 assertThat(MockStendhalRPRuleProcessor.get().getTurn(), is(0)); in testGetTurn()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/player/ |
H A D | PlayerChatBucket.java | 35 int turn = SingletonRepository.getRuleProcessor().getTurn(); in checkAndAdd()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/creature/impl/heal/ |
H A D | Healer.java | 36 if ((SingletonRepository.getRuleProcessor().getTurn() % frequency == 0) in heal()
|
/dports/graphics/geos/geos-3.9.1/include/geos/algorithm/ |
H A D | Angle.h | 177 static int getTurn(double ang1, double ang2);
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/creature/impl/attack/ |
H A D | HandToHand.java | 25 if (creature.isAttackTurn(SingletonRepository.getRuleProcessor().getTurn())) { in attack()
|
H A D | RangeAttack.java | 34 if ((SingletonRepository.getRuleProcessor().getTurn() % 5 == creature.getAttackTurn())) { in attack()
|
/dports/games/pokerth/pokerth-1.1.2-rc/src/engine/ |
H A D | handinterface.h | 56 virtual boost::shared_ptr<BeRoInterface> getTurn() const =0;
|
/dports/games/pokerth/pokerth-1.1.2-rc/src/engine/network_engine/ |
H A D | clienthand.h | 61 boost::shared_ptr<BeRoInterface> getTurn() const;
|
/dports/games/pokerth/pokerth-1.1.2-rc/src/engine/local_engine/ |
H A D | localhand.h | 79 boost::shared_ptr<BeRoInterface> getTurn() const in getTurn() function
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/ |
H A D | SpeakerNPC.java | 324 lastMessageTurn = SingletonRepository.getRuleProcessor().getTurn(); in setAttending() 425 || ((attending instanceof Player) && (SingletonRepository.getRuleProcessor().getTurn() in preLogic() 767 lastMessageTurn = SingletonRepository.getRuleProcessor().getTurn(); in tell()
|