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

Convert mapgen.h functions to use point #39229

Merged
merged 3 commits into from
Apr 4, 2020

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

Working towards #32017.

Towards clearer, more type-safe APIs.

Describe the solution

Convert various mapgen.h functions from separate int arguments to points.

Testing

Unit tests only. Changes largely automated.

Additional context

This adds even more NOLINTNEXTLINE(cata-use-named-point-constants) comments. There are more than I would prefer of them now, scattered throughout the codebase. I have some tentative plans to tweak that check to reduce the need for them, but it's on the back burner. If they're being especially annoying to others, let me know and I can prioritize.

@kevingranade kevingranade merged commit 8a82a76 into CleverRaven:master Apr 4, 2020
@jbytheway jbytheway deleted the mapgen_point_apis branch April 4, 2020 11:13
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.

2 participants