]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_null.c
eliminated qbyte type, now uses unsigned char throughout the engine for this purpose
[xonotic/darkplaces.git] / cd_null.c
index 4d6667d3bf7a27d8cd85d26ac15f8fc1447e03db..d639614f4ba4e33d49150620b2e8e94574ad6a1c 100644 (file)
--- a/cd_null.c
+++ b/cd_null.c
@@ -8,7 +8,7 @@ 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.  
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See the GNU General Public License for more details.
 
@@ -17,42 +17,74 @@ 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"
 
-qboolean cdaudioinitialized = false;
 
-void CDAudio_Play(qbyte track, qboolean looping)
+void CDAudio_SysEject (void)
+{
+}
+
+
+void CDAudio_SysCloseDoor (void)
+{
+}
+
+
+int CDAudio_SysGetAudioDiskInfo (void)
+{
+       return -1;
+}
+
+
+float CDAudio_SysGetVolume (void)
 {
+       return -1.0f;
 }
 
 
-void CDAudio_Stop(void)
+void CDAudio_SysSetVolume (float volume)
 {
 }
 
 
-void CDAudio_Pause(void)
+int CDAudio_SysPlay (unsigned char track)
 {
+       return -1;
 }
 
 
-void CDAudio_Resume(void)
+int CDAudio_SysStop (void)
 {
+       return -1;
 }
 
 
-void CDAudio_Update(void)
+int CDAudio_SysPause (void)
 {
+       return -1;
 }
 
+int CDAudio_SysResume (void)
+{
+       return -1;
+}
 
-int CDAudio_Init(void)
+int CDAudio_SysUpdate (void)
 {
-       return 0;
+       return -1;
 }
 
 
-void CDAudio_Shutdown(void)
+void CDAudio_SysInit (void)
 {
 }
 
+int CDAudio_SysStartup (void)
+{
+       return -1;
+}
+
+void CDAudio_SysShutdown (void)
+{
+}