-
Notifications
You must be signed in to change notification settings - Fork 1
/
interpreter.h
23 lines (20 loc) · 976 Bytes
/
interpreter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************
* file: Interpreter.h , Command interpreter module. Part of DIKUMUD *
* Usage: Procedures interpreting user command *
************************************************************************* */
void command_interpreter(struct char_data *ch, char *argument);
int search_block(char *arg, char **list, bool exact);
int old_search_block(char *argument,int begin,int length,char **list,int mode);
char lower( char c );
void argument_interpreter(char *argument, char *first_arg, char *second_arg);
char *one_argument(char *argument,char *first_arg);
int fill_word(char *argument);
void half_chop(char *string, char *arg1, char *arg2);
void nanny(struct descriptor_data *d, char *arg);
int is_abbrev(char *arg1, char *arg2);
struct command_info
{
void (*command_pointer) (struct char_data *ch, char *argument, int cmd);
byte minimum_position;
byte minimum_level;
};