diff options
author | Paul Gilbert | 2018-03-25 20:04:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-25 20:04:53 -0400 |
commit | bd10b7d7c6f0ea3029f4bc5588b53585597f55b4 (patch) | |
tree | 78234f60548155efed420d8c9ee5314dc2938f10 /engines/xeen/item.h | |
parent | 04a9b3348be3bb51fd600e3aa6394e8e8f066a82 (diff) | |
download | scummvm-rg350-bd10b7d7c6f0ea3029f4bc5588b53585597f55b4.tar.gz scummvm-rg350-bd10b7d7c6f0ea3029f4bc5588b53585597f55b4.tar.bz2 scummvm-rg350-bd10b7d7c6f0ea3029f4bc5588b53585597f55b4.zip |
XEEN: Fix capitalization of item descriptions in the inventory
Diffstat (limited to 'engines/xeen/item.h')
-rw-r--r-- | engines/xeen/item.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/xeen/item.h b/engines/xeen/item.h index b9c29af13d..a37e6597b0 100644 --- a/engines/xeen/item.h +++ b/engines/xeen/item.h @@ -111,6 +111,11 @@ protected: * Returns a text string listing all the stats/attributes of a given item */ virtual Common::String getAttributes(XeenItem &item, const Common::String &classes) = 0; + + /** + * Capitalizes a passed description string that includes embedded formatting for the Items dialog + */ + void capitalizeItem(Common::String &name); public: InventoryItems(Character *character, ItemCategory category); virtual ~InventoryItems() {} |