summaryrefslogtreecommitdiff
path: root/2d/texture.scm
Commit message (Collapse)AuthorAgeFilesLines
* Replace figl with the new guile-opengl official release.David Thompson2014-03-231-2/+2
|
* Change license to GPLv3+.David Thompson2014-03-081-8/+8
|
* Add 'top-left as possible anchor value.David Thompson2014-02-161-0/+2
| | | | * 2d/texture.scm (anchor-texture): Add 'top-left condition.
* Move texture anchor procedure.David Thompson2014-02-161-1/+14
| | | | | * 2d/sprite.scm (make-anchor): Delete it. * 2d/texture.scm (anchor-texture): New procedure.
* Change sprite-vertex to texture-vertex.David Thompson2014-02-161-1/+46
| | | | | | | | | | * 2d/sprite.scm (sprite-vertex, sprite-vertex-size, x-offset, s-offset, pack-sprite-vertices, draw-sprite-vertices): Delete. (update-sprite-vertices!): Use 'pack-texture-vertices'. (make-sprite): Use 'texture-vertex'. (draw-sprite): Use 'draw-texture-vertices'. * 2d/texture.scm (texture-vertex, texture-vertex-size, x-offset, s-offset, pack-texture-vertices, draw-texture-vertices): New variables.
* Delete draw-texture.David Thompson2014-02-161-24/+0
| | | | * 2d/texture.scm (draw-texture): Delete it.
* Add define-guardian macro.David Thompson2014-02-091-16/+8
| | | | | | * 2d/helpers.scm (define-guardian): New macro. * 2d/texture.scm (reap-textures): Delete it. (texture-guardian): Defined using define-guardian.
* Remove commented code.David Thompson2014-01-131-4/+0
| | | | * 2d/texture.scm: Remove commented code.
* Replace obsolete procedure call with the correct one.David Thompson2014-01-121-4/+8
| | | | * 2d/texture.scm (draw-texture): Use color module.
* Clean up docstrings for sprite module.David Thompson2013-09-181-1/+1
|
* Clean up docstrings for texture module.David Thompson2013-09-181-2/+10
|
* Create tileset module.David Thompson2013-08-261-18/+1
|
* Make the origin the top-left corner of the window again.David Thompson2013-08-261-0/+2
|
* Throw error if image file does not exist.David Thompson2013-08-241-1/+7
|
* Use GL_NEAREST method for texture scaling.David Thompson2013-08-181-2/+4
|
* Change origin to bottom-left corner of window.David Thompson2013-08-171-1/+0
|
* Flip freeimage bitmaps vertically because the y-axis is the reverse of what ↵David Thompson2013-08-151-4/+9
| | | | we want.
* Use freeimage for texture loading.David Thompson2013-08-141-21/+17
|
* Remove reference to pixel-format* enum.David Thompson2013-08-141-2/+2
|
* Move gl.scm to wrappers subdirectory.David Thompson2013-08-141-1/+1
|
* Ensure that all texture objects are added to the texture guardian.David Thompson2013-08-041-8/+11
|
* Refactor <texture-region> into <texture>.David Thompson2013-08-021-71/+73
|
* Fix figl enum.David Thompson2013-07-281-1/+1
|
* Split sprite module into 3 modules.David Thompson2013-07-221-0/+178
|
* Deleted texture module and moved contents into sprite module.David Thompson2013-07-061-153/+0
|
* Add optional texture coordinate parameters to texture-quad and ↵David Thompson2013-07-061-5/+6
| | | | sprite-batch-draw.
* Add texture regions.David Thompson2013-07-061-1/+37
|
* Reap OpenGL textures when texture objects are GC'd.David Thompson2013-06-231-3/+22
|
* Add support for creating textures from RGB and RGBA surfaces.David Thompson2013-06-161-3/+12
|
* Add a color parameter to texture-quad.David Thompson2013-06-161-1/+2
|
* Change gl-tex-parameter to gl-texture-parameter.David Thompson2013-06-131-15/+15
|
* Add texture module.David Thompson2013-06-121-0/+87