-
-
Couldn't load subscription status.
- Fork 1.2k
Pathfinder history #1748
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
base: master
Are you sure you want to change the base?
Pathfinder history #1748
Conversation
2a3d646 to
df2f0ab
Compare
libopenage/pathfinding/cost_field.h
Outdated
| /** | ||
| * Array curve recording cell cost history, | ||
| */ | ||
| curve::Array<cost_t, CHUNK_SIZE> cell_cost_history; |
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.
How should cell_cost_history be exposed? A simple getter that returns a constant ref to the curve?
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.
Yes that would be enough I think.
df2f0ab to
8d216b9
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.
Sorry for the long wait, I was very busy with work 😅 Now that I have some time, I added a few suggestions to the code.
libopenage/pathfinding/cost_field.h
Outdated
| /** | ||
| * Array curve recording cell cost history, | ||
| */ | ||
| curve::Array<cost_t, CHUNK_SIZE> cell_cost_history; |
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.
Yes that would be enough I think.
Co-authored-by: jere8184 <jeremiahmorgan.bham@outlook.com>
63c919d to
b390440
Compare
fixes: #1680