summaryrefslogtreecommitdiff
path: root/include/file/metadata.hpp
diff options
context:
space:
mode:
authorhovertank3d <[email protected]>2025-11-18 17:21:19 +0100
committerhovertank3d <[email protected]>2025-11-18 17:21:19 +0100
commitbf1a13611b05350a71807be9a7cc384f11737b2b (patch)
treed7c9702e61208960d8603a92dd7ca7003160dddc /include/file/metadata.hpp
parentc2b53f27bad24003867afa5f5f7aedcf6fa7b26d (diff)
downloadogurec-bf1a13611b05350a71807be9a7cc384f11737b2b.tar.gz
ogurec-bf1a13611b05350a71807be9a7cc384f11737b2b.zip
implement parsing world file header
Diffstat (limited to 'include/file/metadata.hpp')
-rw-r--r--include/file/metadata.hpp13
1 files changed, 7 insertions, 6 deletions
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,
};