X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;h=4a482fc6b00756074dc4afe5108dd0159acb77a3;hp=a2d2e930d68bb080481b451ea98d86c9dc6fc245;hb=647f72d2ed554c7e2b1923d485e99d89f3a17825;hpb=ca648507d88cc3e3f0ee264e1bb94f3e8c31192e diff --git a/main.c b/main.c index a2d2e93..4a482fc 100644 --- a/main.c +++ b/main.c @@ -26,12 +26,13 @@ #include #include #include +#include #include "font.h" #include "args.h" #include "common.h" -#include "config.h" +#include "vorconfig.h" #include "dust.h" #include "file.h" #include "float.h" @@ -137,6 +138,14 @@ extern int optind, opterr, optopt; // ************************************* FUNCS void +tiny_sleep() { + struct timespec t; + t.tv_sec = 0; + t.tv_nsec = 1; + nanosleep(&t, 0); +} + +void init_engine_dots() { int i; for(i = 0; i