]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_win.c
reorganized a lot of renderer variables into r_refdef, and split some things out...
[xonotic/darkplaces.git] / cd_win.c
index 2eec19acd684409a2be3b9682226bfbbcd4a7e5d..5b475496260eb5a1215c1e2079fe60c61a8bb601 100644 (file)
--- a/cd_win.c
+++ b/cd_win.c
@@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // rights reserved.
 
 #include <windows.h>
+#include <mmsystem.h>
 
 #include "quakedef.h"
 #include "cdaudio.h"
@@ -98,7 +99,7 @@ void CDAudio_SysSetVolume (float volume)
 }
 
 
-int CDAudio_SysPlay (qbyte track)
+int CDAudio_SysPlay (unsigned char track)
 {
        DWORD                           dwReturn;
        MCI_PLAY_PARMS          mciPlayParms;
@@ -187,7 +188,7 @@ int CDAudio_SysResume (void)
                Con_Printf("CDAudio_SysResume: MCI_PLAY failed (%i)\n", dwReturn);
                return -1;
        }
-       return 0;       
+       return 0;
 }
 
 LONG CDAudio_MessageHandler (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)