diff --git a/engine-c/src/snapshot.c b/engine-c/src/snapshot.c index 98a69d8..36c0079 100644 --- a/engine-c/src/snapshot.c +++ b/engine-c/src/snapshot.c @@ -1069,6 +1069,32 @@ static void draw_bld(Building *b, int sx, int sy) { fill_rect(sx + W - 8, sy + H - 13, 1, 1, 30, 28, 24); /* cone tip */ fill_rect(sx + 9, sy + H - 19, 2, 1, 100, 90, 60); /* pipe flange */ fill_rect(sx + W - 7, sy + H/2 + 8, 1, 1, 200, 100, 40); /* stack ember */ + /* densify++2: hangar vents, crane trolley, bay lights, office desk, rail stops, weld sparks, scrap bins */ + fill_rect(sx + 22, sy + 12, 3, 1, 45, 50, 55); /* hangar vent L */ + fill_rect(sx + W/2 - 2, sy + 12, 3, 1, 45, 50, 55); /* hangar vent C */ + fill_rect(sx + W - 28, sy + 12, 3, 1, 45, 50, 55); /* hangar vent R */ + fill_rect(sx + 23, sy + 11, 1, 1, 90, 95, 100); /* vent louvre L */ + fill_rect(sx + W - 27, sy + 11, 1, 1, 90, 95, 100); /* vent louvre R */ + fill_rect(sx + W/2 - 6, sy + 6, 3, 2, 80, 75, 60); /* crane trolley */ + fill_rect(sx + W/2 - 5, sy + 5, 1, 1, 200, 180, 60); /* trolley lamp */ + fill_rect(sx + W/2 - 4, sy + 8, 1, 3, 55, 52, 45); /* hoist cable */ + fill_rect(sx + W/2 - 5, sy + 11, 3, 1, 90, 85, 70); /* hoist hook bar */ + fill_rect(sx + 26, sy + H - 24, 2, 2, 220, 200, 80); /* bay flood L */ + fill_rect(sx + W/2 - 1, sy + H - 24, 2, 2, 220, 200, 80); /* bay flood C */ + fill_rect(sx + W - 30, sy + H - 24, 2, 2, 220, 200, 80); /* bay flood R */ + fill_rect(sx + 16, sy + 18, 2, 1, 40, 55, 70); /* office desk */ + fill_rect(sx + 17, sy + 17, 1, 1, 80, 200, 120); /* desk CRT glow */ + fill_rect(sx + 21, sy + 19, 1, 1, 180, 160, 40); /* desk lamp */ + fill_rect(sx + 12, sy + H - 6, 2, 2, 70, 65, 50); /* rail stop L */ + fill_rect(sx + W - 16, sy + H - 6, 2, 2, 70, 65, 50); /* rail stop R */ + fill_rect(sx + 13, sy + H - 5, 1, 1, 200, 60, 40); /* stop reflector L */ + fill_rect(sx + W - 15, sy + H - 5, 1, 1, 200, 60, 40); /* stop reflector R */ + fill_rect(sx + W/2 + 10, sy + H - 18, 1, 1, 255, 220, 80); /* weld spark 1 */ + fill_rect(sx + W/2 + 12, sy + H - 17, 1, 1, 255, 180, 60); /* weld spark 2 */ + fill_rect(sx + W/2 + 11, sy + H - 19, 1, 1, 200, 100, 40); /* weld glow */ + fill_rect(sx + 8, sy + H - 16, 3, 2, 60, 55, 45); /* scrap bin L */ + fill_rect(sx + 9, sy + H - 17, 1, 1, 120, 90, 40); /* bin rim L */ + fill_rect(sx + W - 14, sy + H - 16, 3, 2, 60, 55, 45); /* scrap bin R */ line(sx + 14, sy + H - 8, sx + 14, sy + H - 5, 70, 65, 50); line(sx + W - 16, sy + H - 8, sx + W - 16, sy + H - 5, 70, 65, 50); line(sx + 14, sy + H - 6, sx + W - 16, sy + H - 6, 60, 55, 42); /* track */ diff --git a/engine-c/src/sprites.c b/engine-c/src/sprites.c index 1b91bd8..697888e 100644 --- a/engine-c/src/sprites.c +++ b/engine-c/src/sprites.c @@ -875,6 +875,32 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) { fill_rect(s, W - 8, H - 13, 1, 1, 30, 28, 24, 255); /* cone tip */ fill_rect(s, 9, H - 19, 2, 1, 100, 90, 60, 255); /* pipe flange */ fill_rect(s, W - 7, H/2 + 8, 1, 1, 200, 100, 40, 255); /* stack ember */ + /* densify++2: hangar vents, crane trolley, bay lights, office desk, rail stops, weld sparks, scrap bins */ + fill_rect(s, 22, 12, 3, 1, 45, 50, 55, 255); /* hangar vent L */ + fill_rect(s, W/2 - 2, 12, 3, 1, 45, 50, 55, 255); /* hangar vent C */ + fill_rect(s, W - 28, 12, 3, 1, 45, 50, 55, 255); /* hangar vent R */ + fill_rect(s, 23, 11, 1, 1, 90, 95, 100, 255); /* vent louvre L */ + fill_rect(s, W - 27, 11, 1, 1, 90, 95, 100, 255); /* vent louvre R */ + fill_rect(s, W/2 - 6, 6, 3, 2, 80, 75, 60, 255); /* crane trolley */ + fill_rect(s, W/2 - 5, 5, 1, 1, 200, 180, 60, 255); /* trolley lamp */ + fill_rect(s, W/2 - 4, 8, 1, 3, 55, 52, 45, 255); /* hoist cable */ + fill_rect(s, W/2 - 5, 11, 3, 1, 90, 85, 70, 255); /* hoist hook bar */ + fill_rect(s, 26, H - 24, 2, 2, 220, 200, 80, 255); /* bay flood L */ + fill_rect(s, W/2 - 1, H - 24, 2, 2, 220, 200, 80, 255); /* bay flood C */ + fill_rect(s, W - 30, H - 24, 2, 2, 220, 200, 80, 255); /* bay flood R */ + fill_rect(s, 16, 18, 2, 1, 40, 55, 70, 255); /* office desk */ + fill_rect(s, 17, 17, 1, 1, 80, 200, 120, 255); /* desk CRT glow */ + fill_rect(s, 21, 19, 1, 1, 180, 160, 40, 255); /* desk lamp */ + fill_rect(s, 12, H - 6, 2, 2, 70, 65, 50, 255); /* rail stop L */ + fill_rect(s, W - 16, H - 6, 2, 2, 70, 65, 50, 255); /* rail stop R */ + fill_rect(s, 13, H - 5, 1, 1, 200, 60, 40, 255); /* stop reflector L */ + fill_rect(s, W - 15, H - 5, 1, 1, 200, 60, 40, 255); /* stop reflector R */ + fill_rect(s, W/2 + 10, H - 18, 1, 1, 255, 220, 80, 255); /* weld spark 1 */ + fill_rect(s, W/2 + 12, H - 17, 1, 1, 255, 180, 60, 255); /* weld spark 2 */ + fill_rect(s, W/2 + 11, H - 19, 1, 1, 200, 100, 40, 255); /* weld glow */ + fill_rect(s, 8, H - 16, 3, 2, 60, 55, 45, 255); /* scrap bin L */ + fill_rect(s, 9, H - 17, 1, 1, 120, 90, 40, 255); /* bin rim L */ + fill_rect(s, W - 14, H - 16, 3, 2, 60, 55, 45, 255); /* scrap bin R */ line(s, 14, H - 8, 14, H - 5, 70, 65, 50, 255); line(s, W - 16, H - 8, W - 16, H - 5, 70, 65, 50, 255); line(s, 14, H - 6, W - 16, H - 6, 60, 55, 42, 255); /* track */