mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 13:27:32 +08:00
no periods in the define name, cleaned up comments
This commit is contained in:
+11
-11
@@ -208,11 +208,11 @@ struct FGNetMiniFDM {
|
|||||||
int32_t warp; // offset in seconds to unix time
|
int32_t warp; // offset in seconds to unix time
|
||||||
};
|
};
|
||||||
|
|
||||||
#if FG_2.4
|
#if FG_2_4
|
||||||
#define FG_NET_GUI_VERSION 7
|
#define FG_NET_GUI_VERSION 7
|
||||||
#else
|
#else
|
||||||
#define FG_NET_GUI_VERSION 8
|
#define FG_NET_GUI_VERSION 8
|
||||||
#endif //FG_2.4
|
#endif /*FG_2_4*/
|
||||||
|
|
||||||
#define FG_NET_GUI_MAX_TANKS 4
|
#define FG_NET_GUI_MAX_TANKS 4
|
||||||
|
|
||||||
@@ -222,21 +222,21 @@ struct FGNetMiniFDM {
|
|||||||
// no longer required. The rest of this struct is based on FG source
|
// no longer required. The rest of this struct is based on FG source
|
||||||
// in src/Network/net_gui.hxx
|
// in src/Network/net_gui.hxx
|
||||||
|
|
||||||
#if FG_2.4
|
#if FG_2_4
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
#pragma pack(push)
|
#pragma pack(push)
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#pragma pack(4)
|
#pragma pack(4)
|
||||||
#else
|
#else
|
||||||
#pragma pack(8)
|
#pragma pack(8)
|
||||||
#endif //__APPLE__
|
#endif /*__APPLE__*/
|
||||||
#endif //__x86_64__
|
#endif /*__x86_64__*/
|
||||||
#endif //FG_2.4
|
#endif /*FG_2_4*/
|
||||||
struct FGNetGUI {
|
struct FGNetGUI {
|
||||||
uint32_t version; // increment when data values change
|
uint32_t version; // increment when data values change
|
||||||
#if FG_2.4
|
#if FG_2_4
|
||||||
uint32_t padding1;
|
uint32_t padding1;
|
||||||
#endif //FG_2.4
|
#endif /*FG_2_4*/
|
||||||
|
|
||||||
// Positions
|
// Positions
|
||||||
double longitude; // geodetic (radians)
|
double longitude; // geodetic (radians)
|
||||||
@@ -269,12 +269,12 @@ struct FGNetGUI {
|
|||||||
float course_deviation_deg; // degrees off target course
|
float course_deviation_deg; // degrees off target course
|
||||||
float gs_deviation_deg; // degrees off target glide slope
|
float gs_deviation_deg; // degrees off target glide slope
|
||||||
};
|
};
|
||||||
#if FG_2.4
|
#if FG_2_4
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
#pragma pack(push)
|
#pragma pack(push)
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
#endif __x86_64__
|
#endif __x86_64__ /*__x86_64__*/
|
||||||
#endif //FG_2.4
|
#endif /*FG_2_4*/
|
||||||
|
|
||||||
|
|
||||||
extern void net_fdm_dump (struct FGNetFDM* fdm);
|
extern void net_fdm_dump (struct FGNetFDM* fdm);
|
||||||
|
|||||||
Reference in New Issue
Block a user