-
Notifications
You must be signed in to change notification settings - Fork 17
/
interp.h
45 lines (39 loc) · 2.43 KB
/
interp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/***************************************************************************
* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *
* Michael Seifert, Hans Henrik Strfeldt, Tom Madsen, and Katja Nyboe. *
* *
* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *
* Chastain, Michael Quan, and Mitchell Tse. *
* *
* In order to use any part of this Merc Diku Mud, you must comply with *
* both the original Diku license in 'license.doc' as well the Merc *
* license in 'license.txt'. In particular, you may not remove either of *
* these copyright notices. *
* *
* Much time and thought has gone into this software and you are *
* benefitting. We hope that you share your changes too. What goes *
* around, comes around. *
***************************************************************************/
/***************************************************************************
* ROM 2.4 is copyright 1993-1998 Russ Taylor *
* ROM has been brought to you by the ROM consortium *
* Russ Taylor ([email protected]) *
* Gabrielle Taylor ([email protected]) *
* Brian Moore ([email protected]) *
* By using this code, you have agreed to follow the terms of the *
* ROM license, in the file Rom24/doc/rom.license *
***************************************************************************/
#ifndef __ROM_INTERP_H
#define __ROM_INTERP_H
#include "merc.h"
extern const CMD_T cmd_table[];
/* Function prototpyes. */
void interpret (CHAR_T *ch, char *argument);
const char *interpret_pos_message (int pos);
void do_function (CHAR_T *ch, DO_FUN *do_fun, char *argument);
bool check_social (CHAR_T *ch, char *command, char *argument);
bool is_number (const char *arg);
int number_argument (const char *arg_in, char *arg_out);
int mult_argument (const char *arg_in, char *arg_out);
char *one_argument (const char *argument, char *arg_first);
#endif