X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=48aab1d0517b505e7f57f8b05f224f89a7b777b2;hb=7485a8a1e1b8fefbc1125afbe855d8a1377d1fb4;hp=d2a137148ab8ec91e174adf398e6785b5e28931a;hpb=3c78ff879ba24095cb1f331a437ef10f3a83b0d4;p=open-adventure.git diff --git a/advent.h b/advent.h index d2a1371..48aab1d 100644 --- a/advent.h +++ b/advent.h @@ -86,8 +86,9 @@ extern lcg_state lcgstate; /* b is not needed for POSIX but harmless */ #define READ_MODE "rb" #define WRITE_MODE "wb" - -extern void SPEAK(vocab_t); +extern void* xmalloc(size_t); +extern void packed_to_token(long, char token[6]); +extern void newspeak(char*); extern void PSPEAK(vocab_t,int); extern void RSPEAK(vocab_t); extern void SETPRM(long,long,long); @@ -168,8 +169,6 @@ extern long AMBER, ATTACK, AXE, BACK, BATTER, BEAR, RESER, ROD, ROD2, RUBY, RUG, SAPPH, SAY, SIGN, SNAKE, STEPS, STICK, STREAM, THROW, TRIDNT, TROLL, TROLL2, URN, VASE, VEND, VOLCAN, WATER; -/* everything else */ -extern long K, SPK, WD1, WD1X, WD2, WD2X; enum speechpart {unknown, intransitive, transitive};