diff options
Diffstat (limited to 'engines/fullpipe/utils.h')
-rw-r--r-- | engines/fullpipe/utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/fullpipe/utils.h b/engines/fullpipe/utils.h index abf7efb250..7b117ef91c 100644 --- a/engines/fullpipe/utils.h +++ b/engines/fullpipe/utils.h @@ -38,6 +38,7 @@ class MfcArchive : public Common::File { Common::Array<int> _objectIdMap; int _lastIndex; + int _level; public: MfcArchive(); @@ -46,6 +47,10 @@ class MfcArchive : public Common::File { int readCount(); CObject *parseClass(bool *isCopyReturned); CObject *readClass(); + + void incLevel() { _level++; } + void decLevel() { _level--; } + int getLevel() { return _level; } }; } // End of namespace Fullpipe |