summaryrefslogtreecommitdiff
path: root/src/tileanimation.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2017-08-29 19:26:55 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-08-29 19:26:55 +0200
commitb7ee608e70f8e031e3e01c9672bedb16efa648b8 (patch)
treed4aa75bc30fa45cb3ec024e92aeff3e605cc8cc0 /src/tileanimation.h
parent1b3e4e173624bb2523d4386aeef6987709d9b022 (diff)
downloadminetest-b7ee608e70f8e031e3e01c9672bedb16efa648b8.tar.gz
minetest-b7ee608e70f8e031e3e01c9672bedb16efa648b8.tar.bz2
minetest-b7ee608e70f8e031e3e01c9672bedb16efa648b8.zip
Bump minimal protocol version to 36 (#6319)
* Bump minimal protocol version to 36 Item/Node/TileDef, NodeBox, TileAnimation: Remove old compat code * Accept future serialisation versions
Diffstat (limited to 'src/tileanimation.h')
-rw-r--r--src/tileanimation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tileanimation.h b/src/tileanimation.h
index 0449de0b8..7e3285ed7 100644
--- a/src/tileanimation.h
+++ b/src/tileanimation.h
@@ -50,8 +50,8 @@ struct TileAnimationParams
} sheet_2d;
};
- void serialize(std::ostream &os, u16 protocol_version) const;
- void deSerialize(std::istream &is, u16 protocol_version);
+ void serialize(std::ostream &os, u8 tiledef_version) const;
+ void deSerialize(std::istream &is, u8 tiledef_version);
void determineParams(v2u32 texture_size, int *frame_count, int *frame_length_ms,
v2u32 *frame_size) const;
void getTextureModifer(std::ostream &os, v2u32 texture_size, int frame) const;