Reports SDL version on startup (bug #520) - Mika,Nic
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1300 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.4:
|
||||
- Reports SDL version on startup (bug #520) - Mika,Nic
|
||||
- Fuel usage on planet landing is now reported correctly on all situations
|
||||
(bug #556), from Nic
|
||||
- Fine-grained control of menu sounds, "MenuSounds" global now
|
||||
|
||||
@@ -59,6 +59,9 @@ void
|
||||
TFB_PreInit (void)
|
||||
{
|
||||
fprintf (stderr, "Initializing base SDL functionality.\n");
|
||||
fprintf (stderr, "Using SDL version %d.%d.%d (compiled with %d.%d.%d)\n",
|
||||
SDL_Linked_Version ()->major, SDL_Linked_Version ()->minor, SDL_Linked_Version ()->patch,
|
||||
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
|
||||
if ((SDL_Init (SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) == -1))
|
||||
{
|
||||
fprintf (stderr, "Could not initialize SDL: %s.\n", SDL_GetError());
|
||||
|
||||
Reference in New Issue
Block a user