Commit Graph

3 Commits

Author SHA1 Message Date
Hielke Morsink e2da19f0f7
Add missing includes 2022-07-29 18:45:10 +02:00
ζeh Matt 2329d3d681
Refactor tile access to be continuous when iterating 2021-12-30 23:03:32 +01:00
ζeh Matt 6186766a05
Introduce TileElementsView (#13975)
* Simplify TileElement type conversation

* Introduce TileElementsView

* Move TileElementsView code into TileElementsView.h

* Cleanup code and move into OpenRCT2 namespace

* Use reference instead of pointer

* Fix include

* Make GCC happy

* Move the cast functions into base

* Use the cast function instead of reinterpret_cast

* Add TileElementsView tests

* Fix iterating on TileElementBase, return pointer not reference
2021-02-04 18:58:45 +02:00