Home
last modified time | relevance | path

Searched refs:is_promoted (Results 1 – 24 of 24) sorted by relevance

/dports/games/dobutsu/dobutsu-2/
H A Ddobutsu.h56 static inline int is_promoted(unsigned, const struct position*);
124 is_promoted(unsigned pc, const struct position *p) in is_promoted() function
H A Dvalidation.c68 if (piece_in(HAND, p->pieces[CHCK_S]) && is_promoted(CHCK_S, p) in position_valid()
69 || piece_in(HAND, p->pieces[CHCK_G]) && is_promoted(CHCK_G, p)) in position_valid()
H A Dunmoves.c91 dst = is_promoted(pc, p) in unmoves_for()
142 if (pc != LION_S && pc != LION_G && !is_promoted(pc, p)) { in generate_unmoves_for_piece()
150 if (is_promoted(pc, p) in generate_unmoves_for_piece()
H A Dmoves.c84 …b = is_promoted(CHCK_S, p) ? roostertab[p->pieces[CHCK_S]] : movetab[CHCK_S / 2][p->pieces[CHCK_S… in attack_map()
85 …b |= is_promoted(CHCK_G, p) ? roostertab[p->pieces[CHCK_G]] : movetab[CHCK_G / 2][p->pieces[CHCK_G… in attack_map()
110 dst = is_promoted(pc, p) ? roostertab[p->pieces[pc]] : movetab[pc / 2][p->pieces[pc]]; in moves_for()
H A Dnotation.c86 if (is_promoted(pc, p)) in piece_letter()
187 && !is_promoted(m->piece, p) in move_string()
/dports/games/sjeng/Sjeng-Free-11.2/
H A Dutils.c439 memset(is_promoted, 0, sizeof(is_promoted)); in init_game()
818 if(is_promoted[i]) in reset_piece_square()
826 memset(is_promoted, 0, sizeof(is_promoted)); in reset_piece_square()
842 is_promoted[piece_count] = 1; in reset_piece_square()
1261 memset(is_promoted, 0, sizeof(is_promoted)); in reset_board()
H A Dmoves.c1344 path_x[ply].was_promoted = is_promoted[find_slot]; in make()
1345 is_promoted[find_slot] = 0; in make()
1374 path_x[ply].was_promoted = is_promoted[squares[target]]; in make()
1423 is_promoted[squares[target]] = 1; in make()
1501 is_promoted[squares[target]] = 1; in make()
1964 is_promoted[squares[target]] = path_x[ply].was_promoted; in unmake()
1998 is_promoted[squares[target]] = path_x[ply].was_promoted; in unmake()
2009 if (is_promoted[squares[target]]) in unmake()
H A Dextvars.h56 extern int is_promoted[62];
H A Dsjeng.c70 int is_promoted[62]; variable
/dports/games/gnushogi/gnushogi-1.4.2/gnushogi/
H A Dbook.c191 if (is_promoted[board[node->f]] ) in bkdisplay()
209 pc = (is_promoted[board[l]] ? '+' : ' '); in bkdisplay()
271 if (is_promoted[board[node->f]] ) in BVerifyMove()
305 if (is_promoted[board[xnode.t]] ) in BVerifyMove()
H A Dcommondsp.c690 p = is_promoted[piece] ? '+' : ' '; in SaveGame()
759 : (is_promoted[g->fpiece] ? '+' : ' ')), in SaveGame()
770 (is_promoted[g->piece] ? '+' : ' ')); in SaveGame()
953 isp = is_promoted[piece]; in SaveXGame()
1074 : (is_promoted[g->fpiece] ? "+" : "")), in BookSave()
1159 : (is_promoted[GameList[i].fpiece] ? '+' : ' ')), in ListGame()
1172 : (is_promoted[GameList[i].fpiece] ? '+' : ' ')), in ListGame()
1327 if (is_promoted[piece]) in FlagString()
H A Dinit.c161 const small_short is_promoted[NO_PIECES] = variable
H A Dpattern.c609 fprintf(fd, "%c%c", is_promoted[i] ? '+' : ' ', in DisplayPattern()
H A Drawdsp.c618 pc = (is_promoted[board[l]] ? '+' : ' '); in Raw_UpdateDisplay()
H A Dgnushogi.h785 extern const small_short is_promoted[NO_PIECES];
H A Dcursesdsp.c758 if (is_promoted[(int)piece]) in DrawPiece()
/dports/x11-wm/wayfire/wayfire-0.7.0/src/view/
H A Dview-impl.hpp81 bool is_promoted = false; member in wf::view_interface_t::view_priv_impl
/dports/x11-wm/wayfire/wayfire-0.7.0/src/output/
H A Dworkspace-impl.cpp320 return view->view_impl->is_promoted == promoted; in push_views()
936 view->view_impl->is_promoted = false; in update_promoted_views()
952 views.front()->view_impl->is_promoted = true; in update_promoted_views()
/dports/lang/ghc/ghc-8.10.7/compiler/iface/
H A DTcIface.hs1164 tcIfaceTupleTy sort is_promoted args
1168 ; case is_promoted of
H A DIfaceType.hs1460 pprSum _arity is_promoted args
1465 in pprPromotionQuoteI is_promoted
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/iface/
H A DIfaceType.hs1460 pprSum _arity is_promoted args
1465 in pprPromotionQuoteI is_promoted
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Iface/
H A DType.hs1540 pprSum _arity is_promoted args
1545 in pprPromotionQuoteI is_promoted
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Iface/
H A DType.hs1607 pprSum _arity is_promoted args
1612 in pprPromotionQuoteI is_promoted
/dports/www/py-tuir/tuir-1.29.0/tests/cassettes/
H A Dtest_imgur_fallback.yaml1337 :null,\"spam\":\"0\",\"nsfw\":\"0\",\"is_promoted\":\"0\",\"animated\":\"\
1340 :null,\"is_promoted\":\"0\",\"accent\":\"633875\"},\"image\":{\"animated\"\
1378 :null,\"spam\":\"0\",\"nsfw\":\"0\",\"is_promoted\":\"0\",\"animated\":\"\
1381 :null,\"is_promoted\":\"0\",\"accent\":\"633875\"},\"image\":{\"animated\"\