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/servermain.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/servermain.cpp')
-rw-r--r-- | src/servermain.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/servermain.cpp b/src/servermain.cpp index 73e1963c1..6bfcf2b75 100644 --- a/src/servermain.cpp +++ b/src/servermain.cpp @@ -74,6 +74,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "settings.h" #include "profiler.h" #include "log.h" +#include "mapnode_contentfeatures.h" // For init_contentfeatures +#include "content_mapnode.h" // For content_mapnode_init /* Settings. @@ -303,7 +305,11 @@ int main(int argc, char *argv[]) // Initialize stuff - init_mapnode(); + // Initialize content feature table + init_contentfeatures(); + // Initialize mapnode content without textures (with g_texturesource=NULL) + content_mapnode_init(); + init_mineral(); /* |