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/servermain.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/servermain.cpp') 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(); /* -- cgit v1.2.3