| 883 | } |
| 884 | } |
| 885 | void pilot::get_hud_data(uint8_t *hmode, uint16_t *hstat, uint16_t *hgraphicalstat, int *gw_w, int *gw_h) { |
| 886 | if (hmode) { |
| 887 | *hmode = hud_mode; |
| 888 | } |
| 889 | |
| 890 | if (hstat) { |
| 891 | *hstat = hud_stat; |
| 892 | } |
| 893 | |
| 894 | if (hgraphicalstat) { |
| 895 | *hgraphicalstat = hud_graphical_stat; |
| 896 | } |
| 897 | |
| 898 | if (gw_w) { |
| 899 | *gw_w = game_window_w; |
| 900 | } |
| 901 | |
| 902 | if (gw_h) { |
| 903 | *gw_h = game_window_h; |
| 904 | } |
| 905 | } |
| 906 | |
| 907 | void pilot::add_mission_data(tMissionData *mdata) { |
| 908 | if (!mdata) { |
no outgoing calls
no test coverage detected