diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-09-08 15:46:39 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-09-08 15:52:39 +0700 |
commit | da79599ad5201f4eebd3edaabbe4b33498de448e (patch) | |
tree | 4f026ad0bb2ab643baadf057d8f391dbc4a9568f /src/Game.h | |
parent | 67cf9f61e91462eaf8e8caeaa7d0d7d3d9d1f711 (diff) | |
download | blackshades-2.1.0.tar.gz |
Move configuration parsing to Zig 2.1.0
The config file is now read from configuration directories instead of pwd.
Diffstat (limited to 'src/Game.h')
-rw-r--r-- | src/Game.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Game.h b/src/Game.h index b4dbcc5..0d819c6 100644 --- a/src/Game.h +++ b/src/Game.h @@ -22,6 +22,8 @@ #ifndef BLACKSHADES_GAME_H #define BLACKSHADES_GAME_H +#include "config.h" + #ifdef __cplusplus #include <GL/gl.h> #include <GL/glu.h> @@ -205,7 +207,7 @@ typedef struct Game Game; #ifdef __cplusplus extern "C" { #endif // __cplusplus - Game* makeGame(); + Game* makeGame(struct Config config); void initGl(Game*); void initGame(Game*); void eventLoop(Game*); |