summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_protocol_wine/fttypes.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ftnoir_protocol_wine/fttypes.h b/ftnoir_protocol_wine/fttypes.h
index 1e5fcd44..4515fe95 100644
--- a/ftnoir_protocol_wine/fttypes.h
+++ b/ftnoir_protocol_wine/fttypes.h
@@ -1,3 +1,13 @@
+#pragma once
+
+#define WINE_SHM_NAME "facetracknoir-wine-shm"
+#define WINE_MTX_NAME "facetracknoir-wine-mtx"
+
+struct WineSHM {
+ float rx, ry, rz, tx, ty, tz;
+ bool stop;
+};
+
struct TFreeTrackData {
int DataID;
int CamWidth;
@@ -40,4 +50,4 @@ struct FTMemMap {
char GameID[10]; // The international game-ID
char FTNID[30]; // The FaceTrackNoIR game-ID
char FTNVERSION[10]; // The version of FaceTrackNoIR, in which the game was first supported
-}; \ No newline at end of file
+};