aboutsummaryrefslogtreecommitdiffstats
path: root/src/shooterScreen.c
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-05-10 16:33:33 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-05-10 16:33:33 +0000
commitfca307d6af08116f675e0d04e5ace2e353ec718c (patch)
tree9cc4d7ad1960f72ef8730f9260bd985867130419 /src/shooterScreen.c
parent314b234fb1cc5a21bbcba414e7e9ffdeafd8a753 (diff)
downloadPenguinYippies-fca307d6af08116f675e0d04e5ace2e353ec718c.tar.gz
PenguinYippies-fca307d6af08116f675e0d04e5ace2e353ec718c.tar.bz2
PenguinYippies-fca307d6af08116f675e0d04e5ace2e353ec718c.zip
Better stone count for shooter game
Diffstat (limited to 'src/shooterScreen.c')
-rw-r--r--src/shooterScreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shooterScreen.c b/src/shooterScreen.c
index 8df219b..14cb34d 100644
--- a/src/shooterScreen.c
+++ b/src/shooterScreen.c
@@ -205,10 +205,10 @@ void drawUIShooterScreen(ShooterScreen* shooterScreen, Game* game)
{
drawCrosshairShooterScreen(10, 2);
- size_t bufSize = 100;
+ size_t bufSize = 256;
char buf[bufSize];
- snprintf(buf, bufSize, "They are sleeping not dead (:\nTime playing: %d\nPenguins still awake: %d",
+ snprintf(buf, bufSize, "They are sleeping not dead (:\nTime playing: %d\nPenguins still awake: %d\n\n-w, a, s, d to move around\n-mouse to aim\n-and click to put a penguin to sleep",
(int)(GetTime() - shooterScreen->startTime),
SHOOTER_PENGUIN_COUNT - shooterScreen->killCount);