summaryrefslogtreecommitdiff
path: root/game/src/plugins/plugin.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-02-08 07:58:22 -0800
committer3gg <3gg@shellblade.net>2024-02-08 07:58:22 -0800
commitd130c2c7314cf4884f444db16d7717b7356b54ff (patch)
tree19080622054c32b5e09b5f455b4a8490e7ae6048 /game/src/plugins/plugin.h
parentdda4b3e598c7c955a44e3874bf2c57bd16b1c3ea (diff)
Add window width and height to game.
Diffstat (limited to 'game/src/plugins/plugin.h')
-rw-r--r--game/src/plugins/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/plugins/plugin.h b/game/src/plugins/plugin.h
index a2632cd..f7219c6 100644
--- a/game/src/plugins/plugin.h
+++ b/game/src/plugins/plugin.h
@@ -41,7 +41,7 @@ void update(Game*, State*, double t, double dt);
41void render(const Game*, const State*); 41void render(const Game*, const State*);
42 42
43/// Called when the game's window is resized. 43/// Called when the game's window is resized.
44void resize(Game* game, State* state, int width, int height); 44void resize(Game*, State*, int width, int height);
45 45
46// Signatures for the plugin's exposed functions. 46// Signatures for the plugin's exposed functions.
47typedef bool (*plugin_init)(Game*, State**); 47typedef bool (*plugin_init)(Game*, State**);