summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-08-17 19:41:20 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-08-17 19:44:57 +0200
commite32bd089b7afc1f4c4dae727bd8666f423a6a111 (patch)
treecc4ab9cf434acc62a3ccb3db4d0b24c40e89ba4c /crawl-ref/source/traps.h
parent934cc1d96b9af44bdc3c37c930b79abc519b97bf (diff)
downloadcrawl-ref-e32bd089b7afc1f4c4dae727bd8666f423a6a111.tar.gz
crawl-ref-e32bd089b7afc1f4c4dae727bd8666f423a6a111.zip
Remove unused non-Lua fog generator code, almost unused trap generators.
The version we do use, placing fog generators with vaults, gives a lot better control. Per-branch trap generators were used only to block mechanical traps from generating in Slime, this can be done with a single if.
Diffstat (limited to 'crawl-ref/source/traps.h')
-rw-r--r--crawl-ref/source/traps.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/traps.h b/crawl-ref/source/traps.h
index 0a70ff4227..468b281ce6 100644
--- a/crawl-ref/source/traps.h
+++ b/crawl-ref/source/traps.h
@@ -46,9 +46,5 @@ int num_traps_for_place(int level_number = -1,
trap_type random_trap_for_place(int level_number = -1,
const level_id &place = level_id::current());
-trap_type random_trap_slime(int level_number = -1);
-
-int traps_zero_number(int level_number = -1);
-
int count_traps(trap_type ttyp);
#endif