aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add a few functionsubq3232024-04-194-1/+44
| | | | | these are some sdl functions i needed for a project. there is not much structure beyond that.
* Add SDL_GetRendererOutputSize.Joe Finney2023-12-311-0/+9
| | | | Signed-off-by: Joe Finney <me@spxtr.net>
* all: fix build errorsDrew DeVault2023-09-228-28/+28
|
* Add SDL_CreateTextureFromSurface()francorbacho2023-08-141-0/+11
| | | | Signed-off-by: francorbacho <francorbacho@proton.me>
* cmd/demo: fix call to fmt::fatal()Autumn!2023-06-041-2/+2
| | | | Signed-off-by: Autumn! <autumnull@posteo.net>
* correct/simplify .gitignoreAutumn!2023-06-041-3/+2
| | | | Signed-off-by: Autumn! <autumnull@posteo.net>
* Correct return type wrapping of Mix_Init()Autumn!2023-06-041-1/+3
| | | | Signed-off-by: Autumn! <autumnull@posteo.net>
* rwops.ha: make more rigorous in order to fix various bugsAutumn!2023-06-042-9/+14
| | | | Signed-off-by: Autumn! <autumnull@posteo.net>
* Use types::c:: instead of char and strings::Autumn!2023-06-047-24/+28
| | | | Signed-off-by: Autumn! <autumnull@posteo.net>
* added some missing bindingsmateusmd2023-03-161-12/+127
|
* Swap io::{read,write}items for io::{read,write}allAutumn!2023-03-161-2/+2
| | | | Signed-off-by: Autumn! <autumnull@posteo.net>
* add SDL_(Un)LockTextureVlad-Stefan Harbuz2022-12-191-0/+13
| | | | Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
* Add SDL_GetWindowSurface wrapperCarlos Une2022-11-071-0/+8
| | | | Signed-off-by: Carlos Une <une@fastmail.fm>
* Add SDL_PIXELFORMAT_ARGB8888 defCarlos Une2022-11-071-0/+2
| | | | Signed-off-by: Carlos Une <une@fastmail.fm>
* Add SDL_CreateRGBSurface wrapperCarlos Une2022-11-071-0/+12
| | | | Signed-off-by: Carlos Une <une@fastmail.fm>
* Add SDL_CreateTexture, SDL_UpdateTexture wrappersCarlos Une2022-11-071-0/+26
| | | | Signed-off-by: Carlos Une <une@fastmail.fm>
* mixer: io::close can errorSebastian2022-04-281-1/+1
| | | | Signed-off-by: Sebastian <sebastian@sebsite.pw>
* Makefile: add clean targetSebastian2022-04-231-1/+4
| | | | Signed-off-by: Sebastian <sebastian@sebsite.pw>
* Makefile: add docs targetSebastian2022-04-232-1/+9
| | | | Signed-off-by: Sebastian <sebastian@sebsite.pw>
* Use def for SDL_INIT_*Drew DeVault2022-04-213-20/+18
|
* Rename SDL_GameControllerBUtton to SDL_GameControllerButtonSebastian2022-03-291-1/+1
| | | | Signed-off-by: Sebastian <sebastian@sebsite.pw>
* refactor names from e.g. sdl2::init() to sdl2::SDL_Init()Vlad-Stefan Harbuz2022-02-0721-588/+588
| | | | Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
* correct indentationVlad-Stefan Harbuz2022-02-074-73/+73
| | | | Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
* Add controller rumble supportDrew DeVault2022-02-052-0/+27
| | | | Signed-off-by: Drew DeVault <sir@cmpwn.com>
* add gl.haVlad-Stefan Harbuz2022-02-041-0/+45
| | | | Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
* sdl2: add usage to READMEVlad-Stefan Harbuz2022-01-191-0/+5
| | | | Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
* sdl2: add keysym typesand get_key_from_nameEyal Sawady2021-12-152-1/+646
|
* sdl2: add rect drawing functionsDrew DeVault2021-12-151-0/+33
|
* sdl2::mixer: implement channel playbackDrew DeVault2021-12-123-0/+27
|
* sdl2::mixer: implement sample loadingDrew DeVault2021-12-124-2/+47
|
* Add rwops io::stream implementationDrew DeVault2021-12-121-0/+128
|
* all: add error handling on initDrew DeVault2021-12-123-7/+13
|
* sdl2::mixer: initial commitDrew DeVault2021-12-124-1/+91
|
* Add blend modesDrew DeVault2021-12-112-0/+22
|
* Add SetTextureAlphaMod wrapperDrew DeVault2021-12-111-0/+16
|
* gamecontroller: add button enumDrew DeVault2021-12-101-0/+26
|
* all: rig up Hare-native error handlingDrew DeVault2021-12-108-103/+213
|
* Makefile: drop -T+libcDrew DeVault2021-12-091-2/+2
| | | | This is implied by -l
* cmd/demo: remove unused importDrew DeVault2021-12-091-1/+0
|
* Add sdl2::set_texture_color_modDrew DeVault2021-12-091-0/+15
|
* cmd/demo: change background on controller buttonDrew DeVault2021-12-091-1/+11
|
* cmd/demo: remove workaroundDrew DeVault2021-12-091-3/+0
|
* cmd/demo: further refactoringDrew DeVault2021-12-091-64/+65
|
* cmd/demo: remove unused variableDrew DeVault2021-12-091-1/+1
|
* cmd/demo: fix texture loading error messageDrew DeVault2021-12-091-1/+1
|
* cmd/demo: refactoringDrew DeVault2021-12-091-53/+41
|
* Initial gamecontroller supportDrew DeVault2021-12-094-63/+184
|
* timer: correct naming conventionDrew DeVault2021-12-091-3/+3
|
* Add timer.h functionsDrew DeVault2021-12-093-44/+115
|
* cmd/demo: add hare mascotDrew DeVault2021-12-092-21/+61
|