Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified map-generator/map-generator
Binary file not shown.
2 changes: 1 addition & 1 deletion map-generator/map_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ func packTerrain(ctx context.Context, terrain [][]Terrain) (data []byte, numLand
if tile.Type == Land {
packedByte |= byte(math.Min(math.Ceil(tile.Magnitude), 31))
} else {
packedByte |= byte(math.Min(math.Ceil(tile.Magnitude/2), 31))
packedByte |= byte(math.Min(math.Ceil(tile.Magnitude/2), 11))
Comment thread
alexjurkiewicz marked this conversation as resolved.
}

packedData[y*width+x] = packedByte
Expand Down
2 changes: 1 addition & 1 deletion resources/maps/achiran/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/achiran/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/achiran/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/aegean/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/aegean/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/aegean/map4x.bin

Large diffs are not rendered by default.

388 changes: 194 additions & 194 deletions resources/maps/africa/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/africa/map16x.bin

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions resources/maps/africa/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/amazonriver/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/amazonriver/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/antarctica/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/antarctica/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/antarctica/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/archipelagosea/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/archipelagosea/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/archipelagosea/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/arctic/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/arctic/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/arctic/map4x.bin

Large diffs are not rendered by default.

318 changes: 159 additions & 159 deletions resources/maps/asia/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/asia/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/asia/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/australia/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/australia/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/australia/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/baikal/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/baikal/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/baikal/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/baikalnukewars/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/baikalnukewars/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/baikalnukewars/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/bajacalifornia/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/bajacalifornia/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/bajacalifornia/map4x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/beringsea/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/beringsea/map16x.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/beringsea/map4x.bin

Large diffs are not rendered by default.

270 changes: 135 additions & 135 deletions resources/maps/beringstrait/map.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/maps/beringstrait/map16x.bin

Large diffs are not rendered by default.

Loading
Loading