#textdomain wesnoth
#Macro for 4-Hex mountains
#define MOUNTAINS_2x2 TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  *,  .,  .
, *,  *,  .
*,  1,  *,  .
, 1,  1,  *
*,  1,  *,  .
, *,  *,  .
.,  *,  .,   .
, .,  .,  ."

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [image]
            name={IMAGESTEM}_1
            base=88,107
        [/image]

        [image]
            name={IMAGESTEM}_2
            base=142,72
        [/image]

        [image]
            name={IMAGESTEM}_3
            base=196,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_2x4_NW_SE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  *,  .,  .
, *,  *,  .
*,  1,  *,  .
, 1,  1,  *
*,  1,  1,  *
, *,  1,  1
.,  *,  1,  *
, .,  *,  *"

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [image]
            name={IMAGESTEM}_1
            base=88,107
        [/image]
        [image]
            name={IMAGESTEM}_2
            base=144,107
        [/image]
        [image]
            name={IMAGESTEM}_3
            base=196,107
        [/image]
        [image]
            name={IMAGESTEM}_4
            base=248,107
        [/image]
        [image]
            name={IMAGESTEM}_5
            base=304,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_2x4_SW_NE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  .,  *,  .
, .,  *,  *
.,  *,  1,  *
, *,  1,  1
*,  1,  1,  *
, 1,  1,  *
*,  1,  *,   .
, *,  *,  ."

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [image]
            name={IMAGESTEM}_1
            base=88,107
        [/image]

        [image]
            name={IMAGESTEM}_2
            base=144,107
        [/image]

        [image]
            name={IMAGESTEM}_3
            base=196,107
        [/image]

        [image]
            name={IMAGESTEM}_4
            base=248,107
        [/image]

        [image]
            name={IMAGESTEM}_5
            base=304,107
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_1x3_NW_SE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  .,  .,  .
, *,  .,  .
*,  *,  .,  .
, 1,  *,  .
*,  1,  *,  .
, *,  1,  *
.,  *,  *,  .
, .,  *,  ."

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [image]
            name={IMAGESTEM}_1
            base=88,144
        [/image]

        [image]
            name={IMAGESTEM}_2
            base=142,144
        [/image]

        [image]
            name={IMAGESTEM}_3
            base=196,180
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAINS_1x3_SW_NE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,  .,  .,  .
, .,  *,  .
.,  *,  *,  .
, *,  1,  *
*,  1,  *,  .
, 1,  *,  .
*,  *,  .,  .
, .,  .,  ."

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [image]
            name={IMAGESTEM}_1
            base=88,180
        [/image]

        [image]
            name={IMAGESTEM}_2
            base=142,144
        [/image]

        [image]
            name={IMAGESTEM}_3
            base=196,144
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define MOUNTAIN_SINGLE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
, *
* , *
, 1
* , *
, *"

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [image]
            name={IMAGESTEM}
            base=90,107
            center=90,144
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#
# Macros for mountain peaks
#

#define PEAKS_LARGE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,   .
,  *
*,   *
,  1
2,   2
,  2"

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [tile]
            pos=2
            type={TERRAIN}
        [/tile]

        [image]
            name={IMAGESTEM}
            layer=2
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef

#define PEAKS_1x2_SW_NE TERRAIN PROB FLAG IMAGESTEM
    [terrain_graphics]
        map="
.,   .
,  *,  *
*,   1
,  1,  2
*,   2
,  2,  *"

        [tile]
            pos=1
            type={TERRAIN}
            no_flag={FLAG}
            set_flag={FLAG}
        [/tile]

        [tile]
            pos=2
            type={TERRAIN}
        [/tile]

        [image]
            name={IMAGESTEM}_1
            layer=1
        [/image]

        [image]
            name={IMAGESTEM}_2
            layer=2
        [/image]

        probability={PROB}
    [/terrain_graphics]
#enddef
