X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer.h;h=ada9e96aa46ddb0a1955ae480a83eb8f49ed7072;hb=8385faa306eca6d96ab11ed7dae293d85e9c4e4f;hp=cf9fe19c053c8c5543a546a2a11deba4008a6ff3;hpb=d46c78c842ab4090a3f46e560c891234167f124b;p=supertux.git diff --git a/src/player.h b/src/player.h index cf9fe19c0..ada9e96aa 100644 --- a/src/player.h +++ b/src/player.h @@ -21,7 +21,6 @@ #include "SDL.h" -#include "bitmask.h" #include "timer.h" #include "video/surface.h" #include "collision.h" @@ -112,7 +111,7 @@ public: delete feet; } - void set_action(std::string action); + void set_action(std::string action, int loops = -1); void one_time_animation(); void draw(DrawingContext& context, const Vector& pos, int layer, Uint32 drawing_effect = NONE_EFFECT); @@ -157,8 +156,6 @@ public: bool falling_from_flap; bool enable_hover; bool butt_jump; - int frame_; - int frame_main; float flapping_velocity; @@ -172,7 +169,6 @@ public: Timer2 invincible_timer; Timer2 skidding_timer; Timer2 safe_timer; - Timer2 frame_timer; Timer2 kick_timer; Timer2 shooting_timer; // used to show the arm when Tux is shooting Timer2 dying_timer;