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:
parent
89e7bacd99
commit
eed727c61b
18 changed files with 795 additions and 821 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue