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/q_haunted.c | |
parent | 07abe10e701b6e6d5acbfc79db665e29bceeb0ab (diff) |
Split hooks into separate header
Diffstat (limited to 'src/q_haunted.c')
-rw-r--r-- | src/q_haunted.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/q_haunted.c b/src/q_haunted.c index efd5a47c..83f97cb2 100644 --- a/src/q_haunted.c +++ b/src/q_haunted.c @@ -1,8 +1,9 @@ #include "q_haunted.h" +#include "hooks.h" #define cquest (quest[QUEST_HAUNTED]) -bool_ quest_haunted_gen_hook(char *fmt) +static bool_ quest_haunted_gen_hook(const char *fmt) { int x, y, i, m_idx; int xstart = 2; @@ -87,7 +88,7 @@ bool_ quest_haunted_gen_hook(char *fmt) return TRUE; } -bool_ quest_haunted_death_hook(char *fmt) +static bool_ quest_haunted_death_hook(const char *fmt) { int i, mcnt = 0; @@ -119,7 +120,7 @@ bool_ quest_haunted_death_hook(char *fmt) return FALSE; } -bool_ quest_haunted_finish_hook(char *fmt) +static bool_ quest_haunted_finish_hook(const char *fmt) { s32b q_idx; |