summary refs log tree commit diff stats
path: root/src/title.c
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-02 18:29:57 -0400
committerCharadon <dev@iotib.net>2022-06-02 18:29:57 -0400
commit2dd8b8b6e66aa7e47da42912b0ca07ed8d7f0c23 (patch)
tree61c0defcc1f8f54f47759f04f41883e7343a096d /src/title.c
parent6a98c8dd4c10195e7b71602b15554bdc82ac0153 (diff)
downloadPong-C-2dd8b8b6e66aa7e47da42912b0ca07ed8d7f0c23.tar.gz
QOL stuff and upped to version 0.2
Diffstat (limited to 'src/title.c')
-rw-r--r--src/title.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/title.c b/src/title.c
index c73fb10..7617a7c 100644
--- a/src/title.c
+++ b/src/title.c
@@ -33,6 +33,7 @@ int title_screen() {
     };
     Rectangle *Selected;
     Selected = &Versus;
+    EnableCursor();
     while(!WindowShouldClose() && TitleScreenGoing == true) {
         MainCamera.zoom = GetScreenHeight()/720.0f;
         Mouse.x = GetMouseX()/MainCamera.zoom;
@@ -68,8 +69,8 @@ int title_screen() {
                 DrawText("Settings", 20, 250, 48, WHITE);
                 DrawText("Help", 20, 300, 48, WHITE);
                 DrawText("Exit", 20, 350, 48, WHITE);
-                DrawRectangleRec(Mouse, YELLOW);
             EndMode2D();
+            DrawText(VersionString, GetScreenWidth()-200, GetScreenHeight()-32, 32, GREEN);
         EndDrawing();
     }
     return -1;