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:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r673:f9401e682f4b -

@@ -626,7 +626,13
626 626
627 627
628 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 637 else if (northwest && northeast && southwest && !southeast) {
632 638 tile_index = 82;
@@ -656,7 +662,7
656 662 tile_index = 92;
657 663 }
658 664 else if (!northwest && northeast && !southwest && southeast) {
659 tile_index = 94;
665 tile_index = 83;
660 666 }
661 667 else if (!northwest && northeast && !southwest && !southeast) {
662 668 tile_index = 95; //not really correct
You need to be logged in to leave comments. Login now