diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-03 13:11:56 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-03 14:02:48 +0100 |
commit | 7f8b6d85697774a182b3f40aca21e2286d5c32a3 (patch) | |
tree | bbd3e53fc328deb225a66fb3ae3008f3d261c918 /crawl-ref/source/itemprop.h | |
parent | 120d0bec40c60b6a6080d4d8c3656896087c997d (diff) | |
download | crawl-ref-7f8b6d85697774a182b3f40aca21e2286d5c32a3.tar.gz crawl-ref-7f8b6d85697774a182b3f40aca21e2286d5c32a3.zip |
Cosmetic desc of gloves: 50% of them will be "gauntlets", 0% "bracers".
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r-- | crawl-ref/source/itemprop.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h index 7a08a9c0d8..5fbd26c968 100644 --- a/crawl-ref/source/itemprop.h +++ b/crawl-ref/source/itemprop.h @@ -146,6 +146,13 @@ enum helmet_desc_type THELM_NUM_DESCS }; +enum gloves_desc_type +{ + TGLOV_DESC_GLOVES = 0, + TGLOV_DESC_GAUNTLETS, + TGLOV_DESC_BRACERS +}; + enum jewellery_type { RING_FIRST_RING = 0, @@ -609,6 +616,9 @@ short get_helmet_desc( const item_def &item ); bool is_helmet( const item_def& item ); bool is_hard_helmet( const item_def& item ); +short get_gloves_desc( const item_def &item ); +void set_gloves_random_desc( item_def &item ); + // ego items: bool set_item_ego_type( item_def &item, int item_type, int ego_type ); int get_weapon_brand( const item_def &item ); |