summaryrefslogtreecommitdiff
path: root/app.hpp
diff options
context:
space:
mode:
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>