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

Function ShowCompanyGroup

src/group_gui.cpp:1240–1243  ·  view source on GitHub ↗

* Show the group window for the given company and vehicle type. * @param company The company to show the window for. * @param vehicle_type The type of vehicle to show it for. * @param group The group to be selected. Defaults to GroupID::Invalid(). */

Source from the content-addressed store, hash-verified

1238 * @param group The group to be selected. Defaults to GroupID::Invalid().
1239 */
1240void ShowCompanyGroup(CompanyID company, VehicleType vehicle_type, GroupID group)
1241{
1242 ShowCompanyGroupInternal<false>(company, vehicle_type, group);
1243}
1244
1245/**
1246 * Show the group window for the given vehicle.

Callers 1

ShowVehicleListWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected