summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* render: texture: Support using 32 texture units.David Thompson2017-03-315-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 Thompson2017-03-301-5/+5
|
* render: sprite: Add fast path for non-rotated/scaled batched sprites.David Thompson2017-03-221-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 Thompson2017-01-272-0/+24
| | | | | * Makefile.am (AM_MAKEINFOHTMLFLAGS): New variable. * doc/manual.css: New file.
* Add full GPLv3 text.David Thompson2017-01-262-0/+675
|
* Ignore generated tarballs and signatures.David Thompson2017-01-261-0/+2
|
* Distribute examples in release tarballs.David Thompson2017-01-261-0/+12
|
* examples: Add nine-patch example.David Thompson2017-01-263-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.0David Thompson2017-01-261-1/+1
|
* Bump version to 0.2.0.David Thompson2017-01-251-1/+1
|
* doc: Mention that signed distance field rendering is not implemented.David Thompson2017-01-251-1/+2
|
* doc: Document draw-line.David Thompson2017-01-251-0/+18
|
* doc: Fix multi-line @deffn commands.David Thompson2017-01-251-11/+14
|
* examples: Add line segment example.David Thompson2017-01-251-0/+31
| | | | * examples/lines.scm: New file.
* render: shapes: Add docstring to draw-line.David Thompson2017-01-251-0/+6
| | | | * chickadee/render/shapes.scm (draw-line): Add docstring.
* render: shapes: Change draw-line to accept vector arguments.David Thompson2017-01-251-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 Thompson2017-01-251-11/+1
| | | | * chickadee/render/shapes.scm (draw-rectangle-outline): Delete.
* render: viewport: Make applying the null viewport a no-op.David Thompson2017-01-251-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 Thompson2017-01-251-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 Thompson2017-01-251-1/+1
| | | | * chickadee.scm (run-game): s/keyboard-event-repeat/keyboard-event-repeat?/
* guix: Update guile-sdl2 recipe to 0.2.0.David Thompson2017-01-251-51/+43
|
* Add audio support.David Thompson2017-01-244-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 Thompson2017-01-241-7/+176
|
* render: Add bitmap font support.David Thompson2017-01-246-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 Thompson2017-01-241-51/+59
|
* examples: sprite: Quit the demo when close button is pressed.David Thompson2017-01-241-0/+1
|
* math: rect: Fix vec2-clamp-to-rect.David Thompson2017-01-241-1/+1
| | | | * chickadee/math/rect.scm (vec2-clamp-to-rect): s/copy-vec2/vec2-copy/
* math: vector: Fix vec2-copy and vec2-copy!David Thompson2017-01-241-23/+20
| | | | | * chickadee/math/vector.scm: Reorder procedure definitions to overcome inlining issues.
* Add 'make publish' target.David Thompson2017-01-231-0/+5
|
* Don't build dvi docs.David Thompson2017-01-231-0/+2
|
* doc: Update copyright year.v0.1.0David Thompson2017-01-231-1/+1
|
* Add basic sprite example.David Thompson2017-01-232-0/+17
|
* README: Fix example code again.David Thompson2017-01-231-3/+5
|
* Set a default projection matrix for convenience.David Thompson2017-01-231-2/+6
|
* README: Fix example code.David Thompson2017-01-221-4/+8
|
* doc: Document a few more things.David Thompson2017-01-201-6/+171
| | | | :)
* doc: Add more documentation!David Thompson2017-01-192-4/+276
|
* render: framebuffer: Create and use a default viewport.David Thompson2017-01-192-5/+19
|
* render: viewport: Change %standard-clear-flags to %default-clear-flags.David Thompson2017-01-191-2/+3
|
* render: viewport: Use a non-black default clear color.David Thompson2017-01-192-7/+7
|
* render: texture: Quick code style fix.David Thompson2017-01-191-1/+1
|
* render: Add framebuffers.David Thompson2017-01-194-10/+152
|
* render: shader: Restore ability to serialize color objects.David Thompson2017-01-191-2/+2
|
* render: texture: Allow texture creation with no pixel data.David Thompson2017-01-191-1/+2
| | | | This will be useful for creating framebuffers.
* render: Add viewports.David Thompson2017-01-194-7/+131
|
* color: Stop exporting record type descriptor.David Thompson2017-01-191-2/+1
|
* Add utils module.David Thompson2017-01-192-0/+34
|
* Run GPU finalizers in game loop.David Thompson2017-01-181-1/+4
|
* doc: Add the beginnings of an API reference.David Thompson2017-01-183-1/+141
|
* render: sprite: First pass at optimizing batched rendering.David Thompson2017-01-131-36/+60
|