1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Moved some mapnode content stuff from mapnode.{h,cpp} and digging property stuff from material.cpp to content_mapnode.{h,cpp}

This commit is contained in:
Perttu Ahola 2011-06-17 22:20:15 +03:00
parent d6b54514bf
commit dc5319b6c9
18 changed files with 514 additions and 463 deletions

View file

@ -228,6 +228,12 @@ TODO: Map saving should be done by EmergeThread
SUGG: Map unloading based on sector reference is not very good, it keeps
unnecessary stuff in memory. I guess. Investigate this.
TODO: FIXME: Make furnaces handle long step() times better; now a 10-day
dtime for a bunch of furnaces will take ages
TODO: When block is placed and it has param_type==CPT_FACEDIR_SIMPLE, set
the direction accordingly.
Environment:
------------
@ -1143,7 +1149,7 @@ int main(int argc, char *argv[])
fs::CreateDir(porting::path_userdata);
// Init material properties table
initializeMaterialProperties();
//initializeMaterialProperties();
// Debug handler
BEGIN_DEBUG_EXCEPTION_HANDLER
@ -1414,7 +1420,6 @@ int main(int argc, char *argv[])
Preload some textures and stuff
*/
init_content_inventory_texture_paths();
init_mapnode(); // Second call with g_texturesource set
init_mineral();