diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-08-17 19:41:20 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-08-17 19:44:57 +0200 |
commit | e32bd089b7afc1f4c4dae727bd8666f423a6a111 (patch) | |
tree | cc4ab9cf434acc62a3ccb3db4d0b24c40e89ba4c /crawl-ref/source/branch.h | |
parent | 934cc1d96b9af44bdc3c37c930b79abc519b97bf (diff) | |
download | crawl-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/branch.h')
-rw-r--r-- | crawl-ref/source/branch.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h index a9f6abb7da..3dfd0dd540 100644 --- a/crawl-ref/source/branch.h +++ b/crawl-ref/source/branch.h @@ -8,8 +8,6 @@ #include "enum.h" -struct fog_machine_data; - enum branch_flag_type { BFLAG_NONE = 0, @@ -46,10 +44,6 @@ struct Branch uint8_t rock_colour; int (*mons_rarity_function)(int); int (*mons_level_function)(int); - int (*num_traps_function)(int); - trap_type (*rand_trap_function)(int); - int (*num_fogs_function)(int); - void (*rand_fog_function)(int,fog_machine_data&); int travel_shortcut; // Which key to press for travel. bool any_upstair_exits; // any upstair exits the branch (Hell branches) bool dangerous_bottom_level; // bottom level is more dangerous than normal |