summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 22:52:04 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:54 +0100
commitf7840bdcc6490388bc8d99afab2ab36ba85cfe45 (patch)
tree7f8eb7933334cb52d97c44cd58c792b1c312ace5 /src/types.h
parentdd1e7a5ac938eb75ccbf20ea84954d63511f4611 (diff)
Update HOOK_NEW_MONSTER 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 c090477f..d3f1f599 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2264,6 +2264,11 @@ struct hook_stair_out {
bool_ allow;
};
+typedef struct hook_new_monster_in hook_new_monster_in;
+struct hook_new_monster_in {
+ s32b r_idx;
+};
+
typedef struct hook_new_monster_end_in hook_new_monster_end_in;
struct hook_new_monster_end_in {
monster_type *m_ptr;