| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 2d/helpers.scm (memoize): New procedure.
* 2d/shader.scm (uniform-location): memoize.
(uniform-set!): Pass symbol instead of string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 2d/agenda.scm (current-agenda): New variable.
(with-agenda): New macro.
(agenda-time, tick-agenda!, clear-agenda!, schedule)
(schedule-interval, schedule-each, wait): Remove agenda parameter.
* 2d/game.scm (game-agenda): Delete it.
(update): Tick current agenda.
* 2d/helpers.scm (define-guardian): Remove agenda argument.
* 2d/repl.scm (start-2d-repl): Remove agenda argument to schedule-each.
* 2d/signal.scm (signal-sample, signal-delay, signal-throttle): Remove
agenda parameter.
* 2d/sprite.scm:
* examples/common.scm:
* examples/coroutine.scm:
* examples/font.scm:
* examples/particles.scm: Remove mention of game-agenda.
* README.org: Update example snippets.
|
| |
|
|
|
|
| |
* 2d/helpers.scm (define-guardian): Don't use 'after-gc-hook'.
|
|
|
|
|
|
| |
* 2d/helpers.scm (define-guardian): New macro.
* 2d/texture.scm (reap-textures): Delete it.
(texture-guardian): Defined using define-guardian.
|
|
|
|
| |
* 2d/helpers.scm (rgba->gl-color): Remove export.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
rgba->gl-color converts an RGBA color code in integer form into a list of color values for use with OpenGL calls.
For example, passing #xffffffff returns '(1.0 1.0 1.0 1.0).
|
| |
|
|
|