aboutsummaryrefslogtreecommitdiff
path: root/src/survive_internal.h
diff options
context:
space:
mode:
authorCharles Lohr <lohr85@gmail.com>2016-12-11 00:03:40 -0500
committerCharles Lohr <lohr85@gmail.com>2016-12-11 00:03:40 -0500
commit44d7e56bf6a419104fee5dd2aedc26e00e543d69 (patch)
tree91567a4cfced76249981f616cf22781995989c58 /src/survive_internal.h
parent4d5a42768f142c25c2efa6c6fd54e1f0dc484f70 (diff)
downloadlibsurvive-44d7e56bf6a419104fee5dd2aedc26e00e543d69.tar.gz
libsurvive-44d7e56bf6a419104fee5dd2aedc26e00e543d69.tar.bz2
* Get config from headset.
* Make pretty display. * Improve disambiguation.
Diffstat (limited to 'src/survive_internal.h')
-rw-r--r--src/survive_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/survive_internal.h b/src/survive_internal.h
index 8096b8c..d6168b2 100644
--- a/src/survive_internal.h
+++ b/src/survive_internal.h
@@ -26,6 +26,8 @@
//XXX TODO This one needs to be rewritten.
#define SV_KILL() exit(0)
+#define SV_FLOAT double
+
#define USB_DEV_HMD 0
#define USB_DEV_LIGHTHOUSE 1
#define USB_DEV_WATCHMAN1 2
@@ -72,6 +74,9 @@ struct SurviveObject
int8_t charging:1;
int8_t ison:1;
int sensors;
+
+ int nr_locations;
+ SV_FLOAT * sensor_locations;
};
struct SurviveContext