OutpostUniverse / OP2Utility

C++ library for working with Outpost 2 related files and tasks.
MIT License
4 stars 0 forks source link

Simplify `ArchiveFile` hierarchy #268

Closed DanRStevens closed 5 years ago

DanRStevens commented 5 years ago

This closes #267.

This has been a long time coming, and turned out easier to do than expected.

The contents of ArchiveUnpacker were moved up into ArchiveFile, along with the static methods from ArchivePacker. The Repack virtual method from ArchivePacker was removed, along with implementations of it in VolFile and ClmFile. This removes the need for ArchivePacker and ArchiveUnpacker base classes.