libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
|
#include <airportdb.h>
Data Fields | |
char | ident [8] |
char | icao [8] |
char | iata [4] |
char | cc [4] |
char | cc3 [4] |
char | name [24] |
char * | name_orig |
char * | country |
char * | city |
geo_pos3_t | refpt |
geo_pos3_t | refpt_m |
bool_t | geo_linked |
double | TA |
double | TL |
double | TA_m |
double | TL_m |
avl_tree_t | rwys |
avl_tree_t | ramp_starts |
list_t | freqs |
bool_t | load_complete |
vect3_t | ecef |
fpp_t | fpp |
bool_t | in_navdb |
bool_t | have_iaps |
avl_node_t | apt_dat_node |
list_node_t | cur_arpts_node |
avl_node_t | tile_node |
The master airport data structure.
Definition at line 269 of file airportdb.h.
avl_node_t apt_dat_node |
Used by apt_dat tree.
Definition at line 302 of file airportdb.h.
char cc[4] |
2-letter ICAO country/region code, nul terminated.
Definition at line 277 of file airportdb.h.
char cc3[4] |
3-letter ISO-3166 country code, uppercase, nul terminated.
Definition at line 279 of file airportdb.h.
char* city |
City name, nul terminated.
Definition at line 283 of file airportdb.h.
char* country |
Country name, nul terminated.
Definition at line 282 of file airportdb.h.
list_node_t cur_arpts_node |
Used by cur_arpts list.
Definition at line 303 of file airportdb.h.
vect3_t ecef |
refpt in ECEF coordinates with elev in ft.
Definition at line 297 of file airportdb.h.
fpp_t fpp |
Orthographic fpp_t centered on refpt.
Definition at line 298 of file airportdb.h.
list_t freqs |
List of freq_info_t's.
Definition at line 294 of file airportdb.h.
bool_t geo_linked |
Airport is in geo_table.
Definition at line 287 of file airportdb.h.
bool_t have_iaps |
Used by recreate_apt_dat_cache.
Definition at line 300 of file airportdb.h.
char iata[4] |
3-letter IATA code, nul terminated (may not be unique or exist).
Definition at line 275 of file airportdb.h.
char icao[8] |
4-letter ICAO code, nul terminated (may not be unique or exist).
Definition at line 273 of file airportdb.h.
char ident[8] |
Abstract identifier - only this is guaranteed to be unique.
Definition at line 271 of file airportdb.h.
bool_t in_navdb |
Used by recreate_apt_dat_cache.
Definition at line 299 of file airportdb.h.
bool_t load_complete |
True if we've done load_airport.
Definition at line 296 of file airportdb.h.
char name[24] |
Airport name, nul terminated.
Definition at line 280 of file airportdb.h.
char* name_orig |
Non-normalized version of name.
Definition at line 281 of file airportdb.h.
avl_tree_t ramp_starts |
Tree of ramp_start structs
Definition at line 293 of file airportdb.h.
geo_pos3_t refpt |
Airport reference point location (N.B. elevation is in FEET!).
Definition at line 284 of file airportdb.h.
geo_pos3_t refpt_m |
Same as refpt, but elev in meters.
Definition at line 286 of file airportdb.h.
avl_tree_t rwys |
Tree of runway structures.
Definition at line 292 of file airportdb.h.
double TA |
Transition altitude in feet.
Definition at line 288 of file airportdb.h.
double TA_m |
Transition altitude in meters.
Definition at line 290 of file airportdb.h.
avl_node_t tile_node |
Tiles in the airport_geo_tree.
Definition at line 304 of file airportdb.h.
double TL |
Transition level in feet.
Definition at line 289 of file airportdb.h.
double TL_m |
Transition level in meters.
Definition at line 291 of file airportdb.h.