extern Sprite* smalltux_gameover;
extern Sprite* smalltux_star;
extern Sprite* largetux_star;
+extern Sprite* growingtux_left;
+extern Sprite* growingtux_right;
struct PlayerSprite
{
Timer kick_timer;
Timer shooting_timer; // used to show the arm when Tux is shooting
Timer dying_timer;
+ Timer growing_timer;
Physic physic;
public:
void collision(void* p_c_object, int c_object);
void kill(HurtMode mode);
void player_remove_powerups();
- void check_bounds(Camera& viewport, bool back_scrolling, bool hor_autoscroll);
+ void check_bounds(Camera& viewport);
bool on_ground();
bool under_solid();
bool tiles_on_air(int tiles);
- void grow();
+ void grow(bool animate);
void move(const Vector& vector);
bool is_dead() const
{ return dead; }