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
MapblockMeshGenerator: Use more verbose member names #13244
Conversation
@numberZero do you have an opinion on this? |
👍
👎 That adds more clutter than help IMO.
For drawtype-specific stuff, that’s better than currently. But maybe it is possible to split the class instead? |
Also, |
They are not specific for the current mesh node though.
I guess this also goes down to personal preference. I'll remove the
Splitting it would be good at some point I guess. But idk how to make it well, and rebasing would be harder. |
Okay.
Neither I do, so nvm. That is for another PR. |
Done. |
LGTM |
30d95ba
to
63a1ba6
Compare
Rebased. |
63a1ba6
to
bbd9a01
Compare
=> more consistency with neighbordata. and to emphasize that it's not the same content_t, but the same liquid
see also num0's comment: minetest#13244 (comment)
Rebased, and checked that the rebase went correctly. Also added 2 commits, see commit descriptions. |
content_mapblock.cpp
is kinda hard to read due to heavy use of member variables that look like local stack variables (and quite non-specific variable names, likeorigin
orcolor
). All in all, it's hard to find out where something is defined or written to. Sometimes there are also name clashes (i.e.tile
ingetTile
).Member vars (or the structs they're in) start withm_
.To do
This PR is a Ready for Review.
How to test
(The diff is large, but very simple.)