Added a WIP macro for corner-based beach transitions...

...split into 12 tiles.
This commit is contained in:
Lari Nieminen 2010-10-14 23:31:23 +00:00
parent cf52b7b6dd
commit fb10a9c4a4
2 changed files with 56 additions and 0 deletions

View file

@ -725,6 +725,9 @@
{TRANSITION_COMPLETE_L Ds R* -330 sand/beach}
{TRANSITION_COMPLETE_L Hd R* -331 hills/desert}
# To test the new beach macro, uncomment this and then comment out the other
# ones underneath it...
#{NEW:BEACH W* D* sand/shore}
# Special sand to water transitions
{TRANSITION_COMPLETE_LF Dd,Ds,Hd (W*,Ss) -490 double sand/sand-out}
{TRANSITION_COMPLETE_LF W*,Ss (Dd,Ds,Hd) -491 double sand/sand-in}

View file

@ -227,6 +227,59 @@
{NEW:WALL2_P {TERRAINLIST} {ADJACENT1} {ADJACENT2} 100 {IMAGESTEM}}
#enddef
#define NEW:BEACH TERRAINLIST ADJACENT IMAGESTEM
[terrain_graphics]
map="
, 2
*, 3
, 1
*, *
, *"
[tile]
pos=1
type={TERRAINLIST}
#set_no_flag=beach-@R???
[/tile]
[tile]
pos=2
type={ADJACENT}
#set_no_flag=beach-@R???
[/tile]
[tile]
pos=3
type={ADJACENT}
#set_no_flag=beach-@R???
[/tile]
rotations=tr,r,br,bl,l,tl
[image]
name={IMAGESTEM}-convex-@R5-@R0.png
layer=0
center=90,144
base=90,144
[/image]
[image]
name={IMAGESTEM}-convex-@R0-@R5.png
layer=0
center=90,144
base=90,144
[/image]
[image]
name={IMAGESTEM}-convex-@R0-@R1.png
layer=0
center=90,144
base=90,144
[/image]
[image]
name={IMAGESTEM}-convex-@R1-@R0.png
layer=0
center=90,144
base=90,144
[/image]
[/terrain_graphics]
#enddef
#define NEW:VILLAGE TERRAINLIST IMAGESTEM
[terrain_graphics]
map="