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 more functions to use point #39956

Merged
merged 4 commits into from
Apr 27, 2020

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

Working towards #32017.

Adding more type safety and clarity.

Describe the solution

Convert a bunch more functions to take point arguments rather than separate ints. This PR covers:

  • A bunch of mapgen code.
  • Some SDL code.
  • A few miscellaneous things.

I discovered along the way that set_science_room is now unused, so I deleted it.

Testing

Unit tests only.

Additional context

Nearly there with these changes. I think one more PR after this one.

@kevingranade kevingranade merged commit c2732c3 into CleverRaven:master Apr 27, 2020
@jbytheway jbytheway deleted the point_apis_20200427 branch April 28, 2020 13:32
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