make some prints developer

This commit is contained in:
Bill Currie 2004-01-21 02:59:09 +00:00
parent d5a33c9545
commit 93b01bdf25

View file

@ -91,7 +91,7 @@ static plitem_t *tracklist = NULL; // the parsed tracklist
static void static void
I_OGGMus_CloseDoor (void) I_OGGMus_CloseDoor (void)
{ {
Sys_Printf ("Entering I_OGGMus_CloseDoor\n"); Sys_DPrintf ("Entering I_OGGMus_CloseDoor\n");
return; return;
} }
@ -99,7 +99,7 @@ I_OGGMus_CloseDoor (void)
static void static void
I_OGGMus_Eject (void) I_OGGMus_Eject (void)
{ {
Sys_Printf ("Entering I_OGGMus_Eject\n"); Sys_DPrintf ("Entering I_OGGMus_Eject\n");
return; return;
} }
@ -112,7 +112,7 @@ I_OGGMus_GetAudioDiskInfo (void)
int size = -1; int size = -1;
char *buffile = NULL; char *buffile = NULL;
Sys_Printf ("Entering I_OGGMus_GetAudioDiskInfo\n"); Sys_DPrintf ("Entering I_OGGMus_GetAudioDiskInfo\n");
ogglistvalid = false; ogglistvalid = false;
if (oggfile == NULL) { if (oggfile == NULL) {
@ -140,7 +140,7 @@ I_OGGMus_GetAudioDiskInfo (void)
static void static void
I_OGGMus_Pause (void) I_OGGMus_Pause (void)
{ {
Sys_Printf ("Entering I_OGGMus_Pause\n"); Sys_DPrintf ("Entering I_OGGMus_Pause\n");
/* pause the ogg playback. */ /* pause the ogg playback. */
/* just kinda cheat and stop it for the time being */ /* just kinda cheat and stop it for the time being */
if (tracklist == NULL || !mus_enabled) if (tracklist == NULL || !mus_enabled)
@ -157,7 +157,7 @@ I_OGGMus_Pause (void)
static void static void
I_OGGMus_Stop (void) I_OGGMus_Stop (void)
{ {
Sys_Printf ("Entering I_OGGMus_Stop\n"); Sys_DPrintf ("Entering I_OGGMus_Stop\n");
/* okay, stop playing oggs. */ /* okay, stop playing oggs. */
if (tracklist == NULL || !mus_enabled) if (tracklist == NULL || !mus_enabled)
return; return;
@ -178,7 +178,7 @@ I_OGGMus_Play (int track, qboolean looping)
dstring_t *trackstring = dstring_new (); dstring_t *trackstring = dstring_new ();
wavinfo_t *info; wavinfo_t *info;
Sys_Printf ("Entering I_OGGMus_Play\n"); Sys_DPrintf ("Entering I_OGGMus_Play\n");
/* alrighty. grab the list, map track to filename. grab filename from data /* alrighty. grab the list, map track to filename. grab filename from data
resources, attach sound to play, loop. */ resources, attach sound to play, loop. */
if (tracklist == NULL || !mus_enabled) { if (tracklist == NULL || !mus_enabled) {
@ -224,7 +224,7 @@ I_OGGMus_Play (int track, qboolean looping)
static void static void
I_OGGMus_Resume (void) I_OGGMus_Resume (void)
{ {
Sys_Printf ("Entering I_OGGMus_Resume\n"); Sys_DPrintf ("Entering I_OGGMus_Resume\n");
if (tracklist == NULL || !mus_enabled) if (tracklist == NULL || !mus_enabled)
return; return;
@ -237,7 +237,7 @@ I_OGGMus_Resume (void)
static void static void
I_OGGMus_Shutdown (void) I_OGGMus_Shutdown (void)
{ {
Sys_Printf ("Entering I_OGGMus_Shutdown\n"); Sys_DPrintf ("Entering I_OGGMus_Shutdown\n");
/* clean up a bit, destroy the ogg if i have to */ /* clean up a bit, destroy the ogg if i have to */
if (tracklist != NULL) { if (tracklist != NULL) {
@ -261,7 +261,7 @@ I_OGGMus_Info (void)
plitem_t *currenttrack = NULL; plitem_t *currenttrack = NULL;
int iter = 0; int iter = 0;
Sys_Printf ("Entering I_OGGMus_Info\n"); Sys_DPrintf ("Entering I_OGGMus_Info\n");
if (tracklist != NULL) { if (tracklist != NULL) {
keylist = PL_D_AllKeys (tracklist); keylist = PL_D_AllKeys (tracklist);
@ -307,7 +307,7 @@ I_OGG_f (void)
{ {
const char *command; const char *command;
Sys_Printf ("Entering I_OGG_f\n"); Sys_DPrintf ("Entering I_OGG_f\n");
if (Cmd_Argc () < 2) if (Cmd_Argc () < 2)
return; return;
@ -401,7 +401,7 @@ Mus_OggChange (cvar_t *mus_ogglist)
{ {
int size; int size;
Sys_Printf ("Entering Mus_OggChange\n"); Sys_DPrintf ("Entering Mus_OggChange\n");
/* make sure we're not playing anything right now, and we've cleaned up */ /* make sure we're not playing anything right now, and we've cleaned up */
CDAudio_Shutdown (); CDAudio_Shutdown ();
@ -433,7 +433,7 @@ Mus_OggChange (cvar_t *mus_ogglist)
static void static void
Mus_VolChange (cvar_t *bgmvolume) Mus_VolChange (cvar_t *bgmvolume)
{ {
Sys_Printf ("Entering Mus_VolChange\n"); Sys_DPrintf ("Entering Mus_VolChange\n");
if (cd_channel->sfx) { if (cd_channel->sfx) {
int vol = bgmvolume->value * 255; int vol = bgmvolume->value * 255;
@ -445,7 +445,7 @@ Mus_VolChange (cvar_t *bgmvolume)
static void static void
I_OGGMus_Init (void) I_OGGMus_Init (void)
{ {
Sys_Printf ("Entering I_OGGMus_Init\n"); Sys_DPrintf ("Entering I_OGGMus_Init\n");
cd_channel = S_AllocChannel (); cd_channel = S_AllocChannel ();