diff options
author | Matthew Hoops | 2011-12-16 14:17:50 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-12-16 14:17:50 -0500 |
commit | 12efb47b536d2f663c9cde2739a1fd40599da669 (patch) | |
tree | 9ce08d6a798ff5138ee2908642e6468d7d2b249e /engines/pegasus/items/inventory.h | |
parent | fdced472abc830c07d28474727db004c8018fcac (diff) | |
download | scummvm-rg350-12efb47b536d2f663c9cde2739a1fd40599da669.tar.gz scummvm-rg350-12efb47b536d2f663c9cde2739a1fd40599da669.tar.bz2 scummvm-rg350-12efb47b536d2f663c9cde2739a1fd40599da669.zip |
PEGASUS: Remove t prefix from typedefs
Some other minor cleanup too
Diffstat (limited to 'engines/pegasus/items/inventory.h')
-rwxr-xr-x | engines/pegasus/items/inventory.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/engines/pegasus/items/inventory.h b/engines/pegasus/items/inventory.h index 7da782f00e..db872b1990 100755 --- a/engines/pegasus/items/inventory.h +++ b/engines/pegasus/items/inventory.h @@ -44,31 +44,31 @@ public: Inventory(); virtual ~Inventory(); - tWeightType getWeightLimit(); - void setWeightLimit(tWeightType limit); - tWeightType getWeight(); + WeightType getWeightLimit(); + void setWeightLimit(WeightType limit); + WeightType getWeight(); - virtual tInventoryResult addItem(Item *item); - virtual tInventoryResult removeItem(Item *item); - virtual tInventoryResult removeItem(tItemID id); + virtual InventoryResult addItem(Item *item); + virtual InventoryResult removeItem(Item *item); + virtual InventoryResult removeItem(ItemID id); virtual bool itemInInventory(Item *item); - virtual bool itemInInventory(tItemID id); + virtual bool itemInInventory(ItemID id); virtual Item *getItemAt(int32 index); - virtual tItemID getItemIDAt(int32 index); - virtual Item *findItemByID(tItemID id); + virtual ItemID getItemIDAt(int32 index); + virtual Item *findItemByID(ItemID id); virtual int32 findIndexOf(Item *item); - virtual int32 findIndexOf(tItemID id); + virtual int32 findIndexOf(ItemID id); int32 getNumItems(); virtual void removeAllItems(); - void setOwnerID(const tActorID id); - tActorID getOwnerID() const; + void setOwnerID(const ActorID id); + ActorID getOwnerID() const; uint32 getReferenceCount() { return _referenceCount; } protected: - tWeightType _weightLimit; - tActorID _ownerID; + WeightType _weightLimit; + ActorID _ownerID; ItemList _inventoryList; private: |