[Scummvm-cvs-logs] SF.net SVN: scummvm:[38361] scummvm/trunk/engines/sci

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Mon Feb 16 10:44:01 CET 2009


Revision: 38361
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38361&view=rev
Author:   Kirben
Date:     2009-02-16 09:44:00 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
SCUMMVM define no longer required.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/module.mk
    scummvm/trunk/engines/sci/sfx/device/devices.cpp
    scummvm/trunk/engines/sci/sfx/pcm_device/pcm_devices.cpp
    scummvm/trunk/engines/sci/sfx/seq/sequencers.cpp
    scummvm/trunk/engines/sci/sfx/timer/timers.cpp

Modified: scummvm/trunk/engines/sci/module.mk
===================================================================
--- scummvm/trunk/engines/sci/module.mk	2009-02-16 09:40:25 UTC (rev 38360)
+++ scummvm/trunk/engines/sci/module.mk	2009-02-16 09:44:00 UTC (rev 38361)
@@ -92,7 +92,6 @@
 
 # FIXME: The following is supposed to be a set of *temporary* hacks
 CXXFLAGS += -Wno-variadic-macros
-CPPFLAGS += -DSCUMMVM
 
 # Generate savegame.cpp
 $(srcdir)/engines/sci/engine/savegame.cpp: $(srcdir)/engines/sci/engine/savegame.cfsml

Modified: scummvm/trunk/engines/sci/sfx/device/devices.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/device/devices.cpp	2009-02-16 09:40:25 UTC (rev 38360)
+++ scummvm/trunk/engines/sci/sfx/device/devices.cpp	2009-02-16 09:44:00 UTC (rev 38361)
@@ -31,33 +31,9 @@
 #include "../device.h"
 #include <stdio.h>
 
-#ifndef SCUMMVM
-#ifdef HAVE_ALSA
-extern struct _midi_device sfx_device_midi_alsa;
-#endif
-#if !defined(WIN32) && !defined(__DC__) && !defined(__MORPHOS__) && !defined(ARM_WINCE) && !defined(_GP32)
-extern struct _midi_device sfx_device_midi_unixraw;
-#endif
-
-#ifdef HAVE_PROTO_CAMD_H
-extern struct _midi_device sfx_device_midi_camd;
-#endif
-#endif // SCUMMVM
-
 #include "sci/include/resource.h"
 
 static struct _midi_device *devices_midi[] = {
-#ifndef SCUMMVM
-#ifdef HAVE_PROTO_CAMD_H
-	&sfx_device_midi_camd,
-#endif
-#ifdef HAVE_ALSA
-	&sfx_device_midi_alsa,
-#endif
-#ifdef UNIX
-	&sfx_device_midi_unixraw,
-#endif
-#endif // SCUMMVM
 	NULL
 };
 

Modified: scummvm/trunk/engines/sci/sfx/pcm_device/pcm_devices.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/pcm_device/pcm_devices.cpp	2009-02-16 09:40:25 UTC (rev 38360)
+++ scummvm/trunk/engines/sci/sfx/pcm_device/pcm_devices.cpp	2009-02-16 09:44:00 UTC (rev 38361)
@@ -21,36 +21,12 @@
 #include "sci/include/resource.h"
 
 #ifndef NO_PCMOUT
-#ifdef SCUMMVM
 extern sfx_pcm_device_t sfx_pcm_driver_scummvm;
-#else // SCUMMVM
-#	ifdef HAVE_SDL
-extern sfx_pcm_device_t sfx_pcm_driver_sdl;
-#	endif
-#	ifdef HAVE_ALSA
-extern sfx_pcm_device_t sfx_pcm_driver_alsa;
-#	endif
-#	ifdef __DC__
-extern sfx_pcm_device_t sfx_pcm_driver_dc;
-#	endif
-#endif // SCUMMVM
 #endif
 
 sfx_pcm_device_t *pcmout_drivers[] = {
 #ifndef NO_PCMOUT
-#ifdef SCUMMVM
 	&sfx_pcm_driver_scummvm,
-#else // SCUMMVM
-#	ifdef HAVE_SDL
-	&sfx_pcm_driver_sdl,
-#	endif
-#	ifdef HAVE_ALSA
-	&sfx_pcm_driver_alsa,
-#	endif
-#	ifdef __DC__
-	&sfx_pcm_driver_dc,
-#	endif
-#endif // SCUMMVM
 #endif
 	NULL
 };

Modified: scummvm/trunk/engines/sci/sfx/seq/sequencers.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/seq/sequencers.cpp	2009-02-16 09:40:25 UTC (rev 38360)
+++ scummvm/trunk/engines/sci/sfx/seq/sequencers.cpp	2009-02-16 09:44:00 UTC (rev 38361)
@@ -28,22 +28,7 @@
 #include "../sequencer.h"
 #include "sci/include/resource.h"
 
-#ifndef SCUMMVM
-extern sfx_sequencer_t sfx_sequencer_gm;
-extern sfx_sequencer_t sfx_sequencer_mt32;
-#ifdef HAVE_SYS_SOUNDCARD_H
-extern sfx_sequencer_t sfx_sequencer_oss_adlib;
-#endif
-#endif // SCUMMVM
-
 sfx_sequencer_t *sfx_sequencers[] = {
-#ifndef SCUMMVM
-	&sfx_sequencer_gm,
-	&sfx_sequencer_mt32,
-#ifdef HAVE_SYS_SOUNDCARD_H
-	&sfx_sequencer_oss_adlib,
-#endif
-#endif // SCUMMVM
 	NULL
 };
 

Modified: scummvm/trunk/engines/sci/sfx/timer/timers.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/timer/timers.cpp	2009-02-16 09:40:25 UTC (rev 38360)
+++ scummvm/trunk/engines/sci/sfx/timer/timers.cpp	2009-02-16 09:44:00 UTC (rev 38361)
@@ -28,30 +28,10 @@
 #include "sci/include/sfx_timer.h"
 #include "sci/include/resource.h"
 
-#ifdef SCUMMVM
 extern sfx_timer_t sfx_timer_scummvm;
-#else // SCUMMVM
 
-#ifdef HAVE_SETITIMER
-extern sfx_timer_t sfx_timer_sigalrm;
-#endif
-
-#ifdef __DC__
-extern sfx_timer_t sfx_timer_pthread;
-#endif
-#endif // SCUMMVM
-
 sfx_timer_t *sfx_timers[] = {
-#ifdef SCUMMVM
 	&sfx_timer_scummvm,
-#else // SCUMMVM
-#ifdef HAVE_SETITIMER
-	&sfx_timer_sigalrm,
-#endif
-#ifdef __DC__
-	&sfx_timer_pthread,
-#endif
-#endif // SCUMMVM
 	NULL
 };
 


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