diff options
author | 3gg <3gg@shellblade.net> | 2024-01-20 15:54:54 -0800 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-01-20 15:54:54 -0800 |
commit | 3cd5b0bcca694630fcb4b977ddf7be7cd1bce153 (patch) | |
tree | e1a0e02ab5471d0f2ffb499f18109d6790241798 /game/src/game.h | |
parent | 02ec7cd07213e267fda7e1e67b62f55e92a2f32c (diff) |
Rename gltfview -> game.
Diffstat (limited to 'game/src/game.h')
-rw-r--r-- | game/src/game.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/game/src/game.h b/game/src/game.h new file mode 100644 index 0000000..93a5e39 --- /dev/null +++ b/game/src/game.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Header file defining the game state, included by plugins. | ||
3 | */ | ||
4 | #pragma once | ||
5 | |||
6 | typedef struct PluginEngine PluginEngine; | ||
7 | typedef struct Plugin Plugin; | ||
8 | typedef struct Gfx Gfx; | ||
9 | typedef struct Scene Scene; | ||
10 | typedef struct SceneCamera SceneCamera; | ||
11 | |||
12 | /// Game state. | ||
13 | typedef struct { | ||
14 | int argc; | ||
15 | const char** argv; | ||
16 | PluginEngine* plugin_engine; | ||
17 | Plugin* plugin; | ||
18 | Gfx* gfx; | ||
19 | } Game; | ||