parse.h
pdirt/drv/include/parse.h · 651 B
From the archive pDirt-1_tar.gz
Download the archive « Back to the archive contents
#ifndef __PARSE_H__
#define __PARSE_H__
int Game_Com(char *str, Boolean savecom);
int Read_Verbs(FILE *fp);
int Get_Verbnum(char *str);
char *getreinput(char *b);
void Print_CmdTable(void);
int brkword(void);
int chkverb(void);
int chklist(char *word, char *lista[], int listb[]);
int Match(char *x, char *y);
void doaction(int n);
void quit_game(void);
void erreval(void);
Boolean parse_2(int vb);
int findprep(char *t);
int findplayer(void);
typedef void (*Cmd_Func)(void);
typedef struct a_commandh {
char verb[16];
int verbnum;
Cmd_Func func;
int mode;
} Command_Handler;
#endif /* Add nothing past this line... */