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

Method OnPlaceObject

src/window_gui.h:801–801  ·  view source on GitHub ↗

* The user clicked some place on the map when a tile highlight mode * has been set. * @param pt the exact point on the map that has been clicked. * @param tile the tile on the map that has been clicked. */

Source from the content-addressed store, hash-verified

799 * @param tile the tile on the map that has been clicked.
800 */
801 virtual void OnPlaceObject([[maybe_unused]] Point pt, [[maybe_unused]] TileIndex tile) {}
802
803 /**
804 * The user clicked on a vehicle while HT_VEHICLE has been set.

Callers 1

PlaceObjectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected