[spec]

; Format and options of this spec file:
options = "+spec2"

[info]

artists = "
    womoks <s-ren@wanadoo.fr>
"

[file]
gfx = "deluxe/roads"

[grid_roads]

x_top_left = 0
y_top_left = 0
dx = 64
dy = 32
is_pixel_border = 0 
tiles = { "row", "column", "tag"

   0,  0, "r.road_isolated"
 
; Cardinal roads, connections north, south, east, west:
; Remember that this is in MAP coordinates, not GUI coordinates,
; so everything ends up being rotated 45 degrees clockwise
 
  0,  1, "r.c_road_n0s1e0w0"
  0,  2, "r.c_road_n0s0e0w1"
  0,  3, "r.c_road_n0s1e0w1"
  0,  4, "r.c_road_n1s0e0w0"
  0,  5, "r.c_road_n1s1e0w0"
  0,  6, "r.c_road_n1s0e0w1"
  0,  7, "r.c_road_n1s1e0w1"
  0,  8, "r.c_road_n0s0e1w0"
  0,  9, "r.c_road_n0s1e1w0"
 
  0, 10, "r.c_road_n0s0e1w1"
  0, 11, "r.c_road_n0s1e1w1"
  0, 12, "r.c_road_n1s0e1w0"
  0, 13, "r.c_road_n1s1e1w0"
  0, 14, "r.c_road_n1s0e1w1"
  0, 15, "r.c_road_n1s1e1w1"
 
; Diagonal roads, connections same
; This is in MAP directions and rotated 45 degrees clockwise
; so basically it ends up being rotated 90 degrees clockwise...
 
   1,  1, "r.d_road_n0s1e0w0"
   1,  2, "r.d_road_n0s0e0w1"
   1,  3, "r.d_road_n0s1e0w1"
   1,  4, "r.d_road_n1s0e0w0"
   1,  5, "r.d_road_n1s1e0w0"
   1,  6, "r.d_road_n1s0e0w1"
   1,  7, "r.d_road_n1s1e0w1"
   1,  8, "r.d_road_n0s0e1w0"
   1,  9, "r.d_road_n0s1e1w0"
   1, 10, "r.d_road_n0s0e1w1"
   1, 11, "r.d_road_n0s1e1w1"
   1, 12, "r.d_road_n1s0e1w0"
   1, 13, "r.d_road_n1s1e1w0"
   1, 14, "r.d_road_n1s0e1w1"
   1, 15, "r.d_road_n1s1e1w1"
}
 
