|
|
/* $Id$ */
|
|
|
|
|
|
/** @file splash.cpp Splash screen support for OSX. */
|
|
|
|
|
|
#include "../../stdafx.h"
|
|
|
#include "../../openttd.h"
|
|
|
#include "../../variables.h"
|
|
|
#include "../../debug.h"
|
|
|
#include "../../gfx_func.h"
|
|
|
#include "../../fileio.h"
|
|
|
#include "../../fileio_func.h"
|
|
|
#include "../../blitter/factory.hpp"
|
|
|
|
|
|
#include "splash.h"
|
|
|
|
|
|
#ifdef WITH_PNG
|
|
|
|
|
|
#include <png.h>
|
|
|
|
|
|
static void PNGAPI png_my_error(png_structp png_ptr, png_const_charp message)
|
|
|
{
|
|
|
DEBUG(misc, 0, "[libpng] error: %s - %s", message, (char *)png_get_error_ptr(png_ptr));
|
|
|
longjmp(png_ptr->jmpbuf, 1);
|