mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-04 02:01:51 +00:00
chore: implement base skeleton for architecture independent zone loading
This commit is contained in:
@ -20,7 +20,7 @@ namespace IW3
|
||||
static constexpr size_t AUTHED_CHUNK_SIZE = 0x2000;
|
||||
static constexpr unsigned AUTHED_CHUNK_COUNT_PER_GROUP = 256;
|
||||
|
||||
static constexpr int OFFSET_BLOCK_BIT_COUNT = 4;
|
||||
static constexpr unsigned OFFSET_BLOCK_BIT_COUNT = 4u;
|
||||
static constexpr block_t INSERT_BLOCK = XFILE_BLOCK_VIRTUAL;
|
||||
};
|
||||
} // namespace IW3
|
||||
|
@ -43,7 +43,7 @@ namespace IW4
|
||||
static constexpr size_t AUTHED_CHUNK_SIZE = 0x2000;
|
||||
static constexpr unsigned AUTHED_CHUNK_COUNT_PER_GROUP = 256;
|
||||
|
||||
static constexpr int OFFSET_BLOCK_BIT_COUNT = 4;
|
||||
static constexpr unsigned OFFSET_BLOCK_BIT_COUNT = 4u;
|
||||
static constexpr block_t INSERT_BLOCK = XFILE_BLOCK_VIRTUAL;
|
||||
};
|
||||
} // namespace IW4
|
||||
|
@ -40,7 +40,7 @@ namespace IW5
|
||||
static constexpr size_t AUTHED_CHUNK_SIZE = 0x2000;
|
||||
static constexpr unsigned AUTHED_CHUNK_COUNT_PER_GROUP = 256;
|
||||
|
||||
static constexpr int OFFSET_BLOCK_BIT_COUNT = 4;
|
||||
static constexpr unsigned OFFSET_BLOCK_BIT_COUNT = 4u;
|
||||
static constexpr block_t INSERT_BLOCK = XFILE_BLOCK_VIRTUAL;
|
||||
};
|
||||
} // namespace IW5
|
||||
|
@ -20,7 +20,7 @@ namespace T5
|
||||
static constexpr size_t AUTHED_CHUNK_SIZE = 0x2000;
|
||||
static constexpr unsigned AUTHED_CHUNK_COUNT_PER_GROUP = 256;
|
||||
|
||||
static constexpr int OFFSET_BLOCK_BIT_COUNT = 3;
|
||||
static constexpr unsigned OFFSET_BLOCK_BIT_COUNT = 3u;
|
||||
static constexpr block_t INSERT_BLOCK = XFILE_BLOCK_VIRTUAL;
|
||||
};
|
||||
} // namespace T5
|
||||
|
@ -27,7 +27,7 @@ namespace T6
|
||||
static constexpr int XCHUNK_SIZE = 0x8000;
|
||||
static constexpr int XCHUNK_MAX_WRITE_SIZE = XCHUNK_SIZE - 0x40;
|
||||
static constexpr int VANILLA_BUFFER_SIZE = 0x80000;
|
||||
static constexpr int OFFSET_BLOCK_BIT_COUNT = 3;
|
||||
static constexpr unsigned OFFSET_BLOCK_BIT_COUNT = 3u;
|
||||
static constexpr block_t INSERT_BLOCK = XFILE_BLOCK_VIRTUAL;
|
||||
|
||||
static constexpr size_t FILE_SUFFIX_ZERO_MIN_SIZE = 0x40;
|
||||
|
Reference in New Issue
Block a user