mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Create framework for getting rid of global definitions of node/tool/item/whatever types
This commit is contained in:
parent
5fc791ac9a
commit
abceeee92f
60 changed files with 1017 additions and 743 deletions
|
@ -88,9 +88,6 @@ Settings *g_settings = &main_settings;
|
|||
Profiler main_profiler;
|
||||
Profiler *g_profiler = &main_profiler;
|
||||
|
||||
// A dummy thing
|
||||
ITextureSource *g_texturesource = NULL;
|
||||
|
||||
/*
|
||||
Debug streams
|
||||
*/
|
||||
|
@ -305,10 +302,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
// Initialize stuff
|
||||
|
||||
// Initialize content feature table
|
||||
init_contentfeatures();
|
||||
// Initialize mapnode content without textures (with g_texturesource=NULL)
|
||||
content_mapnode_init();
|
||||
// Initialize content feature table without textures
|
||||
init_contentfeatures(NULL);
|
||||
// Initialize mapnode content without textures
|
||||
content_mapnode_init(NULL);
|
||||
|
||||
init_mineral();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue