aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items/item.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-24 14:10:54 -0400
committerMatthew Hoops2011-09-24 14:10:54 -0400
commit59f7e1deeaa15c87adbe073105ea512d1972cde0 (patch)
tree7f39d7d8beba4df409ea18f681ce3029e308195e /engines/pegasus/items/item.h
parente5a2dec9c803f75f7aa0f695235e0c08a6d5e7eb (diff)
downloadscummvm-rg350-59f7e1deeaa15c87adbe073105ea512d1972cde0.tar.gz
scummvm-rg350-59f7e1deeaa15c87adbe073105ea512d1972cde0.tar.bz2
scummvm-rg350-59f7e1deeaa15c87adbe073105ea512d1972cde0.zip
PEGASUS: Import AI code and relevant items
Diffstat (limited to 'engines/pegasus/items/item.h')
-rwxr-xr-xengines/pegasus/items/item.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pegasus/items/item.h b/engines/pegasus/items/item.h
index 1373913892..b74dfc4e96 100755
--- a/engines/pegasus/items/item.h
+++ b/engines/pegasus/items/item.h
@@ -294,8 +294,8 @@ public:
// WriteToStream writes everything EXCEPT the item's ID.
// It is assumed that the calling function will write and read the ID.
- virtual Common::Error writeToStream(Common::WriteStream *stream);
- virtual Common::Error readFromStream(Common::ReadStream *stream);
+ virtual void writeToStream(Common::WriteStream *stream);
+ virtual void readFromStream(Common::ReadStream *stream);
virtual tActorID getItemOwner() const;
virtual void setItemOwner(const tActorID owner);
@@ -312,7 +312,7 @@ public:
virtual tItemType getItemType() = 0;
TimeValue getInfoLeftTime() const;
- void getInfoRightTimes(TimeValue&, TimeValue&) const;
+ void getInfoRightTimes(TimeValue &, TimeValue &) const;
TimeValue getSharedAreaTime() const;
Sprite *getDragSprite(const tDisplayElementID) const;