summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 21:31:32 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commitddebc7f4803cc967427db1fdb7c2196afc114c14 (patch)
treeb16d5ffeff7b83f25d5f6944d0c10fd41af736fe /src/types.h
parent9a10050acb1c6398eedfe9c20611ac31f17802d5 (diff)
Update HOOK_CHAT to new-style hook
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 6ac84fc2..71db3da1 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2222,6 +2222,11 @@ struct hook_mon_speak_in {
cptr m_name;
};
+typedef struct hook_chat_in hook_chat_in;
+struct hook_chat_in {
+ s32b m_idx;
+};
+
typedef struct hook_eat_in hook_eat_in;
struct hook_eat_in {
object_type *o_ptr;