wesnoth/data/core/terrain-graphics/deprecated-internal-border.cfg
doofus-01 19fcc1424f
Deprecation of old-style _PLFB and script-generated macros
1.17 terrain-graphics macros clean-up (#6606)
2022-04-16 10:01:09 -07:00

276 lines
6.4 KiB
INI

#textdomain wesnoth
#define BORDER_RESTRICTED_PLFB TERRAINLIST ADJACENT PROB LAYER FLAG BUILDER IMAGESTEM
#deprecated 2 1.19.0 This is an internal macro, direct use is not recommended in any case.
[terrain_graphics]
map="
, 2
* , *
, 1
* , *
, *"
[tile]
pos=1
type={ADJACENT}
set_no_flag={FLAG}-@R0
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag={FLAG}-@R3
[/tile]
[image]
layer={LAYER}
name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -@R0}
variations=";2;3;4;5;6;7;8;9;10;11"
center=90,144
[/image]
probability={PROB}
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef
# Same as above, but for 2-tile transitions.
#define BORDER_RESTRICTED2_PLFB TERRAINLIST ADJACENT PROB LAYER FLAG BUILDER IMAGESTEM
#deprecated 2 1.19.0 This is an internal macro, direct use is not recommended in any case.
[terrain_graphics]
map="
, 2
*, 3
, 1
*, *
, *"
[tile]
pos=1
type={ADJACENT}
set_no_flag={FLAG}-@R[0,1]
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag={FLAG}-@R3
[/tile]
[tile]
pos=3
type={TERRAINLIST}
set_no_flag={FLAG}-@R4
[/tile]
[image]
layer={LAYER}
name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -@R0-@R1}
variations=";2;3;4;5;6;7;8;9;10;11"
center=90,144
[/image]
probability={PROB}
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef
# Same as above, but for 3-tile transitions.
#define BORDER_RESTRICTED3_PLFB TERRAINLIST ADJACENT PROB LAYER FLAG BUILDER IMAGESTEM
#deprecated 2 1.19.0 This is an internal macro, direct use is not recommended in any case.
[terrain_graphics]
map="
, 2
*, 3
, 1
*, 4
, *"
[tile]
pos=1
type={ADJACENT}
set_no_flag={FLAG}-@R[0~2]
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag={FLAG}-@R3
[/tile]
[tile]
pos=3
type={TERRAINLIST}
set_no_flag={FLAG}-@R4
[/tile]
[tile]
pos=4
type={TERRAINLIST}
set_no_flag={FLAG}-@R5
[/tile]
[image]
layer={LAYER}
name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -@R0-@R1-@R2}
variations=";2;3;4;5;6;7;8;9;10;11"
center=90,144
[/image]
probability={PROB}
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef
# This will add 4-tile transitions from terrains of type g or t to terrains of
# any other type, using the filename grassland-x-x-x-x.png
#define BORDER_RESTRICTED4_PLFB TERRAINLIST ADJACENT PROB LAYER FLAG BUILDER IMAGESTEM
#deprecated 2 1.19.0 This is an internal macro, direct use is not recommended in any case.
[terrain_graphics]
map="
, 2
*, 3
, 1
*, 4
, 5"
[tile]
pos=1
type={ADJACENT}
set_no_flag={FLAG}-@R[0~3]
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag={FLAG}-@R3
[/tile]
[tile]
pos=3
type={TERRAINLIST}
set_no_flag={FLAG}-@R4
[/tile]
[tile]
pos=4
type={TERRAINLIST}
set_no_flag={FLAG}-@R5
[/tile]
[tile]
pos=5
type={TERRAINLIST}
set_no_flag={FLAG}-@R0
[/tile]
[image]
layer={LAYER}
name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -@R0-@R1-@R2-@R3}
variations=";2;3;4;5;6;7;8;9;10;11"
center=90,144
[/image]
probability={PROB}
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef
#define BORDER_RESTRICTED5_PLFB TERRAINLIST ADJACENT PROB LAYER FLAG BUILDER IMAGESTEM
#deprecated 2 1.19.0 This is an internal macro, direct use is not recommended in any case.
[terrain_graphics]
map="
, 2
*, 3
, 1
6, 4
, 5"
[tile]
pos=1
type={ADJACENT}
set_no_flag={FLAG}-@R[0~3]
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag={FLAG}-@R3
[/tile]
[tile]
pos=3
type={TERRAINLIST}
set_no_flag={FLAG}-@R4
[/tile]
[tile]
pos=4
type={TERRAINLIST}
set_no_flag={FLAG}-@R5
[/tile]
[tile]
pos=5
type={TERRAINLIST}
set_no_flag={FLAG}-@R0
[/tile]
[tile]
pos=6
type={TERRAINLIST}
set_no_flag={FLAG}-@R1
[/tile]
[image]
layer={LAYER}
name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -@R0-@R1-@R2-@R3-@R4}
variations=";2;3;4;5;6;7;8;9;10;11"
center=90,144
[/image]
probability={PROB}
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef
#define BORDER_RESTRICTED6_PLFB TERRAINLIST ADJACENT PROB LAYER FLAG BUILDER IMAGESTEM
#deprecated 2 1.19.0 This is an internal macro, direct use is not recommended in any case.
[terrain_graphics]
map="
, 2
7, 3
, 1
6, 4
, 5"
[tile]
pos=1
type={ADJACENT}
set_no_flag={FLAG}-@R[0~3]
[/tile]
[tile]
pos=2
type={TERRAINLIST}
set_no_flag={FLAG}-@R3
[/tile]
[tile]
pos=3
type={TERRAINLIST}
set_no_flag={FLAG}-@R4
[/tile]
[tile]
pos=4
type={TERRAINLIST}
set_no_flag={FLAG}-@R5
[/tile]
[tile]
pos=5
type={TERRAINLIST}
set_no_flag={FLAG}-@R0
[/tile]
[tile]
pos=6
type={TERRAINLIST}
set_no_flag={FLAG}-@R1
[/tile]
[tile]
pos=7
type={TERRAINLIST}
set_no_flag={FLAG}-@R2
[/tile]
[image]
layer={LAYER}
name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -@R0-@R1-@R2-@R3-@R4-@R5}
variations=";2;3;4;5;6;7;8;9;10;11"
center=90,144
[/image]
probability={PROB}
rotations=n,ne,se,s,sw,nw
[/terrain_graphics]
#enddef