Implemented the read resource index as the first virtual fonction...

svn-id: r3803
This commit is contained in:
Vincent Hamm 2002-03-23 22:03:35 +00:00
parent ccf69ad76b
commit e63a818d21
4 changed files with 13 additions and 15 deletions

11
sdl.cpp
View file

@ -919,8 +919,15 @@ int main(int argc, char* argv[]) {
#endif
detecter.detectMain(argc, argv);
scumm = new Scumm;
if( detecter._features & GF_AFTER_V7 ) // not final implementation. This is just a test
scumm = new Scumm_v7;
else
if( detecter._features & GF_OLD256 )
scumm = new Scumm_v3;
else
scumm = new Scumm;
scumm->_fullScreen = detecter._fullScreen;
scumm->_debugMode = detecter._debugMode;