Change: Throw out per-grf industry tile limit. - #12183
Conversation
2TallTyler
left a comment
There was a problem hiding this comment.
Makes sense to me.
For later reference, the Action 03 extension was in #10672, if I'm reading this right.
Does NML need to be patched?
|
Hmm, NML source code says:
So, not sure how that interacts with the way original IDs can't be reused. |
|
Increasing the limit shouldn't break anything in NML by itself, should it? It will just not allow more tiles, but that wouldn't preclude merging the PR. |
|
I can't really remember why I referenced that. I think I may have been thinking along the lines of should the limit be 511 or 337. |
|
Is there a reason for not merging this? Besides a hefty rebase being needed to run the right build checks. |
|
"Can haz merge?" 😸 |
The industry tile limit was set based on the premise that action 3 ids might later be extended. They have since been extended. Limit is now the total number of industry tiles that can be used.
76a35ba to
ee36eed
Compare
|
nfo and nml spec updated. Wiki specification status page updated. nml patch is OpenTTD/nml#438 |
Motivation / Problem
The custom industry tile limit was set to 255 per-GRF based on the premise that action 3 ids might later be extended.
They have since been extended.
Description
Raise the limit to account for the action 3 extended byte change.
Limit is now the total number of custom tiles that can be used.
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.