| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* 2d/agenda.scm: Add GPLv3 header.
* 2d/repl.scm: Add GPLv3 header.
|
|
|
|
| |
This reverts commit 38f9696fed2b55e6f5484433298b7c34141da243.
|
|
|
|
|
|
| |
* 2d/agenda.scm (<agenda>): Add mutex field.
(make-agenda): Initialize with recursive mutex.
(tick-agenda!, clear-agenda!, schedule): Protect using 'with-mutex'.
|
|
|
|
| |
* 2d/agenda.scm (schedule-interval): Actually use the 'delay' parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/agenda.scm (tick-agenda!, clear-agenda!): Add agenda param.
* 2d/game.scm (update, tick): Update usage of tick-agenda!.
|
|
|
|
| |
* 2d/agenda.scm (make-time-segment, wait): Change docstrings.
|
|
|
|
| |
* 2d/agenda.scm (make-time-segment, wait): Use cut.
|
|
|
|
|
| |
* 2d/agenda.scm (update-agenda, tick-agenda!): Rename.
(clear-agenda, clear-agenda!): Rename.
|
|
|
|
| |
* 2d/agenda.scm: Export *global-agenda* and current-agenda.
|
|
|
|
|
|
|
|
| |
* 2d/agenda.scm (agenda-schedule, schedule): Rename.
(agenda-schedule-interval, schedule-interval): Rename.
(schedule-next, schedule-every): New procedures.
* 2d/sprite.scm: Use schedule-every.
* 2d/time.scm (time-every): Use schedule-interval.
|
|
|
|
|
|
| |
* 2d/agenda.scm (*current-agenda*, current-agenda): Rename and make
parameter.
(*global-agenda*, global-agenda): Rename it.
|
| |
|
| |
|
| |
|
|
|