From bf1a13611b05350a71807be9a7cc384f11737b2b Mon Sep 17 00:00:00 2001 From: hovertank3d Date: Tue, 18 Nov 2025 17:21:19 +0100 Subject: implement parsing world file header --- include/file/metadata.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include/file/metadata.hpp') diff --git a/include/file/metadata.hpp b/include/file/metadata.hpp index 8b9ec4f..35b0a24 100644 --- a/include/file/metadata.hpp +++ b/include/file/metadata.hpp @@ -8,18 +8,19 @@ namespace file { -enum class filetype : uint8_t { - Map = 1, - World, - Player, - TOTAL, -}; struct metadata { static constexpr auto magic = 27981915666277746uL; static constexpr auto magic_mask = 0xFFFFFFFFFFFFFFuL; static constexpr auto size = 20; + enum class filetype : uint8_t { + Map = 1, + World, + Player, + TOTAL, + }; + enum class flags { Favorite, }; -- cgit v1.2.3