diff options
author | Jan <sentrycraft123@gmail.com> | 2024-01-20 23:37:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 23:37:47 +0100 |
commit | 7c9ffa1cabbd03a87a1b8efa1d0db329ba9ecc77 (patch) | |
tree | 2c3a6086ba9c5629efd94418adc22838c88a70c6 /primedev/core/filesystem | |
parent | f2dd1583ef87a8d61f206de80f6ef3aa47d92b17 (diff) | |
download | NorthstarLauncher-7c9ffa1cabbd03a87a1b8efa1d0db329ba9ecc77.tar.gz NorthstarLauncher-7c9ffa1cabbd03a87a1b8efa1d0db329ba9ecc77.zip |
Remove `structs.h` in favor of manual padding (#613)
- delete `structs.h`
- completely remove VPKFileEntry (its completely unused)
- convert all other instances of `OFFSET_STRUCT` to normal structs (this was automated and may be wrong)
- Update `m_bZooming` type from `uint32_t` to `bool`
Diffstat (limited to 'primedev/core/filesystem')
-rw-r--r-- | primedev/core/filesystem/filesystem.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/primedev/core/filesystem/filesystem.h b/primedev/core/filesystem/filesystem.h index fcd1bb2f..4e2c18d9 100644 --- a/primedev/core/filesystem/filesystem.h +++ b/primedev/core/filesystem/filesystem.h @@ -4,21 +4,6 @@ // taken from ttf2sdk typedef void* FileHandle_t; -#pragma pack(push, 1) - -// clang-format off -OFFSET_STRUCT(VPKFileEntry) -{ - STRUCT_SIZE(0x44); - FIELDS(0x0, - char* directory; - char* filename; - char* extension; - ) -}; -// clang-format on -#pragma pack(pop) - struct VPKData; enum SearchPathAdd_t |