Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add run-example script. | David Thompson | 2021-05-05 | 1 | -0/+1 |
| | |||||
* | make: Update publish task. | David Thompson | 2021-04-25 | 1 | -1/+1 |
| | |||||
* | Add support for hints. | Leo Prikler | 2021-01-16 | 1 | -0/+1 |
| | | | | | | | * sdl2/bindings.scm (SDL_HINT_DEFAULT, SDL_HINT_NORMAL, SDL_HINT_OVERRIDE) (sdl-set-hint-with-priority, sdl-get-hint): New variables. * sdl2/hints.scm: New file. * doc/api.texi: Add Hints. | ||||
* | Add blend mode bindings. | Leo Prikler | 2020-09-30 | 1 | -0/+1 |
| | |||||
* | Automagically detect SDL2_image, SDL2_ttf, SDL2_mixer library directories. | David Thompson | 2020-04-07 | 1 | -4/+4 |
| | |||||
* | doc: Use pretty CSS for HTML version. | David Thompson | 2019-06-02 | 1 | -0/+3 |
| | |||||
* | Fix signature generation in 'make publish'.v0.4.0 | David Thompson | 2019-06-02 | 1 | -1/+1 |
| | | | | I wasn't generating detached signatures! Oops! | ||||
* | Makefile: Fix texinfo include file declaration. | David Thompson | 2019-05-23 | 1 | -1/+1 |
| | | | | | Now 'make' will automatically rebuild the docs when, say, doc/api.texi is modified. | ||||
* | Add rect module. | David Thompson | 2019-01-07 | 1 | -0/+1 |
| | | | | | * sdl2/rect.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Makfile: Fix publish task. | David Thompson | 2018-07-10 | 1 | -1/+1 |
| | |||||
* | Makefile: Fix compiled guile module installation location. | David Thompson | 2018-07-10 | 1 | -1/+1 |
| | |||||
* | Add mouse input module. | David Thompson | 2017-11-10 | 1 | -0/+1 |
| | | | | | * sdl2/input/mouse.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Add clipboard bindings. | David Thompson | 2017-11-10 | 1 | -0/+1 |
| | | | | | | | * 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. | ||||
* | input: Add keyboard module. | David Thompson | 2017-04-01 | 1 | -0/+1 |
| | | | | | | * sdl2/bindings.scm (sdl-get-keyboard-state): New procedure. * sdl2/input/keyboard.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Fix 'make publish'. | David Thompson | 2017-01-20 | 1 | -2/+2 |
| | |||||
* | Don't build dvi docs. | David Thompson | 2017-01-20 | 1 | -0/+2 |
| | |||||
* | Add game controller example. | David Thompson | 2017-01-20 | 1 | -1/+2 |
| | |||||
* | Add the beginning of a manual. | David Thompson | 2016-12-31 | 1 | -0/+7 |
| | |||||
* | Add bindings for game controller input. | David Thompson | 2016-12-31 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sdl2.scm (%default-init-flags): Add 'joystick' to default flags. (sdl-init): Translate to 'joystick' to SDL2 init bit flag. * sdl2/bindings.scm (SDL_INIT_JOYSTICK, SDL_JOYSTICK_POWER_UNKNOWN, SDL_JOYSTICK_POWER_EMPTY, SDL_JOYSTICK_POWER_LOW, SDL_JOYSTICK_POWER_MEDIUM, SDL_JOYSTICK_POWER_FULL, SDL_JOYSTICK_POWER_WIRED, SDL_JOYSTICK_POWER_MAX, SDL_CONTROLLER_AXIS_INVALID, SDL_CONTROLLER_AXIS_LEFTX, SDL_CONTROLLER_AXIS_LEFTY, SDL_CONTROLLER_AXIS_RIGHTX, SDL_CONTROLLER_AXIS_RIGHTY, SDL_CONTROLLER_AXIS_TRIGGERLEFT, SDL_CONTROLLER_AXIS_TRIGGERRIGHT, SDL_CONTROLLER_AXIS_MAX, SDL_CONTROLLER_BUTTON_INVALID, SDL_CONTROLLER_BUTTON_A, SDL_CONTROLLER_BUTTON_B, SDL_CONTROLLER_BUTTON_X, SDL_CONTROLLER_BUTTON_Y, SDL_CONTROLLER_BUTTON_BACK, SDL_CONTROLLER_BUTTON_GUIDE, SDL_CONTROLLER_BUTTON_START, SDL_CONTROLLER_BUTTON_LEFTSTICK, SDL_CONTROLLER_BUTTON_RIGHTSTICK, SDL_CONTROLLER_BUTTON_LEFTSHOULDER, SDL_CONTROLLER_BUTTON_RIGHTSHOULDER, SDL_CONTROLLER_BUTTON_DPAD_UP, SDL_CONTROLLER_BUTTON_DPAD_DOWN, SDL_CONTROLLER_BUTTON_DPAD_LEFT, SDL_CONTROLLER_BUTTON_DPAD_RIGHT, SDL_CONTROLLER_BUTTON_MAX): New variables. (sdl-joystick-open, sdl-joystick-close, sdl-joystick-current-power-level, sdl-joystick-event-state, sdl-joystick-from-instance-id, sdl-joystick-get-attached, sdl-joystick-get-axis, sdl-joystick-get-ball, sdl-joystick-get-button, sdl-joystick-get-device-guid, sdl-joystick-get-guide, sdl-joystick-get-guid-from-string, sdl-joystick-get-guid-string, sdl-joystick-get-hat, sdl-joystick-instance-id, sdl-joystick-name, sdl-joystick-name-for-index, sdl-joystick-num-axes, sdl-joystick-num-balls, sdl-joystick-num-buttons, sdl-joystick-num-hats, sdl-num-joysticks, sdl-joystick-update, sdl-game-controller-add-mapping, sdl-game-controller-open, sdl-game-controller-close, sdl-game-controller-event-state, sdl-game-controller-from-instance-id, sdl-game-controller-get-attached, sdl-game-controller-get-axis, sdl-game-controller-get-axis-from-string, sdl-game-controller-get-string-from-axis, sdl-game-controller-get-string-for-axis, sdl-game-controller-get-button, sdl-game-controller-get-button-from-string, sdl-game-controller-get-string-from-button, sdl-game-controller-get-joystick, sdl-game-controller-mapping, sdl-game-controller-mapping-for-guid, sdl-game-controller-name, sdl-game-controller-name-for-index, sdl-game-controller-update, sdl-is-game-controller): New procedures. * sdl2/events.scm (make-joystick-ball-event, joystick-ball-event?, joystick-ball-event-timestamp, joystick-ball-event-which, joystick-ball-event-ball, joystick-ball-event-x-rel, joystick-ball-event-y-rel, make-joystick-hat-event, joystick-hat-event?, joystick-hat-event-timestamp, joystick-hat-event-which, joystick-hat-event-hat, joystick-hat-event-value, make-joystick-device-event, joystick-device-event?, joystick-device-event-timestamp, joystick-device-event-which, joystick-device-event-action, make-controller-axis-event, controller-axis-event?, controller-axis-event-timestamp, controller-axis-event-which, controller-axis-event-axis, controller-axis-event-value, make-controller-button-event, controller-button-event?, controller-button-down-event?, controller-button-up-event?, controller-button-event-timestamp, controller-button-event-which, controller-button-event-button, controller-button-event-pressed?, make-controller-device-event, controller-device-event?, controller-device-event-timestamp, controller-device-event-which, controller-device-event-action, parse-joystick-ball-event, parse-joystick-hat-event, parse-joystick-device-event, parse-controller-axis-event, parse-controller-button-event, parse-controller-device-event): New procedures. (poll-event): Parse joystick/controller events. * sdl2/input/joystick.scm: New file. * sdl2/input/game-controller.scm: New file. * Makefile.am (SOURCES): Add them | ||||
* | Add bindings for text input event handling. | David Thompson | 2016-12-30 | 1 | -2/+3 |
| | | | | | | | | | | | * sdl2/bindings.scm (sdl-start-text-input, sdl-stop-text-input, sdl-is-text-input-active): New procedures. * sdl2/events.scm (<text-input-event>): New record type. (make-text-input-event, text-input-event?, text-input-event-timestamp, text-input-event-window-id, text-input-event-text, parse-text-input-event): New procedures. * sdl2/input/text.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Install modules to correct directory based on Guile version. | David Thompson | 2016-02-10 | 1 | -2/+2 |
| | |||||
* | build: Add 'publish' make target. | David Thompson | 2016-01-01 | 1 | -0/+7 |
| | | | | No more remembering how I sign and upload things. ;) | ||||
* | build: Distribute example files. | David Thompson | 2015-12-22 | 1 | -1/+3 |
| | |||||
* | Add SDL2_mixer bindings. | David Thompson | 2015-12-20 | 1 | -0/+8 |
| | | | | | | | * sdl2/bindings.scm: Add "AUDIO_*" constants. * sdl2/bindings/mixer.scm: New file. * sdl2/mixer.scm: New file. * Makefile.am (SOURCES): Add new files. | ||||
* | Add SDL2_ttf bindings. | David Thompson | 2015-12-17 | 1 | -0/+8 |
| | | | | | | * sdl2/bindings/ttf.scm: New file. * sdl2/ttf.scm: New file. * Makefile.am (SOURCES): Add them. | ||||
* | Add SDL2_image bindings. | David Thompson | 2015-12-16 | 1 | -0/+8 |
| | | | | | | * sdl2/bindings/image.scm: New file. * sdl2/image.scm: New file. * Makefile.am (SOURCES): Add them. | ||||
* | Add event bindings. | David Thompson | 2015-12-16 | 1 | -1/+2 |
| | | | | | | | | | | | | So far, only window and keyboard events are handled. More to come in future patches. This patch adds a *ton* of constants that I'm not going to mention in this log because it would be too damn long. * sdl2/bindings.scm (sdl-poll-event): New procedure. * sdl2/events.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Add a few surface bindings. | David Thompson | 2015-12-13 | 1 | -0/+1 |
| | | | | | | | * sdl2/bindings.scm (sdl-rw-from-file, sdl-free-surface, sdl-load-bmp-rw): New procedures. * sdl2/surface.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Add renderer bindings. | David Thompson | 2015-12-13 | 1 | -0/+1 |
| | | | | | | | | | | * sdl2/bindings.scm (SDL_RENDERER_SOFTWARE, SDL_RENDERER_ACCELERATED, SDL_RENDERER_PRESENTVSYNC, SDL_RENDERER_TARGETTEXTURE): New variables. (sdl-create-renderer, sdl-destroy-renderer, sdl-render-clear, sdl-render-present, sdl-render-copy, sdl-create-texture-from-surface): New procedures. * sdl2/render.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | Initial commit. | David Thompson | 2015-10-06 | 1 | -0/+52 |
Let's do this! |