Ryan C. Gordon
Ryan C. Gordon
It's not uncommon to do `kill troll with sword` and then keep typing the shorter `again` until the fight is done. But `again` is rerunning whatever the last input was,...
> Yes please. And while you're at it, do you want to add it for SDL and SDL_* libraries? @smcv did a great job documenting all the places that need...
There's 700+ open bugs, most of them things that were still open on Bugzilla when we migrated, and some of them _years_ old. It might be worth taking a few...
> With https://github.com/libsdl-org/sdl12-compat/commit/67f8b3a85b782eefb4db90f34d5b0742ef2cb5fc (1.2.58 + 29 commits) the copyright message, explosion and CRASHED appear as expected, but on Wayland the game sometimes (50%) becomes unresponsive anyway. With X11 it seems...
Work has started on defining the bytecode format, and is ongoing: https://github.com/icculus/SDL_shader_tools/blob/main/docs/README-bytecode-format.md You can see a lot of these things aren't filled in yet, but that's mostly laziness on my...
> # Make SDL_main a header-only lib > > Right now using SDL_main can be painful, especially with MinGW: There you have to link `-lmingw32 -lSDL2main -lSDL2` in that exact...
Right now, SDL_RWRead (and others) will return 0 on EOF or error, with no good way to differentiate...the best practice is _probably_ to clear the current SDL error, call SDL_RWRead,...
While I'm getting medieval on the RWops API, I figured I should open this up for discussion: The changes I made yesterday change the return value of RWread to something...
These functions... ```c Uint32 SDL_ReadLE32(SDL_RWops *src) { Uint32 value = 0; SDL_RWread(src, &value, sizeof(value)); return SDL_SwapLE32(value); } ``` ...do not report i/o errors, so you might get a byteswapped zero...
It's awkward to have: ```c switch (myevent->type) { case SDL_WINDOWEVENT: switch (myevent->window.event) { case SDL_WINDOWEVENT_FOCUS_LOST: // [...] ``` Why not just make the window events toplevel events in SDL3? ```c...