mirror of https://github.com/OpenRCT2/OpenRCT2.git
![]() * Make UpdateFixing*() methods use const where possible To make it clearer which steps actually modify the ride being fixed and which do not, pass const Ride* instead of Ride* where possible. * Extract maximum litter search distance to a constant * Make peep_update_*() methods return bool * Use Direction type and helpers where applicable * Const correctness and other cleanup Make many functions take a const Peep* / const Staff* to clarify that they do not modify the peep being passed in. Also use the Direction type for some return values, and simplify staff_is_location_on_patrol_edge. * Use clearer expression of constant value Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com> * Convert staff functions to members * Remove AsStaff const overload * Use As<Staff>() instead of static_cast * Simplify direction selection code * Clean up use of magic constants Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com> |
||
---|---|---|
.. | ||
openrct2 | ||
openrct2-android | ||
openrct2-cli | ||
openrct2-ui | ||
openrct2-win | ||
thirdparty |