aboutsummaryrefslogtreecommitdiff
path: root/games/gamecatch.c
diff options
context:
space:
mode:
authordavid <[email protected]>2026-05-05 10:09:21 -0300
committerdavid <[email protected]>2026-05-05 10:09:21 -0300
commita7f7b091f41410ac10ad59730ebb2f235eb2bb16 (patch)
treeab311bc778863161ce9f56857299adcf37f0da20 /games/gamecatch.c
parentc96ea5f3ebf506794e3222a277f88036618e7e35 (diff)
downloadpetratc-a7f7b091f41410ac10ad59730ebb2f235eb2bb16.tar.gz
petratc-a7f7b091f41410ac10ad59730ebb2f235eb2bb16.zip
started maze game it's just a walking simulator for now
Diffstat (limited to 'games/gamecatch.c')
-rw-r--r--games/gamecatch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/gamecatch.c b/games/gamecatch.c
index 836dca4..239c42e 100644
--- a/games/gamecatch.c
+++ b/games/gamecatch.c
@@ -38,9 +38,9 @@
#define height getmaxy(stdscr)
#define maxdrops 70
-int running;
-int won;
-int howmany;
+static int running;
+static int won;
+static int howmany;
typedef struct{
@@ -71,7 +71,7 @@ void spawndrops() {
}
}
-void stop() {
+static void stop() {
clear();
refresh();
endwin();