Home
last modified time | relevance | path

Searched refs:_loc (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/
H A DBannerRemoveAction.cpp22 : _loc(loc) in BannerRemoveAction()
28 visitor.Visit(_loc); in AcceptParameters()
40 stream << DS_TAG(_loc); in Serialise()
47 res->Position.x = _loc.x + 16; in Query()
48 res->Position.y = _loc.y + 16; in Query()
49 res->Position.z = _loc.z; in Query()
52 if (!LocationValid(_loc) || !map_can_build_at({ _loc.x, _loc.y, _loc.z - 16 })) in Query()
60 …lid banner location, x = %d, y = %d, z = %d, direction = %d", _loc.x, _loc.y, _loc.z, _loc.directi… in Query()
93 res->Position.z = _loc.z; in Execute()
99 …lid banner location, x = %d, y = %d, z = %d, direction = %d", _loc.x, _loc.y, _loc.z, _loc.directi… in Execute()
[all …]
H A DBannerPlaceAction.cpp22 : _loc(loc) in BannerPlaceAction()
30 visitor.Visit(_loc); in AcceptParameters()
50 res->Position.x = _loc.x + 16; in Query()
51 res->Position.y = _loc.y + 16; in Query()
52 res->Position.z = _loc.z; in Query()
56 if (!LocationValid(_loc)) in Query()
75 if (!map_can_build_at(_loc)) in Query()
81 …ement* existingBannerElement = map_get_banner_element_at({ _loc.x, _loc.y, baseHeight }, _loc.dire… in Query()
107 res->Position.x = _loc.x + 16; in Execute()
108 res->Position.y = _loc.y + 16; in Execute()
[all …]
H A DLargeScenerySetColourAction.cpp18 : _loc(loc) in LargeScenerySetColourAction()
51 res->Position.x = _loc.x + 16; in QueryExecute()
52 res->Position.y = _loc.y + 16; in QueryExecute()
56 if (_loc.x < 0 || _loc.y < 0 || _loc.x > GetMapSizeMaxXY() || _loc.y > GetMapSizeMaxXY()) in QueryExecute()
58 log_error("Invalid x / y coordinates: x = %d, y = %d", _loc.x, _loc.y); in QueryExecute()
79 … large scenery at: x = %d, y = %d, z = %d, direction = %d, tileIndex = %u", _loc.x, _loc.y, _loc.z, in QueryExecute()
80 _loc.direction, _tileIndex); in QueryExecute()
102 auto baseTile = CoordsXYZ{ _loc.x, _loc.y, _loc.z } - rotatedBaseCoordsOffset; in QueryExecute()
124 …ement = map_get_large_scenery_segment({ currentTile.x, currentTile.y, _loc.z, _loc.direction }, i); in QueryExecute()
129 …arge scenery element not found at: x = %d, y = %d, z = %d, direction = %d", _loc.x, _loc.y, _loc.z, in QueryExecute()
[all …]
H A DPlaceParkEntranceAction.cpp25 : _loc(location) in PlaceParkEntranceAction()
39 stream << DS_TAG(_loc); in Serialise()
52 res->Position = { _loc.x, _loc.y, _loc.z }; in Query()
54 if (!LocationValid(_loc) || _loc.x <= 32 || _loc.y <= 32 || _loc.x >= (GetMapSizeUnits() - 32) in Query()
73 auto zLow = _loc.z; in Query()
75 CoordsXYZ entranceLoc = _loc; in Query()
110 res->Position = CoordsXYZ{ _loc.x, _loc.y, _loc.z }; in Execute()
114 gParkEntrances.push_back(_loc); in Execute()
116 auto zLow = _loc.z; in Execute()
118 CoordsXY entranceLoc = { _loc.x, _loc.y }; in Execute()
[all …]
H A DBannerSetColourAction.cpp19 : _loc(loc) in BannerSetColourAction()
26 visitor.Visit(_loc); in AcceptParameters()
56 res->Position.x = _loc.x + 16; in QueryExecute()
57 res->Position.y = _loc.y + 16; in QueryExecute()
58 res->Position.z = _loc.z; in QueryExecute()
61 if (!LocationValid(_loc)) in QueryExecute()
63 log_error("Invalid x / y coordinates: x = %d, y = %d", _loc.x, _loc.y); in QueryExecute()
73 if (!map_can_build_at({ _loc.x, _loc.y, _loc.z - 16 })) in QueryExecute()
78 auto bannerElement = map_get_banner_element_at(_loc, _loc.direction); in QueryExecute()
82 … not find banner at: x = %d, y = %d, z = %d, direction = %u", _loc.x, _loc.y, _loc.z, _loc.directi… in QueryExecute()
[all …]
H A DParkEntranceRemoveAction.cpp18 : _loc(loc) in ParkEntranceRemoveAction()
31 stream << DS_TAG(_loc); in Serialise()
43 res->Position = _loc; in Query()
46 auto entranceIndex = park_entrance_get_index(_loc); in Query()
47 if (!LocationValid(_loc) || entranceIndex == -1) in Query()
49 log_error("Could not find entrance at x = %d, y = %d, z = %d", _loc.x, _loc.y, _loc.z); in Query()
59 res->Position = _loc; in Execute()
65 log_error("Could not find entrance at x = %d, y = %d, z = %d", _loc.x, _loc.y, _loc.z); in Execute()
72 ParkEntranceRemoveSegment(_loc); in Execute()
76 …{ _loc.x + CoordsDirectionDelta[direction].x, _loc.y + CoordsDirectionDelta[direction].y, _loc.z }… in Execute()
[all …]
H A DTileModifyAction.cpp18 : _loc(loc) in TileModifyAction()
50 if (!LocationValid(_loc)) in QueryExecute()
60 res = TileInspector::RemoveElementAt(_loc, elementIndex, isExecuting); in QueryExecute()
79 res = TileInspector::RotateElementAt(_loc, elementIndex, isExecuting); in QueryExecute()
84 res = TileInspector::PasteElementAt(_loc, _pasteElement, isExecuting); in QueryExecute()
89 res = TileInspector::SortElementsAt(_loc, isExecuting); in QueryExecute()
113 res = TileInspector::SurfaceToggleDiagonal(_loc, isExecuting); in QueryExecute()
216 res = TileInspector::CorruptClamp(_loc, elementIndex, isExecuting); in QueryExecute()
224 res->Position.x = _loc.x; in QueryExecute()
225 res->Position.y = _loc.y; in QueryExecute()
[all …]
H A DSmallSceneryPlaceAction.cpp33 : _loc(loc) in SmallSceneryPlaceAction()
43 visitor.Visit(_loc); in AcceptParameters()
71 if (_loc.z != 0) in Query()
89 if (_loc.z != 0) in Query()
127 auto loc2 = _loc; in Query()
146 if (_loc.z == 0) in Query()
152 if (_loc.z == 0) in Query()
158 && !map_is_location_owned({ _loc.x, _loc.y, targetHeight })) in Query()
274 if (_loc.z != 0) in Execute()
292 if (_loc.z != 0) in Execute()
[all …]
H A DWallSetColourAction.cpp25 : _loc(loc) in WallSetColourAction()
48 res->Position.x = _loc.x + 16; in Query()
49 res->Position.y = _loc.y + 16; in Query()
50 res->Position.z = _loc.z; in Query()
54 if (!LocationValid(_loc)) in Query()
68 …ind wall element at: x = %d, y = %d, z = %d, direction = %u", _loc.x, _loc.y, _loc.z, _loc.directi… in Query()
111 res->Position.x = _loc.x + 16; in Execute()
112 res->Position.y = _loc.y + 16; in Execute()
113 res->Position.z = _loc.z; in Execute()
120 …ind wall element at: x = %d, y = %d, z = %d, direction = %u", _loc.x, _loc.y, _loc.z, _loc.directi… in Execute()
[all …]
H A DMazeSetTrackAction.cpp29 : _loc(location) in MazeSetTrackAction()
38 visitor.Visit(_loc); in AcceptParameters()
47 …stream << DS_TAG(_loc) << DS_TAG(_loc.direction) << DS_TAG(_initialPlacement) << DS_TAG(_rideIndex… in Serialise()
64 if (!LocationValid(_loc) || (!map_is_location_owned(_loc) && !gCheatsSandboxMode)) in Query()
85 auto baseHeight = _loc.z; in Query()
86 auto clearanceHeight = _loc.z + 32; in Query()
169 footpath_remove_litter(_loc); in Execute()
170 wall_remove_at({ _loc.ToTileStart(), _loc.z, _loc.z + 32 }); in Execute()
210 uint8_t segmentOffset = MazeGetSegmentBit(_loc.x, _loc.y); in Execute()
247 … auto previousSegment = CoordsXY{ _loc.x - CoordsDirectionDelta[_loc.direction].x / 2, in Execute()
[all …]
H A DLargeSceneryRemoveAction.cpp28 : _loc(location) in LargeSceneryRemoveAction()
35 visitor.Visit(_loc); in AcceptParameters()
57 int32_t z = tile_element_height(_loc); in Query()
58 res->Position.x = _loc.x + 16; in Query()
59 res->Position.y = _loc.y + 16; in Query()
67 log_warning("Invalid game command for scenery removal, x = %d, y = %d", _loc.x, _loc.y); in Query()
81 auto firstTile = CoordsXYZ{ _loc.x, _loc.y, _loc.z } - rotatedOffsets; in Query()
128 res->Position.x = _loc.x + 16; in Execute()
129 res->Position.y = _loc.y + 16; in Execute()
137 log_warning("Invalid game command for scenery removal, x = %d, y = %d", _loc.x, _loc.y); in Execute()
[all …]
H A DFootpathPlaceAction.cpp32 : _loc(loc) in FootpathPlaceAction()
43 visitor.Visit(_loc); in AcceptParameters()
73 if (!LocationValid(_loc) || map_is_edge(_loc)) in Query()
88 if (_loc.z < FootpathMinHeight) in Query()
93 if (_loc.z > FootpathMaxHeight) in Query()
135 auto zLow = _loc.z; in Execute()
278 auto zLow = _loc.z; in ElementInsertQuery()
346 auto zLow = _loc.z; in ElementInsertExecute()
458 if (_loc.x != 32) in AutomaticallySetPeepSpawn()
467 if (_loc.y != 32) in AutomaticallySetPeepSpawn()
[all …]
H A DMazePlaceTrackAction.cpp19 : _loc(location) in MazePlaceTrackAction()
27 visitor.Visit(_loc); in AcceptParameters()
42 res->Position = _loc + CoordsXYZ{ 8, 8, 0 }; in Query()
45 if ((_loc.z & 0xF) != 0) in Query()
52 if (!LocationValid(_loc) || (!map_is_location_owned(_loc) && !gCheatsSandboxMode)) in Query()
59 if (!MapCheckCapacityAndReorganise(_loc)) in Query()
73 auto baseHeight = _loc.z; in Query()
146 footpath_remove_litter(_loc); in Execute()
147 wall_remove_at({ _loc.ToTileStart(), _loc.z, _loc.z + 32 }); in Execute()
150 auto baseHeight = _loc.z; in Execute()
[all …]
H A DFootpathRemoveAction.cpp25 : _loc(location) in FootpathRemoveAction()
31 visitor.Visit(_loc); in AcceptParameters()
43 stream << DS_TAG(_loc); in Serialise()
51 res->Position = { _loc.x + 16, _loc.y + 16, _loc.z }; in Query()
53 if (!LocationValid(_loc)) in Query()
79 res->Position = { _loc.x + 16, _loc.y + 16, _loc.z }; in Execute()
83 footpath_interrupt_peeps(_loc); in Execute()
84 footpath_remove_litter(_loc); in Execute()
96 footpath_remove_edges_at(_loc, footpathElement); in Execute()
97 map_invalidate_tile_full(_loc); in Execute()
[all …]
H A DFootpathAdditionRemoveAction.cpp24 : _loc(loc) in FootpathAdditionRemoveAction()
30 visitor.Visit(_loc); in AcceptParameters()
42 stream << DS_TAG(_loc); in Serialise()
47 if (!LocationValid(_loc)) in Query()
57 if (_loc.z < FootpathMinHeight) in Query()
62 if (_loc.z > FootpathMaxHeight) in Query()
67 auto tileElement = map_get_footpath_element(_loc); in Query()
87 res->Position = _loc; in Query()
99 footpath_interrupt_peeps(_loc); in Execute()
109 map_invalidate_tile_full(_loc); in Execute()
[all …]
H A DLargeSceneryPlaceAction.cpp23 : _loc(loc) in LargeSceneryPlaceAction()
32 visitor.Visit(_loc); in AcceptParameters()
88 if (_loc.z != 0) in Query()
90 maxHeight = _loc.z; in Query()
110 curTile.x += _loc.x; in Query()
111 curTile.y += _loc.y; in Query()
203 if (_loc.z != 0) in Execute()
205 maxHeight = _loc.z; in Execute()
244 curTile.x += _loc.x; in Execute()
245 curTile.y += _loc.y; in Execute()
[all …]
H A DFootpathPlaceFromTrackAction.cpp28 : _loc(loc) in FootpathPlaceFromTrackAction()
55 res->Position = _loc.ToTileCentre(); in Query()
59 if (!LocationValid(_loc) || map_is_edge(_loc)) in Query()
71 if (_loc.z < FootpathMinHeight) in Query()
76 if (_loc.z > FootpathMaxHeight) in Query()
89 res->Position = _loc.ToTileCentre(); in Execute()
93 footpath_interrupt_peeps(_loc); in Execute()
118 auto zLow = _loc.z; in ElementInsertQuery()
181 footpath_remove_litter(_loc); in ElementInsertExecute()
187 auto zLow = _loc.z; in ElementInsertExecute()
[all …]
H A DSmallScenerySetColourAction.cpp30 : _loc(loc) in SmallScenerySetColourAction()
47 …stream << DS_TAG(_loc) << DS_TAG(_quadrant) << DS_TAG(_sceneryType) << DS_TAG(_primaryColour) << D… in Serialise()
64 res->Position.x = _loc.x + 16; in QueryExecute()
65 res->Position.y = _loc.y + 16; in QueryExecute()
66 res->Position.z = _loc.z; in QueryExecute()
69 if (!LocationValid(_loc)) in QueryExecute()
76 if (!map_is_location_owned(_loc)) in QueryExecute()
82 auto sceneryElement = map_get_small_scenery_element_at(_loc, _sceneryType, _quadrant); in QueryExecute()
86 log_error("Small scenery not found at: x = %d, y = %d, z = %d", _loc.x, _loc.y, _loc.z); in QueryExecute()
100 map_invalidate_tile_full(_loc); in QueryExecute()
H A DRideEntranceExitRemoveAction.cpp21 : _loc(loc) in RideEntranceExitRemoveAction()
30 visitor.Visit(_loc); in AcceptParameters()
45 stream << DS_TAG(_loc) << DS_TAG(_rideIndex) << DS_TAG(_stationNum) << DS_TAG(_isExit); in Serialise()
91 if (!LocationValid(_loc)) in Query()
102 …"Track Element not found. x = %d, y = %d, ride = %d, station = %d", _loc.x, _loc.y, EnumValue(_rid… in Query()
133 …"Track Element not found. x = %d, y = %d, ride = %d, station = %d", _loc.x, _loc.y, EnumValue(_rid… in Execute()
139 res->Position.x = _loc.x + 16; in Execute()
140 res->Position.y = _loc.y + 16; in Execute()
144 maze_entrance_hedge_replacement({ _loc, entranceElement }); in Execute()
145 footpath_remove_edges_at(_loc, entranceElement); in Execute()
[all …]
H A DWallPlaceAction.cpp30 , _loc(loc) in WallPlaceAction()
40 visitor.Visit(_loc); in AcceptParameters()
65 res->Position = _loc; in Query()
71 if (_loc.z == 0) in Query()
76 if (!LocationValid(_loc)) in Query()
83 if (_loc.z == 0) in Query()
97 log_error("Invalid x/y coordinates. x = %d y = %d", _loc.x, _loc.y); in Query()
113 log_error("Surface element not found at %d, %d.", _loc.x, _loc.y); in Query()
130 log_error("Surface element not found at %d, %d.", _loc.x, _loc.y); in Query()
269 res->Position = _loc; in Execute()
[all …]
H A DFootpathAdditionPlaceAction.cpp25 : _loc(loc) in FootpathAdditionPlaceAction()
32 visitor.Visit(_loc); in AcceptParameters()
45 stream << DS_TAG(_loc) << DS_TAG(_pathItemType); in Serialise()
52 res->Position = _loc; in Query()
53 if (!LocationValid(_loc)) in Query()
63 if (_loc.z < FootpathMinHeight) in Query()
68 if (_loc.z > FootpathMaxHeight) in Query()
81 if (pathElement->IsLevelCrossing(_loc)) in Query()
145 res->Position = _loc; in Execute()
181 footpath_interrupt_peeps(_loc); in Execute()
[all …]
H A DRideEntranceExitPlaceAction.cpp21 : _loc(loc) in RideEntranceExitPlaceAction()
31 visitor.Visit(_loc); in AcceptParameters()
94 if (!LocationValid(_loc) || (!gCheatsSandboxMode && !map_is_location_owned({ _loc, z }))) in Query()
99 if (!MapCheckCapacityAndReorganise(_loc)) in Query()
124 res->Position = { _loc.ToTileCentre(), z }; in Query()
165 footpath_remove_litter({ _loc, z }); in Execute()
166 wall_remove_at_z({ _loc, z }); in Execute()
179 res->Position = { _loc.ToTileCentre(), z }; in Execute()
202 map_animation_create(MAP_ANIMATION_TYPE_RIDE_ENTRANCE, { _loc, z }); in Execute()
212 footpath_connect_edges(_loc, entranceElement->as<TileElement>(), GetFlags()); in Execute()
[all …]
/dports/devel/swig/swig-4.0.2/Lib/ocaml/
H A Dswigp4.ml14 let _loc = Loc.ghost
34 | [ a ] -> <:expr< (Obj.magic $f a _loc$) >>
42 <:expr< (invoke $e1$) "[]" (C_list [ $c_ify e2 _loc$ ]) >>
48 <:expr< (invoke $e1$) $s$ ($mk_list args _loc c_ify$) >>
50 <:expr< (invoke $e1$) "()" ($mk_list args _loc c_ify$) >>
62 <:expr< (invoke $e1$) "-" (C_list [ $c_ify e2 _loc$ ]) >>
72 <:expr< (invoke $e1$) "/" (C_list [ $c_ify e2 _loc$ ]) >>
74 <:expr< (invoke $e1$) "%" (C_list [ $c_ify e2 _loc$ ]) >>
80 <:expr< (invoke $e1$) "<" (C_list [ $c_ify e2 _loc$ ]) >>
123 | "'" ; e = expr -> c_ify e _loc
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DSchemaBuilderHost.java139 LocationHost loc = cast(_loc); in makeAttribute()
156 LocationHost loc = cast(_loc); in makeChoice()
172 LocationHost loc = cast(_loc); in makeDataPatternBuilder()
184 LocationHost loc = cast(_loc); in makeElement()
195 LocationHost loc = cast(_loc); in makeElementAnnotationBuilder()
204 LocationHost loc = cast(_loc); in makeEmpty()
223 LocationHost loc = cast(_loc); in makeExternalRef()
248 LocationHost loc = cast(_loc); in makeGroup()
265 LocationHost loc = cast(_loc); in makeInterleave()
277 LocationHost loc = cast(_loc); in makeList()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DSchemaBuilderHost.java139 LocationHost loc = cast(_loc); in makeAttribute()
156 LocationHost loc = cast(_loc); in makeChoice()
172 LocationHost loc = cast(_loc); in makeDataPatternBuilder()
184 LocationHost loc = cast(_loc); in makeElement()
195 LocationHost loc = cast(_loc); in makeElementAnnotationBuilder()
204 LocationHost loc = cast(_loc); in makeEmpty()
223 LocationHost loc = cast(_loc); in makeExternalRef()
248 LocationHost loc = cast(_loc); in makeGroup()
265 LocationHost loc = cast(_loc); in makeInterleave()
277 LocationHost loc = cast(_loc); in makeList()
[all …]

12345678910>>...33