[Scummvm-cvs-logs] CVS: scummvm/gob gob.cpp,1.2,1.3

Eugene Sandulenko sev at users.sourceforge.net
Tue Apr 5 11:50:28 CEST 2005


Update of /cvsroot/scummvm/scummvm/gob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28526

Modified Files:
	gob.cpp 
Log Message:
Separate game initialization and game running little more. Though probably it needs more work.


Index: gob.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/gob.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gob.cpp	5 Apr 2005 16:38:58 -0000	1.2
+++ gob.cpp	5 Apr 2005 18:49:58 -0000	1.3
@@ -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 @@
 	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;
 }





More information about the Scummvm-git-logs mailing list