| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 2d/repl.scm: New file.
* 2d/repl/repl.scm: Delete it.
* 2d/repl/server.scm: Delete it.
* Makfile.am (REPL_SOURCES): Delete it.
(SOURCES): Add '2d/repl.scm'.
* examples/common.scm: Use cooperative REPL module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 2d/agenda.scm: (*global-agenda*, current-agenda, with-agenda): Delete.
(agenda?, agenda-time): Export.
(schedule-every, schedule-each): Rename schedule-every to
schedule-each.
(schedule-next): Delete.
* 2d/game.scm: (game-agenda): New variable.
(update): Tick game-agenda.
* 2d/repl.scm: Use new agenda API.
* 2d/sprite.scm: Use new agenda API.
* 2d/time.scm: (time-every, time-each, time-delay): Change signature and
use new agenda API.
* examples/coroutine.scm: Use new agenda API.
* examples/particles.scm: Use new agenda API.
|
|
|
|
| |
* 2d/repl/repl.scm (add-to-repl-mvar): Fix.
|
|
|
|
| |
* 2d/repl/repl.scm: Fix bug.
|
|
|
|
| |
* 2d/repl/repl.scm (add-to-repl-mvar, run-repl): Cleanup.
|
|
|
|
|
|
| |
* 2d/repl/repl.scm (add-to-repl-mvar): New procedure.
(poll-interval): New variable.
(flush-repl): Schedule in paused-agenda.
|
|
|
|
|
|
|
|
|
| |
* 2d/game.scm (start-game-loop): Don't spawn REPL.
(update-and-render, tick): Don't run REPL.
(run-repl-thunk, run-repl): Move.
* 2d/repl/repl.scm: (run-repl-thunk, flush-repl): Add.
(flush-repl): Schedule REPL to be run within main loop.
|
| |
|
|
|
|
|
|
|
|
| |
There were some issues with the original version that Mark Weaver has
fixed.
This also resolves an issue where mvars was unusable on Guile versions
less than 2.0.9 because of a docstring on case-lambda.
|
| |
|
| |
|
| |
|
| |
|
|
These are slightly modified versions of the ones that come with Guile.
|