#textdomain wesnoth #define IMAGE_NW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -nw} base=63,144 center=90,144 [/image] #enddef #define IMAGE_N BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n} base=90,108 center=90,144 [/image] #enddef #define IMAGE_NE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -ne} base=117,144 center=90,144 [/image] #enddef #define IMAGE_SE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -se} base=117,182 center=90,144 [/image] #enddef #define IMAGE_S BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s} base=90,196 center=90,144 [/image] #enddef #define IMAGE_SW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw} base=63,182 center=90,144 [/image] #enddef #define IMAGE_NW_N BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -nw-n} base=81,108 center=90,144 [/image] #enddef #define IMAGE_N_NE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne} base=99,108 center=90,144 [/image] #enddef #define IMAGE_NE_SE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -ne-se} base=108,182 center=90,144 [/image] #enddef #define IMAGE_SE_S BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -se-s} base=99,182 center=90,144 [/image] #enddef #define IMAGE_S_SW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s-sw} base=81,182 center=90,144 [/image] #enddef #define IMAGE_SW_NW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw} base=72,182 center=90,144 [/image] #enddef #define IMAGE_NW_N_NE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -nw-n-ne} base=90,108 center=90,144 [/image] #enddef #define IMAGE_N_NE_SE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-bg} base=99,108 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-fg} base=108,182 center=90,144 [/image] #enddef #define IMAGE_NE_SE_S BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -ne-se-s} base=99,182 center=90,144 [/image] #enddef #define IMAGE_SE_S_SW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -se-s-sw} base=90,182 center=90,144 [/image] #enddef #define IMAGE_S_SW_NW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s-sw-nw} base=81,182 center=90,144 [/image] #enddef #define IMAGE_SW_NW_N BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw-n-bg} base=81,108 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw-n-fg} base=72,182 center=90,144 [/image] #enddef #define IMAGE_N_NE_SE_S BUILDER IMAGESTEM {IMAGE_N_NE {BUILDER} {IMAGESTEM}} {IMAGE_SE_S {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-s-fg} base=144,183 # in front of SE_S center=90,144 [/image] #enddef #define IMAGE_S_SW_NW_N BUILDER IMAGESTEM {IMAGE_NW_N {BUILDER} {IMAGESTEM}} {IMAGE_S_SW {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s-sw-nw-n-fg} base=72,183 # in front of S_SW center=90,144 [/image] #enddef #define IMAGE_NW_N_NE_SE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -nw-n-ne-se-bg} base=99,108 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-fg} base=108,182 center=90,144 [/image] #enddef #define IMAGE_SW_NW_N_NE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw-n-ne-bg} base=81,108 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw-n-fg} base=72,182 center=90,144 [/image] #enddef #define IMAGE_NE_SE_S_SW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -ne-se-s-sw} base=90,182 center=90,144 [/image] #enddef #define IMAGE_SE_S_SW_NW BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -se-s-sw-nw} base=90,182 center=90,144 [/image] #enddef #define IMAGE_NW_N_NE_SE_S BUILDER IMAGESTEM {IMAGE_NW_N_NE {BUILDER} {IMAGESTEM}} {IMAGE_SE_S {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-s-fg} base=144,183 # in front of SE_S center=90,144 [/image] #enddef #define IMAGE_N_NE_SE_S_SW BUILDER IMAGESTEM {IMAGE_N_NE {BUILDER} {IMAGESTEM}} {IMAGE_SE_S_SW {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-s-fg} base=144,183 # in front of SE_S_SW center=90,144 [/image] #enddef #define IMAGE_NE_SE_S_SW_NW BUILDER IMAGESTEM {IMAGE_NE_SE {BUILDER} {IMAGESTEM}} {IMAGE_SW_NW {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -ne-se-s-sw-nw-fg} base=90,183 # in front of NE_SE and SW_NW center=90,144 [/image] #enddef #define IMAGE_SE_S_SW_NW_N BUILDER IMAGESTEM {IMAGE_SE_S_SW {BUILDER} {IMAGESTEM}} {IMAGE_NW_N {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s-sw-nw-n-fg} base=72,183 # in front of SE_S_SW center=90,144 [/image] #enddef #define IMAGE_S_SW_NW_N_NE BUILDER IMAGESTEM {IMAGE_S_SW {BUILDER} {IMAGESTEM}} {IMAGE_NW_N_NE {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s-sw-nw-n-fg} base=72,183 # in front of S_SW center=90,144 [/image] #enddef #define IMAGE_SW_NW_N_NE_SE BUILDER IMAGESTEM [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-fg} base=108,182 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw-n-fg} base=72,182 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -sw-nw-n-ne-se-bg} base=90,90 center=90,144 [/image] #enddef #define IMAGE_N_NE_SE_S_SW_NW BUILDER IMAGESTEM {IMAGE_NW_N_NE {BUILDER} {IMAGESTEM}} {IMAGE_SE_S_SW {BUILDER} {IMAGESTEM}} [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -s-sw-nw-n-fg} base=72,183 center=90,144 [/image] [image] name={BUILD_IMAGE {BUILDER} {IMAGESTEM} -n-ne-se-s-fg} base=144,183 center=90,144 [/image] #enddef ## this is defined separately for random variations for -n walls #define WALL_1_VARIATION PROB TERRAINLIST ADJACENT BUILDER IMAGESTEM [terrain_graphics] map=" , 2 *, * , 1 *, * , *" [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=1 type={ADJACENT} [/tile] {IMAGE_N {BUILDER} {IMAGESTEM}} probability={PROB} [/terrain_graphics] #enddef #define WALL_ADJACENT_1 TERRAINLIST ADJACENT BUILDER IMAGESTEM ## *-n wall uses up to 9 random variations, if present # The variations are commented out since no terrain uses them; uncomment if # any are added #{WALL_1_VARIATION 10 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}9} #{WALL_1_VARIATION 12 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}8} #{WALL_1_VARIATION 14 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}7} #{WALL_1_VARIATION 17 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}6} #{WALL_1_VARIATION 20 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}5} #{WALL_1_VARIATION 25 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}4} #{WALL_1_VARIATION 33 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}3} #{WALL_1_VARIATION 50 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}2} {WALL_1_VARIATION 100 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} [terrain_graphics] map=" , * *, 2 , 1 *, * , *" [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=1 type={ADJACENT} [/tile] {IMAGE_NE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, * , 1 *, 2 , *" [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=1 type={ADJACENT} [/tile] {IMAGE_SE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, * , 1 *, * , 2" [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=1 type={ADJACENT} [/tile] {IMAGE_S {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, * , 1 2, * , *" [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=1 type={ADJACENT} [/tile] {IMAGE_SW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * 2, * , 1 *, * , *" [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=1 type={ADJACENT} [/tile] {IMAGE_NW {BUILDER} {IMAGESTEM}} [/terrain_graphics] #enddef ## for random variations in n-ne and nw-n walls #define WALL_2_VARIATION PROB TERRAINLIST ADJACENT BUILDER IMAGESTEM [terrain_graphics] map=" , 3 2, * , 1 *, . , ." [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-s [/tile] {IMAGE_NW_N {BUILDER} {IMAGESTEM}} probability={PROB} [/terrain_graphics] [terrain_graphics] map=" , 2 *, 3 , 1 ., * , ." [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-sw [/tile] {IMAGE_N_NE {BUILDER} {IMAGESTEM}} probability={PROB} [/terrain_graphics] #enddef #define WALL_ADJACENT_2 TERRAINLIST ADJACENT BUILDER IMAGESTEM ## *-nw-n and *-n-ne facing use up to 9 random variations, if present # The variations are commented out since no terrain uses them; uncomment if # any are added #{WALL_2_VARIATION 10 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}9} #{WALL_2_VARIATION 12 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}8} #{WALL_2_VARIATION 14 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}7} #{WALL_2_VARIATION 17 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}6} #{WALL_2_VARIATION 20 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}5} #{WALL_2_VARIATION 25 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}4} #{WALL_2_VARIATION 33 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}3} #{WALL_2_VARIATION 50 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}2} {WALL_2_VARIATION 100 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} [terrain_graphics] map=" , * *, 2 , 1 *, 3 , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-nw [/tile] {IMAGE_NE_SE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, * , 1 *, 2 , 3" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-n [/tile] {IMAGE_SE_S {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, * , 1 3, * , 2" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-ne [/tile] {IMAGE_S_SW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * 3, * , 1 2, * , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-se [/tile] {IMAGE_SW_NW {BUILDER} {IMAGESTEM}} [/terrain_graphics] #enddef #define WALL_ADJACENT_3 TERRAINLIST ADJACENT BUILDER IMAGESTEM [terrain_graphics] map=" , 3 2, 4 , 1 *, * , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-sw [/tile] {IMAGE_NW_N_NE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 2 *, 3 , 1 *, 4 , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-nw [/tile] {IMAGE_N_NE_SE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, 2 , 1 *, 3 , 4" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-n [/tile] {IMAGE_NE_SE_S {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, * , 1 4, 2 , 3" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-ne [/tile] {IMAGE_SE_S_SW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * 4, * , 1 3, * , 2" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-se [/tile] {IMAGE_S_SW_NW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 4 3, * , 1 2, * , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-s [/tile] {IMAGE_SW_NW_N {BUILDER} {IMAGESTEM}} [/terrain_graphics] #enddef #define WALL_ADJACENT_4 TERRAINLIST ADJACENT BUILDER IMAGESTEM [terrain_graphics] map=" , 3 2, 4 , 1 *, 5 , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-nw [/tile] {IMAGE_NW_N_NE_SE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 2 *, 3 , 1 *, 4 , 5" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-n [/tile] {IMAGE_N_NE_SE_S {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * *, 2 , 1 5, 3 , 4" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-ne [/tile] {IMAGE_NE_SE_S_SW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * 5, * , 1 4, 2 , 3" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-se [/tile] {IMAGE_SE_S_SW_NW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 5 4, * , 1 3, * , 2" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-s [/tile] {IMAGE_S_SW_NW_N {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 4 3, 5 , 1 2, * , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-sw [/tile] {IMAGE_SW_NW_N_NE {BUILDER} {IMAGESTEM}} [/terrain_graphics] #enddef #define WALL_ADJACENT_5 TERRAINLIST ADJACENT BUILDER IMAGESTEM [terrain_graphics] map=" , 3 2, 4 , 1 *, 5 , 6" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=6 type={TERRAINLIST} set_no_flag=wall-n [/tile] {IMAGE_NW_N_NE_SE_S {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 2 *, 3 , 1 6, 4 , 5" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=6 type={TERRAINLIST} set_no_flag=wall-ne [/tile] {IMAGE_N_NE_SE_S_SW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , * 6, 2 , 1 5, 3 , 4" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=6 type={TERRAINLIST} set_no_flag=wall-se [/tile] {IMAGE_NE_SE_S_SW_NW {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 6 5, * , 1 4, 2 , 3" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-nw [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=6 type={TERRAINLIST} set_no_flag=wall-s [/tile] {IMAGE_SE_S_SW_NW_N {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 5 4, 6 , 1 3, * , 2" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-n [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=6 type={TERRAINLIST} set_no_flag=wall-sw [/tile] {IMAGE_S_SW_NW_N_NE {BUILDER} {IMAGESTEM}} [/terrain_graphics] [terrain_graphics] map=" , 4 3, 5 , 1 2, 6 , *" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_no_flag=wall-ne [/tile] [tile] pos=3 type={TERRAINLIST} set_no_flag=wall-se [/tile] [tile] pos=4 type={TERRAINLIST} set_no_flag=wall-s [/tile] [tile] pos=5 type={TERRAINLIST} set_no_flag=wall-sw [/tile] [tile] pos=6 type={TERRAINLIST} set_no_flag=wall-nw [/tile] {IMAGE_SW_NW_N_NE_SE {BUILDER} {IMAGESTEM}} [/terrain_graphics] #enddef #define WALL_ADJACENT_6 TERRAINLIST ADJACENT BUILDER IMAGESTEM [terrain_graphics] map=" , 2 7, 3 , 1 6, 4 , 5" [tile] pos=1 type={ADJACENT} [/tile] [tile] pos=2 type={TERRAINLIST} set_flag=wall-s [/tile] [tile] pos=3 type={TERRAINLIST} set_flag=wall-sw [/tile] [tile] pos=4 type={TERRAINLIST} set_flag=wall-nw [/tile] [tile] pos=5 type={TERRAINLIST} set_flag=wall-n [/tile] [tile] pos=6 type={TERRAINLIST} set_flag=wall-ne [/tile] [tile] pos=7 type={TERRAINLIST} set_flag=wall-se [/tile] {IMAGE_N_NE_SE_S_SW_NW {BUILDER} {IMAGESTEM}} [/terrain_graphics] #enddef #define DISABLE_WALLS TERRAIN1 TERRAIN2 TERRAIN3 [terrain_graphics] map=" 3 ,. 1" [tile] pos=1 type={TERRAIN1} set_flag=wall-@R0 [/tile] [tile] pos=2 type={TERRAIN2} [/tile] [tile] pos=3 type={TERRAIN3} [/tile] rotations=n,ne,se,s,sw,nw [/terrain_graphics] #enddef #define WALL_ADJACENT_TRANSITION TERRAINLIST ADJACENT BUILDER IMAGESTEM {DISABLE_BASE_TRANSITIONS ({TERRAINLIST})} {WALL_ADJACENT_6 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} {WALL_ADJACENT_5 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} {WALL_ADJACENT_4 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} {WALL_ADJACENT_3 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} {WALL_ADJACENT_2 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} {WALL_ADJACENT_1 ({TERRAINLIST}) ({ADJACENT}) {BUILDER} {IMAGESTEM}} #enddef #define WALL_ADJACENT TERRAINLIST ADJACENT BUILDER IMAGESTEM BASE_NAME {KEEP_BASE ({TERRAINLIST}) {BASE_NAME}} {WALL_ADJACENT_TRANSITION ({TERRAINLIST}) ({ADJACENT}) ({BUILDER}) ({IMAGESTEM})} # disable castle walls and cave # note: commented out until these macros exist in trunk #{DISABLE_CASTLES ({TERRAINLIST}) ({ADJACENT})} #{DISABLE_CAVEWALL ({TERRAINLIST}) ({ADJACENT})} #enddef