From a02eba1bee60281adad2918b0c0e275f20c87be1 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 22 Aug 2003 06:40:29 +0000 Subject: add sword2 cd dirs svn-id: r9816 --- common/file.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'common/file.cpp') diff --git a/common/file.cpp b/common/file.cpp index 78667f0c9a..3cd3e1eed7 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -57,6 +57,7 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char if (file) return file; + // FIXME this should probably be engine specific... const char *dirs[] = { "", "video/", @@ -66,7 +67,13 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char "resource/", "RESOURCE/", "voices/", - "VOICES/" + "VOICES/", + // sword2 stuff if user just copied files without putting + // them all into the same dir like original installer did + "CLUSTERS/", + "clusters/", + "SWORD2/", + "sword2/" }; for (int dirIdx = 0; dirIdx < ARRAYSIZE(dirs); dirIdx++) { -- cgit v1.2.3