diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 07:20:13 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 08:18:39 +0300 |
commit | fd845f27f5b3e3c6587c472be76235567a7b934d (patch) | |
tree | 53915de3f1c512e0e4ec8d29cd42160a9af5e826 /src/mapnode.h | |
parent | ea62ee4b61371107ef3d693bda4c410ba02ca7e6 (diff) | |
download | minetest-fd845f27f5b3e3c6587c472be76235567a7b934d.tar.gz minetest-fd845f27f5b3e3c6587c472be76235567a7b934d.tar.bz2 minetest-fd845f27f5b3e3c6587c472be76235567a7b934d.zip |
Fix map deserialization and remove old serialization code
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index fe656fa5c..a95497ef5 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -33,10 +33,6 @@ class INodeDefManager; - Material = irrlicht's Material class - Content = (content_t) content of a node - Tile = TileSpec at some side of a node of some content type - - Content ranges: - 0x000...0x07f: param2 is fully usable - 0x800...0xfff: param2 lower 4 bits are free */ typedef u16 content_t; #define MAX_CONTENT 0xfff @@ -84,8 +80,6 @@ struct MapNode { /* Main content - 0x00-0x7f: Short content type - 0x80-0xff: Long content type */ u16 param0; @@ -208,7 +202,6 @@ struct MapNode private: // Deprecated serialization methods - void serialize_pre22(u8 *dest, u8 version); void deSerialize_pre22(u8 *source, u8 version); }; |