mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
This commit is contained in:
@@ -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();
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user