aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-22 00:11:56 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-22 00:11:56 +0100
commit7bcee4f662b20b8e2e7183bb6bd4cb061fa14e12 (patch)
treecb7976922b3cc6070dc9c14d0ffcaea48b3efee6 /src
parent5a2f6a14803885b7c53bab7d43208476d2e1bd5b (diff)
added menu buttons + scene switching
Diffstat (limited to 'src')
-rw-r--r--src/crepe/api/Config.h2
-rw-r--r--src/crepe/api/Engine.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h
index c53c2d6..3e9c9ef 100644
--- a/src/crepe/api/Config.h
+++ b/src/crepe/api/Config.h
@@ -85,7 +85,7 @@ struct Config final {
* This config option is the font size at which all fonts will be loaded initially.
*
*/
- unsigned int size = 32;
+ unsigned int size = 40;
} font;
//! Configuration for click tolerance.
struct {
diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp
index 2e9d35a..4add4e1 100644
--- a/src/crepe/api/Engine.cpp
+++ b/src/crepe/api/Engine.cpp
@@ -54,6 +54,7 @@ void Engine::loop() {
try {
systems.frame_update();
+ this->scene_manager.load_next_scene();
} catch (const exception & e) {
Log::logf(Log::Level::WARNING, "Uncaught exception in frame update function: {}\n",
e.what());