From fd845f27f5b3e3c6587c472be76235567a7b934d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 23 Jul 2012 07:20:13 +0300 Subject: Fix map deserialization and remove old serialization code --- src/mapnode.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/mapnode.h') 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); }; -- cgit v1.2.3