Home | History | Annotate | Download | only in dab

Lines Matching defs:BOARD

1 /*	$NetBSD: board.cc,v 1.5 2021/12/05 09:22:45 rillig Exp $	*/
33 * Board manipulations
37 RCSID("$NetBSD: board.cc,v 1.5 2021/12/05 09:22:45 rillig Exp $")
42 #include "board.h"
47 BOARD::BOARD(size_t y, size_t x, GAMESCREEN* scrn) :
63 BOARD::BOARD(const BOARD& b) :
78 BOARD::~BOARD()
89 void BOARD::init(void)
107 int BOARD::domove(size_t y, size_t x, int dir, char c)
146 // Return true if the board is full
147 int BOARD::full(void) const
151 BOX box(y, x, const_cast<BOARD&>(*this));
160 int BOARD::bounds(size_t y, size_t x) const
165 // Paint all boxes, effectively redrawing the board
166 void BOARD::paint(void) const
170 BOX box(y, x, const_cast<BOARD&>(*this));
176 void BOARD::clean(void) const
184 void BOARD::setpos(size_t y, size_t x) const
193 int BOARD::getmove(void) const
202 void BOARD::bell(void) const
210 void BOARD::score(size_t i, const PLAYER& p)
218 void BOARD::games(size_t i, const PLAYER& p)
226 void BOARD::total(size_t i, const PLAYER& p)
234 void BOARD::ties(const PLAYER& p)
242 void BOARD::abort(const char* s, ...) const