From 96b27fe9841e537614962e273ef9f0802365ea6d Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 31 Dec 2024 23:38:11 +1100 Subject: ui stuf and things hmm m mmm m シ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app.hpp') diff --git a/app.hpp b/app.hpp index 3e2ef23..9a660cf 100644 --- a/app.hpp +++ b/app.hpp @@ -4,6 +4,7 @@ #define app_memory_size (1024 * 1024 * 32) #include +#include struct Arena; @@ -102,11 +103,13 @@ struct App_Internal; struct App { Arena* arena; + float dt; int running, w, h; int mx, my; int scrollx, scrolly; unsigned char key_states[key_count]; unsigned char mbtn_states[mbtn_count]; + uint64_t begin_t, end_t; App_Internal* internal; template -- cgit v1.2.3-54-g00ecf