summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-09bootstrap: switch to autoreconfVito Caputo
autoreconf is more comprehensive than running the separate stages manually
2020-07-31play: add flags to play_startup()Vito Caputo
Introduce flags for disabling audio/video/gamecontroller caps Most of the time, all of these will be desirable for a game. But sometimes I might use this as a quick bootstrap into SDL land, especially as I accumulate play_ops_t boilerplate I'd like to be maximally reusable. The video-only use case is particularly likely especially for development tools, and I'm likely to have a corpus of play_ops_t integrations for the myriad GL/vulkan flavors... Note the flags are plumbed down to the play_ops_t.init hook so ops implementations can also be flags-aware. I didn't try make things like audio samplerate/channels configurable, as this library is intended to be a vendored .a anyways there's no hard ABI/API commitments. It can always grow and evolve when the need arises.
2020-04-19*: initial commitVito Caputo
This is largely ripped out of Eon to try give a reusable scaffolding for accelerating SDL-based simple game development. I expect there to be future commits adding more configurability like a means of influencing which flags are passed to SDL_Init(), e.g. if you have no need for joystick support, don't pass in that flag, and libplay won't pass it to SDL_Init() and do the joystick opening/mapping dance, etc.
© All Rights Reserved