diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-30 09:16:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-10-30 09:16:32 +0100 |
commit | 0739d5b595be9492c1e574192eba12174111e52c (patch) | |
tree | 01225d2335ff784b35b59a5438f8ea1e07535486 /proto-fg/fgtypes.h | |
parent | 05b2f05b72c706908e961eff8c0e4aa70dcadbd3 (diff) |
also rename protocol -> proto
Diffstat (limited to 'proto-fg/fgtypes.h')
-rw-r--r-- | proto-fg/fgtypes.h | 27 |
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 |