[Scummvm-cvs-logs] CVS: scummvm/backends/dc dc.h,1.27,1.28 display.cpp,1.21,1.22

Max Horn fingolfin at users.sourceforge.net
Sun Mar 14 16:58:16 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/dc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2293

Modified Files:
	dc.h display.cpp 
Log Message:
Added getDefaultGraphicsMode for DC backend

Index: dc.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/dc.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- dc.h	15 Mar 2004 00:45:44 -0000	1.27
+++ dc.h	15 Mar 2004 00:47:59 -0000	1.28
@@ -46,12 +46,15 @@
   // En-/disable the specified feature.
   void setFeatureState(Feature f, bool enable);
 
-  // Query the state of the specified feature. For example, test whether
+  // Query the state of the specified feature.
   bool getFeatureState(Feature f);
 
   // Retrieve a list of all graphics modes supported by this backend.
   const GraphicsMode *getSupportedGraphicsModes() const;
 
+  // Return the ID of the 'default' graphics mode.
+  int getDefaultGraphicsMode() const;
+
   // Switch to the specified graphics mode.
   bool setGraphicsMode(int mode);
 

Index: display.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/display.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- display.cpp	14 Mar 2004 22:16:22 -0000	1.21
+++ display.cpp	15 Mar 2004 00:47:59 -0000	1.22
@@ -575,6 +575,11 @@
   return gfxmodes;
 }
 
+int GraphicsMode *OSystem_Dreamcast::getDefaultGraphicsMode() const
+{
+  return 0;
+}
+
 bool OSystem_Dreamcast::setGraphicsMode(int mode)
 {
   return mode == 0;





More information about the Scummvm-git-logs mailing list