box
int ALGOR::try_good_turn(BOX& box, size_t y, size_t x, int& dir, BOARD& b)
if (box.count() >= 2)
if (!box.isset(dir)) {
BOX box(y, x, nb);
if (box.count() < 2 && try_good_turn(box, y, x, dir, nb))
int ALGOR::try_bad_turn(BOX& box, size_t& y, size_t& x, int& dir, BOARD& b,
if (4 - box.count() <= last)
y, x, last, box.count());
if (!box.isset(dir)) {
BOX box(y, x, b);
if ((4 - box.count()) > last &&
try_bad_turn(box, y, x, dir, b, last))
BOX box(y, x, b);
if (box.count() == 3) {
if (!box.isset(dir))
int try_bad_turn(BOX& box, size_t& y, size_t& x, int& dir, BOARD& b,
int try_good_turn(BOX& box, size_t y, size_t x, int& dir, BOARD& b);
BOX box(y, x, const_cast<BOARD&>(*this));
if (box.count() != 4)
BOX box(y, x, const_cast<BOARD&>(*this));
box.paint();
BOX box(y, x, *this);
box.reset();
boolean box, pick;
box = carrying(ICE_BOX);
if (box || pick) {
(box && pick) ? "box and pick-axe" :
box ? "box" : "pick-axe");
box(tv, '*', '*');
box(stdscr, '|', '_'); /* box in the screen */
box(stdscr, '|', '_'); /* box in the screen */
int box(WINDOW *, chtype, chtype);
box_t box;
INIT_BOX(&box, 0, 0, dim->width, dim->height);
cc_init_view(v, bm, mode, &box);
typedef struct box box_t;
box_t box;
INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
init_view(v, bm, mode, &box);
box_t box;
INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
init_view(v, bm, mode, &box);
typedef struct box box_t;
box_t box;
INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
init_view(v, bm, mode, &box);
u_int16_t box;
u_int16_t box;
u_int16_t box;
unsigned int ibits, obits, box, opcode;
for (box = 0; box < MAX_MAILBOX(isp); box++) {
if (ibits & (1 << box)) {
ISP_WRITE(isp, MBOX_OFF(box), mbp->param[box]);
isp->isp_mboxtmp[box] = mbp->param[box] = 0;
unsigned int lim, ibits, obits, box, opcode;
for (box = 0; box < MAX_MAILBOX(isp); box++) {
if (ibits & (1 << box)) {
isp_prt(isp, ISP_LOGDEBUG3, "IN mbox %d = 0x%04x", box,
mbp->param[box]);
ISP_WRITE(isp, MBOX_OFF(box), mbp->param[box]);
isp->isp_mboxtmp[box] = mbp->param[box] = 0;
for (box = 0; box < MAX_MAILBOX(isp); box++) {
if (obits & (1 << box)) {
mbp->param[box] = isp->isp_mboxtmp[box];
isp_prt(isp, ISP_LOGDEBUG3, "OUT mbox %d = 0x%04x", box,
mbp->param[box]);
struct virtio_gpu_box box;
report_return(box(win, vertical, horizontal));
box(line_win, '-', '-');