mirror of
https://github.com/minetest/minetest.git
synced 2025-07-06 18:00:21 +02:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user