Formating

This commit is contained in:
2022-10-04 21:59:06 +02:00
parent 3a9db68e74
commit c214d473e2
7 changed files with 206 additions and 84 deletions
+30 -1
View File
@@ -57,21 +57,50 @@ struct data {
double gForce; // G FORCE IN G
};
struct Port {
struct port {
double headingTrue; // PLANE HEADING DEGREES TRUE
double latitude; // PLANE LATITUDE
double longitude; // PLANE LONGITUDE
};
struct airport {
double lat;
double lon;
char name[32];
};
struct runway {
double lat;
double lon;
float heading;
float length;
float width;
int pNum;
int pDeg;
int sNum;
int sDeg;
};
struct parking {
int type;
int name;
int suffix;
unsigned int number;
float heading;
float radius;
float x;
float z;
};
#pragma pack(pop)
enum DEFINITIONS {
D_DATA,
D_FACILITY,
D_PORT,
};
enum REQUESTS {
R_DATA,
R_FACILITY,
R_ACFT,
R_DIALOG,
R_PORT,