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

Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff

This commit is contained in:
Perttu Ahola 2011-11-13 10:57:55 +02:00
parent f8c9b70379
commit 64996422c0
24 changed files with 697 additions and 617 deletions

View file

@ -43,13 +43,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "gettext.h"
#include "log.h"
#include "filesys.h"
/*
TODO: Move content-aware stuff to separate file by adding properties
and virtual interfaces
*/
// Needed for some special cases for CONTENT_TORCH and CONTENT_SIGN_WALL
// TODO: A generic way for handling such should be created
#include "content_mapnode.h"
// Needed for sign text input
// TODO: A generic way for handling such should be created
#include "content_nodemeta.h"
// Needed for determining pointing to nodes
#include "mapnode_contentfeatures.h"
/*
Setting this to 1 enables a special camera mode that forces