[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.94,1.95

Max Horn fingolfin at users.sourceforge.net
Tue Apr 19 13:23:21 CEST 2005


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

Modified Files:
	system.h 
Log Message:
Added new (optional) OSystem::initBackend() method; this (and its usage) fixes bugs #1160977 and #1184664

Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- system.h	3 Apr 2005 21:38:39 -0000	1.94
+++ system.h	19 Apr 2005 20:22:48 -0000	1.95
@@ -47,6 +47,12 @@
 
 public:
 	
+	/**
+	 * The following method is called once, from main.cpp, after all
+	 * config data (including command line params etc.) are fully loaded.
+	 */
+	virtual void initBackend() { }
+	
 	/** @name Feature flags */
 	//@{
 	





More information about the Scummvm-git-logs mailing list