27 lines
800 B
C
27 lines
800 B
C
#ifndef ADD_ACTION_H
|
|
#define ADD_ACTION_H 1
|
|
|
|
#ifndef NO_ADD_ACTION
|
|
extern object_t *hashed_living[CFG_LIVING_HASH_SIZE];
|
|
|
|
int parse_command (char *, object_t *);
|
|
void clear_notify (object_t *);
|
|
void stat_living_objects (outbuffer_t *);
|
|
void remove_living_name (object_t *);
|
|
object_t * find_living_object (const char *, int);
|
|
void setup_new_commands (object_t *, object_t *);
|
|
#ifndef NO_ENVIRONMENT
|
|
void remove_sent (object_t *, object_t *);
|
|
#endif
|
|
#else
|
|
/* STUBS */
|
|
#define parse_command(x, y) do{}while(0)
|
|
#define clear_notify(x) do{}while(0)
|
|
#define stat_living_objects(x) do{}while(0)
|
|
#define remove_living_name(x) do{}while(0)
|
|
#define remove_sent(x, y) do{}while(0)
|
|
#define setup_new_commands(x, y) do{}while(0)
|
|
#endif
|
|
|
|
#endif /* ADD_ACTION_H */
|