summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 15:46:52 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:44 +0200
commit89e7bacd991060fe6cdada6bf8112f9f20c3e310 (patch)
tree7493cb0a0b94f39110bd10af36d5bfcd0e679767 /src/nodedef.h
parentff34955a0dcd4eefa522056eea3e4530fc475732 (diff)
downloadminetest-89e7bacd991060fe6cdada6bf8112f9f20c3e310.tar.gz
minetest-89e7bacd991060fe6cdada6bf8112f9f20c3e310.tar.bz2
minetest-89e7bacd991060fe6cdada6bf8112f9f20c3e310.zip
Clean more
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index f5662967b..e70295616 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -137,6 +137,8 @@ struct ContentFeatures
MaterialSpec mspec_special[CF_SPECIAL_COUNT];
u8 alpha;
bool backface_culling;
+ u8 solidness; // Used when choosing which face is drawn
+ u8 visual_solidness; // When solidness=0, this tells how it looks like
// List of all block textures that have been used (value is dummy)
// Used for texture atlas making.
@@ -149,8 +151,6 @@ struct ContentFeatures
bool is_ground_content;
bool light_propagates;
bool sunlight_propagates;
- u8 solidness; // Used when choosing which face is drawn
- u8 visual_solidness; // When solidness=0, this tells how it looks like
// This is used for collision detection.
// Also for general solidness queries.
bool walkable;
@@ -226,13 +226,13 @@ struct ContentFeatures
tname_inventory = "";
alpha = 255;
backface_culling = true;
+ solidness = 2;
+ visual_solidness = 0;
used_texturenames.clear();
param_type = CPT_NONE;
is_ground_content = false;
light_propagates = false;
sunlight_propagates = false;
- solidness = 2;
- visual_solidness = 0;
walkable = true;
pointable = true;
diggable = true;