]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added back this file from stock quake, so people can build with no CD audio if desired...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 7 Jun 2002 19:03:35 +0000 (19:03 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 7 Jun 2002 19:03:35 +0000 (19:03 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1919 d7cf8633-e32d-0410-b094-e92efae38249

cd_null.c [new file with mode: 0644]

diff --git a/cd_null.c b/cd_null.c
new file mode 100644 (file)
index 0000000..d5eeec8
--- /dev/null
+++ b/cd_null.c
@@ -0,0 +1,55 @@
+/*
+Copyright (C) 1996-1997 Id Software, Inc.
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+
+See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
+*/
+#include "quakedef.h"
+
+void CDAudio_Play(byte track, qboolean looping)
+{
+}
+
+
+void CDAudio_Stop(void)
+{
+}
+
+
+void CDAudio_Pause(void)
+{
+}
+
+
+void CDAudio_Resume(void)
+{
+}
+
+
+void CDAudio_Update(void)
+{
+}
+
+
+int CDAudio_Init(void)
+{
+       return 0;
+}
+
+
+void CDAudio_Shutdown(void)
+{
+}
\ No newline at end of file