diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-03-25 13:10:24 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-09-27 14:46:41 +0200 |
commit | eb657ada4c1ec432fc0e3aec0b9f4d796efed428 (patch) | |
tree | 7730e730edff4435daed57dbdc6fca7b45542c26 /src/externs.h | |
parent | 07abe10e701b6e6d5acbfc79db665e29bceeb0ab (diff) |
Split hooks into separate header
Diffstat (limited to 'src/externs.h')
-rw-r--r-- | src/externs.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/externs.h b/src/externs.h index cf8702bd..28e99e1c 100644 --- a/src/externs.h +++ b/src/externs.h @@ -561,28 +561,6 @@ extern deity_type deity_info[MAX_GODS]; extern timer_type *gl_timers; extern const char *get_version_string(); -/* plots.c */ -extern FILE *hook_file; -extern bool_ check_hook(int h_idx); -extern void wipe_hooks(void); -extern void dump_hooks(int h_idx); -extern void init_hooks(void); -extern hooks_chain* add_hook(int h_idx, hook_type hook, cptr name); -extern void add_hook_new(int h_idx, bool_ (*hook_f)(void *, void *, void *), cptr name, void *data); -extern void add_hook_script(int h_idx, char *script, cptr name); -extern void del_hook(int h_idx, hook_type hook); -extern void del_hook_name(int h_idx, cptr name); -extern s32b get_next_arg(char *fmt); -extern char* get_next_arg_str(char *fmt); -extern object_type *get_next_arg_obj(); -extern int process_hooks_restart; -extern hook_return process_hooks_return[20]; -extern bool_ process_hooks_ret(int h_idx, char *ret, char *fmt, ...); -extern bool_ process_hooks(int h_idx, char *fmt, ...); -extern bool_ process_hooks_new(int h_idx, void *in, void *out); - -extern void initialize_bookable_spells(); - /* help.c */ extern void init_hooks_help(); extern void help_race(cptr race); |