diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:12:01 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:12:01 +0100 |
commit | f19edf28cf16a0776f54753d953901b91f54e278 (patch) | |
tree | e75d6cb4c8d77742f90ac60d316ab38dbda1892e /src/traps.hpp | |
parent | 25a118cf7d49b86fae23c07297ebe87c4c169842 (diff) |
Split traps.cc function declarations to separate file
Diffstat (limited to 'src/traps.hpp')
-rw-r--r-- | src/traps.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/traps.hpp b/src/traps.hpp new file mode 100644 index 00000000..a066e1a6 --- /dev/null +++ b/src/traps.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include "angband.h" + +extern bool_ player_activate_trap_type(s16b y, s16b x, object_type *i_ptr, s16b item); +extern void player_activate_door_trap(s16b y, s16b x); +extern void place_trap(int y, int x); +extern void place_trap_leveled(int y, int x, int lev); +extern void place_trap_object(object_type *o_ptr); +extern void wiz_place_trap(int y, int x, int idx); +extern void do_cmd_set_trap(void); +extern bool_ mon_hit_trap(int); |