aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items/item.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-22 15:26:09 -0400
committerMatthew Hoops2011-09-22 15:26:09 -0400
commitc8752bb1d3fadc760c723c3f3b9db7a7f2ab225d (patch)
tree2df8ad90c5c6f8478447594dd1e60ec7a42ca01d /engines/pegasus/items/item.h
parent897c585f05b30d7431541f774383ace8f8f5201a (diff)
downloadscummvm-rg350-c8752bb1d3fadc760c723c3f3b9db7a7f2ab225d.tar.gz
scummvm-rg350-c8752bb1d3fadc760c723c3f3b9db7a7f2ab225d.tar.bz2
scummvm-rg350-c8752bb1d3fadc760c723c3f3b9db7a7f2ab225d.zip
PEGASUS: Implement Item::getDragSprite()
Diffstat (limited to 'engines/pegasus/items/item.h')
-rwxr-xr-xengines/pegasus/items/item.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/pegasus/items/item.h b/engines/pegasus/items/item.h
index f623df5a4b..1373913892 100755
--- a/engines/pegasus/items/item.h
+++ b/engines/pegasus/items/item.h
@@ -274,6 +274,8 @@ enum tItemType {
kBiochipItemType
};
+class Sprite;
+
/*
Item is an object which can be picked up and carried around.
@@ -313,8 +315,7 @@ public:
void getInfoRightTimes(TimeValue&, TimeValue&) const;
TimeValue getSharedAreaTime() const;
- //TODO
- //MMSprite* GetDragSprite(const tDisplayElementID) const;
+ Sprite *getDragSprite(const tDisplayElementID) const;
/*
select -- called when this item becomes current. Also called when the inventory