From 60de1870cfdacd9e7032d290e87ac5b85771b397 Mon Sep 17 00:00:00 2001 From: parking_turkeys Date: Fri, 17 Jul 2026 12:54:12 -0400 Subject: [PATCH] timer --- main_v2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main_v2.c b/main_v2.c index cf2a499..1b8d8d7 100644 --- a/main_v2.c +++ b/main_v2.c @@ -32,6 +32,8 @@ int main(void) if (!frozen) {spielerzeichnen();}; DrawRectangle(1, 468, 45, 12, WHITE); DrawText(TextFormat("FPS: %2i", GetFPS()), 2, 469, 10, BLACK); + DrawRectangle(1, 0, 45, 12, WHITE); + DrawText(TextFormat("Seconds played: %5.2f", GetTime()), 2, 0, 10, BLACK); ZeichnenAufhören(); } -- 2.47.3