mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Get menu background image from selected game
This commit is contained in:
parent
b28734c82c
commit
084be3599a
7 changed files with 172 additions and 136 deletions
11
src/tile.h
11
src/tile.h
|
@ -34,6 +34,17 @@ class IGameDef;
|
|||
tile.{h,cpp}: Texture handling stuff.
|
||||
*/
|
||||
|
||||
/*
|
||||
Find out the full path of an image by trying different filename
|
||||
extensions.
|
||||
|
||||
If failed, return "".
|
||||
|
||||
TODO: Should probably be moved out from here, because things needing
|
||||
this function do not need anything else from this header
|
||||
*/
|
||||
std::string getImagePath(std::string 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