diff options
Diffstat (limited to 'crawl-ref/source/transfor.h')
-rw-r--r-- | crawl-ref/source/transfor.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/transfor.h b/crawl-ref/source/transfor.h index 3588ba4e39..733e8e70fd 100644 --- a/crawl-ref/source/transfor.h +++ b/crawl-ref/source/transfor.h @@ -42,9 +42,14 @@ size_type transform_size(int psize = PSIZE_BODY); bool transform(int pow, transformation_type which_trans, bool quiet = false); -bool remove_one_equip(equipment_type eq, bool meld = true); -bool unmeld_one_equip(equipment_type eq); +void remove_one_equip(equipment_type eq, bool meld = true); +void unmeld_one_equip(equipment_type eq); bool transform_changed_physiology( bool phys_scales = false ); +bool transform_allows_wearing_item(const item_def& item, + transformation_type transform); +// Check your current transform +bool transform_allows_wearing_item(const item_def& item); +bool transform_allows_wielding(transformation_type transform); #endif |