]> git.lizzy.rs Git - minetest.git/blobdiff - src/content_nodemeta.cpp
Precalculate mapblock relative size. This permit to remove many s16 calculs on runtime
[minetest.git] / src / content_nodemeta.cpp
index 0e4c3dd75a6966d030185194cc305fb6ad995adc..f504924f956a39dcc8fe29bbe323496186efcef7 100644 (file)
@@ -1,6 +1,6 @@
 /*
-Minetest-c55
-Copyright (C) 2010-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
+Minetest
+Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -18,8 +18,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 */
 
 #include "content_nodemeta.h"
+#include "nodemetadata.h"
+#include "nodetimer.h"
 #include "inventory.h"
 #include "log.h"
+#include "serialization.h"
 #include "util/serialize.h"
 #include "util/string.h"
 #include "constants.h" // MAP_BLOCKSIZE