Description:
Improve water generation.
?Fix bug cause incongrous coastlines (i.e., coastline that doesn't line up with surrounding tiles).
?Randomly choose between open water tiles.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -626,7 +626,13 | |||||
|
626 |
|
626 | ||
|
627 |
|
627 | ||
|
628 | if (northwest && northeast && southwest && southeast) { |
|
628 | if (northwest && northeast && southwest && southeast) { |
|
629 | tile_index = 85; |
|
629 | //There are two "open water" squares |
|
|
630 | if (((y % 5) == 0) && ((x % 3) == 0)) { | ||
|
|
631 | tile_index = 84; | ||
|
|
632 | } | ||
|
|
633 | else { | ||
|
|
634 | tile_index = 85; | ||
|
|
635 | } | ||
|
630 | } |
|
636 | } |
|
631 | else if (northwest && northeast && southwest && !southeast) { |
|
637 | else if (northwest && northeast && southwest && !southeast) { |
|
632 | tile_index = 82; |
|
638 | tile_index = 82; |
@@ -656,7 +662,7 | |||||
|
656 | tile_index = 92; |
|
662 | tile_index = 92; |
|
657 | } |
|
663 | } |
|
658 | else if (!northwest && northeast && !southwest && southeast) { |
|
664 | else if (!northwest && northeast && !southwest && southeast) { |
|
659 |
tile_index = |
|
665 | tile_index = 83; |
|
660 | } |
|
666 | } |
|
661 | else if (!northwest && northeast && !southwest && !southeast) { |
|
667 | else if (!northwest && northeast && !southwest && !southeast) { |
|
662 | tile_index = 95; //not really correct |
|
668 | tile_index = 95; //not really correct |
You need to be logged in to leave comments.
Login now