aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/cdrom_tray.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-07 19:14:25 -0400
committerPaul Gilbert2016-04-07 19:14:25 -0400
commit31934ac4ba62546d66e565e6caa0da0caa666d23 (patch)
tree7e087f38dac878b72e283da2b6add12530a9aafc /engines/titanic/game/cdrom_tray.h
parentcdfd9f3703050a36e16455f4bf8c343b36dd4b39 (diff)
downloadscummvm-rg350-31934ac4ba62546d66e565e6caa0da0caa666d23.tar.gz
scummvm-rg350-31934ac4ba62546d66e565e6caa0da0caa666d23.tar.bz2
scummvm-rg350-31934ac4ba62546d66e565e6caa0da0caa666d23.zip
TITANIC: Fleshed out CCDROMTray class
Diffstat (limited to 'engines/titanic/game/cdrom_tray.h')
-rw-r--r--engines/titanic/game/cdrom_tray.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/titanic/game/cdrom_tray.h b/engines/titanic/game/cdrom_tray.h
index 0833847530..728471c654 100644
--- a/engines/titanic/game/cdrom_tray.h
+++ b/engines/titanic/game/cdrom_tray.h
@@ -29,13 +29,14 @@
namespace Titanic {
class CCDROMTray : public CGameObject {
+ DECLARE_MESSAGE_MAP
public:
int _state;
- CString _string1;
+ CString _insertedCD;
protected:
- virtual bool handleMessage(CActMsg &msg);
- virtual bool handleMessage(CMovieEndMsg &msg);
- virtual bool handleMessage(CStatusChangeMsg &msg);
+ virtual bool ActMsg(CActMsg *msg);
+ virtual bool MovieEndMsg(CMovieEndMsg *msg);
+ virtual bool StatusChangeMsg(CStatusChangeMsg *msg);
public:
CLASSDEF
CCDROMTray();