HomeSort by: relevance | last modified time | path
    Searched refs:BOX (Results 1 - 10 of 10) sorted by relevancy

  /src/games/dab/
box.cc 1 /* $NetBSD: box.cc,v 1.4 2021/12/05 09:22:45 rillig Exp $ */
33 * Box computations
37 RCSID("$NetBSD: box.cc,v 1.4 2021/12/05 09:22:45 rillig Exp $")
39 #include "box.h"
44 const POINT BOX::edges[BOX::last] =
46 const POINT BOX::corners[BOX::last] =
48 const int BOX::syms[BOX::last]
    [all...]
box.h 1 /* $NetBSD: box.h,v 1.4 2021/12/05 09:53:15 rillig Exp $ */
33 * Single box utilities; A box is an entity with four edges, four corners, and
50 class BOX {
61 BOX(size_t py, size_t px, BOARD& b);
63 void reset(void); // Clear a box
64 void paint(void); // Paint a box
78 // Relative coordinates of the edges from the center of the box.
79 static const POINT edges[BOX::last];
80 // Relative coordinates of the corners from the center of the box
    [all...]
algor.cc 41 #include "box.h"
56 // Find the first closure, i.e. a box that has 3 edges
64 BOX box(y, x, b); local in function:ALGOR::find_closure
65 if (box.count() == 3) {
66 for (dir = BOX::first; dir < BOX::last; dir++)
67 if (!box.isset(dir))
69 b.abort("find_closure: 3 sided box[%zu,%zu] has no free sides",
84 BOX tbox(0, x, b)
193 BOX box(y, x, nb); local in function:ALGOR::find_good_turn
227 BOX box(y, x, b); local in function:ALGOR::find_bad_turn
    [all...]
human.cc 41 #include "box.h"
115 dir = BOX::left;
118 dir = BOX::right;
124 dir = BOX::top;
127 dir = BOX::bottom;
algor.h 42 class BOX;
64 int try_bad_turn(BOX& box, size_t& y, size_t& x, int& dir, BOARD& b,
66 int try_good_turn(BOX& box, size_t y, size_t x, int& dir, BOARD& b);
board.cc 44 #include "box.h"
95 BOX box(y, x, *this); local in function:BOARD::init
96 box.reset();
101 * Make a move for player with initial 'c', adding an edge at box(x, y)
115 BOX box1(y, x, *this);
124 // New box; name it and count it
131 // Check other box
132 x += BOX::edges[dir].x;
133 y += BOX::edges[dir].y
151 BOX box(y, x, const_cast<BOARD&>(*this)); local in function:BOARD::full
170 BOX box(y, x, const_cast<BOARD&>(*this)); local in function:BOARD::paint
    [all...]
  /src/usr.bin/menuc/
scan.l 71 box { return BOX; }
parse.y 55 %token <i_value> X Y W H NO BOX SUB HELP MENU NEXT EXIT ACTION ENDWIN OPTION
140 | NO BOX { cur_menu->info->mopt |= MC_NOBOX; }
141 | BOX { cur_menu->info->mopt &= ~MC_NOBOX; }
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
kirkwood-ib62x0.dts 8 model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rk3399-hugsun-x99.dts 9 model = "Hugsun X99 TV BOX";

Completed in 14 milliseconds