// SuperTux
-// Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
+// Copyright (C) 2009 Ingo Ruhnke <grumbel@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#ifndef HEADER_SUPERTUX_SUPERTUX_GLOBALS_HPP
#define HEADER_SUPERTUX_SUPERTUX_GLOBALS_HPP
-#include <SDL.h>
+#include <memory>
+
+class Config;
+class TileSet;
/** The width of the display (this is a logical value, not the
physical value, since aspect_ration and projection_area might
shrink or scale things) */
extern int SCREEN_HEIGHT;
-// global variables
-class JoystickKeyboardController;
-extern JoystickKeyboardController* g_main_controller;
+extern std::unique_ptr<Config> g_config;
+
+extern float game_time;
+extern float real_time;
+
+/** this is only set while loading a map */
+extern TileSet* current_tileset;
-extern SDL_Surface* g_screen;
+extern float g_game_speed;
#endif