/* * 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; Scene* scene; // TODO: Move scene graph to plugin? SceneCamera* camera; // TODO: Move too. } Game;