[Scummvm-cvs-logs] SF.net SVN: scummvm:[52029] scummvm/branches/gsoc2010-opengl/backends

vgvgf at users.sourceforge.net vgvgf at users.sourceforge.net
Thu Aug 12 08:30:27 CEST 2010


Revision: 52029
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52029&view=rev
Author:   vgvgf
Date:     2010-08-12 06:30:26 +0000 (Thu, 12 Aug 2010)

Log Message:
-----------
SDL: Make use of SDL_BACKEND instead of platform specific defines.

Modified Paths:
--------------
    scummvm/branches/gsoc2010-opengl/backends/audiocd/sdl/sdl-audiocd.cpp
    scummvm/branches/gsoc2010-opengl/backends/events/sdl/sdl-events.cpp
    scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp
    scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp
    scummvm/branches/gsoc2010-opengl/backends/mixer/sdl/sdl-mixer.cpp
    scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp
    scummvm/branches/gsoc2010-opengl/backends/timer/sdl/sdl-timer.cpp

Modified: scummvm/branches/gsoc2010-opengl/backends/audiocd/sdl/sdl-audiocd.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/audiocd/sdl/sdl-audiocd.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/audiocd/sdl/sdl-audiocd.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -23,7 +23,7 @@
  *
  */
 
-#if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined(__SYMBIAN32__)
+#if defined(SDL_BACKEND)
 
 #include "backends/audiocd/sdl/sdl-audiocd.h"
 

Modified: scummvm/branches/gsoc2010-opengl/backends/events/sdl/sdl-events.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/events/sdl/sdl-events.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/events/sdl/sdl-events.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -23,7 +23,7 @@
  *
  */
 
-#if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined(__SYMBIAN32__)
+#if defined(SDL_BACKEND)
 
 #include "backends/events/sdl/sdl-events.h"
 #include "backends/platform/sdl/sdl.h"

Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/openglsdl/openglsdl-graphics.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -23,7 +23,7 @@
  *
  */
 
-#if defined(USE_OPENGL)
+#if defined(SDL_BACKEND) && defined(USE_OPENGL)
 
 #include "backends/graphics/openglsdl/openglsdl-graphics.h"
 #include "backends/platform/sdl/sdl.h"

Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -23,7 +23,7 @@
  *
  */
 
-#if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined (__SYMBIAN32__)
+#if defined(SDL_BACKEND)
 
 #include "backends/graphics/sdl/sdl-graphics.h"
 #include "backends/events/sdl/sdl-events.h"

Modified: scummvm/branches/gsoc2010-opengl/backends/mixer/sdl/sdl-mixer.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/mixer/sdl/sdl-mixer.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/mixer/sdl/sdl-mixer.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -23,7 +23,7 @@
  *
  */
 
-#if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined (__SYMBIAN32__)
+#if defined(SDL_BACKEND)
 
 #include "backends/mixer/sdl/sdl-mixer.h"
 #include "common/system.h"

Modified: scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -23,7 +23,7 @@
  *
  */
 
-#if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined(__SYMBIAN32__)
+#if defined(SDL_BACKEND)
 
 #include "backends/mutex/sdl/sdl-mutex.h"
 

Modified: scummvm/branches/gsoc2010-opengl/backends/timer/sdl/sdl-timer.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/timer/sdl/sdl-timer.cpp	2010-08-12 06:21:43 UTC (rev 52028)
+++ scummvm/branches/gsoc2010-opengl/backends/timer/sdl/sdl-timer.cpp	2010-08-12 06:30:26 UTC (rev 52029)
@@ -24,7 +24,7 @@
  *
  */
 
-#if defined(WIN32) || defined(UNIX) || defined(MACOSX) || defined (__SYMBIAN32__)
+#if defined(SDL_BACKEND)
 
 #include "backends/timer/sdl/sdl-timer.h"
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list