X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscene.h;h=b8d55963cbad2fdc1d42f57f9b1250c680f6fade;hb=9e3d8f3cc7a07ab4dae67e86c6f1d0e0e450fa54;hp=2c34601a53700a00116aff97f51c5eaa383282da;hpb=236df51d91f0845cd4e06b3269e262911d81f5db;p=supertux.git diff --git a/src/scene.h b/src/scene.h index 2c34601a5..b8d55963c 100644 --- a/src/scene.h +++ b/src/scene.h @@ -21,24 +21,25 @@ #define SUPERTUX_SCENE_H #include "video/surface.h" -#include "special/timer.h" +#include "timer.h" #define FRAME_RATE 10 // 100 Frames per second (10ms) // Player stats struct PlayerStatus { - int score; int distros; int lives; enum BonusType { NO_BONUS, GROWUP_BONUS, FLOWER_BONUS }; BonusType bonus; int score_multiplier; + int max_score_multiplier; PlayerStatus(); - void reset(); + void incLives(); + void incCoins(); }; std::string bonus_to_string(PlayerStatus::BonusType b); @@ -46,6 +47,4 @@ PlayerStatus::BonusType string_to_bonus(const std::string& str); extern PlayerStatus player_status; -extern unsigned int global_frame_counter; - #endif /*SUPERTUX_SCENE_H*/