diff options
author | 3gg <3gg@shellblade.net> | 2024-03-09 08:43:26 -0800 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-03-09 08:43:26 -0800 |
commit | adbd2511beec8f1caa1752bdfd755cc2f62ba425 (patch) | |
tree | 8fde167e9d9951b43e571a2417ae55f9572bea28 /gfx-iso/app/app.h | |
parent | 4bc4ca2796bd434880b77d3c4bcbb56107456777 (diff) |
Make isogfx a library instead of an executable.
Diffstat (limited to 'gfx-iso/app/app.h')
-rw-r--r-- | gfx-iso/app/app.h | 12 |
1 files changed, 0 insertions, 12 deletions
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 @@ | |||
1 | #pragma once | ||
2 | |||
3 | typedef struct IsoGfx IsoGfx; | ||
4 | typedef struct IsoGfxApp IsoGfxApp; | ||
5 | |||
6 | typedef struct IsoGfxApp { | ||
7 | int pixel_scale; // 0 or 1 for 1:1 scale. | ||
8 | void* state; | ||
9 | void (*shutdown)(IsoGfx*, void* state); | ||
10 | void (*update)(IsoGfx*, void* state, double t, double dt); | ||
11 | void (*render)(IsoGfx*, void* state); | ||
12 | } IsoGfxApp; | ||