1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Completely generalized mesh generation; ContentFeatures serialization

This commit is contained in:
Perttu Ahola 2011-11-15 19:58:36 +02:00
parent 89e7bacd99
commit eed727c61b
18 changed files with 795 additions and 821 deletions

View file

@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "nodedef.h"
#include "content_mapnode.h" // For mapnode_translate_*_internal
#ifndef SERVER
/*
Nodes make a face if contents differ and solidness differs.
Return value:
@ -81,6 +82,7 @@ u8 face_contents(content_t m1, content_t m2, bool *equivalent,
else
return 2;
}
#endif
v3s16 facedir_rotate(u8 facedir, v3s16 dir)
{