Use proper CMakeLists.txt for network and client directories
[oweals/minetest.git] / src / mapblock.h
index 5cf2bc801260504a3e7634327c7816770143f7e7..76ba94c3437baa9653f5b77428f0db0009ff2749 100644 (file)
@@ -494,6 +494,7 @@ public:
        
        // These don't write or read version by itself
        // Set disk to true for on-disk format, false for over-the-network format
+       // Precondition: version >= SER_FMT_CLIENT_VER_LOWEST
        void serialize(std::ostream &os, u8 version, bool disk);
        // If disk == true: In addition to doing other things, will add
        // unknown blocks from id-name mapping to wndef
@@ -613,6 +614,8 @@ private:
        int m_refcount;
 };
 
+typedef std::vector<MapBlock*> MapBlockVect;
+
 inline bool blockpos_over_limit(v3s16 p)
 {
        return