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

Add documentation for new coord_point #42303

Merged
merged 2 commits into from
Jul 21, 2020

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: Infrastructure "Add documentation for new coord_point"

Purpose of change

To help people understand the game's coordinate systems and how to use the new point types, add some documentation

Describe the solution

Move the description of coordinate systems out of coordinate_conversions.h into a markdown file, expand upon it, and reference that new file from coordinate_conversions.h and coordinates.h.

Describe alternatives you've considered

Putting it all in coodinates.h rather than markdown.

Testing

No code changes.

You can read the rendered markdown here.

Additional context

Feedback welcome. It's hard to know what's obvious and what isn't when I'm the one who created all this infrastructure.

@ZhilkinSerg ZhilkinSerg added <Documentation> Design documents, internal info, guides and help. [Markdown] Markdown issues and PRs labels Jul 20, 2020
@Hirmuolio
Copy link
Contributor

"ms" and "sm" are dangerously similar.

How about "local map" "lm" or "tile map" "tm".

Copy link
Contributor

@mlangsdorf mlangsdorf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The one change that really needs to be made is fixing the size of a submap.

To help people understand the game's coordinate systems and how to use
the new point types, add some documentation

Move the description of coordinate systems out of
coordinate_conversions.h into a markdown file, and reference that new
file from coordinate_conversions.h and coordinates.h.
@jbytheway
Copy link
Contributor Author

"ms" and "sm" are dangerously similar.

How about "local map" "lm" or "tile map" "tm".

Definitely don't want to use "local" here; that already means something else. It might make sense to just use "tile" tl. But that's a pretty massive change that's definitely out of scope for this documentation PR.

Add vehicle coordinate system docs, clarify a bunch of stuff.

The game is three-dimensional, with the axes oriented as follows:
* The **x-axis** goes from left to right across the display (in non-isometric
views).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth specifying that -X is to the left/west and +X is to the right/east or have we held people's hands here enough?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Documentation> Design documents, internal info, guides and help. [Markdown] Markdown issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants