diff options
| author | Eugene Sandulenko | 2005-04-05 18:49:58 +0000 | 
|---|---|---|
| committer | Eugene Sandulenko | 2005-04-05 18:49:58 +0000 | 
| commit | 97a84cb18cd03749953acecc14decf22967d1f67 (patch) | |
| tree | 6b65bc1e9281e72ce2c604e70818a3be03498366 | |
| parent | 0ddbcc78452a3391a529f5b493203a77fcf6dad2 (diff) | |
| download | scummvm-rg350-97a84cb18cd03749953acecc14decf22967d1f67.tar.gz scummvm-rg350-97a84cb18cd03749953acecc14decf22967d1f67.tar.bz2 scummvm-rg350-97a84cb18cd03749953acecc14decf22967d1f67.zip | |
Separate game initialization and game running little more. Though probably it needs more work.
svn-id: r17402
| -rw-r--r-- | gob/gob.cpp | 19 | 
1 files changed, 2 insertions, 17 deletions
| diff --git a/gob/gob.cpp b/gob/gob.cpp index 8d1eee6afc..dbcfa9e22f 100644 --- a/gob/gob.cpp +++ b/gob/gob.cpp @@ -1,5 +1,5 @@  /* ScummVM - Scumm Interpreter - * Copyright (C) 2004 The ScummVM project + * Copyright (C) 2004-2005 The ScummVM project   *   * This program is free software; you can redistribute it and/or   * modify it under the terms of the GNU General Public License @@ -97,26 +97,11 @@ int GobEngine::init(GameDetector &detector) {  	soundFlags = 0;  	language = 5; -	init_initGame(0); -  	return 0;  }  int GobEngine::go() { -	for (;;) { -		OSystem::Event event; -		while (g_system->pollEvent(event)) { -			switch (event.type) { -				case OSystem::EVENT_QUIT: -					g_system->quit(); -					break; -				default: -					break; -			} -		} -		debug(0, "Main loop"); -		_system->delayMillis(10); -	} +	init_initGame(0);  	return 0;  } | 
