MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / BitmapTileIterator

Method BitmapTileIterator

src/bitmap_type.h:114–117  ·  view source on GitHub ↗

* Construct the iterator. * @param bitmap BitmapTileArea to iterate. */

Source from the content-addressed store, hash-verified

112 * @param bitmap BitmapTileArea to iterate.
113 */
114 BitmapTileIterator(const BitmapTileArea &bitmap) : OrthogonalTileIterator(bitmap), bitmap(&bitmap)
115 {
116 if (!this->bitmap->HasTile(TileIndex(this->tile))) ++(*this);
117 }
118
119 inline TileIterator& operator ++() override
120 {

Callers

nothing calls this directly

Calls 1

HasTileMethod · 0.80

Tested by

no test coverage detected