mirror of https://github.com/minetest/minetest.git
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.
This commit is contained in:
parent
da05d94709
commit
dc9546a684
|
@ -1590,7 +1590,6 @@ bool TextureSource::generateImagePart(std::string part_of_name,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
<<<<<<< HEAD
|
|
||||||
[colorize:color
|
[colorize:color
|
||||||
Overlays image with given color
|
Overlays image with given color
|
||||||
color = color as ColorString
|
color = color as ColorString
|
||||||
|
|
Loading…
Reference in New Issue