File diff r2162:7c64e21f12f9 → r2163:ae001e2aa5b0
sdl.c
Show inline comments
 
#include "stdafx.h"
 

	
 
#if defined(WITH_SDL)
 
#include "openttd.h"
 
#include "debug.h"
 
#include "functions.h"
 
#include "gfx.h"
 
#include "mixer.h"
 
#include "window.h"
 
#include <SDL.h>
 
#include "player.h"
 
#include "hal.h"
 
#include "network.h"
 
#include "variables.h"
 

	
 
#ifdef UNIX
 
#include <signal.h>
 

	
 
#ifdef __MORPHOS__
 
	// The system supplied definition of SIG_DFL is wrong on MorphOS
 
	#undef SIG_DFL
 
	#define SIG_DFL (void (*)(int))0
 
#endif
 
#endif
 

	
 
#define DYNAMICALLY_LOADED_SDL
 

	
 
static SDL_Surface *_sdl_screen;
 
static int _sdl_usage;
 
static bool _all_modes;