1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00

Code style: Remove more snakes from the park, maphelper, scenery. (#18222)

This commit is contained in:
Duncan
2022-10-08 10:56:17 +01:00
committed by GitHub
parent 34170d6814
commit 5dba30778d
55 changed files with 212 additions and 214 deletions

View File

@@ -1334,7 +1334,7 @@ void map_update_tiles()
if (surfaceElement != nullptr)
{
surfaceElement->UpdateGrassLength(mapPos);
scenery_update_tile(mapPos);
SceneryUpdateTile(mapPos);
}
}
}
@@ -1419,7 +1419,7 @@ void map_remove_out_of_range_elements()
if (surfaceElement != nullptr)
{
surfaceElement->SetOwnership(OWNERSHIP_UNOWNED);
update_park_fences_around_tile({ x, y });
ParkUpdateFencesAroundTile({ x, y });
}
clear_elements_at({ x, y });
}
@@ -1483,7 +1483,7 @@ void map_extend_boundary_surface_y()
map_extend_boundary_surface_extend_tile(*existingTileElement, *newTileElement);
}
update_park_fences({ x << 5, y << 5 });
ParkUpdateFences({ x << 5, y << 5 });
}
}
@@ -1501,7 +1501,7 @@ void map_extend_boundary_surface_x()
{
map_extend_boundary_surface_extend_tile(*existingTileElement, *newTileElement);
}
update_park_fences({ x << 5, y << 5 });
ParkUpdateFences({ x << 5, y << 5 });
}
}
@@ -2292,7 +2292,7 @@ void FixLandOwnershipTilesWithOwnership(std::initializer_list<TileCoordsXY> tile
continue;
surfaceElement->SetOwnership(ownership);
update_park_fences_around_tile({ (*tile).x * 32, (*tile).y * 32 });
ParkUpdateFencesAroundTile({ (*tile).x * 32, (*tile).y * 32 });
}
}
}