diff options
author | David Thompson <davet@gnu.org> | 2015-06-10 08:45:07 -0400 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2015-06-10 08:45:07 -0400 |
commit | 499eb8c5e712455474a8d3e5bcfd8cb875004f64 (patch) | |
tree | 536f88d414a539aea4620b331aa09ebe3a563b4d /sly/game.scm | |
parent | 2da5fd711f8f54536af009487b92eab4fc41199f (diff) |
Rename start-game-loop to run-game-loop.
* doc/api/init.texi: s/start-game-loop/run-game-loop/
* examples/2048/2048.scm: Likewise.
* examples/animation.scm: Likewise.
* examples/font.scm: Likewise.
* examples/joystick.scm: Likewise.
* examples/mines/mines.scm: Likewise.
* examples/simple.scm: Likewise.
* examples/tilemap.scm: Likewise.
* sandbox.in: Likewise.
* sly/game.scm: Likewise.
Diffstat (limited to 'sly/game.scm')
-rw-r--r-- | sly/game.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sly/game.scm b/sly/game.scm index 5d3f708..b836c22 100644 --- a/sly/game.scm +++ b/sly/game.scm @@ -38,7 +38,7 @@ #:use-module (sly render scene) #:export (draw-hook after-game-loop-error-hook - start-game-loop + run-game-loop stop-game-loop)) ;;; @@ -62,7 +62,7 @@ for the given STACK and error KEY with additional arguments ARGS." (apply display-error (stack-ref stack 0) cep args) (newline cep))) -(define* (start-game-loop scene #:key +(define* (run-game-loop scene #:key (frame-rate 60) (tick-rate 60) (max-ticks-per-frame 4)) |