home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
TOP
/
USR
/
SRC
/
wanderer2.t.Z
/
wanderer2.t
/
help.c
< prev
next >
Wrap
Text File
|
1988-11-23
|
5KB
|
118 lines
/* From jason@uucp.aeras */
#include "wand_head.h"
char *help[]={
" ** W A N D E R E R ** ", /* 0 */
" =========================== ", /* 1 */
" by Steven Shipway ", /* 2 */
"How to play: ", /* 3 */
" Collect all the treasure: /$\\ ", /* 4 */
" \\$/ ", /* 5 */
" Then go through the exit: Way ", /* 6 */
" out ", /* 7 */
" h Left j Down ", /* 8 */
" k Up l Right ", /* 9 */
" 1 Loud q Quit game ", /* 10 */
" 0 Quiet ! Look at map ", /* 11 */
" S Save game R Restore Game ", /* 12 */
" ? Help mode @ Center screen ", /* 13 */
" ~ Jump level # Switch mode ", /* 14 */
" nb: No level bonus for jumping. ", /* 15 */
"This is you: You are a spider. ", /* 0 */
" o (At least, that's ", /* 1 */
" <|> what you look like) ", /* 2 */
" ", /* 3 */
"The other items you will find are: ", /* 4 */
" ", /* 5 */
" ### -=- ", /* 6 */
" ### and =-= Solid rock ", /* 7 */
" ", /* 8 */
" <O> Time capsule (5 points, ", /* 9 */
" +250 extra moves) ", /* 10 */
" . ", /* 11 */
" . . Passable earth (one point) ", /* 12 */
" ", /* 13 */
" (*) Teleport (50 points for ", /* 14 */
" (*) using it) ", /* 15 */
" /^\\ Boulder (falls down, other ", /* 0 */
" \\_/ boulders and arrows fall ", /* 1 */
" off of it) ", /* 2 */
" ", /* 3 */
" <-- --> Arrows ", /* 4 */
" <-- and --> (run left and right)", /* 5 */
" ", /* 6 */
" TTT Cage - holds baby monsters ", /* 7 */
" III and changes into diamonds ", /* 8 */
" ", /* 9 */
" /$\\ (10 points) ", /* 0 */
" \\$/ Money (collect it) ", /* 1 */
" ", /* 2 */
" -o- Baby monster (kills you) ", /* 3 */
" /*\\ ", /* 4 */
" ", /* 5 */
"When a baby monster hits a cage it ", /* 0 */
"is captured and you get 50 points. ", /* 1 */
"The cage also becomes a diamond. ", /* 2 */
" ", /* 3 */
" I Instant annihilation ", /* 4 */
" o ", /* 5 */
" ", /* 6 */
" \\_ _/ Slopes (boulders ", /* 7 */
" \\ and / and etc slide off) ", /* 8 */
" ", /* 9 */
" }o{ Monster (eats you up whole. ", /* 0 */
" /^\\ Yum Yum yum..) (100 points) ", /* 1 */
" (kill with a rock or arrow) ", /* 2 */
" ", /* 3 */
" Way Exit -- Must Collect all the ", /* 4 */
" out treasure first. (250 bonus) ", /* 5 */
" /~\\ A new addition for version ", /* 0 */
" \\_X 2.2M . The balloon rises, ", /* 1 */
" and is popped by arrows. It ", /* 2 */
" does *not* kill you. ", /* 3 */
" ", /* 4 */
" OOO Unrecognised symbol in map. ", /* 5 */
" OOO This is probably a **bug** ! ", /* 6 */
" ", /* 7 */
" ENVIRONMENT VARIABLES: ", /* 8 */
" ", /* 9 */
" NEWNAME,NAME : Checked in that ", /* 0 */
" order for the hiscore table ", /* 1 */
" NEWKEYS : Redefine movement keys", /* 2 */
" eg- 'hlkj' for default ", /* 3 */
" SAVENAME : File used for saved ", /* 4 */
" games. ", /* 5 */
};
void
helpme() /* routine to show help menu. */
{
int i = 0, i1 = 0, i2 = 0; /* loop counters */
char *ptr; /* pointer in array.. */
char ch;
for(i1 = 0; i1 < 5; i1++) /* times to show loop. */
{
for(i = 0; i < 16; i++) /* show one menu. */
{
ptr = help[i2++];
move(i,0); /* move to start of line. */
addstr(ptr);
}
move(i,0); /* move to start of line. */
addstr("<return> to continue, <space> to exit");
refresh(); /* show on screen. */
ch = (char) getchar(); /* just for now, get anything. */
if(ch == ' ') /* if return or what ever.. */
break; /* exit routine now. */
}
move(i,0); /* move to start of line. */
addstr(" ");
}