X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap.h;h=8c19d74c27e3e1b537c3e26365fd831c74a604f3;hb=864c93e01ec366f730b3ebad08d5c52d6a9363b6;hp=55eddfce3f0a182aa94b945d6565c3e5e49711fd;hpb=495f8b77cb935fe8eff81bec755efca8e34e8a99;p=supertux.git diff --git a/src/worldmap.h b/src/worldmap.h index 55eddfce3..8c19d74c2 100644 --- a/src/worldmap.h +++ b/src/worldmap.h @@ -26,15 +26,13 @@ #include "audio/musicref.h" #include "video/screen.h" #include "lisp/lisp.h" +#include "control/controller.h" #include "statistics.h" #include "timer.h" #include "tile_manager.h" -namespace SuperTux { - class Menu; - class Sprite; -} - +class Sprite; +class Menu; extern Menu* worldmap_menu; namespace WorldMapNS { @@ -68,6 +66,7 @@ public: private: WorldMap* worldmap; Sprite* tux_sprite; + Controller* controller; Direction input_direction; Direction direction; @@ -179,7 +178,7 @@ public: }; /** Variables to deal with the passive map messages */ - Timer2 passive_message_timer; + Timer passive_message_timer; std::string passive_message; private: @@ -194,8 +193,6 @@ private: MusicRef song; - bool enter_level; - Vector offset; std::string savegame_file;