From a3aa623daff26b34aa7e7eed656e73c236213351 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 31 Jul 2013 23:34:03 -0400 Subject: Small re-organization. --- 2d/game-loop.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to '2d/game-loop.scm') diff --git a/2d/game-loop.scm b/2d/game-loop.scm index 1c22ffc..199cb80 100644 --- a/2d/game-loop.scm +++ b/2d/game-loop.scm @@ -40,10 +40,19 @@ run-game-loop current-fps)) +;;; +;;; Constants +;;; + (define target-fps 60) -(define *fps* 0) (define tick-interval (floor (/ 1000 target-fps))) +;;; +;;; Globals +;;; + +(define *fps* 0) + ;;; ;;; Hooks ;;; -- cgit v1.2.3