Home
last modified time | relevance | path

Searched refs:VPM_RAILDIRS (Results 1 – 3 of 3) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dviewport_type.h106 VPM_RAILDIRS = 0x40, ///< all rail directions enumerator
H A Drail_gui.cpp623 VpStartPlaceSizing(tile, VPM_FIX_VERTICAL | VPM_RAILDIRS, DDSP_PLACE_RAIL); in OnPlaceObject()
627 VpStartPlaceSizing(tile, VPM_FIX_Y | VPM_RAILDIRS, DDSP_PLACE_RAIL); in OnPlaceObject()
631 VpStartPlaceSizing(tile, VPM_FIX_HORIZONTAL | VPM_RAILDIRS, DDSP_PLACE_RAIL); in OnPlaceObject()
635 VpStartPlaceSizing(tile, VPM_FIX_X | VPM_RAILDIRS, DDSP_PLACE_RAIL); in OnPlaceObject()
639 VpStartPlaceSizing(tile, VPM_RAILDIRS, DDSP_PLACE_RAIL); in OnPlaceObject()
H A Dviewport.cpp2928 if (method & ~(VPM_RAILDIRS | VPM_SIGNALDIRS)) { in CalcRaildirsDrawstyle()
2930 method &= ~(VPM_RAILDIRS | VPM_SIGNALDIRS); in CalcRaildirsDrawstyle()
3018 if (method & VPM_RAILDIRS) { in CalcRaildirsDrawstyle()
3150 if (method & (VPM_RAILDIRS | VPM_SIGNALDIRS)) { in VpSelectTilesWithMethod()
3340 } else if (_thd.select_method & VPM_RAILDIRS) { in VpHandlePlaceSizingDrag()
3341 _thd.place_mode = (_thd.select_method & ~VPM_RAILDIRS) ? _thd.next_drawstyle : (HT_RAIL | others); in VpHandlePlaceSizingDrag()