summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-25 16:04:51 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-25 16:04:51 +0200
commit07a759fdb8c3239aabb271cbd24e8b24b2dee435 (patch)
treee5f11e37f60dbecc0de6b502392058c917b917ce /src/map.h
parentc37eb9b139a6730e2bd835dd8820a3be92b855cb (diff)
downloadminetest-07a759fdb8c3239aabb271cbd24e8b24b2dee435.tar.gz
minetest-07a759fdb8c3239aabb271cbd24e8b24b2dee435.tar.bz2
minetest-07a759fdb8c3239aabb271cbd24e8b24b2dee435.zip
better caves
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 2a3fa5061..3c3fe9daf 100644
--- a/src/map.h
+++ b/src/map.h
@@ -43,6 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class Map;
+#if 0
/*
A cache for short-term fast access to map data
@@ -108,6 +109,7 @@ private:
u32 m_from_cache_count;
u32 m_from_map_count;
};
+#endif
class CacheLock
{
@@ -303,6 +305,7 @@ public:
}
// virtual from NodeContainer
+ // throws InvalidPositionException if not found
MapNode getNode(v3s16 p)
{
v3s16 blockpos = getNodeBlockPos(p);
@@ -313,6 +316,7 @@ public:
}
// virtual from NodeContainer
+ // throws InvalidPositionException if not found
void setNode(v3s16 p, MapNode & n)
{
v3s16 blockpos = getNodeBlockPos(p);