SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'

svn-id: r49968
This commit is contained in:
Max Horn 2010-06-17 23:14:34 +00:00
parent 78cd1aa145
commit 359be0c066
11 changed files with 28 additions and 33 deletions

View file

@ -97,9 +97,9 @@ GfxScreen::GfxScreen(ResourceManager *resMan, int16 width, int16 height, int ups
if (_resMan->isSci11Mac() && getSciVersion() == SCI_VERSION_1_1) {
// For SCI1.1 Mac, we need to expand the screen to accommodate for
// the icon bar. Of course, both KQ6 and QFG1 VGA differ in size.
if (!scumm_stricmp(g_sci->getGameID(), "kq6"))
if (g_sci->getGameId() == "kq6")
initGraphics(_displayWidth, _displayHeight + 26, _displayWidth > 320);
else if (!scumm_stricmp(g_sci->getGameID(), "qfg1"))
else if (g_sci->getGameId() == "qfg1")
initGraphics(_displayWidth, _displayHeight + 20, _displayWidth > 320);
else
error("Unknown SCI1.1 Mac game");