mirror of
https://gitlab.com/gaelysam/mapgen_rivers.git
synced 2024-11-13 06:10:21 +01:00
Re-added river flow data because needed for map preview
This commit is contained in:
parent
1adb4fbece
commit
b5db63d267
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,4 +6,5 @@ offset_x
|
|||
offset_y
|
||||
bounds_x
|
||||
bounds_y
|
||||
rivers
|
||||
unused/
|
||||
|
|
|
@ -81,6 +81,8 @@ save(np.abs(by), 'bounds_y', dtype='>i4')
|
|||
save(offset_x, 'offset_x', dtype='i1')
|
||||
save(offset_y, 'offset_y', dtype='i1')
|
||||
|
||||
save(model.rivers, 'rivers', dtype='>u4')
|
||||
|
||||
with open('size', 'w') as sfile:
|
||||
sfile.write('{:d}\n{:d}'.format(mapsize, mapsize))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user