Compare commits

...

2 commits

Author SHA1 Message Date
cat
1490067dfd more info in readme 2025-05-25 16:50:14 +10:00
cat
0e6aa620aa some more window creation flags 2025-05-25 14:51:14 +10:00
2 changed files with 6 additions and 1 deletions

3
readme
View file

@ -1,5 +1,8 @@
horny desktop pet thing. horny desktop pet thing.
you need sdl3 to build it.
i have not tried cross-compiling to windows yet.
i think it's probably best to use some sort of extension language. i think it's probably best to use some sort of extension language.
i want people to be able to create their own pets without having to i want people to be able to create their own pets without having to
figure out how to recompile. figure out how to recompile.

View file

@ -83,7 +83,9 @@ SDL_AppInit(void **as, int argc, char **argv)
SDL_Log("create win+render..."); SDL_Log("create win+render...");
if (!SDL_CreateWindowAndRenderer("slutpet", 320, 240, if (!SDL_CreateWindowAndRenderer("slutpet", 320, 240,
SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS, SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS
| SDL_WINDOW_NOT_FOCUSABLE
| SDL_WINDOW_ALWAYS_ON_TOP,
&st->win, &st->ren)) { &st->win, &st->ren)) {
SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION, SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION,
"win creation fail: %s", SDL_GetError()); "win creation fail: %s", SDL_GetError());