diff options
author | Strangerke | 2016-12-06 23:08:32 -0800 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-25 22:42:12 +0100 |
commit | 550d62b25afe533c1258442ac2ec41a8c8e2d1e6 (patch) | |
tree | 4f1f4e9ec10348be42cde65fd81fde939c528eff /engines/cryo/cryolib.cpp | |
parent | e76e4c813685c50f38068332139ded34cb6a181f (diff) | |
download | scummvm-rg350-550d62b25afe533c1258442ac2ec41a8c8e2d1e6.tar.gz scummvm-rg350-550d62b25afe533c1258442ac2ec41a8c8e2d1e6.tar.bz2 scummvm-rg350-550d62b25afe533c1258442ac2ec41a8c8e2d1e6.zip |
CRYO: rewrite the loading of pak file header
Diffstat (limited to 'engines/cryo/cryolib.cpp')
-rw-r--r-- | engines/cryo/cryolib.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/cryo/cryolib.cpp b/engines/cryo/cryolib.cpp index dd7afe9fd1..afbadb31ae 100644 --- a/engines/cryo/cryolib.cpp +++ b/engines/cryo/cryolib.cpp @@ -438,4 +438,14 @@ void CRYOLib_ManagersDone() { g_system->getTimerManager()->removeTimerProc(CLTimer_Action); } +PakHeaderNode::PakHeaderNode(int count) { + _count = count; + _files = new PakHeaderItem[count]; +}; + +PakHeaderNode::~PakHeaderNode() { + _count = 0; + delete[] _files; +}; + } // End of namespace Cryo |