changed threshold for fast counting down remaining BD engine level time
authorHolger Schemel <holger.schemel@virtion.de>
Tue, 17 Dec 2024 19:15:23 +0000 (20:15 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Tue, 17 Dec 2024 19:15:23 +0000 (20:15 +0100)
Changed from 60 to 100 seconds, else it looks a bit strange if level
time counter quickly counts from 100 to 60, then counting down slower.

src/game_bd/bd_gameplay.c

index d134f0e8bb3ac933eeb63f3faae4e799637a577d..514524a956cc161f4643db55e38525952868980e 100644 (file)
@@ -515,8 +515,8 @@ static GdGameState gd_game_main_int(GdGame *game, boolean allow_iterate, boolean
        // higher levels get more bonus points per second remained
        increment_score(game, game->cave->timevalue);
 
-       // if much time (> 60s) remained, fast counter :)
-       if (game->cave->time > 60 * game->cave->timing_factor)
+       // if much time (> 100s) remained, fast counter :)
+       if (game->cave->time > 100 * game->cave->timing_factor)
        {
          // decrement by nine each frame, so it also looks like a fast counter. 9 is 8 + 1!
          game->cave->time -= 8 * game->cave->timing_factor;