Translated using Weblate (Japanese)
[oweals/minetest.git] / src / map.h
index 325a02e6044af5d1463e063f1b6a493573ecfe78..2afd09639507feb7d04ac1f382a83cf0b0aef495 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -277,7 +277,7 @@ public:
                Updates usage timers and unloads unused blocks and sectors.
                Saves modified blocks before unloading on MAPTYPE_SERVER.
        */
-       void timerUpdate(float dtime, float unload_timeout,
+       void timerUpdate(float dtime, float unload_timeout, u32 max_loaded_blocks,
                        std::vector<v3s16> *unloaded_blocks=NULL);
 
        /*
@@ -301,7 +301,8 @@ public:
                These are basically coordinate wrappers to MapBlock
        */
 
-       NodeMetadata* getNodeMetadata(v3s16 p);
+       std::vector<v3s16> findNodesWithMetadata(v3s16 p1, v3s16 p2);
+       NodeMetadata *getNodeMetadata(v3s16 p);
 
        /**
         * Sets metadata for a node.