aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/game_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/core/game_object.h')
-rw-r--r--engines/titanic/core/game_object.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h
index 237450ee2f..8affbd114a 100644
--- a/engines/titanic/core/game_object.h
+++ b/engines/titanic/core/game_object.h
@@ -486,12 +486,12 @@ protected:
/**
* Returns true if a mail with a specified Id exists
*/
- bool mailExists(int id) const;
+ bool mailExists(uint roomFlags) const;
/**
* Returns a specified mail, if one exists
*/
- CGameObject *findMail(int id) const;
+ CGameObject *findMail(uint roomFlags) const;
/**
* Resets the Mail Man value
@@ -570,7 +570,7 @@ protected:
public:
Rect _bounds;
bool _isMail;
- int _id;
+ uint _destRoomFlags;
uint _roomFlags;
int _field60;
CursorId _cursorId;
@@ -729,7 +729,7 @@ public:
/**
* Sets the mail identifier for an object
*/
- void setMailId(int mailId);
+ void setMailDest(uint roomFlags);
/**
* Returns true if there's an attached surface which has a frame
@@ -799,7 +799,7 @@ public:
/**
* Remove an object from the mail list
*/
- void removeMail(int id, int v);
+ void removeMail(uint destRoomFlags, uint newRoomFlags);
/**
* Return the full Id of the current view in a