key = scan();
while (TRUE) {
if (key == IHEOL) {
- setwnd(BOTTOM_WINDOW);
+ setwnd(prompt_window);
proutn("Help on what command? ");
key = scan();
}
- setwnd(LOWER_WINDOW);
+ setwnd(message_window);
if (key == IHEOL) return;
for (i = 0; i < NUMCOMMANDS; i++) {
if (strcasecmp(commands[i].name, citem)==0) {
static void makemoves(void) {
int i, hitme;
clrscr();
- setwnd(LOWER_WINDOW);
+ setwnd(message_window);
while (TRUE) { /* command loop */
drawmaps(1);
while (TRUE) { /* get a command */
Time = 0.0;
i = -1;
chew();
- setwnd(BOTTOM_WINDOW);
+ setwnd(prompt_window);
clrscr();
proutn("COMMAND> ");
if (scan() == IHEOL) {
}
ididit=0;
clrscr();
- setwnd(LOWER_WINDOW);
+ setwnd(message_window);
clrscr();
for (i=0; i < ABANDON; i++)
if (isit(commands[i].name)) {
strcat(line, " ");
}
while (TRUE) { /* Play a game */
- setwnd(FULLSCREEN_WINDOW);
+ setwnd(fullscreen_window);
clrscr();
prelim();
setup(line[0] == '\0');
}
cgetline(line, sizeof(line));
fflush(stdin);
- if (curwnd==BOTTOM_WINDOW){
+ if (curwnd==prompt_window){
clrscr();
- setwnd(LOWER_WINDOW);
+ setwnd(message_window);
clrscr();
}
linep = line;