diff options
author | Paul Gilbert | 2016-04-07 23:39:26 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-07 23:39:26 -0400 |
commit | e7f2cb1ecbf2637db8dd7be3fe97d485a7c56bc8 (patch) | |
tree | fba43657861ad5f088db01ae504cc6db2d6aa4d8 /engines/titanic/game/computer.h | |
parent | 9f1bab55972b8a6f88b83c2391c40a038ffb509d (diff) | |
download | scummvm-rg350-e7f2cb1ecbf2637db8dd7be3fe97d485a7c56bc8.tar.gz scummvm-rg350-e7f2cb1ecbf2637db8dd7be3fe97d485a7c56bc8.tar.bz2 scummvm-rg350-e7f2cb1ecbf2637db8dd7be3fe97d485a7c56bc8.zip |
TITANIC: Add CComputer messages, more view change logic
Diffstat (limited to 'engines/titanic/game/computer.h')
-rw-r--r-- | engines/titanic/game/computer.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/titanic/game/computer.h b/engines/titanic/game/computer.h index 793fecc491..3db0ee1979 100644 --- a/engines/titanic/game/computer.h +++ b/engines/titanic/game/computer.h @@ -28,12 +28,16 @@ namespace Titanic { class CComputer : public CBackground { + DECLARE_MESSAGE_MAP + bool ActMsg(CActMsg *msg); + bool MouseButtonDownMsg(CMouseButtonDownMsg *msg); + bool MovieEndMsg(CMovieEndMsg *msg); public: - CString _string3; - int _fieldEC; + CString _currentCD; + int _state; public: CLASSDEF - CComputer() : CBackground(), _string3("None"), _fieldEC(0) {} + CComputer() : CBackground(), _currentCD("None"), _state(0) {} /** * Save the data for the class to file |