aboutsummaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-03-23 19:17:00 +0100
committerPilzAdam <pilzadam@minetest.net>2013-03-23 21:31:05 +0100
commit6f8d40ef5d24e26a70c7a0bdf6d2992e0bea9a63 (patch)
tree43aba97aee4585a675befd78bd93612cb6f96a46 /src/tile.h
parent2318d19bb4d8bd578069184614f4475b7aeb7743 (diff)
downloaddragonfireclient-6f8d40ef5d24e26a70c7a0bdf6d2992e0bea9a63.tar.xz
6d facedir
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tile.h b/src/tile.h
index 07e5bcb56..c5c7f9303 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -205,7 +205,8 @@ struct TileSpec
texture == other.texture &&
alpha == other.alpha &&
material_type == other.material_type &&
- material_flags == other.material_flags
+ material_flags == other.material_flags &&
+ rotation == other.rotation
);
}
@@ -264,6 +265,7 @@ struct TileSpec
// Animation parameters
u8 animation_frame_count;
u16 animation_frame_length_ms;
+ u8 rotation;
};
#endif