/dports/games/tsito/tsito-0.8.4/src/ |
H A D | Board.cpp | 391 if (!(theMove.origin() == theMove.destination())) in makeMove() 401 kings[colorAt(theMove.origin())==RED?1:0] = theMove.destination(); in makeMove() 403 movePiece(theMove.origin(), theMove.destination()); in makeMove() 404 theMove.capturedPiece(board[theMove.destination()]); in makeMove() 405 board[theMove.destination()] = board[theMove.origin()]; in makeMove() 410 moveHistory.push_back(theMove); in makeMove() 423 if (!(theMove.origin() == theMove.destination())) in unmakeMove() 429 kings[colorAt(theMove.destination())==RED?1:0] = theMove.origin(); in unmakeMove() 431 movePiece(theMove.destination(), theMove.origin()); in unmakeMove() 432 board[theMove.origin()] = board[theMove.destination()]; in unmakeMove() [all …]
|
H A D | Interface.h | 22 virtual void printMove(Move &theMove) {} in printMove() argument 44 void printMove(Move &theMove) { state->printMove(theMove); } in printMove() argument 59 void printMove(Move &theMove); 69 void printMove(Move &theMove) in printMove() argument 70 { std::cout << "move " << theMove << std::endl; std::cout.flush(); in printMove() 71 std::cerr << "engine move: " << theMove << std::endl; } in printMove()
|
H A D | Interface.cpp | 120 void UserState::printMove(Move &theMove) // Display a move. in printMove() argument 123 if (x->colorAt(theMove.destination()) == RED) in printMove() 124 cout << " " << theMove << " ..." << endl; in printMove() 125 else cout << " ... " << theMove << endl << endl; in printMove()
|
H A D | Lawyer.cpp | 113 bool Lawyer::legalMove(Move &theMove) // This method checks to make sure the user has entered a leg… in legalMove() argument 118 if (board->pieceAt(theMove.origin()) == EMPTY || in legalMove() 119 board->colorAt(theMove.origin()) != board->sideToMove() || in legalMove() 120 (board->pieceAt(theMove.destination()) != EMPTY && in legalMove() 121 board->colorAt(theMove.destination()) == board->sideToMove())) in legalMove() 134 if ((*it).origin() == theMove.origin() && (*it).destination() == theMove.destination()) in legalMove() 143 board->makeMove(theMove); in legalMove() 332 void Lawyer::addMove(list<Move> &moveList, Move &theMove, bool onlylegal) // Add a move to the move… in addMove() argument 336 moveList.push_back(theMove); in addMove() 341 board->makeMove(theMove); in addMove() [all …]
|
H A D | Lawyer.h | 50 void addMove(std::list<Move> &moveList, Move &theMove, bool onlylegal = false); 53 bool legalMove(Move &theMove);
|
H A D | Engine.cpp | 138 void Engine::newKiller(Move& theMove, int ply) in newKiller() argument 144 killer1[ply] = theMove; in newKiller() 148 killer2.push_back(theMove); in newKiller() 151 killer1.push_back(theMove); in newKiller()
|
H A D | Board.h | 83 void makeMove(Move &theMove);
|
H A D | Engine.h | 126 void newKiller(Move& theMove, int ply);
|
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/undo/undoables/measure/ |
H A D | UndoableInsertMeasure.java | 21 private long theMove; field in UndoableInsertMeasure 36 …one(TuxGuitar.instance().getSongManager().getFactory()),this.fromNumber,this.theMove,this.toTrack); in redo() 64 …oableInsertMeasure endUndo(TGSongSegment tracksMeasures,int copyCount,int fromNumber,long theMove){ in endUndo() argument 69 this.theMove = theMove; in endUndo()
|
H A D | UndoableReplaceMeasures.java | 26 private long theMove; field in UndoableReplaceMeasures 43 …TrackMeasures.clone(TuxGuitar.instance().getSongManager().getFactory()),this.theMove,this.toTrack); in redo() 76 …UndoableReplaceMeasures endUndo(TGSongSegment tracksMeasures,int count,int freeSpace,long theMove){ in endUndo() argument 81 this.theMove = theMove; in endUndo()
|
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/clipboard/ |
H A D | MeasureTransferable.java | 76 long theMove = (measure.getStart() - first.getStart()); in insertMeasures() local 78 …ures(segment.clone(TuxGuitar.instance().getSongManager().getFactory()),fromNumber,theMove,toTrack); in insertMeasures() local 81 …xGuitar.instance().getSongManager().getFactory()),segment.getHeaders().size(),fromNumber,theMove)); in insertMeasures() local 100 long theMove = (measure.getStart() - first.getStart()); in replaceMeasures() local 109 …helper.replaceMeasures(segment.clone(TuxGuitar.instance().getSongManager().getFactory()),theMove,t… in replaceMeasures() local 112 …ndUndo(segment.clone(TuxGuitar.instance().getSongManager().getFactory()),count,freeSpace,theMove)); in replaceMeasures() local
|
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/song/managers/ |
H A D | TGMeasureManager.java | 656 if( theMove == 0 ){ in moveBeatsInMeasure() 665 moveBeats(beatsToMove,theMove); in moveBeatsInMeasure() 706 if( theMove < 0 ){ in moveBeatsInMeasure() 739 moveBeats(beatsToMove,-theMove); in moveBeatsInMeasure() 746 moveBeats(measure.getBeats(),theMove); in moveAllBeats() local 760 moveBeat(beat,theMove); in moveBeats() 772 beat.setStart(start + theMove); in moveBeat() 1788 moveVoice(nextVoice,theMove); in tryChangeSilenceAfter() 1805 moveVoice(voice,theMove); in moveVoices() 2048 if( theMove == 0 ){ in moveVoices() [all …]
|
H A D | TGTrackManager.java | 183 public void moveMeasure(TGMeasure measure,long theMove){ in moveMeasure() argument 185 getSongManager().getMeasureManager().moveAllBeats(measure,theMove); in moveMeasure() 196 public void moveTrackBeats(TGTrack track, long measureStart, long moveStart, long theMove ){ in moveTrackBeats() argument 200 if( moveStart + theMove < moveStart ){ in moveTrackBeats() 201 …ger().getMeasureManager().removeBeatsBeetween(measure, moveStart, (moveStart + Math.abs(theMove))); in moveTrackBeats() 203 getSongManager().getMeasureManager().moveBeats(measure, moveStart, theMove); in moveTrackBeats()
|
H A D | TGSongManager.java | 362 long theMove = nextStart - nextHeader.getStart(); in changeTimeSignature() local 365 moveMeasureHeader(nextHeader,theMove,0); in changeTimeSignature() 830 public void moveMeasureHeaders(List headers,long theMove,int numberMove,boolean moveComponents) { in moveMeasureHeaders() argument 835 moveMeasureComponents(header,theMove); in moveMeasureHeaders() 841 moveMeasureHeader(header,theMove,numberMove); in moveMeasureHeaders() 848 public void moveMeasureHeader(TGMeasureHeader header,long theMove,int numberMove){ in moveMeasureHeader() argument 850 header.setStart(header.getStart() + theMove); in moveMeasureHeader() 856 public void moveMeasureComponents(TGMeasureHeader header,long theMove){ in moveMeasureComponents() argument 860 getTrackManager().moveMeasure(getTrackManager().getMeasure(track,header.getNumber()),theMove); in moveMeasureComponents() local
|
/dports/biology/mrbayes/MrBayes-3.2.7/src/ |
H A D | mcmc.c | 11787 MCMCMove *theMove; in PrintMCMCDiagnosticsToFile() local 11831 … theMove->parm->name, theMove->moveType->shortTuningName[0], n+1, i+1); in PrintMCMCDiagnosticsToFile() 11844 …MrBayesPrintf (fpMcmc, "\t%s(%s)$%s", theMove->moveType->shortName, theMove->parm->name, theMove->… in PrintMCMCDiagnosticsToFile() 11850 …MrBayesPrintf (fpMcmc, "\t%s(%s)$%s_run%d", theMove->moveType->shortName, theMove->parm->name, the… in PrintMCMCDiagnosticsToFile() 11953 theMove = usedMoves[i]; in PrintMCMCDiagnosticsToFile() 16028 MCMCMove *theMove, *mv; in RunChain() local 16816 …if ((theMove->moveFxn)(theMove->parm, chn, seed, &lnPriorRatio, &lnProposalRatio, theMove->tuningP… in RunChain() 16915 theMove->nTried[i]++; in RunChain() 16916 theMove->nTotTried[i]++; in RunChain() 16950 … theMove->lastAcceptanceRate[i] = (MrBFlt) theMove->nAccepted[i] / (MrBFlt) theMove->nTried[i]; in RunChain() [all …]
|
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/gui/actions/note/ |
H A D | MoveBeatsCustomAction.java | 297 protected int moveBeats( long theMove ){ in moveBeats() argument 306 …ngManager().getTrackManager().moveTrackBeats(track, measure.getStart(), beat.getStart(), theMove ); in moveBeats()
|
/dports/cad/opencascade/opencascade-7.6.0/samples/mfc/standard/02_Modeling/src/ |
H A D | ModelingDoc.cpp | 4235 Handle (Geom_Transformation) theMove = new Geom_Transformation(aLocation.Transformation()); in OnExplorer() 4242 theMove->SetTranslation(move*i); in OnExplorer() 4243 …=TopAbs_FORWARD) myAISContext->SetLocation(theTransformedDisplay,TopLoc_Location(theMove->Trsf())); in OnExplorer() 4244 …else myAISContext->SetLocation(theTransformedDisplay,TopLoc_Location(theMove->Inverted()->Trsf())); in OnExplorer()
|