#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
#define DYNAMICALLY_LOADED_SDL
static SDL_Surface *_sdl_screen;
static int _sdl_usage;
static bool _all_modes;