diff options
author | Perttu Ahola <celeron55@gmail.com> | 2013-02-15 21:13:53 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-05-02 19:43:47 +0300 |
commit | 084be3599a5ef0acba7c341bfd14a4e9801423a2 (patch) | |
tree | 319535075c0eafd482abd32f5418502aefc17ea9 /src/tile.h | |
parent | b28734c82cdb88228a12a3cac90f51ab9384b653 (diff) | |
download | hax-minetest-server-084be3599a5ef0acba7c341bfd14a4e9801423a2.tar.gz hax-minetest-server-084be3599a5ef0acba7c341bfd14a4e9801423a2.zip |
Get menu background image from selected game
Diffstat (limited to '')
-rw-r--r-- | src/tile.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tile.h b/src/tile.h index ea5c4be54..531a93172 100644 --- a/src/tile.h +++ b/src/tile.h @@ -35,6 +35,17 @@ class IGameDef; */ /* + 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. |