return(TEXT);
}
-long MAKEWD(long LETTRS) {
+token_t MAKEWD(long LETTRS) {
long I, L, WORD;
/* Combine five uppercase letters (represented by pairs of decimal digits
#define STATE (*sTATE)
-void fPUTTXT(long WORD, long *sTATE, long CASE) {
+void fPUTTXT(token_t WORD, long *sTATE, long CASE) {
long ALPH1, ALPH2, BYTE, DIV, I, W;
/* Unpack the 30-bit value in word to obtain up to 5 integer-encoded chars,
if(DFLAG < 2)return(AT);
AT= -1;
for (I=1; I<=NDWARVES-1; I++) {
- if(DLOC[I] == WHERE) goto L2;
- if(DLOC[I] != 0)AT=0;
+ if(game.dloc[I] == WHERE) goto L2;
+ if(game.dloc[I] != 0)AT=0;
} /* end loop */
return(AT);