diff --git a/include/main.h b/include/main.h index e8b18f3..210e2ec 100644 --- a/include/main.h +++ b/include/main.h @@ -12,6 +12,7 @@ extern Color Dark_Green; extern Color Light_Green; extern Color Yellow; + // DevLog buffering & global variables extern std::vector logHistory; extern std::mutex logMutex; diff --git a/src/main.cpp b/src/main.cpp index 9e9397c..0ad7aec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,7 +3,9 @@ #include "menu.h" #include "resource.h" -// Define global variables +constexpr const char* gameVersion = "0.9.1"; + +// Define global colors Color Green = Color{ 38, 185, 154, 255 }; Color Dark_Green = Color{ 20, 160, 133, 255 }; Color Light_Green = Color{ 129, 204, 184, 255 }; @@ -186,6 +188,7 @@ int main() { DrawText("Use UP/DOWN to navigate | ENTER to select", screen_width / 2 - menuHintWidth / 2, screen_height - 80, 20, WHITE); + DrawText(TextFormat("v%s", gameVersion), 20, screen_height - 40, 20, LIGHTGRAY); break; } case GameState::DifficultySelect: