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

Method ShowNewGRFInspectWindow

src/vehicle_gui.cpp:3400–3403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3398 }
3399
3400 void ShowNewGRFInspectWindow() const override
3401 {
3402 ::ShowNewGRFInspectWindow(GetGrfSpecFeature(Vehicle::Get(this->window_number)->type), this->window_number);
3403 }
3404
3405 static inline HotkeyList hotkeys{"vehicleview", {
3406 Hotkey('H', "honk", WID_VV_HONK_HORN),

Callers

nothing calls this directly

Calls 2

ShowNewGRFInspectWindowFunction · 0.85
GetGrfSpecFeatureFunction · 0.85

Tested by

no test coverage detected