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/cloud.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/cloud.h')
-rw-r--r-- | crawl-ref/source/cloud.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h index ee8142e524..09fc1fbe44 100644 --- a/crawl-ref/source/cloud.h +++ b/crawl-ref/source/cloud.h @@ -9,22 +9,6 @@ #include "externs.h" -enum fog_machine_type -{ - FM_GEYSER, - FM_SPREAD, - FM_BROWNIAN, - NUM_FOG_MACHINE_TYPES, -}; - -struct fog_machine_data -{ - fog_machine_type fm_type; - cloud_type cl_type; - int size; - int power; -}; - cloud_type random_smoke_type(); cloud_type cloud_type_at(const coord_def &pos); @@ -64,26 +48,4 @@ bool is_harmless_cloud(cloud_type type); bool in_what_cloud (cloud_type type); cloud_type in_what_cloud(); -// fog generator -void place_fog_machine(fog_machine_type fm_type, cloud_type cl_type, - int x, int y, int size, int power); - -void place_fog_machine(fog_machine_data data, int x, int y); - -bool valid_fog_machine_data(fog_machine_data data); - -int num_fogs_for_place(int level_number = -1, - const level_id &place = level_id::current()); -fog_machine_data random_fog_for_place(int level_number = -1, - const level_id &place = level_id::current()); - -int fogs_pan_number(int level_number = -1); -fog_machine_data fogs_pan_type(int level_number = -1); - -int fogs_abyss_number(int level_number = -1); -fog_machine_data fogs_abyss_type(int level_number = -1); - -int fogs_lab_number(int level_number = -1); -fog_machine_data fogs_lab_type(int level_number = -1); - #endif |