Hi, quick question.
Does anyone know the format of the LATLONALT structure used by FS9? References can for example be found in gps_info.h.
typedef struct LATLONALT
{
SIF48 lat;
ANGL48 lon;
SIF48 alt;
}
typedef union SIF48
{
struct
{
UINT16 pad;
UINT16 f;
SINT32 i;
};
SINT64 i64;
}
typedef union ANGL48
{
struct
{
UINT16 pad;
UINT16 lo;
UINT32 hi;
};
UINT64 i64;
}
It seems to be very poorly documented as I could not find much information on the internet. Any easy way to get this to degrees or radians in one 8-byte double variable?
Joris
Does anyone know the format of the LATLONALT structure used by FS9? References can for example be found in gps_info.h.
typedef struct LATLONALT
{
SIF48 lat;
ANGL48 lon;
SIF48 alt;
}
typedef union SIF48
{
struct
{
UINT16 pad;
UINT16 f;
SINT32 i;
};
SINT64 i64;
}
typedef union ANGL48
{
struct
{
UINT16 pad;
UINT16 lo;
UINT32 hi;
};
UINT64 i64;
}
It seems to be very poorly documented as I could not find much information on the internet. Any easy way to get this to degrees or radians in one 8-byte double variable?
Joris



