diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-13 10:57:55 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:40 +0200 |
commit | 64996422c00ddb70cfc8aee7da7b62485b8b0416 (patch) | |
tree | fdaa59ba3c52069f8935cf5d8d1cd63752edb149 /src/game.cpp | |
parent | f8c9b703798873c6e958560341105069dca8f86c (diff) | |
download | hax-minetest-server-64996422c00ddb70cfc8aee7da7b62485b8b0416.tar.gz hax-minetest-server-64996422c00ddb70cfc8aee7da7b62485b8b0416.zip |
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
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 |