blob: 25e55eb90200ece20ff18bf5457ef7e2b40a36f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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;
|