1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

All textures are are now searched first from the directory specified by the texture_path setting.

This commit is contained in:
Perttu Ahola 2011-05-21 11:07:03 +03:00
parent a8acf3c391
commit 969fbb189d
12 changed files with 108 additions and 190 deletions

View file

@ -27,7 +27,6 @@ const char *mineral_filenames[MINERAL_COUNT] =
"mineral_iron.png"
};
//textureid_t mineral_textures[MINERAL_COUNT] = {0};
std::string mineral_textures[MINERAL_COUNT];
void init_mineral()
@ -40,7 +39,6 @@ void init_mineral()
}
}
//textureid_t mineral_block_texture(u8 mineral)
std::string mineral_block_texture(u8 mineral)
{
if(mineral >= MINERAL_COUNT)