|
|
@ -103,6 +103,8 @@ int main(int nNbArg, char **ppArgs)
|
|
|
|
|
|
|
|
|
|
|
|
// add search paths
|
|
|
|
// add search paths
|
|
|
|
CPath::addSearchPath(leveldesignDir, true, false);
|
|
|
|
CPath::addSearchPath(leveldesignDir, true, false);
|
|
|
|
|
|
|
|
std::string relativeDfnDir = dfnDir; // only add dfn if not a subdir of leveldesignDir
|
|
|
|
|
|
|
|
if (!CPath::makePathRelative(leveldesignDir, dfnDir) || relativeDfnDir.size() < 2 || (relativeDfnDir[0] == '.' && relativeDfnDir[1] == '.'))
|
|
|
|
CPath::addSearchPath(dfnDir, true, false);
|
|
|
|
CPath::addSearchPath(dfnDir, true, false);
|
|
|
|
|
|
|
|
|
|
|
|
// create the audio mixer
|
|
|
|
// create the audio mixer
|
|
|
|