| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
* sdl2/bindings.scm (SDL_TEXTUREACCESS_STATIC,
SDL_TEXTUREACCESS_STREAMING, SDL_TEXTUREACCESS_TARGET): New
variables.
(sdl-create-texture, sdl-set-render-target, sdl-get-render-target):
New procedures.
* sdl2/render.scm (symbol->sdl-access-format, make-texture,
set-render-target!, get-render-target): New procedures.
* doc/api.texi: Document new procedures.
|
|
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-rect, sdl-render-draw-rects,
sdl-render-fill-rect, sdl-render-fill-rects): New procedures.
* sdl2/render.scm (render-draw-rect, render-draw-rects,
render-fill-rect, render-fill-rects): New procedures.
* doc/api.texi: Document new procedures.
|
|
|
|
| |
* doc/api.texi: Document 'set-render-draw-color'.
|
|
|
|
|
| |
Thanks to Hugo Hörnquist <hugo@lysator.liu.se> for submitting this
change.
|
| |
|
| |
|
|
|
|
| |
I wasn't generating detached signatures! Oops!
|
| |
|
| |
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-lines): New procedure.
* sdl2/render.scm (render-draw-lines): New procedure.
* doc/api.texi: Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-points): New procedure.
* sdl2/render.scm (render-draw-points): New procedure.
* doc/api.texi (Rendering): Document it.
|
|
|
|
| |
* sdl2/render.scm: Fix function name.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-destroy-texture): New procedure.
* sdl2/render.scm (delete-texture!): New procedure.
* doc/api.texi (Renderer): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-line): New procedure.
* sdl2/render.scm (render-draw-line): New procedure.
* doc/api.texi (Rendering): Document it.
|
|
|
|
|
| |
Now 'make' will automatically rebuild the docs when, say, doc/api.texi
is modified.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-render-draw-line): New procedure.
* sdl2/render.scm (render-draw-line): New procedure.
* doc/api.texi: Document it.
|
|
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-point): New variable.
(sdl-render-copy-ex): New procedure.
* sdl2/render.scm (render-copy): Add optional arguments, angle and
center.
* doc/api.texi (Rendering): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-fill-rect): New procedure.
* sdl2/surface.scm (fill-rect): New procedure.
* doc/api.texi (Surfaces): Document it.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-blit-scaled): New procedure.
* sdl2/surface.scm (blit-scaled): New procedure.
* doc/api.texi (Surfaces): Document it.
|
| |
|
|
|
|
| |
* doc/api.texi (Rects): New section.
|
|
|
|
| |
* doc/api.texi (Surfaces): Document blit-surface procedure.
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-blit-surface): New procedure.
* sdl2/surface.scm (blit-surface): New procedure.
|
|
|
|
|
| |
* sdl2/rect.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* sdl2/input/game-controller.scm (axis-symbol->int): Fix typo!
|
| |
|
| |
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-set-render-draw-color): New procedure.
* sdl2/render.scm (set-render-draw-color): New procedure.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* sdl2/input/mouse.scm (mouse-button-released?): New procedure.
|
|
|
|
|
| |
* sdl2/input/mouse.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* sdl2/render.scm (render-copy): Make srcrect and dstrect optional and
do not use nil? to check them.
|
|
|
|
|
|
| |
No high-level wrapper yet, though.
* sdl2/bindings.scm (sdl-get-mouse-state): New procedure.
|
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-get-clipboard-text, sdl-set-clipboard-text,
sdl-has-clipboard-text): New procedures.
* sdl2/clipboard.scm: New file.
* Makefile.am (SOURCES): Add it.
|
| |
|
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-game-controller-add-mappings-from-file): New
procedure.
* sdl2/input/game-controller.scm (load-game-controller-mappings!): New
procedure.
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-rect): New variable.
* sdl2/render.scm (render-copy): Add srcrect and dstrect arguments.
|
|
|
|
|
|
| |
* sdl2/bindings.scm (sdl-get-keyboard-state): New procedure.
* sdl2/input/keyboard.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* sdl2/surface.scm: Export pixel-format-name.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sdl2/surface.scm (color?, make-color, color-r, color-g, color-b,
color-a, palette?, palette-length, palette-colors, pixel-format?,
pixel-format-bits-per-pixel, pixel-format-bytes-per-pixel,
pixel-format-red-mask, pixel-format-green-mask, pixel-format-blue-mask,
pixel-format-alpha-mask, surface-pixel-format, wrap-palette,
unwrap-palette, wrap-pixel-format, unwrap-pixel-format): New procedures.
(<color>, <palette>, <pixel-format>): New types.
(%palette-types, %pixel-format-types): New variables.
(palette-parse-match, pixel-format-parse-match): New syntax.
* .dir-locals.el: Add indent rules for new macros.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* sdl2/events.scm (<keyboard-event>): Rename "repeat" field to
"repeat?"
(keyboard-event-repeat): Replace with...
(keyboard-event-repeat?): ... this.
(parse-keyboard-event): Parse "repeat" field as a boolean.
|
| |
|