Also, make output from replays easier to interpret by adding prompts.
BUG(99);
L4000: VERB=K;
- game.spk=ACTVERB[VERB];
+ game.spk=ACTSPK[VERB];
if(WD2 > 0 && VERB != SAY) return(2800);
if(VERB == SAY)OBJ=WD2;
if(OBJ > 0) goto L4090;
* 185 locations (LTEXT, STEXT, KEY, COND, ABB, ATLOC, LOCSND, LOCSIZ).
* 100 objects (PLAC, PLACE, FIXD, FIXED, LINK (TWICE), PTEXT, PROP,
* OBJSND, OBJTXT).
- * 35 "action" verbs (ACTVERB, VRBSIZ).
+ * 35 "action" verbs (ACTSPK, VRBSIZ).
* 277 random messages (RTEXT, RTXSIZ).
* 12 different player classifications (CTEXT, CVAL, CLSMAX).
* 20 hints (HINTLC, HINTED, HINTS, HNTSIZ).
FIXD[OBJ]=GETNUM(NULL);
goto L1050;
-/* Read default message numbers for action verbs, store in ACTVERB. */
+/* Read default message numbers for action verbs, store in ACTSPK. */
L1060: VERB=GETNUM(OPENED);
if(VERB == -1) goto L1002;
- ACTVERB[VERB]=GETNUM(NULL);
+ ACTSPK[VERB]=GETNUM(NULL);
goto L1060;
/* Read info about available liquids and other conditions, store in COND. */
quick_array(ATAB,TABSIZ);
quick_array(PLAC,100);
quick_array(FIXD,100);
- quick_array(ACTVERB,VRBSIZ);
+ quick_array(ACTSPK,VRBSIZ);
quick_array((long *)HINTS,(HNTMAX+1)*5-1);
}
TABSIZ = 330;
signed char INLINE[LINESIZE+1], MAP1[129], MAP2[129];
-long ACTVERB[36], AMBER, ATTACK, AXE, BACK, BATTER, BEAR, BIRD, BLOOD,
+long ACTSPK[36], AMBER, ATTACK, AXE, BACK, BATTER, BEAR, BIRD, BLOOD,
BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST, CHLOC, CHLOC2,
CLAM, CLSMAX = 12, CLSSES,
COINS, COND[186], CONDS, CTEXT[13], CVAL[13], DALTLC,
} else {
if (logfp)
IGNORE(fputs(INLINE+1, logfp));
- else if (!isatty(0))
+ else if (!isatty(0)) {
+ IGNORE(fputs("> ", stdout));
IGNORE(fputs(INLINE+1, stdout));
+ }
LNLENG=0;
for (I=1; I<=sizeof(INLINE) && INLINE[I]!=0; I++) {
VAL=INLINE[I]+1;
extern void score(long);
-extern long ACTVERB[], AMBER, ATTACK, AXE, BACK, BATTER, BEAR,
+extern long ACTSPK[], AMBER, ATTACK, AXE, BACK, BATTER, BEAR,
BIRD, BLOOD,
BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST, CHLOC, CHLOC2,
CLAM, CLSMAX, CLSSES, COINS, COND[], CONDS, CTEXT[], CVAL[], DALTLC,