diff options
author | Max Horn | 2004-06-28 00:06:31 +0000 |
---|---|---|
committer | Max Horn | 2004-06-28 00:06:31 +0000 |
commit | 53af3dc6700a6e7686fbf2e88cea283d6e335124 (patch) | |
tree | dcb1a4ffb7c717e5be3ddd909b604d5845d23597 /sword1/sword1.cpp | |
parent | b1de21accbea8c333b24db91c47235bb5a8d14ef (diff) | |
download | scummvm-rg350-53af3dc6700a6e7686fbf2e88cea283d6e335124.tar.gz scummvm-rg350-53af3dc6700a6e7686fbf2e88cea283d6e335124.tar.bz2 scummvm-rg350-53af3dc6700a6e7686fbf2e88cea283d6e335124.zip |
Enhanced default directory support in the File class; now one can specify arbitrary many default search directories
svn-id: r14095
Diffstat (limited to 'sword1/sword1.cpp')
-rw-r--r-- | sword1/sword1.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index 8fceede44f..d129d5bee1 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -97,6 +97,15 @@ SwordEngine::~SwordEngine() { } void SwordEngine::initialize(void) { + + // Add default file directories + File::addDefaultDirectory(_gameDataPath + "/CLUSTERS/"); + File::addDefaultDirectory(_gameDataPath + "/SPEECH/"); + File::addDefaultDirectory(_gameDataPath + "/VIDEO/"); + File::addDefaultDirectory(_gameDataPath + "/clusters/"); + File::addDefaultDirectory(_gameDataPath + "/speech/"); + File::addDefaultDirectory(_gameDataPath + "/video/"); + _system->initSize(640, 480); debug(5, "Starting memory manager"); _memMan = new MemMan(); |