galok wrote:Okay, I get it about the code. Tell me then, is there any point to read MC code after MT code (map generation), just how different they are? besides MC lack of comments and variable names. I mean, the result look quite similiar.
// Put trees in random places on part of division
for (u32 i = 0; i < tree_count; i++) {
s16 x = myrand_range(p2d_min.X, p2d_max.X); // this one
s16 z = myrand_range(p2d_min.Y, p2d_max.Y); // this one too
Users browsing this forum: No registered users and 8 guests