summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c23
1 files changed, 4 insertions, 19 deletions
diff --git a/src/main.c b/src/main.c
index 4cd8a6f..1bcc236 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,25 +1,10 @@
-#include "common.h"
#include <signal.h>
#include <time.h>
-char *va(const char *fmt, ...)
-{
- va_list vl;
- static char buffer[4096];
-
- va_start(vl, fmt);
- vsnprintf(buffer, sizeof(buffer), fmt, vl);
- va_end(vl);
-
- return buffer;
-}
-
-int64_t get_time(void)
-{
- struct timespec ts;
- clock_gettime(CLOCK_MONOTONIC, &ts);
- return ts.tv_sec * 1000000000 + ts.tv_nsec;
-}
+#include "common.h"
+#include "physics.h"
+#include "renderer.h"
+#include "ui.h"
void itc_test(void);