Home
last modified time | relevance | path

Searched refs:goStone_empty (Results 1 – 19 of 19) sorted by relevance

/dports/games/cgoban/cgoban-1.9.14/src/
H A DeditInfo.c36 {msg_gameTitle, sgfType_title, goStone_empty},
42 {msg_handicapC, sgfType_handicap, goStone_empty},
43 {msg_komiC, sgfType_komi, goStone_empty},
44 {msg_time, sgfType_time, goStone_empty},
45 {msg_result, sgfType_result, goStone_empty},
46 {msg_date, sgfType_date, goStone_empty},
47 {msg_place, sgfType_place, goStone_empty},
48 {msg_event, sgfType_event, goStone_empty},
49 {msg_source, sgfType_source, goStone_empty}};
114 ((sgfVals[val].color == goStone_empty) || in editInfo_create()
[all …]
H A DgoBoard.c45 board->pieces[i].type = goStone_empty; in goBoard_create()
162 if (stone == goStone_empty) { in goBoard_addStone()
167 assert((loc == 0) || (board->pieces[loc].type == goStone_empty)); in goBoard_addStone()
220 group->type = goStone_empty; in goBoard_addStone()
256 if ((groupNeighbor->type == goStone_empty) && in goBoard_addStone()
266 if ((groupNeighbor->type == goStone_empty) && in goBoard_addStone()
292 group->type = goStone_empty; in goBoard_addStone()
338 if (type == goStone_empty) in addEmpty()
346 group->type = goStone_empty; in addEmpty()
394 if (neighbor->type == goStone_empty) in goBoard_quickHash()
[all …]
H A DgoScore.c146 if ((goBoard_stone(b, i) == goStone_empty) || in goScore_compute()
170 if ((goBoard_stone(b, i) == goStone_empty) || in goScore_compute()
257 ((stoneHere == goStone_empty) || (stoneHere == s))) { in markNeighborEmptySpecial()
299 (goBoard_stone(game->tmpBoard, i) == goStone_empty)) { in findSpecialEyes()
315 n = countNeighbors(game, game->board, i, goStone_empty); in findSpecialEyes()
328 (goBoard_stone(game->tmpBoard, i) == goStone_empty)) { in findSpecialEyes()
345 n = countNeighbors(game, game->board, i, goStone_empty); in findSpecialEyes()
363 (goBoard_stone(game->tmpBoard, i) == goStone_empty)) { in findSpecialEyes()
475 if ((goBoard_stone(g->tmpBoard, i) == goStone_empty) && in testGroupForFake()
531 (goBoard_stone(g->tmpBoard, newLoc) == goStone_empty)) { in testGroupForFake()
[all …]
H A Dsgf.h93 #define sgf_addElem(mc, t) sgf_addCElem(mc, t, goStone_empty)
94 #define sgf_addIElem(mc, t, i) sgf_addCIElem(mc, t, goStone_empty, i)
95 #define sgf_addSElem(mc, t, s) sgf_addCSElem(mc, t, goStone_empty, s)
96 #define sgf_addLElem(mc, t, l) sgf_addCLElem(mc, t, goStone_empty, l)
97 #define sgf_addLSElem(mc, t, l, s) sgf_addCLSElem(mc, t, goStone_empty, l, s)
123 sgf_addCLElem(mc, sgfType_setBoard, goStone_empty, loc)
H A DsgfIn.c303 arg_multi(arg, mc, sgfType_setBoard, goStone_empty, &err); in readFile()
331 arg_multi(arg, mc, sgfType_triangle, goStone_empty, &err); in readFile()
336 arg_multi(arg, mc, sgfType_circle, goStone_empty, &err); in readFile()
341 arg_multi(arg, mc, sgfType_mark, goStone_empty, &err); in readFile()
346 arg_multi(arg, mc, sgfType_square, goStone_empty, &err); in readFile()
358 arg_multi(arg, mc, sgfType_label, goStone_empty, &err); in readFile()
H A DeditBoard.c290 if (goBoard_stone(eb->game->board, loc) != goStone_empty) { in gridPressed()
310 addPattern(eb, goStone_empty, loc); in gridPressed()
382 if (goBoard_stone(eb->game->board, loc) == goStone_empty) { in jumpToLoc()
593 ((goBoard_stone(eb->game->board, i) == goStone_empty) || in donePressed()
600 ((goBoard_stone(eb->game->board, i) == goStone_empty) || in donePressed()
802 if ((goBoard_stone(newBoard, i) == goStone_empty) && in addPattern()
803 (goBoard_stone(eb->game->board, i) != goStone_empty)) in addPattern()
804 sgf_addStone(eb->sgf, goStone_empty, goBoard_loc2Sgf(newBoard, i)); in addPattern()
H A DgoPic.c233 toMove = goStone_empty; in goPic_update()
264 (s == goStone_empty)) { in goPic_update()
316 (grid_stone(p->boardButs[i]) == goStone_empty)) in goPic_update()
H A Dsgf.c137 sgf_addCElem(sgf, sgfType_comment, goStone_empty); in sgf_catComment()
288 sgf_addCSElem(mc, sgfType_date, goStone_empty, dateStr); in sgf_setDate()
493 if (se->gVal == goStone_empty) in sgfElem_findMove()
H A DgoBoard.h25 goStone_white, goStone_black, goStone_edge, goStone_empty enumerator
H A Dcgbuts.c141 grid->ptype = goStone_empty; in grid_create()
327 ((grid->ptype == goStone_empty) || grid->grey)) { in grid_draw()
353 if ((grid->ptype == goStone_empty) && in grid_draw()
358 if (grid->ptype != goStone_empty) { in grid_draw()
380 assert(grid->ptype == goStone_empty); in grid_draw()
563 if (pressColor == goStone_empty) { in grid_setPress()
H A DsgfMap.c216 GoStone stone = goStone_empty; in draw()
302 stone = goStone_empty; in draw()
307 if (stone != goStone_empty) { in draw()
314 else if (stone != goStone_empty) in draw()
H A DsgfPlay.c181 if ((me->gVal == goStone_empty) && in processMoves()
H A DgoGame.c296 if (goBoard_stone(game->board, move) != goStone_empty) in goGame_canMove()
633 goBoard_addStone(game->board, goStone_empty, loc, NULL); in goGame_setBoard()
H A DsgfOut.c269 assert(me->gVal == goStone_empty); in printColor()
H A Dgoban.c97 g->activeTimer = goStone_empty; in goban_create()
936 if (color == goStone_empty) { in goban_stopTimer()
942 g->activeTimer = goStone_empty; in goban_stopTimer()
H A Dlocal.c482 ((goBoard_stone(l->game->board, i) == goStone_empty) || in donePressed()
489 ((goBoard_stone(l->game->board, i) == goStone_empty) || in donePressed()
/dports/games/cgoban/cgoban-1.9.14/src/client/
H A Dboard.c449 if (goBoard_stone(cli->game->board, loc) == goStone_empty) { in cliBoard_gridPressed()
470 if (cli->goban->activeTimer != goStone_empty) in cliBoard_gridPressed()
580 if (cli->goban->activeTimer != goStone_empty) in cliBoard_updateWithToggle()
H A Dgame.c641 GoStone winner = goStone_empty, loser; in cliGameList_gameGone()
807 if (gl->games[gameNum].board->goban->activeTimer != goStone_empty) in cliGameList_gameGone()
840 if (g->board->goban->activeTimer != goStone_empty) in cliGameList_selectDead()
869 sgf_addStone(g->board->sgf, goStone_empty, in cliGameList_deadStone()
881 if (g->board->goban->activeTimer != goStone_empty) in cliGameList_deadStone()
/dports/games/cgoban/cgoban-1.9.14/src/gmp/
H A Dplay.c523 ((goBoard_stone(l->game->board, i) == goStone_empty) || in donePressed()
530 ((goBoard_stone(l->game->board, i) == goStone_empty) || in donePressed()