| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* data/Makefile.am (logosdir, dist_logos_DATA): New variables.
|
|
|
|
|
|
| |
* configure.ac: Add 'sly/config.scm' as a config file.
* data/Makefile.am (fonts_DATA, shaders_DATA): Delete.
(dist_fonts_DATA, dist_shaders_DATA): New variables.
|
|
|
|
| |
* data/Makefile.am (shaders_DATA): Remove old shaders and add new ones.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FTGL has been dropped in favor of SDL_ttf.
* 2d/font: Rewrite everything!
* 2d/wrappers/ftgl.scm: Delete it.
* configure.ac: Check for SDL_ttf.
* data/Makefile.am (shaders_DATA): Add font shaders.
* data/shaders/font-fragment.glsl: New shader.
* data/shaders/font-vertex.glsl: New shader.
* examples/font.scm: Rewrite font example.
* examples/fonts/AUTHORS: Delete it.
* examples/fonts/Boxy-Bold.ttf: Delete it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 2d/sprite.scm: (sprite-vertex): Remove color vertex.
(r-offset): Delete it.
(pack-sprite-vertices): Remove logic moved to shader.
(draw-sprite-vertices): Remove color vertex array rendering.
(sprite-shader): New variable.
(<sprite>): Remove dirty field and adjust setters.
(make-anchor): New procedure.
(update-sprite-vertices!): Use new 'pack-sprite-vertices'.
(make-sprite): Use 'make-anchor' and 'update-sprite-vertices!'.
(dirty-sprite-setter): Delete it.
(load-sprite): Formatting.
(sprite-animation-texture): Delete it.
(drawable-texture): New procedure.
(sprite-texture): Extract body to 'drawable-texture'.
(sprite-anchor-vector): Delete it.
(set-sprite-anchor!): Reimplemented.
(update-sprite-animator!): Update vertices.
(draw-sprite): Use shader program.
(<sprite-batch>, make-sprite-batch, sprite-batch?,
sprite-batch-max-size, sprite-batch-size, set-sprite-batch-size!,
sprite-batch-texture, set-sprite-batch-texture!,
sprite-batch-vertices, sprite-batch-draw, with-sprite-batch): Delete
all sprite batch code.
* data/Makefile.am (shadersdir, shaders_DATA): New variables.
* data/shaders/sprite-fragment.glsl: New shader.
* data/shaders/sprite-vertex.glsl: New shader.
|
|
* data/fonts/DejaVuSans.ttf: New file.
* data/fonts/AUTHORS: New file.
* data/Makefile.am: New file.
* configure.ac (AC_CONFIG_FILES): Add 'data/Makefile'.
* Makefile.am (SUBDIRS): Add 'data'.
* 2d/font.scm (default-font): New variable.
|