-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Use typed tripoints in npcmove and adjacent code #76623
Conversation
2db1331
to
b822773
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked at all the changes without finding anything suspect, but rather the expected tedium. The automatic stuff complains about improvements to error messages and wants some other operation, something I have no opinion on, but guess those demands have to be met regardless.
80e8012
to
cee23e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not look at npcmove.cpp.
67cb33a
to
c6a2802
Compare
c6a2802
to
378c24a
Compare
Summary
None
Purpose of change
Typed tripoints.
Describe the solution
Convert tripoints mostly to tripoint_bub_ms.
Added a method to get the midpoint between an arbitrary number of points.
Describe alternatives you've considered
Testing
Spawned an NPC, watched it seek out the nearest shelter, made it follow me around, fight some zombies, sort some loot. Everything seemed normal.
Additional context