From 42fbb826b9b344cc021d6e4e7cac9dff35815989 Mon Sep 17 00:00:00 2001 From: "local-model/engine-L2-grok-4.5" Date: Sat, 19 Sep 2026 20:56:06 +0200 Subject: [PATCH] engine-c: denser BT_REPAIR garage/lift/tool-rack/crane detail --- engine-c/src/snapshot.c | 25 +++++++++++++++++++++++++ engine-c/src/sprites.c | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/engine-c/src/snapshot.c b/engine-c/src/snapshot.c index 48c5157..db9b933 100644 --- a/engine-c/src/snapshot.c +++ b/engine-c/src/snapshot.c @@ -1588,6 +1588,31 @@ static void draw_bld(Building *b, int sx, int sy) { fill_rect(sx + 12, sy + 10, 2, 2, 50, 48, 42); /* gutter L */ fill_rect(sx + W - 16, sy + 10, 2, 2, 50, 48, 42); /* gutter R */ fill_rect(sx + W/2 + 4, sy + H/2 - 6, 2, 2, 180, 100, 40); /* weld spark */ + /* densify++: lift hydraulics, rack pegs, trolley latch, door tracks, pad/crate */ + fill_rect(sx + W/2 - 9, sy + H - 23, 1, 6, 70, 65, 55); /* hydraulic L */ + fill_rect(sx + W/2 + 8, sy + H - 23, 1, 6, 70, 65, 55); /* hydraulic R */ + fill_rect(sx + W/2 - 8, sy + H - 18, 2, 1, 90, 85, 70); /* hyd crossbar */ + fill_rect(sx + W/2 + 6, sy + H - 18, 2, 1, 90, 85, 70); + fill_rect(sx + 7, sy + H/2 + 4, 1, 1, 160, 150, 120); /* rack peg 1 */ + fill_rect(sx + 10, sy + H/2 + 4, 1, 1, 160, 150, 120); /* rack peg 2 */ + fill_rect(sx + 13, sy + H/2 + 4, 1, 1, 160, 150, 120); /* rack peg 3 */ + fill_rect(sx + 7, sy + H/2 + 8, 1, 1, 160, 150, 120); /* rack peg 4 */ + fill_rect(sx + 10, sy + H/2 + 8, 1, 1, 160, 150, 120); /* rack peg 5 */ + fill_rect(sx + W/2 - 2, sy + 6, 2, 1, 200, 160, 40); /* trolley latch */ + fill_rect(sx + W/2 + 1, sy + 6, 1, 2, 80, 75, 60); /* latch pin */ + fill_rect(sx + 11, sy + H - 29, 1, 10, 55, 52, 45); /* door track L */ + fill_rect(sx + W - 13, sy + H - 29, 1, 10, 55, 52, 45); /* door track R */ + fill_rect(sx + 12, sy + H - 29, 2, 1, 120, 110, 90); /* track stop L */ + fill_rect(sx + W - 15, sy + H - 29, 2, 1, 120, 110, 90); /* track stop R */ + fill_rect(sx + 8, sy + H - 5, 2, 1, 40, 38, 32); /* pad seam L */ + fill_rect(sx + W - 10, sy + H - 5, 2, 1, 40, 38, 32); /* pad seam R */ + fill_rect(sx + W - 21, sy + H - 16, 2, 2, 90, 70, 40); /* crate strap */ + fill_rect(sx + W - 23, sy + H - 15, 1, 1, 200, 160, 40); /* crate tag */ + fill_rect(sx + 19, sy + H - 13, 2, 1, 50, 70, 40); /* drum band */ + fill_rect(sx + W - 11, sy + 14, 2, 2, 60, 55, 45); /* mast bracket */ + fill_rect(sx + 9, sy + 18, 2, 1, 100, 95, 80); /* roof drip edge L */ + fill_rect(sx + W - 13, sy + 18, 2, 1, 100, 95, 80); /* roof drip edge R */ + fill_rect(sx + W/2 - 4, sy + H - 26, 8, 1, 85, 80, 65); /* lift rail cross */ break; case BT_RESEARCH: /* denser lab: pad, hull, windows, dish mast, annex, instruments (KKND) */ diff --git a/engine-c/src/sprites.c b/engine-c/src/sprites.c index c815fbc..c5a55f4 100644 --- a/engine-c/src/sprites.c +++ b/engine-c/src/sprites.c @@ -1386,6 +1386,31 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) { fill_rect(s, 12, 10, 2, 2, 50, 48, 42, 255); /* gutter L */ fill_rect(s, W - 16, 10, 2, 2, 50, 48, 42, 255); /* gutter R */ fill_rect(s, W/2 + 4, H/2 - 6, 2, 2, 180, 100, 40, 255); /* weld spark */ + /* densify++: lift hydraulics, rack pegs, trolley latch, door tracks, pad/crate */ + fill_rect(s, W/2 - 9, H - 23, 1, 6, 70, 65, 55, 255); /* hydraulic L */ + fill_rect(s, W/2 + 8, H - 23, 1, 6, 70, 65, 55, 255); /* hydraulic R */ + fill_rect(s, W/2 - 8, H - 18, 2, 1, 90, 85, 70, 255); /* hyd crossbar */ + fill_rect(s, W/2 + 6, H - 18, 2, 1, 90, 85, 70, 255); + fill_rect(s, 7, H/2 + 4, 1, 1, 160, 150, 120, 255); /* rack peg 1 */ + fill_rect(s, 10, H/2 + 4, 1, 1, 160, 150, 120, 255); /* rack peg 2 */ + fill_rect(s, 13, H/2 + 4, 1, 1, 160, 150, 120, 255); /* rack peg 3 */ + fill_rect(s, 7, H/2 + 8, 1, 1, 160, 150, 120, 255); /* rack peg 4 */ + fill_rect(s, 10, H/2 + 8, 1, 1, 160, 150, 120, 255); /* rack peg 5 */ + fill_rect(s, W/2 - 2, 6, 2, 1, 200, 160, 40, 255); /* trolley latch */ + fill_rect(s, W/2 + 1, 6, 1, 2, 80, 75, 60, 255); /* latch pin */ + fill_rect(s, 11, H - 29, 1, 10, 55, 52, 45, 255); /* door track L */ + fill_rect(s, W - 13, H - 29, 1, 10, 55, 52, 45, 255); /* door track R */ + fill_rect(s, 12, H - 29, 2, 1, 120, 110, 90, 255); /* track stop L */ + fill_rect(s, W - 15, H - 29, 2, 1, 120, 110, 90, 255); /* track stop R */ + fill_rect(s, 8, H - 5, 2, 1, 40, 38, 32, 255); /* pad seam L */ + fill_rect(s, W - 10, H - 5, 2, 1, 40, 38, 32, 255); /* pad seam R */ + fill_rect(s, W - 21, H - 16, 2, 2, 90, 70, 40, 255); /* crate strap */ + fill_rect(s, W - 23, H - 15, 1, 1, 200, 160, 40, 255); /* crate tag */ + fill_rect(s, 19, H - 13, 2, 1, 50, 70, 40, 255); /* drum band */ + fill_rect(s, W - 11, 14, 2, 2, 60, 55, 45, 255); /* mast bracket */ + fill_rect(s, 9, 18, 2, 1, 100, 95, 80, 255); /* roof drip edge L */ + fill_rect(s, W - 13, 18, 2, 1, 100, 95, 80, 255); /* roof drip edge R */ + fill_rect(s, W/2 - 4, H - 26, 8, 1, 85, 80, 65, 255); /* lift rail cross */ break; case BT_RESEARCH: /* denser lab: pad, hull, windows, dish mast, annex, instruments (KKND) */