diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 16:06:49 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:09:35 +0100 |
commit | bc77660df705f46e55c8c733a924c5cc85dcdc48 (patch) | |
tree | 1c7f5506b5aebed0990d7cdd9f80789a0883f8c7 /src/types.h | |
parent | 95c915c371a4cb44ccc150a09ac6573ac50e9687 (diff) |
Remove old-style hooks code
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/types.h b/src/types.h index 7ab40816..efc83a64 100644 --- a/src/types.h +++ b/src/types.h @@ -2183,8 +2183,6 @@ struct power_type }; /* Hooks */ -typedef bool_ (*hook_type)(const char *fmt); - typedef struct hook_move_in hook_move_in; struct hook_move_in { int y; @@ -2436,26 +2434,6 @@ struct birther bool_ quick_ok; }; -typedef struct hooks_chain hooks_chain; -struct hooks_chain -{ - hook_type hook; - bool_ (*hook_f)(void *, void *, void *); - void *hook_data; - char name[40]; - byte type; - hooks_chain *next; -}; - -typedef union hook_return hook_return; -union hook_return -{ - s32b num; - cptr str; - object_type *o_ptr; - monster_type *m_ptr; -}; - /* * Forward declare */ |