summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-03-29 18:21:23 -0500
committerepoch <epoch@hacking.allowed.org>2018-03-29 18:21:23 -0500
commit4138a23d2345eb12cec5e1d5fb530a7acf474da4 (patch)
treedf10febfe846638ba5ad2477057161d3ac70688d
parent52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a (diff)
downloadhackvr-4138a23d2345eb12cec5e1d5fb530a7acf474da4.tar.gz
hackvr-4138a23d2345eb12cec5e1d5fb530a7acf474da4.zip
added ability to periodically output changed state instead of instantaneously
-rw-r--r--src/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 5e0a197..da34ea2 100644
--- a/src/common.h
+++ b/src/common.h
@@ -100,6 +100,7 @@ struct global {
char headless;
char debug;//flag
char selected_object[2000];//meh
+ int periodic_output;//if false, we output commands from keypresses as they're being sent to the command interpreter. if true we output every value amount of time. miliseconds probably.
real mmz;
struct c3_shape *shape[SHAPES];
int shapes;