X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=cdaudio.h;h=09099190e1fa2c4cd0a7b70de94fc8818fcd3595;hb=49f0e1cbc8bc4ea8a165e8b86092c40bf4599a8e;hp=e8519cd6d7efe695df40f7c92756628ac0589ff1;hpb=c4ee1bbcc6b2f917465f07269ad09942bbf40849;p=xonotic%2Fdarkplaces.git diff --git a/cdaudio.h b/cdaudio.h index e8519cd6..09099190 100644 --- a/cdaudio.h +++ b/cdaudio.h @@ -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. @@ -18,10 +18,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "qtypes.h" +#include "cvar.h" + +extern cvar_t cdaudioinitialized; + int CDAudio_Init(void); -void CDAudio_Play(qbyte track, qboolean looping); +void CDAudio_Play(int track, qbool looping); void CDAudio_Stop(void); void CDAudio_Pause(void); void CDAudio_Resume(void); +int CDAudio_Startup(void); void CDAudio_Shutdown(void); void CDAudio_Update(void); +float CDAudio_GetPosition(void);