diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-08-24 19:42:27 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-08-24 19:42:27 +0200 |
commit | fffea480e84d6b84e820d103d0e802bd31e41beb (patch) | |
tree | ce4c13bfc225766ffaed28c4e680d58aa3a51125 /crawl-ref/source/artefact.h | |
parent | fe0f28858c1b08aa4d2b92a2d6bd83e7c40801da (diff) | |
download | crawl-ref-fffea480e84d6b84e820d103d0e802bd31e41beb.tar.gz crawl-ref-fffea480e84d6b84e820d103d0e802bd31e41beb.zip |
Remove obsolete special unrand code.
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r-- | crawl-ref/source/artefact.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h index 2bfd83db49..721428e8b2 100644 --- a/crawl-ref/source/artefact.h +++ b/crawl-ref/source/artefact.h @@ -24,13 +24,6 @@ struct bolt; #define ARTEFACT_NAME_KEY "artefact_name" #define ARTEFACT_APPEAR_KEY "artefact_appearance" -enum unrand_special_type -{ - UNRANDSPEC_EITHER, - UNRANDSPEC_NORMAL, - UNRANDSPEC_SPECIAL, -}; - enum unrand_flag_type { UNRAND_FLAG_NONE = 0x00, @@ -117,7 +110,6 @@ std::string artefact_name( const item_def &item, bool appearance = false ); const char *unrandart_descrip( int which_descrip, const item_def &item ); int find_okay_unrandart(uint8_t aclass, uint8_t atype = OBJ_RANDOM, - unrand_special_type specialness = UNRANDSPEC_EITHER, bool in_abyss = false); typedef FixedVector< int, ART_PROPERTIES > artefact_properties_t; @@ -156,9 +148,6 @@ int find_unrandart_index(const item_def& artefact); unrandart_entry* get_unrand_entry(int unrand_index); -unrand_special_type get_unrand_specialness(int unrand_index); -unrand_special_type get_unrand_specialness(const item_def &item); - void artefact_set_properties( item_def &item, const artefact_properties_t &proprt ); void artefact_set_property( item_def &item, |