Searched refs:VPM_RAILDIRS (Results 1 – 3 of 3) sorted by relevance
/dports/games/openttd/openttd-12.1/src/ |
H A D | viewport_type.h | 106 VPM_RAILDIRS = 0x40, ///< all rail directions enumerator
|
H A D | rail_gui.cpp | 623 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 D | viewport.cpp | 2928 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()
|