blob: 4589496d5bb94d92482b44922f0e324bf6aa8239 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* 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 GfxApp GfxApp;
typedef struct Scene Scene;
typedef struct SceneCamera SceneCamera;
/// Game state.
typedef struct {
int argc;
const char** argv;
PluginEngine* plugin_engine;
Plugin* plugin;
GfxApp* app;
Gfx* gfx;
int width;
int height;
} Game;
|