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

Method OnInitialPosition

src/airport_gui.cpp:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162 }
163
164 Point OnInitialPosition(int16_t sm_width, [[maybe_unused]] int16_t sm_height, [[maybe_unused]] int window_number) override
165 {
166 return AlignInitialConstructionToolbar(sm_width);
167 }
168
169 void OnPlaceMouseUp([[maybe_unused]] ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, [[maybe_unused]] Point pt, TileIndex start_tile, TileIndex end_tile) override
170 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected