diff options
| author | 3gg <3gg@shellblade.net> | 2023-07-08 15:03:05 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2023-07-08 15:03:05 -0700 |
| commit | 4fd6b58064bd26df93b05e39438dab649a65633c (patch) | |
| tree | 4f7394f204933bdd6816d6dc5a38a2c16407c6d7 /gfx-iso/app/app.h | |
| parent | 21a0d0c1c424f7db90c3282aad4bf6ad4ef809b7 (diff) | |
Add pixel scaling.
Diffstat (limited to 'gfx-iso/app/app.h')
| -rw-r--r-- | gfx-iso/app/app.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx-iso/app/app.h b/gfx-iso/app/app.h index 160da47..25e55eb 100644 --- a/gfx-iso/app/app.h +++ b/gfx-iso/app/app.h | |||
| @@ -4,6 +4,7 @@ typedef struct IsoGfx IsoGfx; | |||
| 4 | typedef struct IsoGfxApp IsoGfxApp; | 4 | typedef struct IsoGfxApp IsoGfxApp; |
| 5 | 5 | ||
| 6 | typedef struct IsoGfxApp { | 6 | typedef struct IsoGfxApp { |
| 7 | int pixel_scale; // 0 or 1 for 1:1 scale. | ||
| 7 | void* state; | 8 | void* state; |
| 8 | void (*shutdown)(IsoGfx*, void* state); | 9 | void (*shutdown)(IsoGfx*, void* state); |
| 9 | void (*update)(IsoGfx*, void* state, double t, double dt); | 10 | void (*update)(IsoGfx*, void* state, double t, double dt); |
