diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 23 |
1 files changed, 4 insertions, 19 deletions
@@ -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); |