X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=c5abaa6661cc917ec9fb1ad25687ba624ae512e0;hb=d844c2a3913e1c7d331b080a4a09631e515d9364;hp=2044cc265f51c05707df9365cd17667f0ec825d3;hpb=300d2461799808a5acb8f6f4a866325c0e50d996;p=open-adventure.git diff --git a/advent.h b/advent.h index 2044cc2..c5abaa6 100644 --- a/advent.h +++ b/advent.h @@ -84,7 +84,7 @@ extern bool oldstyle, editline, prompt; #define WRITE_MODE "wb" extern char* xstrdup(const char*); extern void packed_to_token(long, char token[]); -extern void newspeak(char*); +extern void newspeak(const char*); extern void PSPEAK(vocab_t,int); extern void RSPEAK(vocab_t); extern void SETPRM(long,long,long); @@ -171,6 +171,9 @@ extern long AMBER, ATTACK, AXE, BACK, BATTER, BEAR, enum speechpart {unknown, intransitive, transitive}; +void initialise(void); +int action(FILE *input, enum speechpart part, long verb, token_t obj); + /* Phase codes for action returns. * These were at one time FORTRAN line numbers. * The values don't matter, but perturb their order at your peril.