#include "SDL_config_psp.h"
#else
/* This is a minimal configuration just to get SDL running on new platforms */
-#include "SDL_config_minimal.h"
+#include <SDL2/SDL_config_minimal.h>
#endif /* platform config */
#ifdef USING_GENERATED_CONFIG_H
#include "supertux/resources.hpp"
#include "supertux/timer.hpp"
#include "video/font.hpp"
+#include <stdio.h>
static const float FLICK_CURSOR_TIME = 0.5f;
#include <sstream>
#include <stdexcept>
#include <assert.h>
+#include <stdio.h>
#include "util/log.hpp"
#include <binreloc.h>
#include <tinygettext/log.hpp>
#include <boost/format.hpp>
+#include <stdio.h>
extern "C" {
#include <findlocale.h>
}
#include <algorithm>
#include <sstream>
+#include <stdio.h>
enum OptionsMenuIDs {
MNID_FULLSCREEN,
#include "video/drawing_context.hpp"
#include "video/renderer.hpp"
+#include <stdio.h>
/** ticks (as returned from SDL_GetTicks) per frame */
static const Uint32 TICKS_PER_FRAME = (Uint32) (1000.0 / LOGICAL_FPS);
/** don't skip more than every 2nd frame */
denominator(),
LIGHTMAP_DIV()
{
- screen = SDL_GetVideoSurface();
+ screen = SDL_GetWindowSurface(SDL_GetMouseFocus());
//float xfactor = 1.0f; // FIXME: (float) config->screenwidth / SCREEN_WIDTH;
//float yfactor = 1.0f; // FIXME: (float) config->screenheight / SCREEN_HEIGHT;