From 7c9ffa1cabbd03a87a1b8efa1d0db329ba9ecc77 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 20 Jan 2024 23:37:47 +0100 Subject: 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` --- primedev/core/filesystem/filesystem.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'primedev/core/filesystem') 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 -- cgit v1.2.3