diff options
Diffstat (limited to 'src/survive_internal.h')
-rw-r--r-- | src/survive_internal.h | 5 |
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 |