Skip to content

Commit f5972e9

Browse files
committed
(third_party/opengfx2) Add bus stop ground images
1 parent f83f8e6 commit f5972e9

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

agrf/lib/building/layout.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
BuildingSymmetricalX,
1212
BuildingSymmetricalY,
1313
BuildingDiagonal,
14+
BuildingRotational,
1415
BuildingSymmetryMixin,
1516
)
1617
from .registers import Registers
@@ -161,6 +162,15 @@ def get_resource_files(self):
161162
DEFAULT_GRAPHICS[x + 2] = DEFAULT_GRAPHICS[x + 1].T
162163
DEFAULT_GRAPHICS[x + 3] = DEFAULT_GRAPHICS[x + 1].T.R
163164

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
173+
164174

165175
@dataclass
166176
class NewGraphics(CachedFunctorMixin):

agrf/third_party/opengfx2/2691.png

32.8 KB
Loading

agrf/third_party/opengfx2/2692.png

33.5 KB
Loading

agrf/third_party/opengfx2/2693.png

31.8 KB
Loading

agrf/third_party/opengfx2/2694.png

32.7 KB
Loading

0 commit comments

Comments
 (0)