Some small optimization of water rules

This commit is contained in:
ln-zookeeper 2016-02-09 09:04:18 +02:00
parent acc5ef3b8d
commit 15a235232a
7 changed files with 5 additions and 66 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -1172,44 +1172,13 @@
#enddef
#define NEW:WATER_342_180 TERRAINLIST IPF IMAGESTEM FRAMES
[terrain_graphics]
# This rule is not necessary; its purpose is to fill as many hexes as
# possible with the full-size animation, so that not all hexes need to
# be cropped and masked individually.
map="
1, 2, 2
, 2, 2, 2
2, 2, 2
, 2, 2, 2"
[tile]
pos=1
type={TERRAINLIST}
has_flag=342x180_water01
set_no_flag=base
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag=base
[/tile]
[image]
layer=-1000
name={IMAGESTEM}[01~{FRAMES}].png{IPF}:100
random_start=no
[/image]
[/terrain_graphics]
[terrain_graphics]
[tile]
x,y=0,0
type={TERRAINLIST}
set_no_flag=base
{WATER_342_180_TILE_VARIANTS "~MASK(terrain/alphamask.png)" -1000 {IPF} {IMAGESTEM} {FRAMES}}
{WATER_342_180_TILE_VARIANTS "" -1000 {IPF} {IMAGESTEM} {FRAMES}}
[/tile]
[/terrain_graphics]
#enddef
@ -1218,24 +1187,19 @@
[terrain_graphics]
map="
, 2
., 3
., 2
, 1
., .
, ."
[tile]
pos=1
type={ADJACENT}
{WATER_342_180_TILE_VARIANTS "~MASK(terrain/masks/concave-long-@R0-@R1.png)" {LAYER} {IPF} {IMAGESTEM} {FRAMES}}
{WATER_342_180_TILE_VARIANTS "~MASK(terrain/masks/concave-long-@R0-@R5.png)" {LAYER} {IPF} {IMAGESTEM} {FRAMES}}
{WATER_342_180_TILE_VARIANTS "~MASK(terrain/masks/concave-long-2-@R0.png)" {LAYER} {IPF} {IMAGESTEM} {FRAMES}}
[/tile]
[tile]
pos=2
type={TERRAINLIST}
[/tile]
[tile]
pos=3
type={TERRAINLIST}
[/tile]
rotations=tr,r,br,bl,l,tl
[/terrain_graphics]
@ -1258,32 +1222,7 @@
[/tile]
[tile]
pos=3
type={ADJACENT}
{WATER_342_180_TILE_VARIANTS "~MASK(terrain/masks/convex-long-@R0-@R1.png)" {LAYER} {IPF} {IMAGESTEM} {FRAMES}}
[/tile]
rotations=tr,r,br,bl,l,tl
[/terrain_graphics]
[terrain_graphics]
map="
, 2
., 3
, 1
., .
, ."
[tile]
pos=1
type={TERRAINLIST}
[/tile]
[tile]
pos=2
type={ADJACENT}
{WATER_342_180_TILE_VARIANTS "~MASK(terrain/masks/convex-long-@R0-@R5.png)" {LAYER} {IPF} {IMAGESTEM} {FRAMES}}
[/tile]
[tile]
pos=3
type=!,{TERRAINLIST},{ADJACENT}
type=!,{TERRAINLIST}
[/tile]
rotations=tr,r,br,bl,l,tl
@ -1301,7 +1240,7 @@
[/tile]
[tile]
pos=2
type=!,{TERRAINLIST},{ADJACENT}
type=!,{TERRAINLIST}
[/tile]
[tile]
pos=3