summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 21:18:45 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 21:18:45 -0400
commit341e7010688bce33c8710ac660d2ef9552420566 (patch)
tree9a24cf20b3148055d5969094d7dfaccba1fda3d3 /balls.c
parentb0419e52199baed105cf7f0c6c096d58d49ab5c3 (diff)
downloadballs-341e7010688bce33c8710ac660d2ef9552420566.zip
move FPS into config.h
Diffstat (limited to 'balls.c')
-rw-r--r--balls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/balls.c b/balls.c
index cdb292d..f43dbb9 100644
--- a/balls.c
+++ b/balls.c
@@ -31,7 +31,8 @@
enum {
WIDTH = 640,
HEIGHT = 640,
- FPS = 60,
+};
+enum {
MS_PER_S = 1000,
FRAME_TIME_MS = MS_PER_S / FPS,
};