| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* chickadee/render/texture.scm (list->texture-atlas): Create texture
regions. Switch from rects to 4-tuples.
(texture-atlas, texture-atlas-ref): Update docstring.
(split-texture): Create texture regions.
|
|
|
|
|
| |
* chickadee/render/texture.scm (<texture>)[gl-size]: New field.
(null-texture, make-texture): Add gl-size argument.
|
|
|
|
| |
* chickadee/render/texture.scm (<texture-region>): New record type.
|
|
|
|
|
| |
* chickadee/render/sprite.scm (double-sprite-batch-size!): Get
reference to bytevectors before unmapping old buffers.
|
|
|
|
|
|
|
| |
* chickadee/scripting/script.scm (<script>)[children]: New field.
(current-script): New variable.
(cancel-script): Cancel all child scripts, too.
(spawn-script): Register new script as a child of the current script.
|
|
|
|
|
| |
* chickadee/scripting/script.scm (script-running?, script-complete?):
Test for the correct status instead of 'cancelled'.
|
|
|
|
|
|
|
|
|
|
| |
* chickadee/scripting/coroutine.scm: Move to...
* chickadee/scripting/script.scm: ...here, and s/coroutine/script.
* chickadee/scripting/channel.scm (channel-get, channel-put): Update
docstring to say "script" instead of "coroutine".
* chickadee/scripting.scm: s/coroutine/script/
* Makefile.am (SOURCES): Replace coroutine.scm with script.scm.
* doc/api.texi: s/coroutine/script/
|
|
|
|
|
| |
* chickadee/scripting.scm (wait): Rename to...
(sleep): ...this.
|
|
|
|
|
|
|
| |
* chickadee/scripting/coroutine.scm (spawn-coroutine): Save dynamic
state during coroutine execution.
* chickadee/scripting.scm (wait): Schedule continuation in the
coroutine's current agenda.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* chickadee/render/shader.scm: Export shader-attributes, attribute?,
attribute-name, attribute-location, and attribute-type.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* chickadee/math.scm (cotan): New procedure.
|
|
|
|
|
| |
* chickadee/math/vector.scm (display-vec2, display-vec3): New
procedures.
|
|
|
|
| |
* chickadee/math/matrix.scm (orthographic-projection): s/transform/matrix/
|
|
|
|
| |
* chickadee/math/matrix.scm (perspective-projection): New procedure.
|
|
|
|
| |
* chickadee/math/matrix.scm (display-matrix4): New procedure.
|
| |
|
| |
|
| |
|
|
|
|
| |
* chickadee/buffer.scm: Add docstrings.
|
|
|
|
|
|
| |
Everything is Scheme here, no need to say so over and over!
* doc/api.texi: Remove "Scheme " from the defvr and deffn commands.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* chickadee/scripting.scm (tween): Reimplement procedure.
* chickadee/math/easings.scm: New file.
* Makefile.am (SOURCES): Add it.
* doc/api.text (Easings, Tweening): New subsections.
|
|
|
|
|
|
| |
* chickadee/scripting/agenda.scm (schedule-every): New procedure.
(every): New syntax.
* doc/api.texi (Agendas): Document it.
|
|
|
|
| |
* chickadee/math.scm (lerp): New procedure.
|
|
|
|
|
| |
* chickadee.scm (run-game): Make sure that the recursive calls to the
update loop are in tail position.
|
|
|
|
|
| |
* chickadee/math.scm (pi): New variable.
* doc/api.texi (Math): Add "Basics" subsection.
|
|
|
|
|
|
|
| |
* chickadee/scripting.scm: New file.
* chickadee/scripting/agenda.scm: New file.
* chickadee/scripting/coroutine.scm: New file.
* Makefile.am (SOURCES): Add them.
|
|
|
|
|
| |
* chickadee/queue.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* chickadee/array-list.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* chickadee/heap.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
|
| |
* chickadee/input/keyboard.scm: New file.
* Makefile.am (SOURCES): Add it.
* doc/api.texi (Keyboard): New section.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
| |
|
|
|
|
|
| |
* chickadee/render/sprite.scm (sprite-batch-add!): Speed up rendering of
non-rotated, non-scaled sprites by avoid matrix multiplication.
|
|
|
|
|
| |
* Makefile.am (AM_MAKEINFOHTMLFLAGS): New variable.
* doc/manual.css: New file.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* examples/nine-patch.scm: New file.
* examples/images/dialog-box.png: New file.
* examples/AUTHORS: New file.
|
| |
|