X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;h=794ff8dab38abe92befd5a961d624be136d5ca8f;hp=2bf77152e5b9c305ce4d0ed6d6d442b58d0f8683;hb=b54aa71f3a024ffd7ecc040b76b2738c05d25cb6;hpb=c1db302b3620bf4e0314867cddf094402d76d2d6 diff --git a/main.c b/main.c index 2bf7715..794ff8d 100644 --- a/main.c +++ b/main.c @@ -31,7 +31,7 @@ #include "args.h" #include "common.h" -#include "config.h" +#include "vorconfig.h" #include "dust.h" #include "file.h" #include "float.h" @@ -68,6 +68,8 @@ struct dot { int heat; // heat multiplier (color). }; +void draw(void); + struct dot edot[MAXENGINEDOTS], *dotptr = edot; struct dot bdot[MAXBANGDOTS]; @@ -362,6 +364,9 @@ void toggle_fullscreen() { opt_fullscreen = 1 - opt_fullscreen; set_video_mode(); + if(paused) { + draw(); + } }