/dports/games/tty-solitaire/tty-solitaire-1.3.1/tests/ |
H A D | game_test.c | 15 assert(!valid_move(stock_0, stock_0)); in test_valid_move_from_stock_to_stock() 16 assert(!valid_move(stock_0, stock_1)); in test_valid_move_from_stock_to_stock() 17 assert(!valid_move(stock_1, stock_0)); in test_valid_move_from_stock_to_stock() 18 assert(!valid_move(stock_1, stock_1)); in test_valid_move_from_stock_to_stock() 32 assert(valid_move(stock, waste_pile)); in test_valid_move_from_stock_to_waste_pile() 78 assert(!valid_move(stock, maneuvre_stacks[i])); in test_valid_move_from_stock_to_maneuvre_stacks() 95 assert(!valid_move(waste_pile, stock)); in test_valid_move_from_waste_pile_to_stock() 109 assert(!valid_move(waste_pile_0, waste_pile_0)); in test_valid_move_from_waste_pile_to_waste_pile() 110 assert(!valid_move(waste_pile_0, waste_pile_1)); in test_valid_move_from_waste_pile_to_waste_pile() 111 assert(!valid_move(waste_pile_1, waste_pile_0)); in test_valid_move_from_waste_pile_to_waste_pile() [all …]
|
/dports/games/xataxx/xataxx/ |
H A D | demo.c | 39 if (valid_move(BLACK)) in demo() 47 if (valid_move(WHITE)) in demo()
|
H A D | display.c | 296 if (!valid_move(curr_player)) in play_loop() 300 if (valid_move(BLACK)) in play_loop() 304 if (valid_move(BLACK) && botlevel < 2) in play_loop() 308 while(!valid_move(WHITE)&&valid_move(BLACK)) { in play_loop() 347 while((!count_board(BLACK)) && valid_move(WHITE)) { in play_loop() 351 while((!count_board(WHITE)) && valid_move(BLACK)) { in play_loop()
|
H A D | board.c | 322 valid_move(player) in valid_move() function
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Mesh_3/ |
H A D | sliver_criteria.h | 78 virtual bool valid_move(const Cell_vector& cells, 139 virtual bool valid_move(const Cell_vector& cells, 189 virtual bool valid_move(const Cell_vector& cells,
|
/dports/science/qmcpack/qmcpack-3.11.0/src/Sandbox/ |
H A D | diff_distancetables.cpp | 148 bool valid_move = els.makeMoveAndCheck(iel, dr); in main() local 150 if (valid_move && Random() < 0.5) in main()
|
/dports/games/tty-solitaire/tty-solitaire-1.3.1/src/ |
H A D | game.h | 43 bool valid_move(struct stack *, struct stack *);
|
H A D | keyboard.c | 158 if (valid_move(block, *destination)) { in handle_card_movement() 162 if (valid_move(*origin, *destination)) { in handle_card_movement()
|
H A D | game.c | 85 bool valid_move(struct stack *origin, struct stack *destination) { in valid_move() function
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | pathfinding.cpp | 399 if( valid_move( p, tripoint( p.xy(), p.z - 1 ), false, true ) ) { in route() 460 valid_move( cur, tripoint( cur.xy(), cur.z + 1 ), false, true ) ) { in route() 470 valid_move( cur, tripoint( cur.xy(), cur.z + 1 ), false, true, true ) ) { in route() 480 valid_move( cur, tripoint( cur.xy(), cur.z - 1 ), false, true, true ) ) { in route()
|
H A D | explosion.cpp | 207 if( closed.count( dest ) == 0 && here.valid_move( pt, dest, false, true ) ) { in do_blast() 233 } else if( !here.valid_move( pt, dest, false, true ) ) { in do_blast() 243 if( !here.valid_move( pt, dest, false, true ) ) { in do_blast()
|
H A D | scent_map.cpp | 144 … get_map().valid_move( p, tripoint( p.xy(), levz ), false, true ) ); in inbounds()
|
H A D | map_field.cpp | 293 if( gas_can_spread_to( cur, down_tile ) && valid_move( p, down, true, true ) ) { in spread_gas() 348 if( gas_can_spread_to( cur, up_tile ) && valid_move( p, up, true, true ) ) { in spread_gas() 515 if( pd.here.valid_move( p, dst, true, true ) ) { in field_processor_fd_acid() 1061 if( here.valid_move( p, dst, true, true ) ) { in field_processor_fd_fire()
|
H A D | monmove.cpp | 938 if( !here.valid_move( pos(), candidate, false, true, via_ramp ) ) { in move() 1261 if( here.valid_move( pos(), dest, can_bash, true ) && in scent_move() 1908 if( here.valid_move( pos(), below, false, true ) ) { in stumble()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | pathfinding.cpp | 399 if( valid_move( p, tripoint( p.xy(), p.z - 1 ), false, true ) ) { in route() 460 valid_move( cur, tripoint( cur.xy(), cur.z + 1 ), false, true ) ) { in route() 470 valid_move( cur, tripoint( cur.xy(), cur.z + 1 ), false, true, true ) ) { in route() 480 valid_move( cur, tripoint( cur.xy(), cur.z - 1 ), false, true, true ) ) { in route()
|
H A D | explosion.cpp | 207 if( closed.count( dest ) == 0 && here.valid_move( pt, dest, false, true ) ) { in do_blast() 233 } else if( !here.valid_move( pt, dest, false, true ) ) { in do_blast() 243 if( !here.valid_move( pt, dest, false, true ) ) { in do_blast()
|
H A D | scent_map.cpp | 144 … get_map().valid_move( p, tripoint( p.xy(), levz ), false, true ) ); in inbounds()
|
H A D | map_field.cpp | 293 if( gas_can_spread_to( cur, down_tile ) && valid_move( p, down, true, true ) ) { in spread_gas() 348 if( gas_can_spread_to( cur, up_tile ) && valid_move( p, up, true, true ) ) { in spread_gas() 515 if( pd.here.valid_move( p, dst, true, true ) ) { in field_processor_fd_acid() 1061 if( here.valid_move( p, dst, true, true ) ) { in field_processor_fd_fire()
|
H A D | monmove.cpp | 938 if( !here.valid_move( pos(), candidate, false, true, via_ramp ) ) { in move() 1261 if( here.valid_move( pos(), dest, can_bash, true ) && in scent_move() 1908 if( here.valid_move( pos(), below, false, true ) ) { in stumble()
|
/dports/games/solarus-quest-editor/solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba/src/widgets/ |
H A D | tileset_view.cpp | 984 bool valid_move = true; in dragMoveEvent() local 1011 valid_move = false; in dragMoveEvent() 1015 event->setAccepted(valid_move); in dragMoveEvent()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | field_test.cpp | 166 REQUIRE_FALSE( m.valid_move( p, p + tripoint_below ) ); 178 REQUIRE( m.valid_move( p, p + tripoint_below ) );
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | field_test.cpp | 166 REQUIRE_FALSE( m.valid_move( p, p + tripoint_below ) ); 178 REQUIRE( m.valid_move( p, p + tripoint_below ) );
|
/dports/games/gnugo/gnugo-3.8/engine/ |
H A D | aftermath.c | 411 int valid_move = 0; in do_aftermath_genmove() local 420 valid_move = 1; in do_aftermath_genmove() 423 if (valid_move in do_aftermath_genmove()
|
/dports/games/gnubg/gnubg-1.06.002/ |
H A D | gtkboard.h | 87 move *all_moves, *valid_move; member
|
H A D | gtkboard.c | 743 bd->valid_move = NULL; in update_move() 757 bd->valid_move = bd->move_list.amMoves + i; in update_move() 758 fIncomplete = bd->valid_move->cMoves < bd->move_list.cMaxMoves in update_move() 759 || bd->valid_move->cPips < bd->move_list.cMaxPips; in update_move() 761 FormatMove(move = move_buf, (ConstTanBoard) bd->old_board, bd->valid_move->anMove); in update_move() 768 if (bd->valid_move) { in update_move() 771 PositionFromKey(anBoard, &bd->valid_move->key); in update_move() 806 else if (bd->valid_move && in Confirm() 807 …bd->valid_move->cMoves == bd->move_list.cMaxMoves && bd->valid_move->cPips == bd->move_list.cMaxPi… in Confirm() 808 FormatMovePlain(move, bd->old_board, bd->valid_move->anMove); in Confirm() [all …]
|