From 64996422c00ddb70cfc8aee7da7b62485b8b0416 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 13 Nov 2011 10:57:55 +0200 Subject: Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff --- src/game.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index d666dbcdf..d7efbeae9 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -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 -- cgit v1.2.3