summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* window: Fix outdated docstring.David Thompson2015-01-191-1/+1
| | | | * sly/window.scm (close-window): Remove mention of audio in docstring.
* doc: input: Relabel signals as "Scheme Signals".David Thompson2015-01-191-9/+9
| | | | * doc/api/input.texi: s/Signal/Scheme Signal/
* live-reload: Remove global variable.David Thompson2015-01-181-19/+19
| | | | | * sly/live-reload.scm (live-reload-interval): Delete. (live-reload): Add 'polling-interval' argument.
* utils: Remove unused procedures.David Thompson2015-01-181-12/+1
| | | | * sly/utils.scm (any-equal?, logand?): Delete.
* doc: Document utility modules.David Thompson2015-01-181-0/+81
| | | | * doc/api/utils.texi: Document the REPL, live-reload, and utils modules.
* render: tileset: Fix split-texture again.David Thompson2015-01-181-2/+2
| | | | | * sly/render/tileset.scm (split-texture): Swap rows and columns calculation.
* render: tileset: Fix column calculation.David Thompson2015-01-181-1/+1
| | | | | * sly/render/tileset.scm (split-texture): Use texture height in columns calculation, not width.
* doc: Add example input module import snippets.David Thompson2015-01-181-0/+12
| | | | * doc/api/input.texi: Add import snippets.
* doc: Document input modules.David Thompson2015-01-181-0/+171
| | | | | * doc/api/input.texi: Add docs for keyboard, mouse, and joystick input modules.
* framebuffer: Fix syntax problem in 'with-framebuffer'.David Thompson2015-01-121-2/+2
| | | | | * sly/render/framebuffer.scm (with-framebuffer): Bind framebuffer to a syntactic variable that doesn't clash with the 'version-3-0' macro.
* mines: Disable clicking on tiles when you lose.Christopher Allan Webber2015-01-102-1/+3
| | | | | | | | Also add myself to AUTHORS! ;) * AUTHORS: Add me. * examples/mines/mines.scm (board-reveal): Don't reveal tiles in 'game over' state.
* Fix config.scm generation.David Thompson2014-12-261-1/+0
| | | | * configure.ac: Do not generate sly/config.scm. Let the Makefile do it.
* math: rect: Update docstrings.David Thompson2014-12-131-8/+7
| | | | | * sly/math/rect.scm (rect-position, rect-inflate, rect-union, rect-clip, rect-contains?): Update docstrings.
* math: transform: Update docstrings.David Thompson2014-12-131-4/+4
| | | | * sly/math/transform (transform+, transform*): Update docstrings.
* math: Update docstring for make-lerp.David Thompson2014-12-131-7/+7
| | | | * sly/math.scm (make-lerp): Update docstring.
* agenda: Rename procedures.David Thompson2014-12-133-10/+10
| | | | | | | * sly/agenda.scm (tick-agenda!, clear-agenda!): Rename. (agenda-tick!, agenda-clear!): New procedures. * sly/game.scm (start-game-loop): Use agenda-tick!. * sly/repl.scm (start-sly-repl): Likewise.
* docs: Add half-written manual.David Thompson2014-12-139-121/+1183
| | | | | | | | | | | | * doc/game.texi: Delete. * doc/api/init.texi: New file. * doc/api/input.texi: Likewise. * doc/api/math.texi: Likewise. * doc/api/rendering.texi: Likewise. * doc/api/time.texi: Likewise. * doc/api/utils.texi: Likewise. * doc/sly.texi: Add API reference. * doc/Makefile.am (sly_TEXINFOS): Add new files.
* data: Distribute logos in release tarballs.David Thompson2014-12-111-0/+5
| | | | * data/Makefile.am (logosdir, dist_logos_DATA): New variables.
* data: Add SVG logo.David Thompson2014-12-113-1/+472
| | | | | | | | | Huge thanks to Jana Ochse <http://www.2d-retroperspectives.org> for creating this logo! * AUTHORS: Remove Chris Webber. * data/AUTHORS: New file, which includes Chris Webber. * data/logo.svg: New file.
* doc: Begin rewriting manual.David Thompson2014-12-073-39/+340
| | | | | | | * doc/Makefile.am (guile_TEXINFOS): Delete. (sly_TEXINFOS): New variable. * doc/sly.texi: Rewrite. * doc/api/signals.texi: New file.
* signal: Require signal values in signal-let.David Thompson2014-12-071-1/+1
| | | | | * sly/signal.scm (signal-let): Use signal-ref instead of signal-ref-maybe.
* Fix 'make distcheck'.David Thompson2014-12-072-2/+3
| | | | | | * 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.
* examples: Fix Makefile.David Thompson2014-12-071-6/+3
| | | | | | * examples/Makefile.am (examples_DATA, imagedir, image_DATA): Delete. (nobase_dist_examples_DATA): New variable that preserves directory structure when 'make install' is run.
* signal: Improve docstrings and parameter names.David Thompson2014-12-071-32/+33
| | | | * sly/signal.scm: Tweak docstrings and parameter names.
* signal: Do not export signal-proc.David Thompson2014-12-071-1/+0
| | | | * sly/signal.scm: Remove signal-proc for export list.
* input: mouse: Fix typo in comment.David Thompson2014-12-071-1/+1
| | | | * sly/input/mouse.scm: Fix typo.
* examples: Recolor some sprites.David Thompson2014-12-062-0/+0
| | | | | * examples/mines/images/exploded.png: Recolor. * examples/mines/images/flag.png: Likewise.
* render: sprite: Remove make-animated-sprite.David Thompson2014-12-061-23/+1
| | | | * sly/render/sprite.scm (make-animated-sprite): Delete.
* Update TODO list.David Thompson2014-12-061-3/+4
|
* examples: Update 2048.David Thompson2014-12-062-10/+5
| | | | | | * examples/2048/2048: Delete. * examples/2048/2048.scm: New file. * examples/Makefile.am (examples_DATA): Add new file. Remove old one.
* examples: Add minesweeper clone.David Thompson2014-12-0616-2/+417
| | | | | | | * examples/mines/mines.scm: New file. * examples/mines/images/*: New files. * examples/Makefile.am (examples_DATA): Add 'mines.scm'. (image_DATA): Add images.
* math: rect: Invert y-axis.David Thompson2014-12-061-25/+27
| | | | | | | * sly/math/rect.scm (rect-top, rect-bottom): Swap. (rect-bottom-left, rect-top-left: Likewise. (rect-union, rect-clip, rect-within?, rect-intersects?, %rect-contains?): Swap top/bottom.
* math: rect: Add rect-clamp.David Thompson2014-12-061-0/+7
| | | | * sly/math/rect.scm (rect-clamp): New procedure.
* math: vector: Add vmap.David Thompson2014-12-061-1/+12
| | | | * sly/math/vector.scm (vmap): New procedure.
* render: group: Properly reset render context before rendering.David Thompson2014-12-061-8/+9
| | | | * sly/render/group.scm (draw-group): Use with-render-context macro.
* render: sprite: Floor anchor coordinates to prevent fuzzy images.David Thompson2014-12-061-2/+2
| | | | * sly/render/sprite.scm (make-sprite): Floor anchor vector.
* input: mouse: Invert y-axis.David Thompson2014-12-061-1/+5
| | | | * sly/input/mouse.scm (mouse-position): Invert y-axis.
* utils: Add chain macro.David Thompson2014-12-061-1/+16
| | | | * sly/utils.scm (chain, chain*): New syntax.
* signal: Add signal-sample-on.David Thompson2014-12-061-1/+6
| | | | * sly/signal.scm (signal-sample-on): New procedure.
* signal: Add custom record type printer.David Thompson2014-12-061-0/+10
| | | | * sly/signal.scm: Set record type printer for <signal>.
* Update README.David Thompson2014-11-301-185/+50
|
* Update the sandbox.David Thompson2014-11-301-23/+26
| | | | * sandbox: Fix it.
* examples: Update Makefile.David Thompson2014-11-301-4/+6
| | | | | | * examples/Makefile.am (examples_DATA): Add missing examples. Remove old ones. (image_DATA): Add 2048's image asset.
* examples: Delete particles example.David Thompson2014-11-301-84/+0
| | | | | | It's not a real particle system anyway. * examples/particle.scm: Delete.
* examples: Update tile map example.David Thompson2014-11-301-37/+32
| | | | * examples/tilemap.scm: Update.
* examples: Delete scene graph example.David Thompson2014-11-301-181/+0
| | | | | | Every example is a scene graph example! * examples/scene-graph.scm: Delete.
* examples: Delete transition example.David Thompson2014-11-301-45/+0
| | | | | | Made redundant by animation example. * examples/transition.scm: Delete.
* Update TODO list.David Thompson2014-11-301-15/+10
|
* live-reload: Protect against deleted files and also check ctime.David Thompson2014-11-301-2/+5
| | | | | * sly/live-reload.scm (live-reload): Check if file exists before making stat call. Check ctime in addition to mtime.
* examples: Update joystick example.David Thompson2014-11-301-45/+42
|