From 0e6aa620aa79c7e53a4a889e3ee66b1f48384972 Mon Sep 17 00:00:00 2001 From: cat Date: Sun, 25 May 2025 14:51:14 +1000 Subject: [PATCH 1/2] some more window creation flags --- slutpet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/slutpet.c b/slutpet.c index 3e4f934..49eeca8 100644 --- a/slutpet.c +++ b/slutpet.c @@ -83,7 +83,9 @@ SDL_AppInit(void **as, int argc, char **argv) SDL_Log("create win+render..."); 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)) { SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION, "win creation fail: %s", SDL_GetError()); From 1490067dfd877bc5b4b87d2f3ae2e5fcf1bdbb99 Mon Sep 17 00:00:00 2001 From: cat Date: Sun, 25 May 2025 16:50:14 +1000 Subject: [PATCH 2/2] more info in readme --- readme | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readme b/readme index c5bb03a..3857b77 100644 --- a/readme +++ b/readme @@ -1,5 +1,8 @@ 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 want people to be able to create their own pets without having to figure out how to recompile.