From 1575448b1a71dd029a8d135d2aff9096483a9953 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Mon, 19 Mar 2012 04:25:09 +0100 Subject: Custom boxy nodes (stairs, slabs) and collision changes --- src/tile.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tile.h') 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, -- cgit v1.2.3