diff options
author | Kahrl <kahrl@gmx.net> | 2012-03-19 04:25:09 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-17 16:34:39 +0300 |
commit | 1575448b1a71dd029a8d135d2aff9096483a9953 (patch) | |
tree | 3e4c7a68abbcf630484615e6ee202f2f0d83ade2 /src/tile.h | |
parent | 9f031a67594162a53b07acbfbc65faf8c4938e99 (diff) | |
download | minetest-1575448b1a71dd029a8d135d2aff9096483a9953.tar.gz minetest-1575448b1a71dd029a8d135d2aff9096483a9953.tar.bz2 minetest-1575448b1a71dd029a8d135d2aff9096483a9953.zip |
Custom boxy nodes (stairs, slabs) and collision changes
Diffstat (limited to 'src/tile.h')
-rw-r--r-- | src/tile.h | 8 |
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, |