X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=cd_null.c;h=d639614f4ba4e33d49150620b2e8e94574ad6a1c;hb=289c7a92093bb1451fc665cb33f235d911eea413;hp=d5eeec8ad203b42258d8fdcbc46bab7ee587a6dc;hpb=62aa75f9c036135e81a85db85db00394aa80d575;p=xonotic%2Fdarkplaces.git diff --git a/cd_null.c b/cd_null.c index d5eeec8a..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,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 (unsigned char 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) +{ +}