]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_null.c
experimental makefile option make DP_LINK_TO_JPEG=1 - use libjpeg.h instead of dynami...
[xonotic/darkplaces.git] / cd_null.c
index d5eeec8ad203b42258d8fdcbc46bab7ee587a6dc..18987ada4b78383725534ee4822945784a6c8f6c 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,39 +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"
 
-void CDAudio_Play(byte track, qboolean looping)
+
+void CDAudio_SysEject (void)
+{
+}
+
+
+void CDAudio_SysCloseDoor (void)
 {
 }
 
 
-void CDAudio_Stop(void)
+int CDAudio_SysGetAudioDiskInfo (void)
 {
+       return -1;
 }
 
 
-void CDAudio_Pause(void)
+float CDAudio_SysGetVolume (void)
 {
+       return -1.0f;
 }
 
 
-void CDAudio_Resume(void)
+void CDAudio_SysSetVolume (float volume)
 {
 }
 
 
-void CDAudio_Update(void)
+int CDAudio_SysPlay (int track)
 {
+       return -1;
 }
 
 
-int CDAudio_Init(void)
+int CDAudio_SysStop (void)
 {
-       return 0;
+       return -1;
 }
 
 
-void CDAudio_Shutdown(void)
+int CDAudio_SysPause (void)
+{
+       return -1;
+}
+
+int CDAudio_SysResume (void)
+{
+       return -1;
+}
+
+int CDAudio_SysUpdate (void)
 {
-}
\ No newline at end of file
+       return -1;
+}
+
+
+void CDAudio_SysInit (void)
+{
+}
+
+int CDAudio_SysStartup (void)
+{
+       return -1;
+}
+
+void CDAudio_SysShutdown (void)
+{
+}