X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cd_null.c;h=d639614f4ba4e33d49150620b2e8e94574ad6a1c;hb=289c7a92093bb1451fc665cb33f235d911eea413;hp=4d6667d3bf7a27d8cd85d26ac15f8fc1447e03db;hpb=a086c43694383259fc5dc8be5cb904f547415e63;p=xonotic%2Fdarkplaces.git diff --git a/cd_null.c b/cd_null.c index 4d6667d3..d639614f 100644 --- 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) +{ +}