diff options
author | Aki <please@ignore.pl> | 2022-08-17 22:40:59 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-08-17 22:40:59 +0200 |
commit | 5708303f6ae772cf2ca8da30249262c772d3021d (patch) | |
tree | 72e724f754a555bd154c8badc8614fa41ee078d7 /ArchiveEx/Archive.h | |
parent | e7b0d4dc387f732e9f146fdaef5e531448510366 (diff) | |
download | starshatter-5708303f6ae772cf2ca8da30249262c772d3021d.zip starshatter-5708303f6ae772cf2ca8da30249262c772d3021d.tar.gz starshatter-5708303f6ae772cf2ca8da30249262c772d3021d.tar.bz2 |
Hid Header definition from public archive header
Diffstat (limited to 'ArchiveEx/Archive.h')
-rw-r--r-- | ArchiveEx/Archive.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ArchiveEx/Archive.h b/ArchiveEx/Archive.h index 64b73d5..2bef8fe 100644 --- a/ArchiveEx/Archive.h +++ b/ArchiveEx/Archive.h @@ -12,18 +12,6 @@ namespace Archive static constexpr std::size_t NAMELEN {64}; -struct Header -{ - std::uint32_t version; - std::uint32_t total_entries; - struct { - std::uint32_t total_blocks; - std::uint32_t compressed_size; - std::uint32_t offset; - } directory; -}; - - struct Entry { char name[NAMELEN]; @@ -49,7 +37,7 @@ public: std::size_t DirectoryBlocks() const; private: const char* path; - Header header; + std::size_t directory_offset; std::vector<Entry> entries; std::vector<int> blocks; }; |