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

Lua API documentation: Various fixes (2) #12059

Merged
merged 3 commits into from
Feb 23, 2022

Conversation

SmallJoker
Copy link
Member

To do

This PR is Ready for Review.

How to test

  1. 👀

@SmallJoker SmallJoker added the @ Documentation Improvements or additions to documentation label Feb 9, 2022
v3s16 maxedge = check_v3s16(L, 3);
v3s16 minp = check_v3s16(L, 2);
v3s16 maxp = check_v3s16(L, 3);
sortBoxVerticies(minp, maxp);
Copy link
Member Author

@SmallJoker SmallJoker Feb 9, 2022

Choose a reason for hiding this comment

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

Sneaky bugfix: Sorting happens in Area::Area(), although this function does not make use of this class to sanitize user input.

Copy link
Contributor

@appgurueu appgurueu left a comment

Choose a reason for hiding this comment

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

The rename of borders to corners is not entirely correct.

doc/lua_api.txt Outdated Show resolved Hide resolved
doc/lua_api.txt Outdated Show resolved Hide resolved
doc/lua_api.txt Outdated Show resolved Hide resolved
doc/lua_api.txt Show resolved Hide resolved
doc/lua_api.txt Outdated Show resolved Hide resolved
doc/lua_api.txt Outdated Show resolved Hide resolved
doc/world_format.txt Outdated Show resolved Hide resolved
doc/world_format.txt Show resolved Hide resolved
src/script/lua_api/l_areastore.cpp Show resolved Hide resolved
@SmallJoker
Copy link
Member Author

Suggestions handled.

doc/world_format.txt Outdated Show resolved Hide resolved
doc/world_format.txt Outdated Show resolved Hide resolved
I took AKryukov92's personally. It put me off and now it's coming finally after 2.5 years.
@SmallJoker
Copy link
Member Author

(ready for re-review)

Copy link
Member

@sfan5 sfan5 left a comment

Choose a reason for hiding this comment

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

lgtm

@doxygen-spammer
Copy link
Contributor

👍🏾 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@ Documentation Improvements or additions to documentation >= Two approvals ✅ ✅
Projects
None yet
5 participants