Since we now generate warnings/messages for engine instantiation failures in a central place, get rid of such messages printed by engines

svn-id: r24686
This commit is contained in:
Max Horn 2006-11-12 03:26:44 +00:00
parent 1f26cb8965
commit 8d37c135c0
4 changed files with 0 additions and 8 deletions

View File

@ -642,7 +642,6 @@ PluginError Engine_AGI_create(OSystem *syst, Engine **engine) {
FSList fslist;
FilesystemNode dir(ConfMan.get("path"));
if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) {
warning("AgiEngine: invalid game path '%s'", dir.path().c_str());
return kInvalidPathError;
}
@ -657,7 +656,6 @@ PluginError Engine_AGI_create(OSystem *syst, Engine **engine) {
}
}
warning("AgiEngine: Unable to locate game data at path '%s'", dir.path().c_str());
return kNoGameDataFoundError;
}

View File

@ -1410,7 +1410,6 @@ PluginError Engine_SCUMM_create(OSystem *syst, Engine **engine) {
FSList fslist;
FilesystemNode dir(ConfMan.get("path"));
if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) {
warning("ScummEngine: invalid game path '%s'", dir.path().c_str());
return kInvalidPathError;
}
@ -1421,7 +1420,6 @@ PluginError Engine_SCUMM_create(OSystem *syst, Engine **engine) {
// Unable to locate game data
if (results.empty()) {
warning("ScummEngine: unable to locate game data at path '%s'", dir.path().c_str());
return kNoGameDataFoundError;
}

View File

@ -113,7 +113,6 @@ PluginError Engine_SWORD2_create(OSystem *syst, Engine **engine) {
FSList fslist;
FilesystemNode dir(ConfMan.get("path"));
if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) {
warning("Sword2Engine: invalid game path '%s'", dir.path().c_str());
return kInvalidPathError;
}
@ -128,7 +127,6 @@ PluginError Engine_SWORD2_create(OSystem *syst, Engine **engine) {
}
}
warning("Sword2Engine: Unable to locate game data at path '%s'", dir.path().c_str());
return kNoGameDataFoundError;
}

View File

@ -138,12 +138,10 @@ PluginError Engine_TOUCHE_create(OSystem *system, Engine **engine) {
FSList fslist;
FilesystemNode dir(ConfMan.get("path"));
if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) {
warning("ToucheEngine: invalid game path '%s'", dir.path().c_str());
return kInvalidPathError;
}
DetectedGameList game = Engine_TOUCHE_detectGames(fslist);
if (game.size() != 1) {
warning("ToucheEngine: Unable to locate game data in '%s'", dir.path().c_str());
return kNoGameDataFoundError;
}
assert(engine);