diff options
author | 3gg <3gg@shellblade.net> | 2023-07-08 14:37:29 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2023-07-08 14:37:29 -0700 |
commit | 21a0d0c1c424f7db90c3282aad4bf6ad4ef809b7 (patch) | |
tree | a6ae8a8cb4108cd33713178e67d3b482fc1fd5ee /gfx-iso/app/app.h | |
parent | 303f5dc58dd8e8266df3c62fc84d9799db8047b9 (diff) |
Load tile maps and tile sets from files.
Diffstat (limited to 'gfx-iso/app/app.h')
-rw-r--r-- | gfx-iso/app/app.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ | |||
1 | #pragma once | ||
2 | |||
3 | typedef struct IsoGfx IsoGfx; | ||
4 | typedef struct IsoGfxApp IsoGfxApp; | ||
5 | |||
6 | typedef struct IsoGfxApp { | ||
7 | void* state; | ||
8 | void (*shutdown)(IsoGfx*, void* state); | ||
9 | void (*update)(IsoGfx*, void* state, double t, double dt); | ||
10 | void (*render)(IsoGfx*, void* state); | ||
11 | } IsoGfxApp; | ||