warzone2100/lib/sound
Buginator 0aff0b46cf Add a new debug flag type, LOG_FATAL.
This is used to differentiate LOG_ERROR (which is a *non* fatal error, but a error none the less) and fatal errors which result in program termination with no *visible* output (on windows/macs) on our end because of the crappy GUI functions so we usually dump it to stderr.txt and there is no clue that the program had to exit for whatever reason.

Hopefully, this will be helpful to windows people so they can differentiate between *our* exit/abort routines, and crashes that occur in drivers which look exactly the same since they get dumped back to the desktop with no visible clue why.

LOG_FATAL is *always* on in both debug & release builds.

On LOG_FATAL debug lines, on windows, we now throw up a modal dialog box with the current error message.  At this time, this only happens when we have a error, and we use abort() right after the error, which makes it fatal.

That explains why this touches ~60 files :)


git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8320 4a71c877-e1ca-e34f-864e-861f7616d084
2009-11-22 16:19:51 +01:00
..
Makefile.am Fix some issues with 'make dist'. 2009-03-15 23:30:57 +00:00
aud.h partial revert of r5763 2009-09-28 22:21:01 +02:00
audio.c partial revert of r5763 2009-09-28 22:21:01 +02:00
audio.h Bump copyright 2009-02-10 18:01:48 +00:00
audio_id.c revert r3270 2009-09-28 22:21:01 +02:00
audio_id.h revert r3270 2009-09-28 22:21:01 +02:00
cdaudio.c Bump copyright 2009-02-10 18:01:48 +00:00
cdaudio.h Bump copyright 2009-02-10 18:01:48 +00:00
makefile.win32 * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
mixer.h Bump copyright 2009-02-10 18:01:48 +00:00
oggvorbis.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
oggvorbis.h Bump copyright 2009-02-10 18:01:48 +00:00
openal_error.c Bump copyright 2009-02-10 18:01:48 +00:00
openal_error.h Bump copyright 2009-02-10 18:01:48 +00:00
openal_track.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
playlist.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
playlist.h Bump copyright 2009-02-10 18:01:48 +00:00
sound.vcproj Reduce amount of junk in the MSVC compilation output by about 70%. 2008-03-23 22:15:28 +00:00
track.c When a "looped" sample has finished playing, we reset iAudioID, so the game adds the sample again into the queue. This is the way most other "looped" samples are currently handled by the game. (oil/power/factory steam, and so on) 2009-09-27 19:07:12 +02:00
track.h Commit the cleaned up version of Buginator's sound patch. Closes #770. 2009-09-27 19:07:09 +02:00
tracklib.h partial revert of r5763 2009-09-28 22:21:01 +02:00