Extra bloaty junk to modernise stuff a bit. https://fte.triptohell.info/moodles/qss/
Find a file
sezero f81f9f5e05 Under windows, run the game (windowed), go into a saved game,
press Esc to get the menu, minimize using the mouse on the
window's minimize icon and then restore and you'll have sound
all the same.  HOWEVER: If you minimize by pressing the icon
on the start bar, sound will be lost upon restoring. Or, if
you use alt-tab to get away from the game window the same will
happen. Or, if you run the game fullscreen and use alt-tab to
go to the desktop (alt-tab is the only way I know) you will
lose the sound again.  Here, we are probably are hitting an
SDL_APPACTIVE or SDL_APPINPUTFOCUS event more than once and
since the block counter goes > 1 we are not restoring properly.
For now, making snd_blocked to act as a boolean and not as a
counter fixes the issue.  Hmmm...

* main_sdl.c: Revert revision 238 change, no longer necessary.
* snd_dma.c: Make snd_blocked act as a boolean and not as a
counter.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@241 af15c1b1-3010-417e-b628-4374ebc0bcbd
2010-07-25 12:20:17 +00:00
Linux renamed main.c to main_sdl.c. 2010-04-24 15:21:59 +00:00
MacOSX MacOSX/QuakeSpasm.xcodeproj/ 2010-05-21 19:03:17 +00:00
Misc added fitzquake085.txt as a reference doc. split fitzquake080.txt into 2010-04-24 13:32:50 +00:00
Quake Under windows, run the game (windowed), go into a saved game, 2010-07-25 12:20:17 +00:00
Windows Windows/dirent.c: include stddef.h for MSVC to get intptr_t. 2010-07-25 08:28:27 +00:00
gnu.txt updated the copyleft file from ftp://ftp.gnu.org/gnu/Licenses/COPYING-2.0 2010-02-19 12:40:45 +00:00