Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | scripting: Rename wait to sleep. | David Thompson | 2017-10-14 | 1 | -4/+7 |
| | | | | | * chickadee/scripting.scm (wait): Rename to... (sleep): ...this. | ||||
* | scripting: Fix bug where dynamic state wasn't being respected. | David Thompson | 2017-10-14 | 2 | -4/+10 |
| | | | | | | | * chickadee/scripting/coroutine.scm (spawn-coroutine): Save dynamic state during coroutine execution. * chickadee/scripting.scm (wait): Schedule continuation in the coroutine's current agenda. | ||||
* | math: vector: Fix a couple docstrings. | David Thompson | 2017-10-14 | 1 | -2/+2 |
| | |||||
* | guix: Update to latest guile-sdl2 commit. | David Thompson | 2017-09-13 | 1 | -2/+2 |
| | |||||
* | Add beginnings of glTF parser and loader. | David Thompson | 2017-09-13 | 5 | -0/+704 |
| | | | | | | | * chickadee/render/asset.scm: New file. * chickadee/render/scene.scm: New file. * data/shaders/pbr/pbr-frag.glsl: New file. * data/shaders/pbr/pbr-vert.glsl: New file. | ||||
* | Add JSON parser. | David Thompson | 2017-09-13 | 2 | -0/+309 |
| | |||||
* | render: shader: Export more procedures. | David Thompson | 2017-09-13 | 1 | -0/+5 |
| | | | | | * chickadee/render/shader.scm: Export shader-attributes, attribute?, attribute-name, attribute-location, and attribute-type. | ||||
* | Major rewrite of vertex buffer and vertex array abstractions. | David Thompson | 2017-09-13 | 7 | -312/+588 |
| | |||||
* | gl: Export gl-buffer-sub-data. | David Thompson | 2017-09-13 | 1 | -0/+1 |
| | |||||
* | Fix datadir. | David Thompson | 2017-09-13 | 2 | -4/+4 |
| | |||||
* | texture: Export texture-atlas-texture. | David Thompson | 2017-09-13 | 1 | -0/+1 |
| | |||||
* | math: Add cotangent function. | David Thompson | 2017-09-13 | 2 | -0/+9 |
| | | | | * chickadee/math.scm (cotan): New procedure. | ||||
* | math: vector: Add custom record type printers for vectors. | David Thompson | 2017-09-13 | 1 | -0/+12 |
| | | | | | * chickadee/math/vector.scm (display-vec2, display-vec3): New procedures. | ||||
* | math: matrix: Fix docstring. | David Thompson | 2017-09-13 | 1 | -4/+3 |
| | | | | * chickadee/math/matrix.scm (orthographic-projection): s/transform/matrix/ | ||||
* | math: matrix: Add perspective-projection function. | David Thompson | 2017-09-13 | 1 | -0/+12 |
| | | | | * chickadee/math/matrix.scm (perspective-projection): New procedure. | ||||
* | math: matrix: Add custom record type printer. | David Thompson | 2017-09-13 | 1 | -0/+24 |
| | | | | * chickadee/math/matrix.scm (display-matrix4): New procedure. | ||||
* | math: vector: Add 3-dimensional vector type. | David Thompson | 2017-09-13 | 1 | -1/+147 |
| | |||||
* | math: Add quaternion module. | David Thompson | 2017-09-13 | 3 | -0/+137 |
| | |||||
* | Move color module into render namespace. | David Thompson | 2017-08-08 | 7 | -7/+7 |
| | |||||
* | buffer: Add docstrings to procedures. | David Thompson | 2017-05-03 | 1 | -0/+7 |
| | | | | * chickadee/buffer.scm: Add docstrings. | ||||
* | doc: Remove redundant "Scheme Procedure", etc. things. | David Thompson | 2017-05-02 | 1 | -111/+111 |
| | | | | | | Everything is Scheme here, no need to say so over and over! * doc/api.texi: Remove "Scheme " from the defvr and deffn commands. | ||||
* | Add buffer module. | David Thompson | 2017-05-02 | 5 | -2/+448 |
| | | | | | | | | | * chickadee/buffer.scm: New file. * Makefile.am (SOURCES): Add it. * .dir-locals.el: Add indent rules for with-buffer and with-current-buffer. * examples/buffer.scm: New file. * doc/api.texi (Buffers): Add docs. | ||||
* | scripting: Add a tweening procedure. | David Thompson | 2017-04-27 | 4 | -7/+212 |
| | | | | | | | * chickadee/scripting.scm (tween): Reimplement procedure. * chickadee/math/easings.scm: New file. * Makefile.am (SOURCES): Add it. * doc/api.text (Easings, Tweening): New subsections. | ||||
* | scripting: agenda: Add 'every' scheduling option. | David Thompson | 2017-04-27 | 2 | -1/+35 |
| | | | | | | * chickadee/scripting/agenda.scm (schedule-every): New procedure. (every): New syntax. * doc/api.texi (Agendas): Document it. | ||||
* | math: Add lerp procedure. | David Thompson | 2017-04-27 | 1 | -1/+6 |
| | | | | * chickadee/math.scm (lerp): New procedure. | ||||
* | 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. |