there is nothing
This commit is contained in:
cat 2025-05-24 15:17:10 +10:00
commit 10f98381cc
3 changed files with 41 additions and 0 deletions

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
# TODO: figure out mingw-w64 cross-compilation
PREFIX ?= /usr/local
CFLAGS := $(CFLAGS) `pkg-config --cflags --libs sdl3`
LDFLAGS := $(LDFLAGS)
all: slutpet
slutpet: slutpet.c
.PHONY: clean
clean:
-rm -f slutpet

1
readme Normal file
View file

@ -0,0 +1 @@
horny desktop pet thing.

27
slutpet.c Normal file
View file

@ -0,0 +1,27 @@
#include <SDL3/SDL.h>
#define SDL_MAIN_USE_CALLBACKS
#include <SDL3/SDL_main.h>
void
SDL_AppQuit(void *appstate, SDL_AppResult result)
{
return;
}
SDL_AppResult
SDL_AppEvent(void *appstate, SDL_Event *event)
{
return SDL_APP_SUCCESS;
}
SDL_AppResult
SDL_AppIterate(void *appstate)
{
return SDL_APP_SUCCESS;
}
SDL_AppResult
SDL_AppInit(void **appstate, int argc, char **argv)
{
return SDL_APP_SUCCESS;
}