aboutsummaryrefslogtreecommitdiffstats
path: root/src/shooterScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shooterScreen.h')
-rw-r--r--src/shooterScreen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/shooterScreen.h b/src/shooterScreen.h
index 2499413..1c22814 100644
--- a/src/shooterScreen.h
+++ b/src/shooterScreen.h
@@ -19,6 +19,8 @@
#define SHOOTER_PENGUIN_CHANGE_DELAY_MAX 7
#define SHOOTER_PENGUIN_SPEED 8.0
+#define SHOOTER_END_LEVEL_TIME 7.0
+
typedef struct ShooterPlayer {
Camera3D camera;
@@ -47,6 +49,13 @@ typedef struct ShooterScreen {
ShooterPenguin penguins[SHOOTER_PENGUIN_COUNT];
double startTime;
int killCount; // "Sleep" count.
+
+ // Penguin naps per second.
+ float pnps;
+ float bestPNPS;
+
+ bool atEndLevel;
+ double endLevelStartTime;
} ShooterScreen;
void initShooterScreeen(ShooterScreen* shooterScreen, Game* game);