summaryrefslogtreecommitdiff
path: root/app.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-31 23:38:11 +1100
committerquou <quou@disroot.org>2024-12-31 23:38:11 +1100
commit96b27fe9841e537614962e273ef9f0802365ea6d (patch)
treed1373862f700a83dd476555913b50c969159a836 /app.hpp
parentae7824be86ecc53752a3bee1038c0677ac203cf7 (diff)
ui stuf and things hmm m mmm m シ
Diffstat (limited to 'app.hpp')
-rw-r--r--app.hpp3
1 files changed, 3 insertions, 0 deletions
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 <new>
+#include <stdint.h>
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 <typename T>