Skip to content

Commit

Permalink
3rd release thanks to Peter Langston. Peter says it compiles on OS X …
Browse files Browse the repository at this point in the history
…10.6.8
  • Loading branch information
shmup committed Apr 25, 2015
1 parent 8504de3 commit 981ce41
Show file tree
Hide file tree
Showing 18 changed files with 382 additions and 359 deletions.
7 changes: 6 additions & 1 deletion Makefile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ DOCS = Wander.txt WanderExportReadMe.txt WanderMisc.txt WanderWrld.txt
DOT_CS = wand1.c wand2.c wandglb.c wandsys.c
DOT_OS = wand1.o wand2.o wandglb.o wandsys.o
A3 = a3.misc a3.wrld
EXPORT = Makefile $(DOCS) wanddef.h $(DOT_CS) $(A3)
CASTLE = castle.misc castle.wrld
LIBRARY = library.misc library.wrld
TUT = tut.misc tut.wrld
EXPORT = Makefile $(DOCS) wanddef.h $(DOT_CS) $(A3) $(CASTLE) $(LIBRARY) $(TUT)

default: wander

clean:
rm $(DOT_OS) $(DOCS)
Expand Down
10 changes: 5 additions & 5 deletions Wander.txt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ COMMANDS
save quit & save environment for later continuation
restore restore saved environment |
look print the long description of the current location
history print the last N commands |
init read new .wrld & .misc files, (switch worlds) |
The following debugging verbs only work if you own the files
~snoop give a condensed list of possible actions
Expand All @@ -57,7 +58,6 @@ COMMANDS
~version print miscellaneous parameter information

Whenever the word "all" is encountered as the second recog‐ |
nized word of user input on a line it will be macro expand‐ |

‐ 1 ‐

Expand All @@ -68,6 +68,7 @@ COMMANDS

WANDER 4/80 WANDER

nized word of user input on a line it will be macro expand‐ |
ed. This expansion replaces the word "all" with each object |
in the current location including objects being carried. |
E.g. "drop all" may expand to "drop keys; drop net; drop |
Expand Down Expand Up @@ -123,7 +124,6 @@ FILE PROTECTION
files /u/smith/oz.misc and /u/smith/oz.wrld, the following
program would suffice:

main()

‐ 2 ‐

Expand All @@ -134,6 +134,7 @@ FILE PROTECTION

WANDER 4/80 WANDER

main()
{
execl("/usr/games/wander", "oz", "/u/smith/oz", 0);
}
Expand Down Expand Up @@ -189,7 +190,6 @@ VARIABLES
NOW_HOUR 114 hour of day (0:23)
NOW_MIN 115 minute of hour (0:59)
NOW_SEC 116 second of minute (0:59)
NOW_ET 117 elapsed time in Wander (seconds)

‐ 3 ‐

Expand All @@ -200,6 +200,7 @@ VARIABLES

WANDER 4/80 WANDER

NOW_ET 117 elapsed time in Wander (seconds)
BREVITY 118 brevity of place descriptions |
LOC_VIEW 119 location description override |
OBJ_VIEW 120 object description override |
Expand Down Expand Up @@ -255,7 +256,6 @@ SYNTACTIC CONVENTIONS
\t is replaced by <HT>, |
\r is replaced by <CR>, |
\" is replaced by " (not considered a "quote"), |
\<SP> is replaced by <SP> |

‐ 4 ‐

Expand All @@ -266,6 +266,7 @@ SYNTACTIC CONVENTIONS

WANDER 4/80 WANDER

\<SP> is replaced by <SP> |

In reading the file, each unescaped tab is replaced by a |
single space, and quotes are stripped off. The resulting |
Expand Down Expand Up @@ -321,7 +322,6 @@ SEE ALSO





‐ 5 ‐

Expand Down
Empty file modified WanderExportReadMe.txt
100644 → 100755
Empty file.
Empty file modified WanderMisc.txt
100644 → 100755
Empty file.
Empty file modified WanderWrld.txt
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions a3.misc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ beer 1
liquor 2
subwalk\ tokens
tokens 1
token 2
half-empty\ wine\ bottle 0 101
bottle 1
shovel 0 12
Expand Down
17 changes: 10 additions & 7 deletions a3.wrld
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ You're in the Aldebaran III spaceport. An electrified chain link fence
surrounds the area with gates leading west and south.
south 2
west 100
north|east|ne|nw|se|sw m="ZZZAAAAPPPP! OUCH!"
north|east|ne|nw|se|sw m="zzzZZZAAAAPPPP! OUCH!"
take\ card o?card t+card m="\
Done
Your account has 50 credits left.
Expand Down Expand Up @@ -117,20 +117,23 @@ them anyway\", you are reminded."
"
bribe m="You haven't got anything that the official wants."
out m="Which way out? East or west? (the spaceport is east)"
no m="\"If you really have nothing to declare you may go.\""
no m="\"If you really have nothing to declare you may leave.\""
* t?papers t?notes v?NUM_CARRY.2 ... m=\
"I don't believe you have anything left to declare, you may go..."
"I don't believe you have anything left to declare, you may leave..."
declare\ papers|declare\ notes|declare\ tokens|show\ papers m=\
"\"There is no duty on those\", barks the exasperated official."
"\"There is no duty on those\", barks the exasperated official, as he
slides them down the counter that passes through a hole in the west wall."
declare\ card t?card v-6.5 o+card@3 m=\
"\"Yes\", says the official and then mutters to himself,
"\"Yes\", says the official sliding it down the counter and muttering to himself,
\"credit card -- five credits\"."
declare\ condoms t?condoms v-6.1 o+condoms@3 m=\
"The guard smiles discreetly and scribbles a \"1\" on his pad."
"The guard smiles discreetly, scribbles a \"1\" on his pad,
and flips the package down the counter."
declare\ dictionary t?dictionary v-6.3 o+dictionary@3 m=\
"\"Hmm, looks pretty valuable\", he says as he scribbles a \"3\"."
declare\ cigarettes v-6.1 t?cigarettes o+cigarettes@3 m=\
"\"Filthy habit\", the official mutters, writing a \"1\" on his pad."
"\"Filthy habit\", the official mutters, writing a \"1\" on his pad
and tossing the pack down the counter."
declare\ innocence m="Oh sure; we're all innocent of something, eh?"
declare m="Declare what? Never heard of it..."

Expand Down
Empty file modified castle.misc
100644 → 100755
Empty file.
Empty file modified castle.wrld
100644 → 100755
Empty file.
Empty file modified library.misc
100644 → 100755
Empty file.
Empty file modified library.wrld
100644 → 100755
Empty file.
Empty file modified tut.misc
100644 → 100755
Empty file.
Empty file modified tut.wrld
100644 → 100755
Empty file.
Loading

0 comments on commit 981ce41

Please sign in to comment.