Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
None
Purpose of change
Add position typing to a new set of code.
Describe the solution
Go through animation.cpp and replace generic (tri)points with typed ones.
Make associated follow on changes in related code, with some short circuiting to stop it from ballooning even further.
Note that there should be no functional change.
Describe alternatives you've considered
Try to understand what types more (tri)points are. There are "offset" parameters, for instance. I've left these untyped as I'm not sure what they represent.
Try to understand if cata_tiles and/or sdl_tiles actually are used to serve both the reality bubble ((tri)point_bub_ms for the most part) as well as some OMT coordinate system which may be relative to something or be absolute (to serve the overmap display), and, if that's the case, whether they ought to remain untyped or get dual operations for the operations that are used for both purposes.
Testing
Limited to loading a save, walk away with a bunch of companions in tow for a number of overmap and encounter some wildlife, teleport back, and climb the roof.
Additional context