Skip to content

Commit aa6ca27

Browse files
committed
(third_party/opengfx2) ADd more road sprites
1 parent f5972e9 commit aa6ca27

File tree

12 files changed

+8
-9
lines changed

12 files changed

+8
-9
lines changed

agrf/lib/building/layout.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def get_resource_files(self):
134134
DEFAULT_GRAPHICS[x] = BuildingCylindrical.create_variants([DefaultGraphics(x, yofs=-8)])
135135
for x in [5464, 5473, 5477, 990, 993, 994, 997, 998, 1001, 1002]:
136136
DEFAULT_GRAPHICS[x] = BuildingCylindrical.create_variants([DefaultGraphics(x, yofs=0)])
137-
for x in [1420, 3872, 3981]:
137+
for x in [1315, 1334, 1420, 3872, 3981]:
138138
DEFAULT_GRAPHICS[x] = BuildingCylindrical.create_variants([DefaultGraphics(x)])
139139
for x in [1011, 1093, 1175, 1313, 1332]:
140140
DEFAULT_GRAPHICS[x] = BuildingSymmetrical.create_variants([DefaultGraphics(x), DefaultGraphics(x + 1)])
@@ -162,14 +162,13 @@ def get_resource_files(self):
162162
DEFAULT_GRAPHICS[x + 2] = DEFAULT_GRAPHICS[x + 1].T
163163
DEFAULT_GRAPHICS[x + 3] = DEFAULT_GRAPHICS[x + 1].T.R
164164

165-
# Bus stop ground sprites (2692-2695) - NE, SE, SW, NW orientations (rotational)
166-
_bus_stop_rotational = BuildingRotational.create_variants(
167-
[DefaultGraphics(2692), DefaultGraphics(2693), DefaultGraphics(2694), DefaultGraphics(2695)]
168-
)
169-
DEFAULT_GRAPHICS[2692] = _bus_stop_rotational
170-
DEFAULT_GRAPHICS[2693] = _bus_stop_rotational.M
171-
DEFAULT_GRAPHICS[2694] = _bus_stop_rotational.R
172-
DEFAULT_GRAPHICS[2695] = _bus_stop_rotational.M.R
165+
for x in [1316, 1335, 2691]:
166+
DEFAULT_GRAPHICS[x] = BuildingRotational.create_variants(
167+
[DefaultGraphics(x), DefaultGraphics(x + 1), DefaultGraphics(x + 2), DefaultGraphics(x + 3)]
168+
)
169+
DEFAULT_GRAPHICS[x + 1] = DEFAULT_GRAPHICS[x].M
170+
DEFAULT_GRAPHICS[x + 2] = DEFAULT_GRAPHICS[x].R
171+
DEFAULT_GRAPHICS[x + 3] = DEFAULT_GRAPHICS[x].M.R
173172

174173

175174
@dataclass

agrf/third_party/opengfx2/2695.png

32 KB
Loading
24.2 KB
Loading
26.2 KB
Loading
26.4 KB
Loading
26.1 KB
Loading
26 KB
Loading
25.9 KB
Loading
30.1 KB
Loading
29.8 KB
Loading

0 commit comments

Comments
 (0)