summaryrefslogtreecommitdiff
path: root/src/blu_cat/int/core.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2025-09-02 15:06:27 -0300
committerFrederico Linhares <fred@linhares.blue>2025-09-02 15:06:27 -0300
commit68761609f3b98bfc99f2164eece12027d5575c0b (patch)
tree5c4164173e4b0e546fd297902d5cb8a3f337dc5e /src/blu_cat/int/core.hpp
parent1bf7b0621d2b47b33fe2bfc9218094131d49d54f (diff)
feat Add Mode and Controller to BluCat
Diffstat (limited to 'src/blu_cat/int/core.hpp')
-rw-r--r--src/blu_cat/int/core.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/blu_cat/int/core.hpp b/src/blu_cat/int/core.hpp
index 0e5f3a3..4737123 100644
--- a/src/blu_cat/int/core.hpp
+++ b/src/blu_cat/int/core.hpp
@@ -58,6 +58,7 @@
#include "../gra/renderer.hpp"
#include "../gra/swapchain.hpp"
#include "../gra/vulkan.hpp"
+#include "mode.hpp"
namespace BluCat::INT
{
@@ -131,10 +132,16 @@ struct Core
vk_graphics_pipeline_2d_wired;
BluCat::GRA::Renderer *vk_renderer;
+
+ std::unique_ptr<BluCat::INT::Mode> next_game_mode{nullptr};
+ std::unique_ptr<BluCat::INT::Controller> next_game_controller{nullptr};
};
extern Core core;
+void
+run_game(std::unique_ptr<Mode> initial_mode);
+
}
#endif /* BLU_CAT_INT_CORE_H */