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

Method BuildHouseWindow

src/town_gui.cpp:1650–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1648 static inline bool replace;
1649
1650 BuildHouseWindow(WindowDesc &desc, Window *parent) : PickerWindow(desc, parent, 0, HousePickerCallbacks::instance)
1651 {
1652 HousePickerCallbacks::instance.SetClimateMask();
1653 this->ConstructWindow();
1654 }
1655
1656 void UpdateSelectSize(const HouseSpec *spec)
1657 {

Callers

nothing calls this directly

Calls 2

SetClimateMaskMethod · 0.80
ConstructWindowMethod · 0.45

Tested by

no test coverage detected