| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* 2d/signals.scm (signal-connections): Delete it.
(signal-inputs, signal-outputs): New procedures.
|
|
|
|
|
|
|
|
| |
* 2d/game.scm (game-draw): Add signal.
(run-game): Remove update callback.
(draw): Use alpha value.
(update): Remove call to obsolete update callback.
(update-and-render): Pass alpha value.
|
|
|
|
|
|
|
| |
* 2d/time.scm (time-interval): Rename to time-every.
(time-every): Use make-root-signal.
(time-each): New name for the old time-every.
(time-delay): Rewrite it.
|
|
|
|
|
| |
* 2d/keyboard.scm (key-last-down, key-last-up, key-down?)
(key-directions): Rewrite signals.
|
|
|
|
|
| |
* 2d/mouse.scm (mouse-x, mouse-y): New signals.
(mouse-position): Define in terms of signal-map.
|
|
|
|
|
| |
* 2d/window.scm (window-width, window-height): New signals.
(window-position): Define in terms of signal-map.
|
|
|
|
| |
* 2d/signals.scm: Remove duplicate export.
|
|
|
|
| |
* 2d/signals.scm (signal-do): Fix bug.
|
|
|
|
| |
* 2d/signals.scm (signal-fold): Reverse callback args.
|
|
|
|
| |
* 2d/signals.scm (signal-map): Fix bug.
|
|
|
|
| |
* 2d/signals.scm: Rewrite module.
|
|
|
|
| |
* 2d/signals.scm (signal-and, signal-or): Remove them.
|
|
|
|
| |
* 2d/signals.scm (signal-liftn): New procedure.
|
|
|
|
|
|
|
| |
* 2d/signals.scm (make-signal): Change parameter list.
* 2d/mouse.scm (mouse-position): Remove #:init keyword.
* 2d/time.scm (time-interval, time-delay): Remove #:init keyword.
* 2d/window.scm (window-size): Remove #:init keyword.
|
|
|
|
| |
* 2d/signals.scm (signal-do): New procedure.
|
|
|
|
| |
* 2d/window.scm: Open window on import.
|
|
|
|
| |
* 2d/signals.scm (signal-merge): Accept many signals.
|
|
|
|
| |
* 2d/signals.scm (signal-when, signal-unless): New procedures.
|
|
|
|
| |
* 2d/time.scm (time-delay): Set initial signal value.
|
|
|
|
| |
* 2d/signals.scm (signal-connect!): Use signal-receive!
|
|
|
|
| |
Doesn't work yet. Just committing what I have so far.
|
| |
|
|
|
|
| |
* 2d/math.scm (clamp): New procedure.
|
|
|
|
| |
* 2d/signals.scm (signal-count): Rewrite.
|
|
|
|
| |
* 2d/signals.scm (signal-constant): Rewrite.
|
|
|
|
| |
* 2d/time.scm (time-interval, time-every): Add signal parameter.
|
|
|
|
| |
* 2d/signals.scm (signal-fold): New procedure.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 2d/game.scm (register-event-handler): New procedure.
(mouse-*, key-*, window-*): Remove signals.
* 2d/window.scm (window-size): New signal.
* 2d/mouse.scm: New module.
* 2d/keyboard.scm: New module.
|
|
|
|
|
|
|
| |
* 2d/actions.scm: Delete it.
* 2d/observer.scm: Delete it.
* 2d/scene.scm: Delete it.
* 2d/stage.scm: Delete it.
|
|
|
|
| |
* 2d/window.scm (with-window): Use dynamic-wind.
|
|
|
|
|
| |
* 2d/game.scm (key-directions, key-wasd): New procedures.
(arrows, key-arrows): Renamed.
|
|
|
|
| |
* 2d/time.scm: New module.
|
| |
|
| |
|
|
|
|
|
|
| |
* 2d/signals.scm (make-signal): Make transformer optional.
(signal-identity): Delete it.
(signal-*): Use new constructor.
|
|
|
|
|
| |
* 2d/signals.el (signal-set!): Make coroutine.
(signal-set-and-propagate!): New procedure.
|
|
|
|
| |
* 2d/signals.scm: Replace "listeners" with "connectors".
|
|
|
|
|
| |
* 2d/signals.scm (signal-filter, signal-keep?, signal-receive!): New
procedures.
|
|
|
|
| |
* 2d/game.scm (arrows): New signal.
|
|
|
|
| |
* 2d/signals.scm (signal-lift3, signal-lift4): New procedures.
|
|
|
|
| |
* 2d/game.scm: New signals and refactor.
|
|
|
|
|
|
|
|
|
| |
* 2d/window.scm (<window>): New record type.
(open-window): Use window object.
(close-window): Change docstring.
* 2d/game.scm (<game>, make-game): Remove window properties.
(run-game): Remove window logic.
|
|
|
|
|
| |
* 2d/sprite.scm (update-sprite-vertices!)
(draw-sprite-batched): Use signals.
|
|
|
|
| |
* 2d/signals.scm (signal-ref-maybe): New procedure.
|