OpenTTD
Functions
splash.cpp File Reference

Splash screen support for OSX. More...

#include "../../stdafx.h"
#include "../../openttd.h"
#include "../../debug.h"
#include "../../gfx_func.h"
#include "../../fileio_func.h"
#include "../../blitter/factory.hpp"
#include "../../core/mem_func.hpp"
#include "splash.h"
#include <png.h>
#include "../../safeguards.h"

Go to the source code of this file.

Functions

static void PNGAPI png_my_error (png_structp png_ptr, png_const_charp message)
 Handle pnglib error.
static void PNGAPI png_my_warning (png_structp png_ptr, png_const_charp message)
 Handle warning in pnglib.
void DisplaySplashImage ()
 Display a splash image shown on startup (WITH_PNG).

Detailed Description

Splash screen support for OSX.

Definition in file splash.cpp.

Function Documentation

static void PNGAPI png_my_error ( png_structp  png_ptr,
png_const_charp  message 
)
static

Handle pnglib error.

Parameters
png_ptrPointer to png struct.
messageError message text.

Definition at line 34 of file splash.cpp.

References DEBUG.

Referenced by DisplaySplashImage(), and MakePNGImage().

static void PNGAPI png_my_warning ( png_structp  png_ptr,
png_const_charp  message 
)
static

Handle warning in pnglib.

Parameters
png_ptrPointer to png struct.
messageWarning message text.

Definition at line 46 of file splash.cpp.

References DEBUG.

Referenced by DisplaySplashImage(), and MakePNGImage().