[Scummvm-cvs-logs] SF.net SVN: scummvm: [28288] scummvm/trunk/engines/parallaction/sound.h

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Jul 29 16:23:27 CEST 2007


Revision: 28288
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28288&view=rev
Author:   peres001
Date:     2007-07-29 07:23:26 -0700 (Sun, 29 Jul 2007)

Log Message:
-----------
Added dummy SoundMan to help with integration of Big Red Adventure.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/sound.h

Modified: scummvm/trunk/engines/parallaction/sound.h
===================================================================
--- scummvm/trunk/engines/parallaction/sound.h	2007-07-29 11:37:27 UTC (rev 28287)
+++ scummvm/trunk/engines/parallaction/sound.h	2007-07-29 14:23:26 UTC (rev 28288)
@@ -108,6 +108,22 @@
 	void playLocationMusic(const char *location);
 };
 
+class DummySoundMan : public SoundMan {
+
+public:
+	DummySoundMan(Parallaction *vm) : SoundMan(vm) { }
+	~DummySoundMan()  { }
+	void playMusic()  { }
+	void stopMusic()  { }
+
+	void playSfx(const char *filename, uint channel, bool looping, int volume, int rate)  { }
+	void stopSfx(uint channel)  { }
+
+	void playCharacterMusic(const char *character)  { }
+	void playLocationMusic(const char *location)  { }
+
+};
+
 } // namespace Parallaction
 
 #endif


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