summaryrefslogtreecommitdiff
path: root/examples/common.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-01-09 07:42:39 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-01-09 07:42:39 -0500
commit75f7831673f533ab33e162c869be5ddd48fbf91b (patch)
tree5e338bd7f637b907a20ec25d5dd17a2675348aa5 /examples/common.scm
parentd3ecfcb19bb011e01a5f3c3d9145789a1b6ebf1e (diff)
Move FPS to a module and add accumulator parameter.
* 2d/game.scm (accumulator): New parameter. (draw-hook): Change to arity 2. (current-fps, accumulate-fps!, game-fps): Delete. (game-loop, update-and-render): Drop accumulator formal parameter. * 2d/fps.scm: New module.
Diffstat (limited to 'examples/common.scm')
0 files changed, 0 insertions, 0 deletions