From 7f8b6d85697774a182b3f40aca21e2286d5c32a3 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Tue, 3 Nov 2009 13:11:56 +0100 Subject: Cosmetic desc of gloves: 50% of them will be "gauntlets", 0% "bracers". --- crawl-ref/source/itemprop.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crawl-ref/source/itemprop.h') 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 ); -- cgit v1.2.3-54-g00ecf