Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix unbounded heap growth in game loop. | David Thompson | 2017-04-25 | 1 | -2/+2 | |
| | | | | | * chickadee.scm (run-game): Make sure that the recursive calls to the update loop are in tail position. | |||||
* | math: Add pi constant. | David Thompson | 2017-04-25 | 2 | -1/+21 | |
| | | | | | * chickadee/math.scm (pi): New variable. * doc/api.texi (Math): Add "Basics" subsection. | |||||
* | Add simple scripting system. | David Thompson | 2017-04-03 | 6 | -0/+571 | |
| | | | | | | | * chickadee/scripting.scm: New file. * chickadee/scripting/agenda.scm: New file. * chickadee/scripting/coroutine.scm: New file. * Makefile.am (SOURCES): Add them. | |||||
* | Add queue module. | David Thompson | 2017-04-03 | 2 | -0/+66 | |
| | | | | | * chickadee/queue.scm: New file. * Makefile.am (SOURCES): Add it. | |||||
* | Add array list module. | David Thompson | 2017-04-01 | 2 | -0/+108 | |
| | | | | | * chickadee/array-list.scm: New file. * Makefile.am (SOURCES): Add it. | |||||
* | Add binary heap implementation. | David Thompson | 2017-04-01 | 2 | -0/+130 | |
| | | | | | * chickadee/heap.scm: New file. * Makefile.am (SOURCES): Add it. | |||||
* | input: Add keyboard module. | David Thompson | 2017-04-01 | 3 | -0/+48 | |
| | | | | | | * chickadee/input/keyboard.scm: New file. * Makefile.am (SOURCES): Add it. * doc/api.texi (Keyboard): New section. | |||||
* | guix: Update to latest guile-sdl2 Git snapshot. | David Thompson | 2017-04-01 | 1 | -2/+2 | |
| | ||||||
* | guix: Use latest Git version of guile-sdl2. | David Thompson | 2017-03-31 | 1 | -42/+51 | |
| | ||||||
* | render: texture: Support using 32 texture units. | David Thompson | 2017-03-31 | 5 | -24/+58 | |
| | | | | | | | | | | | | | | | * chickadee/render/texture.scm (make-apply-texture, texture-ref, texture-set!): New procedures. (*texture-states*): New variable. (apply-texture, *texture-state*): Delete. (make-texture): Use 'vector-set!' * chickadee/render/shader.scm: Export 'uniform-type'. (default-uniform-value): Remove 'sampler-2d' case. (extract-uniforms): Handle sampler-2d uniforms specially. * chickadee/render.scm (current-texture): Add 'i' argument. (with-texture): Add 'n' argument. (gpu-apply*): Set textures for all texture units. * .dir-locals.el: Update indentation rules for 'with-texture'. | |||||
* | guix: Use new Guile 2.2 package. | David Thompson | 2017-03-30 | 1 | -5/+5 | |
| | ||||||
* | render: sprite: Add fast path for non-rotated/scaled batched sprites. | David Thompson | 2017-03-22 | 1 | -20/+29 | |
| | | | | | * chickadee/render/sprite.scm (sprite-batch-add!): Speed up rendering of non-rotated, non-scaled sprites by avoid matrix multiplication. | |||||
* | doc: html: Use dthompson.us stylesheet to make manual more attractive. | David Thompson | 2017-01-27 | 2 | -0/+24 | |
| | | | | | * Makefile.am (AM_MAKEINFOHTMLFLAGS): New variable. * doc/manual.css: New file. | |||||
* | Add full GPLv3 text. | David Thompson | 2017-01-26 | 2 | -0/+675 | |
| | ||||||
* | Ignore generated tarballs and signatures. | David Thompson | 2017-01-26 | 1 | -0/+2 | |
| | ||||||
* | Distribute examples in release tarballs. | David Thompson | 2017-01-26 | 1 | -0/+12 | |
| | ||||||
* | examples: Add nine-patch example. | David Thompson | 2017-01-26 | 3 | -0/+32 | |
| | | | | | | * examples/nine-patch.scm: New file. * examples/images/dialog-box.png: New file. * examples/AUTHORS: New file. | |||||
* | configure: Drop Guile 2.0 support.v0.2.0 | David Thompson | 2017-01-26 | 1 | -1/+1 | |
| | ||||||
* | Bump version to 0.2.0. | David Thompson | 2017-01-25 | 1 | -1/+1 | |
| | ||||||
* | doc: Mention that signed distance field rendering is not implemented. | David Thompson | 2017-01-25 | 1 | -1/+2 | |
| | ||||||
* | doc: Document draw-line. | David Thompson | 2017-01-25 | 1 | -0/+18 | |
| | ||||||
* | doc: Fix multi-line @deffn commands. | David Thompson | 2017-01-25 | 1 | -11/+14 | |
| | ||||||
* | examples: Add line segment example. | David Thompson | 2017-01-25 | 1 | -0/+31 | |
| | | | | * examples/lines.scm: New file. | |||||
* | render: shapes: Add docstring to draw-line. | David Thompson | 2017-01-25 | 1 | -0/+6 | |
| | | | | * chickadee/render/shapes.scm (draw-line): Add docstring. | |||||
* | render: shapes: Change draw-line to accept vector arguments. | David Thompson | 2017-01-25 | 1 | -7/+11 | |
| | | | | | * chickadee/render/shapes.scm (draw-line): Replace x1, y1, x2, y2 arguments with start and end arguments that are vec2s. | |||||
* | render: shapes: Delete draw-rectangle-outline procedure. | David Thompson | 2017-01-25 | 1 | -11/+1 | |
| | | | | * chickadee/render/shapes.scm (draw-rectangle-outline): Delete. | |||||
* | render: viewport: Make applying the null viewport a no-op. | David Thompson | 2017-01-25 | 1 | -10/+11 | |
| | | | | | * chickadee/render/viewport.scm (apply-viewport): Don't do anything if the viewport being applied is the null viewport. | |||||
* | Ensure that the viewport is cleared at the beginning of each frame. | David Thompson | 2017-01-25 | 1 | -0/+4 | |
| | | | | | * chickadee.scm (run-game): Switch to the null viewport at the beginning of each frame to ensure other viewports are cleared. | |||||
* | Fix guile-sdl2 procedure name. | David Thompson | 2017-01-25 | 1 | -1/+1 | |
| | | | | * chickadee.scm (run-game): s/keyboard-event-repeat/keyboard-event-repeat?/ | |||||
* | guix: Update guile-sdl2 recipe to 0.2.0. | David Thompson | 2017-01-25 | 1 | -51/+43 | |
| | ||||||
* | Add audio support. | David Thompson | 2017-01-24 | 4 | -1/+206 | |
| | | | | | | | * chickadee/audio.scm: New file. * Makefile.am (SOURCES): Add it. * chickadee.scm (run-game): Initialize audio. * doc/api.texi ("Audio"): Document it. | |||||
* | doc: Document sprites and fonts. | David Thompson | 2017-01-24 | 1 | -7/+176 | |
| | ||||||
* | render: Add bitmap font support. | David Thompson | 2017-01-24 | 6 | -0/+467 | |
| | | | | | | | | | * chickadee/render/font.scm: New file. * Makefile.am (SOURCES): Add it. * examples/text.scm: New file. * examples/fonts/AUTHORS: New file. * examples/fonts/good_neighbors_starling.png: New file. * examples/fonts/good_neighbors_starling.xml: New file. | |||||
* | render: sprite: Improve argument names to draw-sprite. | David Thompson | 2017-01-24 | 1 | -51/+59 | |
| | ||||||
* | examples: sprite: Quit the demo when close button is pressed. | David Thompson | 2017-01-24 | 1 | -0/+1 | |
| | ||||||
* | math: rect: Fix vec2-clamp-to-rect. | David Thompson | 2017-01-24 | 1 | -1/+1 | |
| | | | | * chickadee/math/rect.scm (vec2-clamp-to-rect): s/copy-vec2/vec2-copy/ | |||||
* | math: vector: Fix vec2-copy and vec2-copy! | David Thompson | 2017-01-24 | 1 | -23/+20 | |
| | | | | | * chickadee/math/vector.scm: Reorder procedure definitions to overcome inlining issues. | |||||
* | Add 'make publish' target. | David Thompson | 2017-01-23 | 1 | -0/+5 | |
| | ||||||
* | Don't build dvi docs. | David Thompson | 2017-01-23 | 1 | -0/+2 | |
| | ||||||
* | doc: Update copyright year.v0.1.0 | David Thompson | 2017-01-23 | 1 | -1/+1 | |
| | ||||||
* | Add basic sprite example. | David Thompson | 2017-01-23 | 2 | -0/+17 | |
| | ||||||
* | README: Fix example code again. | David Thompson | 2017-01-23 | 1 | -3/+5 | |
| | ||||||
* | Set a default projection matrix for convenience. | David Thompson | 2017-01-23 | 1 | -2/+6 | |
| | ||||||
* | README: Fix example code. | David Thompson | 2017-01-22 | 1 | -4/+8 | |
| | ||||||
* | doc: Document a few more things. | David Thompson | 2017-01-20 | 1 | -6/+171 | |
| | | | | :) | |||||
* | doc: Add more documentation! | David Thompson | 2017-01-19 | 2 | -4/+276 | |
| | ||||||
* | render: framebuffer: Create and use a default viewport. | David Thompson | 2017-01-19 | 2 | -5/+19 | |
| | ||||||
* | render: viewport: Change %standard-clear-flags to %default-clear-flags. | David Thompson | 2017-01-19 | 1 | -2/+3 | |
| | ||||||
* | render: viewport: Use a non-black default clear color. | David Thompson | 2017-01-19 | 2 | -7/+7 | |
| | ||||||
* | render: texture: Quick code style fix. | David Thompson | 2017-01-19 | 1 | -1/+1 | |
| |