diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 00:28:21 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-30 00:28:21 +0100 |
commit | 01a8ae2ddf4b52fb9a7d5d46e433c19a5efcfa8d (patch) | |
tree | 01adb13c9c97a34b814a965d64ed72fd48aad86e /serialize/world-impl.hpp | |
parent | 1b5a4bb5084c79a79da50affc5d9c8cd94fd47d7 (diff) |
tile, serialize/save: limit tile atlas size to 0xff
Diffstat (limited to 'serialize/world-impl.hpp')
-rw-r--r-- | serialize/world-impl.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/serialize/world-impl.hpp b/serialize/world-impl.hpp index 210b6836..af79b451 100644 --- a/serialize/world-impl.hpp +++ b/serialize/world-impl.hpp @@ -11,7 +11,6 @@ namespace floormat::Serialize { using tilemeta = std::uint8_t; -using varid = decltype(tile_image_proto::variant); using atlasid = std::uint16_t; using chunksiz = std::uint16_t; using proto_t = std::uint16_t; @@ -38,7 +37,6 @@ enum : tilemeta { meta_wall_n = 1 << (pass_bits + 1), meta_wall_w = 1 << (pass_bits + 2), meta_short_atlasid = 1 << (pass_bits + 3), - meta_short_variant = 1 << (pass_bits + 4), }; } // namespace floormat::Serialize |