MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / MenuClickShowAir

Function MenuClickShowAir

src/toolbar_gui.cpp:850–854  ·  view source on GitHub ↗

* Handle click on the entry in the Aircraft menu. * * @param index CompanyID to show aircraft list for. * @return #CBF_NONE */

Source from the content-addressed store, hash-verified

848 * @return #CBF_NONE
849 */
850static CallBackFunction MenuClickShowAir(int index)
851{
852 ShowVehicleListWindow((CompanyID)index, VEH_AIRCRAFT);
853 return CBF_NONE;
854}
855
856/* --- Zoom in button --- */
857

Callers

nothing calls this directly

Calls 1

ShowVehicleListWindowFunction · 0.85

Tested by

no test coverage detected