Skip to content

Tilearea iterators - #15

Open
PeterN wants to merge 3 commits into
masterfrom
tilearea-iterators
Open

Tilearea iterators#15
PeterN wants to merge 3 commits into
masterfrom
tilearea-iterators

Conversation

@PeterN

@PeterN PeterN commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Motivation / Problem

Description

Limitations

Checklist for review

Some things are not automated, and forgotten often. This list is a reminder for the reviewers.

  • The bug fix is important enough to be backported? (label: 'backport requested')
  • This PR touches english.txt or translations? Check the guidelines
  • This PR affects the GS/AI API? (label 'needs review: Script API')
    • ai_changelog.hpp, game_changelog.hpp need updating.
    • The compatibility wrappers (compat_*.nut) need updating.
  • This PR affects the NewGRF API? (label 'needs review: NewGRF')

Comment thread src/rail_cmd.cpp Fixed
Comment thread src/road_cmd.cpp Fixed
Comment thread src/tilearea_airportlayout.h Fixed
@PeterN
PeterN force-pushed the tilearea-iterators branch 9 times, most recently from 9019913 to 01f4616 Compare August 31, 2026 16:48
Comment thread src/tilearea_bitmap.cpp Fixed
Comment thread src/tilearea_bitmap.cpp Fixed
Comment thread src/tilearea_bitmap.cpp Fixed
@PeterN
PeterN force-pushed the tilearea-iterators branch 5 times, most recently from 2da629d to bb7f073 Compare September 1, 2026 15:38
Allows re-use of existing functions that take TileArea.
Overloading along with missing begin/end methods could cause unexpected iteration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants