Home
last modified time | relevance | path

Searched refs:getTurn (Results 1 – 25 of 66) sorted by relevance

123

/dports/games/hexxagon/hexxagon-1.0.2/src/gui/
H A Dgamemodel.cpp54 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 Dgtkhexxagonboardplay.cpp39 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 Dgtkscore.cpp114 if(game->getTurn()) in updateView()
/dports/games/hexxagon/hexxagon-1.0.2/src/libhexx/
H A Dgame.h45 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 Dgame.cpp126 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 Dchessgame.h85 inline Piece::Color getTurn() const in getTurn() function
86 { return m_state.getTurn(); } in getTurn()
H A Dchessgamestate.cpp58 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 Dchessgamestate.h56 Piece::Color getTurn() const in getTurn() function
H A Dbasicset.cpp183 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 DUnblock.java64 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 DNextTurnState.cpp92 _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 Dwindowreports.cpp171 …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 Dturnclock.h30 int getTurn() const;
H A Dturnclock.cpp28 int cTurnClock::getTurn() const in getTurn() function in cTurnClock
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/
H A DMockStendhalRPRuleProcessor.java31 public int getTurn() { in getTurn() method in MockStendhalRPRuleProcessor
H A DMockStendhalRPRuleProcessorTest.java46 assertThat(MockStendhalRPRuleProcessor.get().getTurn(), is(0)); in testGetTurn()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/player/
H A DPlayerChatBucket.java35 int turn = SingletonRepository.getRuleProcessor().getTurn(); in checkAndAdd()
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/creature/impl/heal/
H A DHealer.java36 if ((SingletonRepository.getRuleProcessor().getTurn() % frequency == 0) in heal()
/dports/graphics/geos/geos-3.9.1/include/geos/algorithm/
H A DAngle.h177 static int getTurn(double ang1, double ang2);
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/creature/impl/attack/
H A DHandToHand.java25 if (creature.isAttackTurn(SingletonRepository.getRuleProcessor().getTurn())) { in attack()
H A DRangeAttack.java34 if ((SingletonRepository.getRuleProcessor().getTurn() % 5 == creature.getAttackTurn())) { in attack()
/dports/games/pokerth/pokerth-1.1.2-rc/src/engine/
H A Dhandinterface.h56 virtual boost::shared_ptr<BeRoInterface> getTurn() const =0;
/dports/games/pokerth/pokerth-1.1.2-rc/src/engine/network_engine/
H A Dclienthand.h61 boost::shared_ptr<BeRoInterface> getTurn() const;
/dports/games/pokerth/pokerth-1.1.2-rc/src/engine/local_engine/
H A Dlocalhand.h79 boost::shared_ptr<BeRoInterface> getTurn() const in getTurn() function
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/
H A DSpeakerNPC.java324 lastMessageTurn = SingletonRepository.getRuleProcessor().getTurn(); in setAttending()
425 || ((attending instanceof Player) && (SingletonRepository.getRuleProcessor().getTurn() in preLogic()
767 lastMessageTurn = SingletonRepository.getRuleProcessor().getTurn(); in tell()

123