-/* $NetBSD: main.cc,v 1.2 2003/12/28 17:53:48 thorpej Exp $ */
+/* $NetBSD: main.cc,v 1.3 2005/07/02 15:48:03 jdc Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
* main.C: Main dots program
*/
#include "defs.h"
-RCSID("$NetBSD: main.cc,v 1.2 2003/12/28 17:53:48 thorpej Exp $")
+RCSID("$NetBSD: main.cc,v 1.3 2005/07/02 15:48:03 jdc Exp $")
#include <iostream>
#include <unistd.h>
#include "human.h"
#include "ttyscrn.h"
+GAMESCREEN *sc;
+
// Print the command line usage
static void usage(char* pname)
{
}
}
- GAMESCREEN *sc = TTYSCRN::create(acs, ny, nx);
+ sc = TTYSCRN::create(acs, ny, nx);
if (sc == NULL)
::errx(1, "Dimensions too large for current screen.");