summaryrefslogtreecommitdiff
path: root/src/tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h11
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.