diff options
author | Charadon <dev@iotib.net> | 2022-06-02 18:29:57 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-02 18:29:57 -0400 |
commit | 2dd8b8b6e66aa7e47da42912b0ca07ed8d7f0c23 (patch) | |
tree | 61c0defcc1f8f54f47759f04f41883e7343a096d /src/title.c | |
parent | 6a98c8dd4c10195e7b71602b15554bdc82ac0153 (diff) | |
download | Pong-C-2dd8b8b6e66aa7e47da42912b0ca07ed8d7f0c23.tar.gz |
QOL stuff and upped to version 0.2
Diffstat (limited to 'src/title.c')
-rw-r--r-- | src/title.c | 3 |
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; |