mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Automate texture listing for texture atlas making
This commit is contained in:
parent
eae2d35ca5
commit
05ab58cd14
5 changed files with 81 additions and 44 deletions
|
@ -42,6 +42,8 @@ ContentFeatures::~ContentFeatures()
|
|||
#ifndef SERVER
|
||||
void ContentFeatures::setTexture(u16 i, std::string name, u8 alpha)
|
||||
{
|
||||
used_texturenames[name] = true;
|
||||
|
||||
if(g_texturesource)
|
||||
{
|
||||
tiles[i].texture = g_texturesource->getTexture(name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue