summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f9653e7..837c3d5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3,6 +3,10 @@
#include "scenes/scenes.h"
#include "resources/resources.h"
+#ifndef BUILD_VERSION
+#define BUILD_VERSION "build UNTRACKED"
+#endif // BUILD_VERSION
+
int main(void) {
if (!InitSceneStack()) {
printf("Failed to create a scene stack\n");
@@ -32,6 +36,7 @@ int main(void) {
BeginDrawing();
DrawScene();
DrawFPS(0, 0);
+ DrawText(BUILD_VERSION, 0, GetScreenHeight() - 20, 20, COLORSCHEME_BROWN);
EndDrawing();
}