no periods in the define name, cleaned up comments

This commit is contained in:
Stephen Dwyer
2012-05-31 16:54:55 -06:00
parent cbe914d50c
commit e6daee8824
+12 -12
View File
@@ -208,11 +208,11 @@ struct FGNetMiniFDM {
int32_t warp; // offset in seconds to unix time
};
#if FG_2.4
#if FG_2_4
#define FG_NET_GUI_VERSION 7
#else
#define FG_NET_GUI_VERSION 8
#endif //FG_2.4
#endif /*FG_2_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
// in src/Network/net_gui.hxx
#if FG_2.4
#if FG_2_4
#ifdef __x86_64__
#pragma pack(push)
#ifdef __APPLE__
#pragma pack(4)
#else
#pragma pack(8)
#endif //__APPLE__
#endif //__x86_64__
#endif //FG_2.4
#endif /*__APPLE__*/
#endif /*__x86_64__*/
#endif /*FG_2_4*/
struct FGNetGUI {
uint32_t version; // increment when data values change
#if FG_2.4
#if FG_2_4
uint32_t padding1;
#endif //FG_2.4
#endif /*FG_2_4*/
// Positions
double longitude; // geodetic (radians)
@@ -269,12 +269,12 @@ struct FGNetGUI {
float course_deviation_deg; // degrees off target course
float gs_deviation_deg; // degrees off target glide slope
};
#if FG_2.4
#if FG_2_4
#ifdef __x86_64__
#pragma pack(push)
#pragma pack(pop)
#endif __x86_64__
#endif //FG_2.4
#endif __x86_64__ /*__x86_64__*/
#endif /*FG_2_4*/
extern void net_fdm_dump (struct FGNetFDM* fdm);
@@ -288,4 +288,4 @@ extern void net_gui_dump (struct FGNetGUI* gui);
extern void net_ctrls_dump(struct FGNetCtrls* ctrls);
extern void net_ctrls_ntoh(struct FGNetCtrls* ctrls);
#endif /* FLIGHT_GEAR_H */
#endif /* FLIGHT_GEAR_H */