diff options
| author | physick <mynameisgennadiy@vk.com> | 2026-07-28 01:00:54 +0500 |
|---|---|---|
| committer | physick <mynameisgennadiy@vk.com> | 2026-07-28 01:00:54 +0500 |
| commit | 26957338e8b42df4ad18ab38f08c70fba4c14bb4 (patch) | |
| tree | bce84b3ef7656937f8577b4a60611fb6e1e50220 /src/main.c | |
| parent | 6d02a213770715d5093bd8a7c6619735d9a05963 (diff) | |
build info
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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(); } |
