Project

General

Profile

Feature #255 ยป 0022-Add-highways-to-trident-and-hex2t-tilesets.patch

S3_2 - Marko Lindqvist, 03/03/2024 05:16 AM

View differences:

data/hex2t.tilespec
"misc/flags.spec",
"misc/shields.spec",
"misc/cursors.spec",
"hex2t/highways.spec",
"misc/space.spec",
"misc/techs.spec",
"misc/treaty.spec",
......
{ "name", "style"
"road.road", "RoadAllSeparate"
"road.rail", "RoadAllSeparate"
"road.highway", "RoadAllSeparate"
"road.maglev", "RoadAllSeparate"
"road.river", "River"
"tx.irrigation", "Cardinals"
data/hex2t/Makefile.am
pkgdata_DATA = \
grid.png \
grid.spec \
highways.png \
highways.spec \
items.png \
items.spec \
overlays.png \
data/hex2t/highways.spec
[spec]
; Format and options of this spec file:
options = "+Freeciv-spec-3.2-Devel-2023.Jan.01"
[info]
artists = "
Peter van der Meer (highways)
"
[file]
gfx = "hex2t/highways"
[grid_main]
x_top_left = 1
y_top_left = 1
dx = 40
dy = 72
pixel_border = 1
tiles = { "row", "column","tag"
; Roads, Highways
0, 0, "road.highway_n"
0, 1, "road.highway_ne"
0, 2, "road.highway_e"
0, 7, "road.highway_se"
0, 3, "road.highway_s"
0, 4, "road.highway_sw"
0, 5, "road.highway_w"
0, 6, "road.highway_nw"
0, 8, "road.highway_isolated"
}
data/trident.tilespec
"misc/cursors.spec",
"trident/grid.spec",
"trident/roads.spec",
"trident/highways.spec",
"misc/buildings.spec",
"misc/space.spec",
"misc/techs.spec",
......
{ "name", "style"
"road.road", "RoadParityCombined"
"road.rail", "RoadParityCombined"
"road.highway", "RoadParityCombined"
"road.maglev", "RoadParityCombined"
"road.river", "River"
"tx.irrigation", "Cardinals"
data/trident/Makefile.am
fog.spec \
grid.png \
grid.spec \
highways.png \
highways.spec \
roads.png \
roads.spec \
select.png \
data/trident/highways.spec
[spec]
; Format and options of this spec file:
options = "+Freeciv-spec-3.2-Devel-2023.Jan.01"
[info]
artists = "
Peter van der Meer (highways)
"
[file]
gfx = "trident/highways"
[grid_highways]
x_top_left = 0
y_top_left = 0
dx = 30
dy = 30
tiles = { "row", "column", "tag"
0, 0, "road.highway_isolated"
; Cardinal highways, connections north, south, east, west:
0, 1, "road.highway_c_n1e0s0w0"
0, 2, "road.highway_c_n0e1s0w0"
0, 3, "road.highway_c_n1e1s0w0"
0, 4, "road.highway_c_n0e0s1w0"
0, 5, "road.highway_c_n1e0s1w0"
0, 6, "road.highway_c_n0e1s1w0"
0, 7, "road.highway_c_n1e1s1w0"
0, 8, "road.highway_c_n0e0s0w1"
0, 9, "road.highway_c_n1e0s0w1"
0, 10, "road.highway_c_n0e1s0w1"
0, 11, "road.highway_c_n1e1s0w1"
0, 12, "road.highway_c_n0e0s1w1"
0, 13, "road.highway_c_n1e0s1w1"
0, 14, "road.highway_c_n0e1s1w1"
0, 15, "road.highway_c_n1e1s1w1"
; Diagonal highways, connections same, rotated 45 degrees clockwise:
1, 1, "road.highway_d_ne1se0sw0nw0"
1, 2, "road.highway_d_ne0se1sw0nw0"
1, 3, "road.highway_d_ne1se1sw0nw0"
1, 4, "road.highway_d_ne0se0sw1nw0"
1, 5, "road.highway_d_ne1se0sw1nw0"
1, 6, "road.highway_d_ne0se1sw1nw0"
1, 7, "road.highway_d_ne1se1sw1nw0"
1, 8, "road.highway_d_ne0se0sw0nw1"
1, 9, "road.highway_d_ne1se0sw0nw1"
1, 10, "road.highway_d_ne0se1sw0nw1"
1, 11, "road.highway_d_ne1se1sw0nw1"
1, 12, "road.highway_d_ne0se0sw1nw1"
1, 13, "road.highway_d_ne1se0sw1nw1"
1, 14, "road.highway_d_ne0se1sw1nw1"
1, 15, "road.highway_d_ne1se1sw1nw1"
; highway corners
0, 16, "road.highway_c_nw"
0, 17, "road.highway_c_ne"
1, 16, "road.highway_c_sw"
1, 17, "road.highway_c_se"
}
meson.build
install_data('data/hex2t/grid.png',
'data/hex2t/grid.spec',
'data/hex2t/highways.png',
'data/hex2t/highways.spec',
'data/hex2t/items.png',
'data/hex2t/items.spec',
'data/hex2t/overlays.png',
......
'data/trident/auto_ll.spec',
'data/trident/grid.png',
'data/trident/grid.spec',
'data/trident/highways.png',
'data/trident/highways.spec',
'data/trident/roads.png',
'data/trident/roads.spec',
'data/trident/select.png',
    (1-1/1)