|
|
@ -26,7 +26,7 @@ void DrawBoard() {
|
|
|
|
channels_set_fg(&channels, 0x00b040);
|
|
|
|
channels_set_fg(&channels, 0x00b040);
|
|
|
|
channels_set_bg_alpha(&channels, CELL_ALPHA_TRANSPARENT);
|
|
|
|
channels_set_bg_alpha(&channels, CELL_ALPHA_TRANSPARENT);
|
|
|
|
if(!board_->double_box(0, channels, BOARD_HEIGHT - 1, BOARD_WIDTH * 2 - 1, NCBOXMASK_TOP)){
|
|
|
|
if(!board_->double_box(0, channels, BOARD_HEIGHT - 1, BOARD_WIDTH * 2 - 1, NCBOXMASK_TOP)){
|
|
|
|
throw TetrisNotcursesErr("rounded_box()");
|
|
|
|
throw TetrisNotcursesErr("double_box()");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
channels_set_fg_alpha(&channels, CELL_ALPHA_TRANSPARENT);
|
|
|
|
channels_set_fg_alpha(&channels, CELL_ALPHA_TRANSPARENT);
|
|
|
|
board_->set_base(channels, 0, "");
|
|
|
|
board_->set_base(channels, 0, "");
|
|
|
|