diff options
author | Simon Howard | 2005-08-04 21:48:32 +0000 |
---|---|---|
committer | Simon Howard | 2005-08-04 21:48:32 +0000 |
commit | 9fa822847de1c2d64b8e2186e9ec74277f28cc16 (patch) | |
tree | 170eb5bf0aba9307af2322336a19e65777d3a57f /src/d_main.c | |
parent | 186d0dd6efb317c4e983af04f939704ebd8e510a (diff) | |
download | chocolate-doom-9fa822847de1c2d64b8e2186e9ec74277f28cc16.tar.gz chocolate-doom-9fa822847de1c2d64b8e2186e9ec74277f28cc16.tar.bz2 chocolate-doom-9fa822847de1c2d64b8e2186e9ec74277f28cc16.zip |
Turn on compiler optimisation and warning options
Add SDL_mixer sound code
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 39
Diffstat (limited to 'src/d_main.c')
-rw-r--r-- | src/d_main.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/d_main.c b/src/d_main.c index aaed9a62..5a8ff2af 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: d_main.c 37 2005-08-04 18:42:15Z fraggle $ +// $Id: d_main.c 39 2005-08-04 21:48:32Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2005/08/04 21:48:32 fraggle +// Turn on compiler optimisation and warning options +// Add SDL_mixer sound code +// // Revision 1.3 2005/08/04 18:42:15 fraggle // Silence compiler warnings // @@ -41,7 +45,7 @@ //----------------------------------------------------------------------------- -static const char rcsid[] = "$Id: d_main.c 37 2005-08-04 18:42:15Z fraggle $"; +static const char rcsid[] = "$Id: d_main.c 39 2005-08-04 21:48:32Z fraggle $"; #define BGCOLOR 7 #define FGCOLOR 8 @@ -409,16 +413,6 @@ void D_DoomLoop (void) // Update display, next frame, with current state. D_Display (); - -#ifndef SNDSERV - // Sound mixing for the buffer is snychronous. - I_UpdateSound(); -#endif - // Synchronous sound output is explicitly called. -#ifndef SNDINTR - // Update sound output. - I_SubmitSound(); -#endif } } |