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

Function MenuClickShowShips

src/toolbar_gui.cpp:830–834  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

828 * @return #CBF_NONE
829 */
830static CallBackFunction MenuClickShowShips(int index)
831{
832 ShowVehicleListWindow((CompanyID)index, VEH_SHIP);
833 return CBF_NONE;
834}
835
836/* --- Aircraft button menu --- */
837

Callers

nothing calls this directly

Calls 1

ShowVehicleListWindowFunction · 0.85

Tested by

no test coverage detected