Patch for multiple joysticks from const86 <const@mimas.ru>
[supertux.git] / src / supertux / globals.cpp
1 //  SuperTux
2 //  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
3 //
4 //  This program is free software: you can redistribute it and/or modify
5 //  it under the terms of the GNU General Public License as published by
6 //  the Free Software Foundation, either version 3 of the License, or
7 //  (at your option) any later version.
8 //
9 //  This program is distributed in the hope that it will be useful,
10 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 //  GNU General Public License for more details.
13 //
14 //  You should have received a copy of the GNU General Public License
15 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 #include "supertux/globals.hpp"
18 #include <tinygettext/tinygettext.hpp>
19
20 SDL_Surface* g_screen;
21 JoystickKeyboardController* g_jk_controller = 0;
22 tinygettext::DictionaryManager* dictionary_manager = 0;
23
24 int SCREEN_WIDTH;
25 int SCREEN_HEIGHT;
26
27 ScreenManager* g_screen_manager = 0;
28
29 TextureManager* texture_manager = 0;
30
31 SoundManager* sound_manager = 0;
32
33 Config* g_config = 0;
34
35 float game_time = 0;
36 float real_time = 0;
37
38 TileManager* tile_manager    = NULL;
39 TileSet*     current_tileset = NULL;
40
41 SpriteManager* sprite_manager = NULL;
42
43 float g_game_speed = 1.0f;
44
45 /* EOF */