From eed727c61b51f46f6d172c56ecd26a3b1752d449 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 15 Nov 2011 19:58:36 +0200 Subject: Completely generalized mesh generation; ContentFeatures serialization --- src/mapnode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mapnode.h') 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. -- cgit v1.2.3