engine-c: denser BT_WARFACTORY hangar/crane/bay silhouettes
This commit is contained in:
parent
01f53cfb27
commit
25978048e2
2 changed files with 93 additions and 11 deletions
|
|
@ -655,7 +655,7 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) {
|
|||
}
|
||||
break;
|
||||
case BT_WARFACTORY:
|
||||
/* hangar + crane mast/jib + segmented bay doors (KKND factory read) */
|
||||
/* hangar + crane + bay + office/chimney/ramp (KKND factory densify) */
|
||||
fill_rect(s, 4, 6, W - 8, H - 12, ok, og, ob, 255);
|
||||
fill_rect(s, 6, 8, W - 12, H - 16, base.r, base.g, base.b, 255);
|
||||
fill_rect(s, 8, 10, W - 16, 12, lite.r, lite.g, lite.b, 255); /* roof ridge */
|
||||
|
|
@ -663,26 +663,67 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) {
|
|||
fill_rect(s, W/2 - 8, 12, 5, 5, 55, 50, 42, 255);
|
||||
fill_rect(s, W/2 + 3, 12, 5, 5, 55, 50, 42, 255);
|
||||
fill_rect(s, W - 15, 12, 5, 5, 55, 50, 42, 255);
|
||||
/* side workshop annex */
|
||||
/* corner bracing + rivets */
|
||||
fill_rect(s, 5, 7, 3, 3, 70, 65, 55, 255);
|
||||
fill_rect(s, W - 8, 7, 3, 3, 70, 65, 55, 255);
|
||||
fill_rect(s, 5, H - 14, 3, 3, 70, 65, 55, 255);
|
||||
fill_rect(s, W - 8, H - 14, 3, 3, 70, 65, 55, 255);
|
||||
fill_rect(s, 6, 8, 1, 1, 40, 38, 32, 255); /* rivet TL */
|
||||
fill_rect(s, W - 7, 8, 1, 1, 40, 38, 32, 255);
|
||||
fill_rect(s, 6, H - 13, 1, 1, 40, 38, 32, 255);
|
||||
fill_rect(s, W - 7, H - 13, 1, 1, 40, 38, 32, 255);
|
||||
/* upper office strip + windows */
|
||||
fill_rect(s, 10, 14, W - 28, 6, dark.r, dark.g, dark.b, 255);
|
||||
fill_rect(s, 12, 15, 3, 3, 160, 200, 230, 255);
|
||||
fill_rect(s, 17, 15, 3, 3, 150, 190, 220, 255);
|
||||
fill_rect(s, 22, 15, 3, 3, 170, 210, 235, 255);
|
||||
fill_rect(s, W/2 - 2, 15, 3, 3, 155, 195, 225, 255);
|
||||
/* chimney + smoke puff */
|
||||
fill_rect(s, W/2 + 8, 4, 4, 10, ok, og, ob, 255);
|
||||
fill_rect(s, W/2 + 9, 5, 2, 8, 55, 50, 45, 255);
|
||||
disc(s, W/2 + 10, 3, 3, 90, 88, 85, 255);
|
||||
disc(s, W/2 + 12, 2, 2, 110, 108, 105, 255);
|
||||
/* side workshop annex + tool rack */
|
||||
fill_rect(s, 4, H/2 - 4, 10, H/2 - 6, ok, og, ob, 255);
|
||||
fill_rect(s, 5, H/2 - 2, 8, H/2 - 10, dark.r, dark.g, dark.b, 255);
|
||||
fill_rect(s, 6, H/2, 6, 4, 90, 80, 55, 255); /* window slit */
|
||||
/* overhead crane mast + jib */
|
||||
fill_rect(s, 3, H - 18, 3, 8, 60, 55, 45, 255); /* tool rack */
|
||||
fill_rect(s, 3, H - 17, 1, 2, 140, 120, 70, 255);
|
||||
fill_rect(s, 5, H - 16, 1, 3, 120, 110, 90, 255);
|
||||
/* side exhaust stacks */
|
||||
fill_rect(s, W - 6, H/2 + 2, 3, 8, ok, og, ob, 255);
|
||||
fill_rect(s, W - 5, H/2 + 3, 1, 6, 45, 42, 38, 255);
|
||||
disc(s, W - 4, H/2 + 1, 2, 80, 78, 72, 255);
|
||||
/* overhead crane mast + jib + cable/hook */
|
||||
fill_rect(s, W - 14, 4, 6, H - 18, ok, og, ob, 255);
|
||||
fill_rect(s, W - 13, 5, 4, H - 20, 95, 88, 70, 255);
|
||||
fill_rect(s, 14, 6, W - 28, 4, ok, og, ob, 255);
|
||||
fill_rect(s, 15, 7, W - 30, 2, 120, 110, 85, 255);
|
||||
line(s, 18, 10, 18, 22, 70, 65, 50, 255);
|
||||
line(s, 19, 10, 19, 26, 55, 50, 40, 255); /* cable */
|
||||
disc(s, 18, 24, 3, 80, 75, 55, 255); /* hoist block */
|
||||
/* segmented bay doors */
|
||||
fill_rect(s, 17, 27, 3, 2, 100, 90, 60, 255); /* hook */
|
||||
fill_rect(s, W - 12, 3, 2, 2, 220, 200, 80, 255); /* floodlight */
|
||||
fill_rect(s, W - 11, 2, 1, 3, 90, 85, 70, 255); /* antenna stub */
|
||||
/* segmented bay doors + hazard + panels */
|
||||
fill_rect(s, 12, H - 30, W - 28, 20, ok, og, ob, 255);
|
||||
fill_rect(s, 14, H - 28, W - 32, 16, 32, 32, 38, 255);
|
||||
fill_rect(s, 14, H - 28, W - 32, 2, 200, 160, 40, 255); /* hazard top */
|
||||
fill_rect(s, 14, H - 14, W - 32, 2, 200, 160, 40, 255); /* hazard bot */
|
||||
line(s, W/2 - 6, H - 28, W/2 - 6, H - 12, 70, 68, 60, 255);
|
||||
line(s, W/2, H - 28, W/2, H - 12, 70, 68, 60, 255);
|
||||
line(s, W/2 + 6, H - 28, W/2 + 6, H - 12, 70, 68, 60, 255);
|
||||
line(s, 14, H - 20, W - 18, H - 20, 55, 52, 48, 255);
|
||||
fill_rect(s, 10, H - 10, W - 20, 5, 50, 48, 42, 255); /* ramp lip */
|
||||
fill_rect(s, 16, H - 24, 4, 3, 45, 44, 40, 255); /* door panel */
|
||||
fill_rect(s, W/2 + 2, H - 24, 4, 3, 45, 44, 40, 255);
|
||||
fill_rect(s, W - 22, H - 24, 4, 3, 45, 44, 40, 255);
|
||||
/* ramp lip + rails/tracks */
|
||||
fill_rect(s, 10, H - 10, W - 20, 5, 50, 48, 42, 255);
|
||||
fill_rect(s, 12, H - 9, W - 24, 2, 90, 75, 45, 255);
|
||||
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 */
|
||||
line(s, 14, H - 5, W - 16, H - 5, 55, 50, 38, 255);
|
||||
break;
|
||||
case BT_REFINERY:
|
||||
/* oil-field: derrick + pumpjack + twin tanks + pipes + hopper (KKND read) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue