Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestPaint Mk II #2260

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Conversation

duncanspumpkin
Copy link
Contributor

This is going to work a bit differently to the old test paint. My idea is that you first create a save with every track id in use (and on a bridge). Then you just load it with this code rotate the image 4 times and it will create all the various arrays required and code. Then we don't need to do the bit of the old test paint where it placed individual track pieces rotated them etc. I'm not proposing we add this to our code it is only to create the code.

}
}
std::cout << fmt::format("constexpr std::array<std::span<const TrackPaintPiece>, {}> kTrackPaintParts = {{\n", tppNames.size());
for (auto& tppName : tppNames)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be out of order need to remember to change it back from kTrackOrder to trackid order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants