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

Method BuildObjectWindow

src/object_gui.cpp:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126public:
127 BuildObjectWindow(WindowDesc &desc, WindowNumber) : PickerWindow(desc, nullptr, 0, ObjectPickerCallbacks::instance)
128 {
129 ResetObjectToPlace();
130 this->ConstructWindow();
131 }
132
133 std::string GetWidgetString(WidgetID widget, StringID stringid) const override
134 {

Callers

nothing calls this directly

Calls 2

ResetObjectToPlaceFunction · 0.85
ConstructWindowMethod · 0.45

Tested by

no test coverage detected