summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-08-03 07:43:51 -0500
committerepoch <epoch@hacking.allowed.org>2019-08-03 07:43:51 -0500
commit7a1d105a777201162e7cb923e2b13aa3e8afdf1f (patch)
tree3dbf4f55384b566597bf9964dd34e53a30bd2e20
parent6c475f3422cf6facffede93c40668a3d91c8b586 (diff)
downloadhackvr-7a1d105a777201162e7cb923e2b13aa3e8afdf1f.tar.gz
hackvr-7a1d105a777201162e7cb923e2b13aa3e8afdf1f.zip
added a flag and old_r and old_p for future use
-rw-r--r--src/common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index fb8ceca..b5054a7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -93,9 +93,11 @@ typedef struct c3_shape {//use array or linked list?
struct attrib attrib;
} c3_s_t;
-struct hvr_global {//namespace conflict with libidc
+struct hvr_global {
int x;
int y;
+ c3_rot_t old_r;
+ c3_t old_p;
char beep;//1 or 0
int math_error;
char *user;
@@ -112,6 +114,7 @@ struct hvr_global {//namespace conflict with libidc
real zoom;
int derp;
real split;
+ char localecho;
int selfpipe[2];
};