diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-26 12:36:23 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-26 12:36:23 +0000 |
commit | 310b6e6168caeb48b6879352031c1977c64a6ecb (patch) | |
tree | 0ca77d3af5ba6a76508649b5f4e37e45c302338c /crawl-ref/source/dungeon.h | |
parent | 7f2f446f0ec19fa5e37d7ca620e6f2d711224e19 (diff) | |
download | crawl-ref-310b6e6168caeb48b6879352031c1977c64a6ecb.tar.gz crawl-ref-310b6e6168caeb48b6879352031c1977c64a6ecb.zip |
Added support for no_item_gen and generate_awake tags.
Note: no_item_gen/no_monster_gen produce very bad behaviour on full-screen
maps. Don't use them there until this is fixed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1103 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r-- | crawl-ref/source/dungeon.h | 79 |
1 files changed, 40 insertions, 39 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h index 2e06159615..9772d19118 100644 --- a/crawl-ref/source/dungeon.h +++ b/crawl-ref/source/dungeon.h @@ -27,45 +27,6 @@ const int MAKE_GOOD_ITEM = 351; // brain-damage. [dshaligram] typedef char map_type[MAP_SIDE + 1][MAP_SIDE + 1]; -void item_colour( item_def &item ); - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: files - * *********************************************************************** */ -void builder(int level_number, int level_type); - - -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: abyss - debug - dungeon - effects - religion - spells4 - * *********************************************************************** */ -int items( int allow_uniques, int force_class, int force_type, - bool dont_place, int item_level, int item_race ); - -// last updated 13mar2001 {gdl} -/* *********************************************************************** - * called from: dungeon monplace - * *********************************************************************** */ -void give_item(int mid, int level_number); - -void init_rod_mp(item_def &item); - -// last updated 13mar2001 {gdl} -/* *********************************************************************** - * called from: dungeon monplace - * *********************************************************************** */ -void define_zombie(int mid, int ztype, int cs, int power); - -bool is_wall(int feature); - -bool place_specific_trap(unsigned char spec_x, unsigned char spec_y, - unsigned char spec_type); - -void place_spec_shop(int level_number, unsigned char shop_x, - unsigned char shop_y, unsigned char force_s_type, - bool representative = false ); - class dgn_region; typedef std::vector<dgn_region> dgn_region_list; @@ -116,6 +77,46 @@ struct dgn_region bool overlaps_any(const dgn_region_list &others) const; }; +void item_colour( item_def &item ); + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: files + * *********************************************************************** */ +void builder(int level_number, int level_type); + + +// last updated 12may2000 {dlb} +/* *********************************************************************** + * called from: abyss - debug - dungeon - effects - religion - spells4 + * *********************************************************************** */ +int items( int allow_uniques, int force_class, int force_type, + bool dont_place, int item_level, int item_race, + const dgn_region_list &forbidden = dgn_region_list() ); + +// last updated 13mar2001 {gdl} +/* *********************************************************************** + * called from: dungeon monplace + * *********************************************************************** */ +void give_item(int mid, int level_number); + +void init_rod_mp(item_def &item); + +// last updated 13mar2001 {gdl} +/* *********************************************************************** + * called from: dungeon monplace + * *********************************************************************** */ +void define_zombie(int mid, int ztype, int cs, int power); + +bool is_wall(int feature); + +bool place_specific_trap(unsigned char spec_x, unsigned char spec_y, + unsigned char spec_type); + +void place_spec_shop(int level_number, unsigned char shop_x, + unsigned char shop_y, unsigned char force_s_type, + bool representative = false ); + bool unforbidden(const coord_def &c, const dgn_region_list &forbidden); #endif |