summaryrefslogtreecommitdiffhomepage
path: root/proto-fg/fgtypes.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-30 09:16:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-10-30 09:16:32 +0100
commit0739d5b595be9492c1e574192eba12174111e52c (patch)
tree01225d2335ff784b35b59a5438f8ea1e07535486 /proto-fg/fgtypes.h
parent05b2f05b72c706908e961eff8c0e4aa70dcadbd3 (diff)
also rename protocol -> proto
Diffstat (limited to 'proto-fg/fgtypes.h')
-rw-r--r--proto-fg/fgtypes.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/proto-fg/fgtypes.h b/proto-fg/fgtypes.h
new file mode 100644
index 00000000..2e493f46
--- /dev/null
+++ b/proto-fg/fgtypes.h
@@ -0,0 +1,27 @@
+/********************************************************************************
+* FaceTrackNoIR This program is a private project of the some enthusiastic *
+* gamers from Holland, who don't like to pay much for *
+* head-tracking. *
+* *
+* Copyright (C) 2010 Wim Vriend (Developing) *
+* Ron Hendriks (Researching and Testing) *
+* *
+* Homepage *
+* *
+* Type definitions for the FlightGear server. *
+********************************************************************************/
+#pragma once
+#ifndef INCLUDED_FGTYPES_H
+#define INCLUDED_FGTYPES_H
+
+//
+// x,y,z position in metres, heading, pitch and roll in degrees...
+//
+#pragma pack(push, 2)
+struct TFlightGearData {
+ double x, y, z, h, p, r;
+ int status;
+};
+#pragma pack(pop)
+
+#endif//INCLUDED_FGTYPES_H