X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscene.h;h=b8d55963cbad2fdc1d42f57f9b1250c680f6fade;hb=2fd963388c2dae6a30f82c99b679a73e8bc5917d;hp=75271985bebb6084db3c4822608bf75e04b1a1de;hpb=03fe5c560a616e7d38a8b1d5d11bfe4675fa8896;p=supertux.git diff --git a/src/scene.h b/src/scene.h index 75271985b..b8d55963c 100644 --- a/src/scene.h +++ b/src/scene.h @@ -20,7 +20,7 @@ #ifndef SUPERTUX_SCENE_H #define SUPERTUX_SCENE_H -#include "screen/texture.h" +#include "video/surface.h" #include "timer.h" #define FRAME_RATE 10 // 100 Frames per second (10ms) @@ -28,17 +28,18 @@ // 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*/