summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 19:58:36 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:44 +0200
commiteed727c61b51f46f6d172c56ecd26a3b1752d449 (patch)
tree0c6efe4379ace6c20f76267cc40ba01a69ef9ecc /src/mapnode.h
parent89e7bacd991060fe6cdada6bf8112f9f20c3e310 (diff)
downloadminetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.tar.gz
minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.tar.bz2
minetest-eed727c61b51f46f6d172c56ecd26a3b1752d449.zip
Completely generalized mesh generation; ContentFeatures serialization
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 70a7638d2..7fe205463 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -62,6 +62,7 @@ typedef u16 content_t;
*/
#define CONTENT_AIR 126
+#ifndef SERVER
/*
Nodes make a face if contents differ and solidness differs.
Return value:
@@ -72,6 +73,7 @@ typedef u16 content_t;
*/
u8 face_contents(content_t m1, content_t m2, bool *equivalent,
INodeDefManager *nodemgr);
+#endif
/*
Packs directions like (1,0,0), (1,-1,0) in six bits.