warzone2100/lib/gamelib
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 broken sources after 'make clean' in tarball generated by 'make dist'. Reported by 'JimPansen' in the forums. 2009-06-09 23:44:11 +02:00
anim.c Make sure pointer is valid before attempting to remove it from the list. 2009-06-09 23:44:24 +02:00
anim.h
animobj.c Add a new debug flag type, LOG_FATAL. 2009-11-22 16:19:51 +01:00
animobj.h
audp_lexer.l
audp_parser.y
gamelib.vcproj
gtime.c
gtime.h
hashtable.c
hashtable.h
makefile.win32
parser.h