X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscene.h;h=b8d55963cbad2fdc1d42f57f9b1250c680f6fade;hb=40e6e7cdc59c09befbd2595aea0c6e10428315d4;hp=6beaeb65716257a45066da41ebdcb2a7f9252e6d;hpb=2388a02493831f3ec11f1df66a0cf7b09995279b;p=supertux.git diff --git a/src/scene.h b/src/scene.h index 6beaeb657..b8d55963c 100644 --- a/src/scene.h +++ b/src/scene.h @@ -20,7 +20,7 @@ #ifndef SUPERTUX_SCENE_H #define SUPERTUX_SCENE_H -#include "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,7 +47,4 @@ PlayerStatus::BonusType string_to_bonus(const std::string& str); extern PlayerStatus player_status; -extern float scroll_x; -extern unsigned int global_frame_counter; - #endif /*SUPERTUX_SCENE_H*/