From adbd2511beec8f1caa1752bdfd755cc2f62ba425 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 9 Mar 2024 08:43:26 -0800 Subject: Make isogfx a library instead of an executable. --- gfx-iso/app/app.h | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 gfx-iso/app/app.h (limited to 'gfx-iso/app/app.h') diff --git a/gfx-iso/app/app.h b/gfx-iso/app/app.h deleted file mode 100644 index 25e55eb..0000000 --- a/gfx-iso/app/app.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -typedef struct IsoGfx IsoGfx; -typedef struct IsoGfxApp IsoGfxApp; - -typedef struct IsoGfxApp { - int pixel_scale; // 0 or 1 for 1:1 scale. - void* state; - void (*shutdown)(IsoGfx*, void* state); - void (*update)(IsoGfx*, void* state, double t, double dt); - void (*render)(IsoGfx*, void* state); -} IsoGfxApp; -- cgit v1.2.3