diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-16 13:03:28 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:46 +0200 |
commit | c0f6395cf09f658eb95365c60f67b8a89104cb23 (patch) | |
tree | 045d2e1713acc39948280b9ca29dc474b8807418 /src/mapblock.h | |
parent | 50d63e4b0ac15ded5a9fb684586a88a91366d067 (diff) | |
download | minetest-c0f6395cf09f658eb95365c60f67b8a89104cb23.tar.gz minetest-c0f6395cf09f658eb95365c60f67b8a89104cb23.tar.bz2 minetest-c0f6395cf09f658eb95365c60f67b8a89104cb23.zip |
Node definition names
Diffstat (limited to 'src/mapblock.h')
-rw-r--r-- | src/mapblock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mapblock.h b/src/mapblock.h index e7fd932b8..0866fc396 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -39,6 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc., class Map; class NodeMetadataList; class IGameDef; +class IWritableNodeDefManager; #define BLOCK_TIMESTAMP_UNDEFINED 0xffffffff @@ -540,8 +541,11 @@ public: // These don't write or read version by itself void serialize(std::ostream &os, u8 version); void deSerialize(std::istream &is, u8 version); + // Used after the basic ones when writing on disk (serverside) void serializeDiskExtra(std::ostream &os, u8 version); + // In addition to doing other things, will add unknown blocks from + // id-name mapping to wndef void deSerializeDiskExtra(std::istream &is, u8 version); private: |