From ee8b6d34447acab3ffb318dc8c070df890c1b810 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 10 Nov 2011 23:30:12 +0200 Subject: Move images to data/textures and fix some path stuff; hope that installation still works --- src/porting.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/porting.cpp') diff --git a/src/porting.cpp b/src/porting.cpp index f3a0ab074..00595b06c 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -125,6 +125,11 @@ void signal_handler_init(void) std::string path_data = ".." DIR_DELIM "data"; std::string path_userdata = ".."; +std::string getDataPath(const char *subpath) +{ + return path_data + DIR_DELIM + subpath; +} + void pathRemoveFile(char *path, char delim) { // Remove filename and path delimiter -- cgit v1.2.3