diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2024-08-25 17:27:30 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2024-08-25 17:27:30 +0000 |
| commit | e09c78586a73812251bece05c86115a4071b6efb (patch) | |
| tree | c072d083d113dc96d01167b7d6a1ec41b45f40ad /src/core | |
| parent | 912074c47b02e74d054b7724c13571581897256a (diff) | |
Print the engine version upon startup
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/src/loop.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/src/loop.c b/src/core/src/loop.c index a950a9f..567020a 100644 --- a/src/core/src/loop.c +++ b/src/core/src/loop.c @@ -20,6 +20,8 @@ #endif +#include <engine/configure.h> + #include <engine/core/state.h> #include <engine/engine.h> #include <engine/utils/btree.h> @@ -84,6 +86,9 @@ Platform* engine_init(const char* windowtitle, i32 windowWidth, i32 windowHeight const f32 render_scale, const u32 flags, const usize initial_memory) { + INFO("Engine version " ENGINE_VERSION); + + #if defined(__linux) || defined(__linux__) || defined(linux) { pid_t pid = getpid(); |
