diff options
| author | 3gg <3gg@shellblade.net> | 2024-02-08 07:58:22 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2024-02-08 07:58:22 -0800 |
| commit | d130c2c7314cf4884f444db16d7717b7356b54ff (patch) | |
| tree | 19080622054c32b5e09b5f455b4a8490e7ae6048 /game/src/plugins/plugin.h | |
| parent | dda4b3e598c7c955a44e3874bf2c57bd16b1c3ea (diff) | |
Add window width and height to game.
Diffstat (limited to 'game/src/plugins/plugin.h')
| -rw-r--r-- | game/src/plugins/plugin.h | 2 |
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); | |||
| 41 | void render(const Game*, const State*); | 41 | void 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. |
| 44 | void resize(Game* game, State* state, int width, int height); | 44 | void 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. |
| 47 | typedef bool (*plugin_init)(Game*, State**); | 47 | typedef bool (*plugin_init)(Game*, State**); |
