dquakeplus/source/cdaudio.h
Tyler Young 59c1fedaf0
Start unification of QuakeGX (#33)
* Start unification of QuakeGX

* silence warning

* Unify draw header

* Add mathlib and pr_cmds to unified list

* add view and wad to unified files

* Fix rumble not being multiplayer safe on Wii

* host.c unified

* various merge cleanups

* Remove unnecessary ifdefs

* properly document ifdef

* console.c unified

* update paths and folder structure for wii

* protection against some crashes on wii

* Change scale to accept floats

* merge cl_hud.c

* Cleaup cl_hud merger and fix an input bug

* Upload GX specific files

* Remove duplicate file

* Upload Makefile.wii and fix ctr/psp compile errors

* Update Makefile to use the same build folder as other systems

* Removed references to SetDlightColor and fixed ifdefs

* Clean up host.c and quakedef.h

* Clean up sv_main.c

* Cleanup and document view.c

* Cleanup wad.c
2024-12-24 15:00:12 -05:00

36 lines
No EOL
1.2 KiB
C

/*
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.
*/
int CDAudio_Init(void);
void CDAudio_Play(byte track, qboolean looping);
#ifndef _3DS
void CDAudio_PlayFromString(char* track_name, qboolean looping);
#endif // _3DS
void CDAudio_Stop(void);
void CDAudio_Pause(void);
void CDAudio_Resume(void);
void CDAudio_Shutdown(void);
void CDAudio_Update(void);
#ifdef __PSP__
void CDAudio_Next(void);
void CDAudio_Prev(void);
void CDAudio_PrintMusicList(void);
void CDAudio_Track(char* trackname);
#endif // __PSP__