pioneerspacesim/pioneer — pull request #1362 by Luomu (2012-07-14 16:59:51+00:00)
Title: Use a MessageBox to show errors on Windows

On Windows, use a system MessageBox to show errors that previously used ShowBadError, "red screen of death".
Also, make GLSL errors more visible to users, and make errors and warnings more visible to developers.

Other platforms still use the classic ShowBadError. Maybe we could copy some code from ioQuake3 (Sys_Dialog):
http://svn.icculus.org/quake3/trunk/code/sys/sys_unix.c?revision=2300&view=markup
http://svn.icculus.org/quake3/trunk/code/sys/sys_osx.m?revision=2253&view=markup

There are a couple of messages in GameLoaderSaver that use ShowBadError directly, I didn't change those.