Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gnu autoconf docs say input should be named configure.ac
[vor.git]
/
main.c
diff --git
a/main.c
b/main.c
index
2bf7715
..
794ff8d
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-31,7
+31,7
@@
#include "args.h"
#include "common.h"
#include "args.h"
#include "common.h"
-#include "config.h"
+#include "vorconfig.h"
#include "dust.h"
#include "file.h"
#include "float.h"
#include "dust.h"
#include "file.h"
#include "float.h"
@@
-68,6
+68,8
@@
struct dot {
int heat; // heat multiplier (color).
};
int heat; // heat multiplier (color).
};
+void draw(void);
+
struct dot edot[MAXENGINEDOTS], *dotptr = edot;
struct dot bdot[MAXBANGDOTS];
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();
toggle_fullscreen() {
opt_fullscreen = 1 - opt_fullscreen;
set_video_mode();
+ if(paused) {
+ draw();
+ }
}
}