From 10f98381cc13374b50ada3326cd3f68b969f52e1 Mon Sep 17 00:00:00 2001 From: cat Date: Sat, 24 May 2025 15:17:10 +1000 Subject: [PATCH] nothing there is nothing --- Makefile | 13 +++++++++++++ readme | 1 + slutpet.c | 27 +++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 Makefile create mode 100644 readme create mode 100644 slutpet.c diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2313fdc --- /dev/null +++ b/Makefile @@ -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 diff --git a/readme b/readme new file mode 100644 index 0000000..fba50b1 --- /dev/null +++ b/readme @@ -0,0 +1 @@ +horny desktop pet thing. diff --git a/slutpet.c b/slutpet.c new file mode 100644 index 0000000..7a85553 --- /dev/null +++ b/slutpet.c @@ -0,0 +1,27 @@ +#include +#define SDL_MAIN_USE_CALLBACKS +#include + +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; +}