engine-c: denser BT_REFINERY oil-field/derrick/tank/pipe/pad densify++2 sprites↔snapshot

This commit is contained in:
local-model/engine-L2-grok-4.5 2026-09-19 21:05:52 +02:00
parent eb65eab555
commit 176056a8b7
No known key found for this signature in database
2 changed files with 44 additions and 0 deletions

View file

@ -1214,6 +1214,28 @@ static void draw_bld(Building *b, int sx, int sy) {
fill_rect(sx + W - 12, sy + H - 31, 2, 2, 55, 48, 38); /* roof rivet R */ fill_rect(sx + W - 12, sy + H - 31, 2, 2, 55, 48, 38); /* roof rivet R */
fill_rect(sx + W - 36, sy + H - 10, 3, 4, 48, 42, 30); /* spare crate */ fill_rect(sx + W - 36, sy + H - 10, 3, 4, 48, 42, 30); /* spare crate */
fill_rect(sx + W - 26, sy + H - 8, 3, 3, 52, 46, 34); /* drum 2 */ fill_rect(sx + W - 26, sy + H - 8, 3, 3, 52, 46, 34); /* drum 2 */
/* densify++2: pumpjack, derrick braces, tank caps/vents, pipe elbows/valves, pad bolts/grates, hopper */
fill_rect(sx + W/2 - 10, sy + 18, 2, 8, 55, 48, 36); /* derrick brace L */
fill_rect(sx + W/2 + 8, sy + 18, 2, 8, 55, 48, 36); /* derrick brace R */
fill_rect(sx + W/2 - 7, sy + 28, 14, 1, 48, 42, 32); /* derrick crossbeam */
fill_rect(sx + W/2 - 2, sy + 12, 4, 2, 70, 60, 45); /* crown block */
fill_rect(sx + W/2 - 1, sy + 10, 2, 2, 90, 75, 50); /* sheave pin */
fill_rect(sx + 10, sy + H - 28, 8, 2, 70, 58, 40); /* tank1 cap */
fill_rect(sx + 12, sy + H - 30, 2, 2, 60, 55, 45); /* tank1 vent */
fill_rect(sx + 24, sy + H - 26, 6, 2, 68, 56, 38); /* tank2 cap */
fill_rect(sx + 26, sy + H - 28, 2, 2, 60, 55, 45); /* tank2 vent */
fill_rect(sx + 16, sy + H - 14, 4, 2, 85, 70, 48); /* pipe elbow body */
fill_rect(sx + 20, sy + H - 13, 2, 2, 200, 150, 40); /* elbow valve handle */
fill_rect(sx + W/2 + 8, sy + H - 16, 3, 2, 80, 68, 48); /* mid pipe elbow */
fill_rect(sx + W - 18, sy + H - 18, 3, 2, 80, 68, 48); /* hopper feed elbow */
fill_rect(sx + 8, sy + H - 6, 2, 2, 90, 80, 55); /* pad bolt SW */
fill_rect(sx + W - 10, sy + H - 6, 2, 2, 90, 80, 55); /* pad bolt SE */
fill_rect(sx + 12, sy + H - 5, 8, 1, 55, 48, 36); /* pad grate L */
fill_rect(sx + W - 22, sy + H - 5, 8, 1, 55, 48, 36); /* pad grate R */
fill_rect(sx + W - 18, sy + H - 32, 6, 1, 75, 65, 48); /* hopper lip */
fill_rect(sx + W - 16, sy + H - 29, 2, 2, 200, 170, 80); /* hopper gauge */
fill_rect(sx + W/2 - 4, sy + H - 10, 3, 2, 45, 38, 28); /* pumpjack shoe */
fill_rect(sx + W/2 + 1, sy + H - 12, 2, 4, 50, 42, 32); /* pumpjack pitman */
break; break;
case BT_POWER: case BT_POWER:
/* denser KKND plant: pad, twin cooling, reactor, stack, switchyard, steam */ /* denser KKND plant: pad, twin cooling, reactor, stack, switchyard, steam */

View file

@ -1020,6 +1020,28 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) {
fill_rect(s, W - 12, H - 31, 2, 2, 55, 48, 38, 255); /* roof rivet R */ fill_rect(s, W - 12, H - 31, 2, 2, 55, 48, 38, 255); /* roof rivet R */
fill_rect(s, W - 36, H - 10, 3, 4, 48, 42, 30, 255); /* spare crate */ fill_rect(s, W - 36, H - 10, 3, 4, 48, 42, 30, 255); /* spare crate */
fill_rect(s, W - 26, H - 8, 3, 3, 52, 46, 34, 255); /* drum 2 */ fill_rect(s, W - 26, H - 8, 3, 3, 52, 46, 34, 255); /* drum 2 */
/* densify++2: pumpjack, derrick braces, tank caps/vents, pipe elbows/valves, pad bolts/grates, hopper */
fill_rect(s, W/2 - 10, 18, 2, 8, 55, 48, 36, 255); /* derrick brace L */
fill_rect(s, W/2 + 8, 18, 2, 8, 55, 48, 36, 255); /* derrick brace R */
fill_rect(s, W/2 - 7, 28, 14, 1, 48, 42, 32, 255); /* derrick crossbeam */
fill_rect(s, W/2 - 2, 12, 4, 2, 70, 60, 45, 255); /* crown block */
fill_rect(s, W/2 - 1, 10, 2, 2, 90, 75, 50, 255); /* sheave pin */
fill_rect(s, 10, H - 28, 8, 2, 70, 58, 40, 255); /* tank1 cap */
fill_rect(s, 12, H - 30, 2, 2, 60, 55, 45, 255); /* tank1 vent */
fill_rect(s, 24, H - 26, 6, 2, 68, 56, 38, 255); /* tank2 cap */
fill_rect(s, 26, H - 28, 2, 2, 60, 55, 45, 255); /* tank2 vent */
fill_rect(s, 16, H - 14, 4, 2, 85, 70, 48, 255); /* pipe elbow body */
fill_rect(s, 20, H - 13, 2, 2, 200, 150, 40, 255); /* elbow valve handle */
fill_rect(s, W/2 + 8, H - 16, 3, 2, 80, 68, 48, 255); /* mid pipe elbow */
fill_rect(s, W - 18, H - 18, 3, 2, 80, 68, 48, 255); /* hopper feed elbow */
fill_rect(s, 8, H - 6, 2, 2, 90, 80, 55, 255); /* pad bolt SW */
fill_rect(s, W - 10, H - 6, 2, 2, 90, 80, 55, 255); /* pad bolt SE */
fill_rect(s, 12, H - 5, 8, 1, 55, 48, 36, 255); /* pad grate L */
fill_rect(s, W - 22, H - 5, 8, 1, 55, 48, 36, 255); /* pad grate R */
fill_rect(s, W - 18, H - 32, 6, 1, 75, 65, 48, 255); /* hopper lip */
fill_rect(s, W - 16, H - 29, 2, 2, 200, 170, 80, 255); /* hopper gauge */
fill_rect(s, W/2 - 4, H - 10, 3, 2, 45, 38, 28, 255); /* pumpjack shoe */
fill_rect(s, W/2 + 1, H - 12, 2, 4, 50, 42, 32, 255); /* pumpjack pitman */
break; break;
case BT_POWER: case BT_POWER:
/* denser KKND plant: pad, twin cooling, reactor, stack, switchyard, steam */ /* denser KKND plant: pad, twin cooling, reactor, stack, switchyard, steam */