From 62aa75f9c036135e81a85db85db00394aa80d575 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Fri, 7 Jun 2002 19:03:35 +0000 Subject: [PATCH] added back this file from stock quake, so people can build with no CD audio if desired... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1919 d7cf8633-e32d-0410-b094-e92efae38249 --- cd_null.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 cd_null.c diff --git a/cd_null.c b/cd_null.c new file mode 100644 index 00000000..d5eeec8a --- /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 -- 2.39.2