From 3cd5b0bcca694630fcb4b977ddf7be7cd1bce153 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 20 Jan 2024 15:54:54 -0800 Subject: Rename gltfview -> game. --- game/src/game.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 game/src/game.h (limited to 'game/src/game.h') 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 @@ +/* + * Header file defining the game state, included by plugins. + */ +#pragma once + +typedef struct PluginEngine PluginEngine; +typedef struct Plugin Plugin; +typedef struct Gfx Gfx; +typedef struct Scene Scene; +typedef struct SceneCamera SceneCamera; + +/// Game state. +typedef struct { + int argc; + const char** argv; + PluginEngine* plugin_engine; + Plugin* plugin; + Gfx* gfx; +} Game; -- cgit v1.2.3