#Macro for 4-Hex mountains
#define TWOBYTWO TYPE NAME1 NAME2 NAME3 FLAG PROB
[terrain_graphics]
      map="
.,  *,  .,  .
, *,  *,  .
*,  2,  *,  .
, 1,  3,  *
*,  2,  *,  .
, *,  *,  .
.,  *,  .,   .
, .,  .,  ."

         [tile]
                 pos=1
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME1}
                 base=88,144
         [/image]

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME2}
                 base=142,108
         [/image]

         [tile]
                 pos=3
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME3}
                 base=196,144
         [/image]
         probability={PROB}
[/terrain_graphics]
#enddef

#define TWOBYFOUR TYPE NAME1 NAME2 NAME3 NAME4 NAME5 FLAG PROB
[terrain_graphics]
      map="
.,  *,  .,  .
, *,  *,  .
*,  2,  *,  .
, 1,  3,  *
*,  2,  4,  *
, *,  3,  5
.,  *,  4,  *
, .,  *,  *"

         [tile]
                 pos=1
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME1}
                 base=88,144
         [/image]

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME2}
                 base=144,108
         [/image]

         [tile]
                 pos=3
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME3}
                 base=196,144
         [/image]

         [tile]
                 pos=4
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME4}
                 base=248,180
         [/image]

         [tile]
                 pos=5
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME5}
                 base=304,216
         [/image]
         probability={PROB}
[/terrain_graphics]
#enddef

#define TWOBYFOUR2 TYPE NAME1 NAME2 NAME3 NAME4 NAME5 FLAG PROB
[terrain_graphics]
      map="
.,  .,  *,  .
, .,  *,  *
.,  *,  4,  *
, *,  3,  5
*,  2,  4,  *
, 1,  3,  *
*,  2,  *,   .
, *,  *,  ."

         [tile]
                 pos=1
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME1}
                 base=88,216
         [/image]

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME2}
                 base=144,180
         [/image]

         [tile]
                 pos=3
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME3}
                 base=196,144
         [/image]

         [tile]
                 pos=4
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME4}
                 base=248,108
         [/image]

         [tile]
                 pos=5
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME5}
                 base=304,144
         [/image]
         probability={PROB}
[/terrain_graphics]
#enddef

#define ONEBYTHREE TYPE NAME1 NAME2 NAME3 FLAG PROB
[terrain_graphics]
      map="
.,  .,  .,  .
, *,  .,  .
*,  *,  .,  .
, 1,  *,  .
*,  2,  *,  .
, *,  3,  *
.,  *,  *,  .
, .,  *,  ."

 [tile]
     pos=1
     type={TYPE}
     no_flag={FLAG}
     set_flag={FLAG}
 [/tile]
   [image]
     name={NAME1}
     base=0,144
   [/image]

 [tile]
     pos=2
     type={TYPE}
     no_flag={FLAG}
     set_flag={FLAG}
 [/tile]
   [image]
     name={NAME2}
     base=0,180
   [/image]

 [tile]
     pos=3
     type={TYPE}
     no_flag={FLAG}
     set_flag={FLAG}
 [/tile]
   [image]
     name={NAME3}
     base=36,216
   [/image]

   probability={PROB}
[/terrain_graphics]
#enddef

#define ONEBYTHREE2 TYPE NAME1 NAME2 NAME3 FLAG PROB
[terrain_graphics]
      map="
.,  .,  .,  .
, .,  *,  .
.,  *,  *,  .
, *,  3,  *
*,  2,  *,  .
, 1,  *,  .
*,  *,  .,  .
, .,  .,  ."

         [tile]
                 pos=1
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME1}
                 base=88,216
         [/image]

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME2}
                 base=142,180
         [/image]

         [tile]
                 pos=3
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]
         [image]
                 name={NAME3}
                 base=196,144
         [/image]

         probability={PROB}
[/terrain_graphics]
#enddef

#
# Macros for mountain peaks
#

#define PEAKS_LARGE TYPE NAME FLAG PROB
[terrain_graphics]
      map="
.,   .
,  *
*,   *
,  2
3,   3
,  3"

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]

         [tile]
                 pos=3
                 type={TYPE}
         [/tile]

         [image]
                 name={NAME}
                 layer=1
         [/image]

         probability={PROB}
[/terrain_graphics]
#enddef

#define PEAKS_ONEBYTWO TYPE NAME1 NAME2 FLAG PROB
[terrain_graphics]
      map="
.,   .
,  *,  *
*,   3
,  2,  4
*,   4
,  4,  *"

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]

         [tile]
                 pos=3
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]

         [tile]
                 pos=4
                 type={TYPE}
         [/tile]

         [image]
                 name={NAME1}
                 layer=1
         [/image]

         [image]
                 name={NAME2}
                 layer=1
         [/image]

         probability={PROB}
[/terrain_graphics]
#enddef

#define PEAKS TYPE NAME FLAG PROB
[terrain_graphics]
      map="
.,   .
,  *
*,   *
,  2
*,   *
,  *"

         [tile]
                 pos=2
                 type={TYPE}
                 no_flag={FLAG}
                 set_flag={FLAG}
         [/tile]

         [image]
                 name={NAME}
                 layer=1
         [/image]

         probability={PROB}
[/terrain_graphics]
#enddef
