- prout(" SRSCAN MOVE PHASERS CALL\n"
- " STATUS IMPULSE PHOTONS ABANDON\n"
- " LRSCAN WARP SHIELDS DESTRUCT\n"
- " CHART REST DOCK QUIT\n"
- " DAMAGES REPORT SENSORS ORBIT\n"
- " TRANSPORT MINE CRYSTALS SHUTTLE\n"
- " PLANETS REQUEST DEATHRAY FREEZE\n"
- " COMPUTER EMEXIT PROBE COMMANDS");
- if (x) prout(" HELP");
-}
-
-#ifdef SERGEEV
-void setwnd(short wndnum){
- int cury;
- cury=wherey()+wnds[curwnd].wndtop-wnds[wndnum].wndtop;
- if ((curwnd==0)&&(wndnum!=0)) clrscr();
- window(wnds[wndnum].wndleft, wnds[wndnum].wndtop, wnds[wndnum].wndright, wnds[wndnum].wndbottom);
- if ((curwnd==wndnum)&&(cury>wnds[wndnum].wndbottom-wnds[wndnum].wndtop+1)){
- gotoxy(wnds[wndnum].wndright-wnds[wndnum].wndleft+1,wnds[wndnum].wndbottom-wnds[wndnum].wndtop+1);
- skip(1);
- }
- curwnd=wndnum;
- gotoxy(1,cury);
+ int i;
+ prout("LEGAL COMMANDS ARE:");
+ for (i = 0; i < NUMCOMMANDS; i++) {
+ proutn("%-12s ", commands[i].name);
+ if (i % 5 == 4)
+ skip(1);
+ }
+ skip(1);