summaryrefslogtreecommitdiffhomepage
path: root/ArchiveEx/Archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'ArchiveEx/Archive.h')
-rw-r--r--ArchiveEx/Archive.h14
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;
};