summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-09-24 14:25:09 -0700
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-09-25 06:20:14 +0530
commit961048f9c25ee55aa8f9a6602938feebd5f3a30d (patch)
tree853a3b7135b64bdabaaac2c340f85475e665b63d /crawl-ref/source/files.cc
parentde12ddf8d0efaab603817084e7b3bf3275449b5f (diff)
downloadcrawl-ref-961048f9c25ee55aa8f9a6602938feebd5f3a30d.tar.gz
crawl-ref-961048f9c25ee55aa8f9a6602938feebd5f3a30d.zip
Mac OS X: add proper build target for USE_TILE builds
We don't need the wrapper script (see 'crawl-ref/source/mac/crawl') in USE_TILE builds, because the terminal prints no output anyway, and the compiled binary from Crawl-tiles-cmd is Mac OS X native already. So instead of building a command line version and wrapping it, use a proper target which builds an app bundle. Also drops the Crawl-tiles-cmd target on Xcode. Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Darshan Shaligram <dshaligram@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 3650f8899d..8f1799abb3 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -518,6 +518,9 @@ std::string datafile_path(std::string basename,
#else
!SysEnv.crawl_dir.empty()? SysEnv.crawl_dir : "",
#endif
+#ifdef OSX
+ SysEnv.crawl_base + "../Resources/",
+#endif
};
const std::string prefixes[] = {