Compare commits
2 commits
51d85c011b
...
1490067dfd
Author | SHA1 | Date | |
---|---|---|---|
|
1490067dfd | ||
|
0e6aa620aa |
2 changed files with 6 additions and 1 deletions
3
readme
3
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.
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue