aboutsummaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2012-03-19 04:25:09 +0100
committerPerttu Ahola <celeron55@gmail.com>2012-06-17 16:34:39 +0300
commit1575448b1a71dd029a8d135d2aff9096483a9953 (patch)
tree3e4c7a68abbcf630484615e6ee202f2f0d83ade2 /src/tile.h
parent9f031a67594162a53b07acbfbc65faf8c4938e99 (diff)
downloadhax-minetest-server-1575448b1a71dd029a8d135d2aff9096483a9953.tar.gz
hax-minetest-server-1575448b1a71dd029a8d135d2aff9096483a9953.zip
Custom boxy nodes (stairs, slabs) and collision changes
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tile.h b/src/tile.h
index 8c1f42e07..ae986e797 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -61,6 +61,14 @@ struct AtlasPointer
v2f size; // Size in atlas
u16 tiled; // X-wise tiling count. If 0, width of atlas is width of image.
+ AtlasPointer():
+ id(0),
+ atlas(NULL),
+ pos(0,0),
+ size(1,1),
+ tiled(1)
+ {}
+
AtlasPointer(
u16 id_,
video::ITexture *atlas_=NULL,