diff options
author | Luke Puchner-Hardman <x.lukk3.x@gmail.com> | 2014-09-23 14:39:34 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-01-02 15:28:06 +0100 |
commit | 7057c196c442ff3484b53f48d940f4c9e0ffe23a (patch) | |
tree | ea6e57d1755253577e3eda6fe22280314d22fb87 /src/tileanimation.cpp | |
parent | 523f0e8c5bce0cb58215dc1f9d027cf32394e3c3 (diff) | |
download | minetest-7057c196c442ff3484b53f48d940f4c9e0ffe23a.tar.gz minetest-7057c196c442ff3484b53f48d940f4c9e0ffe23a.tar.bz2 minetest-7057c196c442ff3484b53f48d940f4c9e0ffe23a.zip |
Added "[sheet" to the texture special commands.
"[sheet:WxH:X,Y" assumes the base image is a tilesheet with W*H tiles
on it and crops to the tile at position X,Y. Basically it works
like "[verticalframe" but in 2D.
For testing, I combined the four default_chest images into one.
Diffstat (limited to 'src/tileanimation.cpp')
0 files changed, 0 insertions, 0 deletions