engine-c: denser BT_REPAIR garage/lift/tool-rack/crane detail

This commit is contained in:
local-model/engine-L2-grok-4.5 2026-09-19 20:32:37 +02:00
parent d85788c31a
commit e7195e4317
No known key found for this signature in database
2 changed files with 44 additions and 0 deletions

View file

@ -1464,6 +1464,28 @@ static void draw_bld(Building *b, int sx, int sy) {
fill_rect(sx + 20, sy + 8, 1, 1, 170, 160, 130); /* rivet */
fill_rect(sx + W - 22, sy + 8, 1, 1, 170, 160, 130);
fill_rect(sx + W/2 - 2, sy + 6, 4, 2, 90, 100, 110); /* roof vent */
/* denser: bay panels, hose, tool cart, chain, oil drip, spare parts, pad chevrons */
fill_rect(sx + 16, sy + H - 24, 3, 4, 45, 44, 40); /* bay panel L */
fill_rect(sx + W - 20, sy + H - 24, 3, 4, 45, 44, 40); /* bay panel R */
fill_rect(sx + W/2 - 2, sy + H - 22, 4, 2, 55, 52, 48); /* bay latch */
fill_rect(sx + 6, sy + H/2 + 6, 2, 8, 70, 65, 50); /* air hose riser */
fill_rect(sx + 6, sy + H/2 + 13, 5, 1, 60, 55, 42); /* hose elbow */
fill_rect(sx + W - 14, sy + H - 18, 5, 4, 90, 85, 65); /* tool cart */
fill_rect(sx + W - 13, sy + H - 17, 3, 1, 200, 160, 40); /* cart stripe */
fill_rect(sx + W - 12, sy + H - 14, 1, 1, 40, 40, 35); /* cart wheel */
fill_rect(sx + W/2 + 10, sy + 12, 1, 6, 110, 100, 80); /* chain drop */
fill_rect(sx + W/2 + 9, sy + 17, 3, 1, 90, 85, 70); /* chain link */
fill_rect(sx + W/2 - 10, sy + H - 8, 3, 2, 35, 30, 22); /* oil drip */
fill_rect(sx + 22, sy + H - 20, 3, 2, 120, 90, 50); /* spare plate */
fill_rect(sx + 23, sy + H - 19, 1, 1, 160, 130, 70); /* plate bolt */
fill_rect(sx + W - 26, sy + H/2 + 2, 2, 3, 80, 90, 100); /* coolant can */
fill_rect(sx + W - 25, sy + H/2 + 1, 1, 1, 60, 180, 80); /* can cap */
fill_rect(sx + 14, sy + H - 8, 2, 1, 200, 160, 40); /* pad chevron L */
fill_rect(sx + W/2 - 1, sy + H - 8, 2, 1, 200, 160, 40); /* pad chevron C */
fill_rect(sx + W - 18, sy + H - 8, 2, 1, 200, 160, 40); /* pad chevron R */
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 */
break;
case BT_RESEARCH:
/* denser lab: pad, hull, windows, dish mast, annex, instruments (KKND) */

View file

@ -1262,6 +1262,28 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) {
fill_rect(s, 20, 8, 1, 1, 170, 160, 130, 255); /* rivet */
fill_rect(s, W - 22, 8, 1, 1, 170, 160, 130, 255);
fill_rect(s, W/2 - 2, 6, 4, 2, 90, 100, 110, 255); /* roof vent */
/* denser: bay panels, hose, tool cart, chain, oil drip, spare parts, pad chevrons */
fill_rect(s, 16, H - 24, 3, 4, 45, 44, 40, 255); /* bay panel L */
fill_rect(s, W - 20, H - 24, 3, 4, 45, 44, 40, 255); /* bay panel R */
fill_rect(s, W/2 - 2, H - 22, 4, 2, 55, 52, 48, 255); /* bay latch */
fill_rect(s, 6, H/2 + 6, 2, 8, 70, 65, 50, 255); /* air hose riser */
fill_rect(s, 6, H/2 + 13, 5, 1, 60, 55, 42, 255); /* hose elbow */
fill_rect(s, W - 14, H - 18, 5, 4, 90, 85, 65, 255); /* tool cart */
fill_rect(s, W - 13, H - 17, 3, 1, 200, 160, 40, 255); /* cart stripe */
fill_rect(s, W - 12, H - 14, 1, 1, 40, 40, 35, 255); /* cart wheel */
fill_rect(s, W/2 + 10, 12, 1, 6, 110, 100, 80, 255); /* chain drop */
fill_rect(s, W/2 + 9, 17, 3, 1, 90, 85, 70, 255); /* chain link */
fill_rect(s, W/2 - 10, H - 8, 3, 2, 35, 30, 22, 255); /* oil drip */
fill_rect(s, 22, H - 20, 3, 2, 120, 90, 50, 255); /* spare plate */
fill_rect(s, 23, H - 19, 1, 1, 160, 130, 70, 255); /* plate bolt */
fill_rect(s, W - 26, H/2 + 2, 2, 3, 80, 90, 100, 255); /* coolant can */
fill_rect(s, W - 25, H/2 + 1, 1, 1, 60, 180, 80, 255); /* can cap */
fill_rect(s, 14, H - 8, 2, 1, 200, 160, 40, 255); /* pad chevron L */
fill_rect(s, W/2 - 1, H - 8, 2, 1, 200, 160, 40, 255); /* pad chevron C */
fill_rect(s, W - 18, H - 8, 2, 1, 200, 160, 40, 255); /* pad chevron R */
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 */
break;
case BT_RESEARCH:
/* denser lab: pad, hull, windows, dish mast, annex, instruments (KKND) */