#pragma once #include #include #include namespace floormat::Serialize { using tilemeta = uint8_t; using atlasid = uint32_t; using chunksiz = uint32_t; using proto_t = uint32_t; template struct int_traits; template struct int_traits { static constexpr T max = T(-1); }; template struct int_traits { static constexpr T max = T(-1)&~(T(1) << sizeof(T)*8-1); }; namespace { } // namespace } // namespace floormat::Serialize namespace floormat { namespace { } // namespace } // namespace floormat