summaryrefslogtreecommitdiff
path: root/src/game.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-11-07 11:43:56 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-11-07 12:26:15 -0500
commitc3c4d351f8ccfc678aaa2de458326a11884aef19 (patch)
tree11c74d89da371667858f17139df55896a3ade67c /src/game.hpp
parent5da699cff8a39bf1dc41b2d302c3e9c202496971 (diff)
pke: split up Game_Main and pass plugins to init
Diffstat (limited to 'src/game.hpp')
-rw-r--r--src/game.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game.hpp b/src/game.hpp
index b879364..b599c24 100644
--- a/src/game.hpp
+++ b/src/game.hpp
@@ -1,12 +1,14 @@
#ifndef PKE_GAME_HPP
#define PKE_GAME_HPP
+#include "plugin-types.hpp"
#include "window-types.hpp"
void Game_Main(PKEWindowProperties windowProps, const char *executablePath);
-void Game_Init();
-void Game_Tick(double delta);
-void Game_Teardown();
-void Game_RecordImGui();
+
+void pke_game_main_init(PKEWindowProperties windowProps, const char *executablePath, PKEPluginInterface *interfaces = nullptr, unsigned int n_interfaces = 0);
+void pke_game_main_load();
+void pke_game_main_run();
+void pke_game_main_teardown();
#endif /* PKE_GAME_HPP */