mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Refactor tile.cpp/h parts except texturesource.cpp
This commit is contained in:
parent
aaf77025b6
commit
879f7e9f03
5 changed files with 112 additions and 130 deletions
|
@ -27,7 +27,7 @@ void clearTextureNameCache();
|
|||
|
||||
// Find out the full path of an image by trying different filename extensions.
|
||||
// If failed, return "".
|
||||
std::string getImagePath(std::string path);
|
||||
std::string getImagePath(std::string_view path);
|
||||
|
||||
/* Gets the path to a texture by first checking if the texture exists
|
||||
* in texture_path and if not, using the data path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue