summaryrefslogtreecommitdiffhomepage
path: root/serialize/world-impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'serialize/world-impl.hpp')
-rw-r--r--serialize/world-impl.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/serialize/world-impl.hpp b/serialize/world-impl.hpp
index 59c57e78..3403631d 100644
--- a/serialize/world-impl.hpp
+++ b/serialize/world-impl.hpp
@@ -15,6 +15,8 @@
* 2) Tile atlas variant now always a uint8_t. Was uint16_t or uint8_t
* depending on value of the tile flag (1 << 6) which is now removed.
* 3) Serialize scenery. Tile flag (1 << 6) added.
+ * 4) Scenery dt now stored as fixed-point uint16_t.
+ * 5) Serialize scenery pixel offset.
*/
namespace floormat::Serialize {
@@ -33,7 +35,7 @@ template<typename T> constexpr inline T int_max = std::numeric_limits<T>::max();
constexpr inline std::size_t atlas_name_max = 128;
constexpr inline auto null_atlas = (atlasid)-1LL;
-constexpr inline proto_t proto_version = 4;
+constexpr inline proto_t proto_version = 5;
constexpr inline proto_t min_proto_version = 1;
constexpr inline auto chunk_magic = (std::uint16_t)~0xc0d3;
constexpr inline auto scenery_magic = (std::uint16_t)~0xb00b;