X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap.h;h=2018d85b28a67d14670ed8b3617dbd0265228abb;hb=8385faa306eca6d96ab11ed7dae293d85e9c4e4f;hp=f44ba506064c68736cfd0c97da02bd06a50adbd0;hpb=1db9b1a8cf477ba8a676eb2046342ae02c3d3b96;p=supertux.git diff --git a/src/worldmap.h b/src/worldmap.h index f44ba5060..2018d85b2 100644 --- a/src/worldmap.h +++ b/src/worldmap.h @@ -27,7 +27,11 @@ #include "audio/musicref.h" #include "video/screen.h" #include "statistics.h" -#include "special/timer.h" +#include "timer.h" + +namespace SuperTux { + class Menu; +} extern Menu* worldmap_menu; @@ -56,7 +60,7 @@ public: void draw(DrawingContext& context, Vector pos); std::vector images; - int anim_speed; + float anim_fps; // Directions in which Tux is allowed to walk from this tile bool north; @@ -216,7 +220,7 @@ public: }; /** Variables to deal with the passive map messages */ - Timer passive_message_timer; + Timer2 passive_message_timer; std::string passive_message; private: @@ -244,8 +248,6 @@ private: Statistics total_stats; void calculate_total_stats(); - Timer frame_timer; - public: WorldMap(); ~WorldMap();