Initial support for "haptic" (force feedback) devices.
[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 "control/haptic_manager.hpp"
18 #include "supertux/globals.hpp"
19 #include <tinygettext/tinygettext.hpp>
20
21 SDL_Surface* g_screen;
22 JoystickKeyboardController* g_main_controller = 0;
23 HapticManager* g_haptic_manager = 0;
24 tinygettext::DictionaryManager* dictionary_manager = 0;
25
26 int SCREEN_WIDTH;
27 int SCREEN_HEIGHT;
28
29 ScreenManager* g_screen_manager = 0;
30
31 TextureManager* texture_manager = 0;
32
33 SoundManager* sound_manager = 0;
34
35 Config* g_config = 0;
36
37 float game_time = 0;
38 float real_time = 0;
39
40 TileManager* tile_manager    = NULL;
41 TileSet*     current_tileset = NULL;
42
43 SpriteManager* sprite_manager = NULL;
44
45 float g_game_speed = 1.0f;
46
47 /* EOF */