diff options
author | uruk | 2014-05-08 19:04:52 +0200 |
---|---|---|
committer | uruk | 2014-05-08 19:04:52 +0200 |
commit | 9ffdff539203cf2774317bd274ae606a47148037 (patch) | |
tree | 358e338396f474750b8e7d441e5976ec96f2c526 /engines/cge2/fileio.h | |
parent | d12e25ccd0114726a3cf04324f06cbbb14e8fa48 (diff) | |
download | scummvm-rg350-9ffdff539203cf2774317bd274ae606a47148037.tar.gz scummvm-rg350-9ffdff539203cf2774317bd274ae606a47148037.tar.bz2 scummvm-rg350-9ffdff539203cf2774317bd274ae606a47148037.zip |
CGE2: Implement EncryptedStream::ident().
Diffstat (limited to 'engines/cge2/fileio.h')
-rw-r--r-- | engines/cge2/fileio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/cge2/fileio.h b/engines/cge2/fileio.h index 0d32cab3c2..fdf1b8325e 100644 --- a/engines/cge2/fileio.h +++ b/engines/cge2/fileio.h @@ -45,6 +45,13 @@ class CGE2Engine; #define kDatName "VOL.DAT" #define kCryptSeed 0xA5 +enum ID { + kIdNear, kIdMTake, kIdFTake, kIdPhase, kIdSeq, + kIdName, kIdType, kIdFront, kIdEast, + kIdPortable, kIdTransparent, + kIdNone +}; + struct BtKeypack { char _key[kBtKeySize]; uint32 _pos; @@ -119,6 +126,7 @@ public: Common::String readLine(); static int number(char *s); static char *token(char *s); + static ID ident(const char *s); int getLineCount() { return _lineCount; } }; |