;***************************************************************************** ; "game : SHERLOCK!" ; "file : MACROS.ZIL" ; "auth : $Author: DEB $" ; "date : $Date: 24 Sep 1987 21:15:56 $" ; "rev : $Revision: 1.4 $" ; "vers : 1.00" ;***************************************************************************** ;----------------------------------------------------------------------------- ; "default property values" ;----------------------------------------------------------------------------- ;***************************************************************************** ; "tell-tokens" ;***************************************************************************** N * C * D * A * CA * AO ANY * ,K-DESC-ANY> THE * THEO THEI CTHE * CTHEO CTHEI VW INDENT WRAP > ) ( ) (ELSE ) > > ) > ) > > >> ) (<==? .X GL-P-PRSA-WORD> >> ) (T .ATM ) > GVAL > ) (ELSE .ATM ) >) >>> > 4> ) > > !>) >>> > > ;***************************************************************************** ; "macro definitions" ;***************************************************************************** ;----------------------------------------------------------------------------- ; "MC-VERB?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-VERB-WORD?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-PRSO?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-PRSI?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-THIS-PRSO?" ;----------------------------------------------------------------------------- > > ;----------------------------------------------------------------------------- ; "MC-THIS-PRSI?" ;----------------------------------------------------------------------------- >> > ;----------------------------------------------------------------------------- ; "MC-HERE?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-LISTEN?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-PROB" ;----------------------------------------------------------------------------- >> > ;----------------------------------------------------------------------------- ; "MC-GET/B" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-ABS" ;-----------------------------------------------------------------------------
) (T .NUM ) > > ;----------------------------------------------------------------------------- ; "MC-SPACE" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-QUOTE?" ;----------------------------------------------------------------------------- > > ) > > ;----------------------------------------------------------------------------- ; "MC-MAKE" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-UNMAKE" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-IS?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-ISNOT?" ;----------------------------------------------------------------------------- > > ;----------------------------------------------------------------------------- ; "MC-NOTZERO?" ;----------------------------------------------------------------------------- > > ;----------------------------------------------------------------------------- ; "MC-T?" ;----------------------------------------------------------------------------- > > ;----------------------------------------------------------------------------- ; "MC-THIS-WINNER?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-F?" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-GET-RM-EXIT-DEST" ;----------------------------------------------------------------------------- > ;----------------------------------------------------------------------------- ; "MC-GET-RM-EXIT-DOOR" ;----------------------------------------------------------------------------- '<- ,K-DEXITOBJ 1>>> ) (T .X)>) (T ) (T .Y)>) (T #SPLICE ())>)>> > > > > > > ; "Generate an appropriate BTST to test the part of speech in cases where we can get away with it. Otherwise, call RT-WT?. EXTRA-BIT is used to test two parts of speech at the same time. Note that all arguments after the first are evaluated at compile time, so had better be PS? or P1? type constants." 5) EXTRA-BIT) > ; "Handle an OR test of two parts of speech" <+ .BIT .EXTRA-BIT>>>>) (T .BIT>)>) ( ) (T )>> ;"Structures created by eliminating the AUXn properties." ; "First person tied up" ; "Second person tied up" BYTE> ; "Number of gems used to bribe him" BYTE> ; "Seems to be flags for holmes" BYTE> ; "Flags" BYTE> ; "An object" BYTE> ; "Minutes out of study after waking holmes" BYTE> ; "Number of times to ring Ben" BYTE> ; "Bell position?" BYTE> ; "Box the key is in (number)" ; "Box number" ;"Direction being turned, or some such" BYTE> ; "True if `activated'" BYTE> BYTE> ; "Number of haggles" BYTE> ; "Number of whistles" BYTE> ; "Where" BYTE> ; "Called before?" BYTE> ; "Waiting?" BYTE> BYTE> ; "Bullets left" BYTE> BYTE> ; "Number of grabs left"ct