[Scummvm-cvs-logs] CVS: scummvm/queen queen.cpp,1.3,1.4
Max Horn
fingolfin at users.sourceforge.net
Sun Oct 5 07:38:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv17277/queen
Modified Files:
queen.cpp
Log Message:
factor out common gfx_mode/fullscreen setup code from the game engines into the main code (maybe putting this into the Engine constructor would be better, though?)
Index: queen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/queen.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- queen.cpp 3 Oct 2003 19:47:41 -0000 1.3
+++ queen.cpp 5 Oct 2003 14:37:15 -0000 1.4
@@ -94,23 +94,9 @@
}
void QueenEngine::initialise(void) {
- OSystem::Property prop;
-
_queenResource = new QueenResource(_gameDataPath);
_queenLogic = new QueenLogic(_queenResource);
//_queenSound = new QueenSound(_mixer, _detector->_sfx_volume);
-
- // Override global scaler with any game-specific define
- if (g_config->get("gfx_mode")) {
- prop.gfx_mode = _detector->parseGraphicsMode(g_config->get("gfx_mode"));
- _system->property(OSystem::PROP_SET_GFX_MODE, &prop);
- }
-
- // Override global fullscreen setting with any game-specific define
- if (g_config->getBool("fullscreen", false)) {
- if (!_system->property(OSystem::PROP_GET_FULLSCREEN, 0))
- _system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0);
- }
}
void QueenEngine::delay(uint amount) {
More information about the Scummvm-git-logs
mailing list