static char line[128], *linep = line;\r
static int linecount; /* for paging */\r
static int screenheight = 24;\r
static char line[128], *linep = line;\r
static int linecount; /* for paging */\r
static int screenheight = 24;\r
4. Enemies can ram the Enterprise. Regular Klingons and Romulans can\r
move in Expert and Emeritus games. This code could use improvement.\r
\r
4. Enemies can ram the Enterprise. Regular Klingons and Romulans can\r
move in Expert and Emeritus games. This code could use improvement.\r
\r
while (fgets(linebuf, sizeof(linebuf),fp)) {\r
if (strstr(linebuf, "******"))\r
break;\r
while (fgets(linebuf, sizeof(linebuf),fp)) {\r
if (strstr(linebuf, "******"))\r
break;\r
void crmena(int i, int enemy, int key, int x, int y) {\r
if (i == 1) proutn("***");\r
cramen(enemy);\r
void crmena(int i, int enemy, int key, int x, int y) {\r
if (i == 1) proutn("***");\r
cramen(enemy);\r
- proutn("\033[2J"); /* Hope for an ANSI display */\r
+ // proutn("\033[2J"); /* Hope for an ANSI display */\r
+ /* much more in that old-time TTY spirit to just throw linefeeds */\r
+ int i;\r
+ for (i = 0; i < screenheight; i++)\r
+ putchar('\n');\r