summaryrefslogtreecommitdiff
path: root/2d
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add (ice-9 format) module to imports for freeimage and ftglPieter Slabbert2013-08-232-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | freeimage.scm and ftgl.scm were throwing warnings when running make about a unsupported format option GEN 2d/wrappers/freeimage.go 2d/wrappers/freeimage.scm:120:6: warning: "<freeimage-bitmap ~x width: ~d height: ~d bpp: ~d>": unsupported format option ~x, use (ice-9 format) instead wrote `2d/wrappers/freeimage.go' GEN 2d/wrappers/ftgl.go 2d/wrappers/ftgl.scm:62:6: warning: "<ftgl-font ~x>": unsupported format option ~x, use (ice-9 format) instead 2d/wrappers/ftgl.scm:100:6: warning: "<ftgl-simple-layout ~x>": unsupported format option ~x, use (ice-9 format) instead wrote `2d/wrappers/ftgl.go' GEN 2d/wrappers/gl.go wrote `2d/wrappers/gl.go' adding the modules to the module definition of each file fixes it
* | Fix typo.David Thompson2013-08-251-1/+1
|/
* Flesh out actions module.David Thompson2013-08-211-9/+112
|
* Only unlock the game loop mutex when the REPL server is waiting.David Thompson2013-08-191-4/+16
|
* Use GL_NEAREST method for texture scaling.David Thompson2013-08-181-2/+4
|
* Create textbox type.David Thompson2013-08-181-12/+43
|
* Add a few more wrappers for FTGL layout functions.David Thompson2013-08-181-3/+19
|
* Change render-font to draw-font and don't any matrix or color manipulation.David Thompson2013-08-181-8/+7
|
* Change render-font procedure.David Thompson2013-08-181-13/+37
|
* Add wrappers for FTGL simple layout objects.David Thompson2013-08-181-0/+80
|
* Use color module in font module.David Thompson2013-08-171-1/+2
|
* Use new color module.David Thompson2013-08-172-19/+7
|
* Create color module.David Thompson2013-08-171-0/+87
|
* Create basic font module.David Thompson2013-08-171-0/+54
|
* Create initial bindings for ftgl.David Thompson2013-08-171-0/+89
|
* Delete freetype wrapper module.David Thompson2013-08-171-33/+0
|
* Move define-enumeration into util module.David Thompson2013-08-172-16/+42
|
* Change origin to bottom-left corner of window.David Thompson2013-08-172-2/+1
|
* Create freetype module.David Thompson2013-08-151-0/+33
|
* Init SDL when window module is loaded instead of needing an explicit init call.David Thompson2013-08-151-8/+4
|
* Fix freeimage-load procedure that was not passing enough arguments.David Thompson2013-08-151-4/+3
| | | | | | This was a fucking pain to track down. freeimage-get-bits was randomly failing to load. Sometimes the program would run, sometimes it would crash with a null pointer dereference error.
* Flip freeimage bitmaps vertically because the y-axis is the reverse of what ↵David Thompson2013-08-151-4/+9
| | | | we want.
* Add wrapper for FreeImage_FlipVertical.David Thompson2013-08-151-0/+12
|
* Use freeimage for texture loading.David Thompson2013-08-141-21/+17
|
* Add freeimage wrapper.David Thompson2013-08-141-0/+250
|
* Remove reference to pixel-format* enum.David Thompson2013-08-141-2/+2
|
* Remove unnecessary gl enum.David Thompson2013-08-141-20/+0
|
* Move gl.scm to wrappers subdirectory.David Thompson2013-08-143-3/+3
|
* Remove redundant comparisons in rect-contains?David Thompson2013-08-141-4/+0
|
* Fix rect-intersects?David Thompson2013-08-131-2/+2
|
* Forgot to export rect-clip.David Thompson2013-08-131-0/+1
|
* Expand rect module.David Thompson2013-08-131-6/+30
|
* Create rect module.David Thompson2013-08-121-0/+99
|
* Ensure that all texture objects are added to the texture guardian.David Thompson2013-08-041-8/+11
|
* Whitespace.David Thompson2013-08-021-2/+0
|
* Refactor pack-sprite-vertices.David Thompson2013-08-021-52/+36
|
* Refactor sprite vertex array rendering procedures.David Thompson2013-08-021-65/+38
|
* Simplify sprite module now that textures and texture regions are a unified type.David Thompson2013-08-021-69/+27
|
* Refactor <texture-region> into <texture>.David Thompson2013-08-021-71/+73
|
* Add a global mutex that allows the REPL server to be used more safely while ↵David Thompson2013-07-311-0/+19
| | | | the game loop is running.
* Small re-organization.David Thompson2013-07-311-1/+10
|
* Move game-loop procedure out of run-game-loop.David Thompson2013-07-311-16/+16
|
* Spawn REPL server when game loop starts.David Thompson2013-07-311-0/+3
|
* Floor tick-interval since we're dealing with milliseconds and not fractions ↵David Thompson2013-07-311-1/+1
| | | | of milliseconds.
* Add custom REPL server modules.David Thompson2013-07-312-0/+357
| | | | These are slightly modified versions of the ones that come with Guile.
* Use weighted average FPS measurement.David Thompson2013-07-311-22/+38
|
* Use the current-time argument in time-left.David Thompson2013-07-311-1/+1
|
* Improve game loop.David Thompson2013-07-311-18/+16
| | | | Instead of a busy loop that eats all of the CPU, sleep in-between frames when possible.
* Only perform sprite rotation math when necessary.David Thompson2013-07-301-28/+57
|
* Refactor sprite vertex packing.David Thompson2013-07-291-121/+109
|