X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=advent.h;h=c13a9052a5c72373dd9706e526071562389f0b1e;hp=1cc87842240974bfe9ad4d0c7db339d84712c1d9;hb=f862f9f1d508e00bccc208e66b1d31a5e530ab3e;hpb=a3485d2a41ae0360177c8b475972610025aec8f3 diff --git a/advent.h b/advent.h index 1cc8784..c13a905 100644 --- a/advent.h +++ b/advent.h @@ -14,6 +14,7 @@ #define INTRANSITIVE -1 /* illegal object number */ #define SPECIALBASE 300 /* base number of special rooms */ #define WARNTIME 30 /* late game starts at game.limit-this */ +#define PANICTIME 15 /* time left after closing */ typedef long token_t; /* word token - someday this will be char[TOKLEN+1] */ typedef long vocab_t; /* index into a vocabulary array */ @@ -84,7 +85,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);