diff options
author | Paul Gilbert | 2016-12-30 21:38:51 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-30 21:38:51 -0500 |
commit | ea536d2ad29a64a660f785893f521b44689c5474 (patch) | |
tree | a0217c32d9c2fb16097382d542dae9b90d6f1f96 /engines/titanic/game/missiveomat.h | |
parent | a30442445eee5e1f5f93359f4555a0a2cd3bf0e9 (diff) | |
download | scummvm-rg350-ea536d2ad29a64a660f785893f521b44689c5474.tar.gz scummvm-rg350-ea536d2ad29a64a660f785893f521b44689c5474.tar.bz2 scummvm-rg350-ea536d2ad29a64a660f785893f521b44689c5474.zip |
TITANIC: Fixes and cleanup for MissiveOMat
Diffstat (limited to 'engines/titanic/game/missiveomat.h')
-rw-r--r-- | engines/titanic/game/missiveomat.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/engines/titanic/game/missiveomat.h b/engines/titanic/game/missiveomat.h index 9810fcc403..907655b8cd 100644 --- a/engines/titanic/game/missiveomat.h +++ b/engines/titanic/game/missiveomat.h @@ -33,6 +33,18 @@ enum MissiveOMatAction { MESSAGE_9 = 9 }; +enum MissiveOMatMode { + MMODE_USERNAME = 1, + MMODE_PASSWORD = 2, + MMODE_3 = 3, + MMODE_4 = 4, + MMODE_5 = 5 +}; + +enum MissiveOMatAccount { + NO_ACCOUNT = -1, LEOVINUS = 0, SCRALIONTIS = 1, BROBOSTIGON = 2 +}; + class CMissiveOMat : public CGameObject { DECLARE_MESSAGE_MAP; bool EnterViewMsg(CEnterViewMsg *msg); @@ -48,12 +60,12 @@ private: private: void loadArray(CString *arr, const CString &resName, int count); public: - int _mode; + MissiveOMatMode _mode; int _totalMessages; int _messageNum; - CString _string1; - CString _string2; - int _personIndex; + CString _username; + CString _password; + MissiveOMatAccount _account; public: CLASSDEF; CMissiveOMat(); |