From 21a0d0c1c424f7db90c3282aad4bf6ad4ef809b7 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 8 Jul 2023 14:37:29 -0700 Subject: Load tile maps and tile sets from files. --- gfx-iso/app/app.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create 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 new file mode 100644 index 0000000..160da47 --- /dev/null +++ b/gfx-iso/app/app.h @@ -0,0 +1,11 @@ +#pragma once + +typedef struct IsoGfx IsoGfx; +typedef struct IsoGfxApp IsoGfxApp; + +typedef struct IsoGfxApp { + 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