-/* $NetBSD: crib.c,v 1.13 2000/05/08 07:56:03 mycroft Exp $ */
+/* $NetBSD: crib.c,v 1.16 2001/12/06 11:59:45 blymn Exp $ */
/*-
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)crib.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: crib.c,v 1.13 2000/05/08 07:56:03 mycroft Exp $");
+__RCSID("$NetBSD: crib.c,v 1.16 2001/12/06 11:59:45 blymn Exp $");
#endif
#endif /* not lint */
initscr();
(void)signal(SIGINT, rint);
- crmode();
+ cbreak();
noecho();
Playwin = subwin(stdscr, PLAY_Y, PLAY_X, 0, 0);
mvcur(0, COLS - 1, LINES - 1, 0);
fflush(stdout);
instructions();
- crmode();
+ cbreak();
noecho();
clear();
refresh();
void
gamescore()
{
- extern int Lastscore[];
-
if (pgames || cgames) {
mvprintw(SCORE_Y + 1, SCORE_X + 28, "Games: %3d", pgames);
mvprintw(SCORE_Y + 7, SCORE_X + 28, "Games: %3d", cgames);