summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2012-03-18 00:01:24 +0000
committerChris Campbell <chriscampbell89@gmail.com>2012-03-18 03:52:49 +0000
commitf7d281724fe80edca4ca97a5177f8aa640bec2d7 (patch)
tree4ff17a8a7af8100b2b3686621217f96d16f1e9cc /crawl-ref/source/dungeon.h
parent27dc48c1d45b67fe8a8fff43b6233d7c6bfc0f99 (diff)
downloadcrawl-ref-f7d281724fe80edca4ca97a5177f8aa640bec2d7.tar.gz
crawl-ref-f7d281724fe80edca4ca97a5177f8aa640bec2d7.zip
Allow specifying number of trap charges when placing a trap
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index fa09dd57bc..e58f5be0e1 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -235,8 +235,8 @@ void level_welcome_messages();
void run_map_epilogues ();
struct trap_spec;
-bool place_specific_trap(const coord_def& where, trap_type trap_spec);
-bool place_specific_trap(const coord_def& where, trap_spec* spec);
+bool place_specific_trap(const coord_def& where, trap_type trap_spec, int charges = 0);
+bool place_specific_trap(const coord_def& where, trap_spec* spec, int charges = 0);
struct shop_spec;
void place_spec_shop(int level_number, const coord_def& where,