summaryrefslogtreecommitdiff
path: root/gltfview/src/game.h
blob: 93a5e3964a423e429fd1b9a966440014592348e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;