summaryrefslogtreecommitdiff
path: root/src/mapblock.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-03 16:21:06 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-03 16:21:06 +0300
commit01c2b003e1efb839ad246eb939af7fa8336b9ad5 (patch)
tree9771fbd3321709f6aff0761ed7efc5a177823352 /src/mapblock.h
parent06eb0ad4d063c696afa53cad75824c7778c5c157 (diff)
downloadminetest-01c2b003e1efb839ad246eb939af7fa8336b9ad5.tar.gz
minetest-01c2b003e1efb839ad246eb939af7fa8336b9ad5.tar.bz2
minetest-01c2b003e1efb839ad246eb939af7fa8336b9ad5.zip
commit before some more radical changes
Diffstat (limited to 'src/mapblock.h')
-rw-r--r--src/mapblock.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/mapblock.h b/src/mapblock.h
index 3614d1367..6af4070bc 100644
--- a/src/mapblock.h
+++ b/src/mapblock.h
@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "constants.h"
#include "mapblockobject.h"
#include "voxel.h"
+#include "nodemetadata.h"
// Named by looking towards z+
enum{
@@ -619,6 +620,8 @@ public:
JMutex mesh_mutex;
#endif
+ NodeMetadataList m_node_metadata;
+
private:
/*
Private member variables
@@ -665,27 +668,11 @@ private:
// Whether day and night lighting differs
bool m_day_night_differs;
- /*
- Whether everything that is mainly located on this block has
- been added to the world.
-
- While this is false, a block can still be changed a bit when
- stuff is added to the neighboring blocks that extends to this
- one.
-
- When this is false on every one of a 3x3x3 chunk of blocks, the
- central one will not be changed by the map generator in the
- future.
-
- TODO: Save in file
- */
- //bool m_not_fully_generated;
-
MapBlockObjectList m_objects;
// Object spawning stuff
float m_spawn_timer;
-
+
#ifndef SERVER // Only on client
/*
Set to true if the mesh has been ordered to be updated