diff options
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 |