engine-c: BT_REPAIR densify++2 garage/lift/rack/crane
This commit is contained in:
parent
ee2372be70
commit
afd3a2a87c
2 changed files with 52 additions and 0 deletions
|
|
@ -1654,6 +1654,32 @@ static void draw_bld(Building *b, int sx, int sy) {
|
|||
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 */
|
||||
/* densify++2: hyd reservoir, trolley wheels, hinges, welder tip, tire bolts, oil tray, rails, rack tags */
|
||||
fill_rect(sx + W/2 - 11, sy + H - 22, 2, 3, 55, 70, 90); /* hyd reservoir L */
|
||||
fill_rect(sx + W/2 + 9, sy + H - 22, 2, 3, 55, 70, 90); /* hyd reservoir R */
|
||||
fill_rect(sx + W/2 - 10, sy + H - 23, 1, 1, 40, 160, 200); /* reservoir cap L */
|
||||
fill_rect(sx + W/2 + 10, sy + H - 23, 1, 1, 40, 160, 200); /* reservoir cap R */
|
||||
fill_rect(sx + W/2 - 5, sy + 8, 2, 2, 70, 65, 55); /* trolley wheel L */
|
||||
fill_rect(sx + W/2 + 3, sy + 8, 2, 2, 70, 65, 55); /* trolley wheel R */
|
||||
fill_rect(sx + W/2 - 4, sy + 9, 1, 1, 30, 28, 25); /* wheel hub L */
|
||||
fill_rect(sx + W/2 + 4, sy + 9, 1, 1, 30, 28, 25); /* wheel hub R */
|
||||
fill_rect(sx + 13, sy + H - 27, 2, 2, 110, 100, 80); /* bay hinge L */
|
||||
fill_rect(sx + W - 16, sy + H - 27, 2, 2, 110, 100, 80); /* bay hinge R */
|
||||
fill_rect(sx + 14, sy + H - 26, 1, 1, 160, 150, 120); /* hinge pin L */
|
||||
fill_rect(sx + W - 15, sy + H - 26, 1, 1, 160, 150, 120); /* hinge pin R */
|
||||
fill_rect(sx + W - 7, sy + H/2 + 1, 1, 2, 255, 220, 80); /* welder tip glow */
|
||||
fill_rect(sx + W - 8, sy + H/2 + 3, 1, 1, 200, 80, 40); /* welder spark */
|
||||
fill_rect(sx + 10, sy + H - 9, 1, 1, 140, 130, 110); /* tire bolt 1 */
|
||||
fill_rect(sx + 13, sy + H - 9, 1, 1, 140, 130, 110); /* tire bolt 2 */
|
||||
fill_rect(sx + 11, sy + H - 7, 2, 1, 35, 32, 28); /* oil tray */
|
||||
fill_rect(sx + 12, sy + H - 8, 1, 1, 50, 45, 30); /* oil pool */
|
||||
fill_rect(sx + 15, sy + H - 20, 1, 5, 90, 200, 90); /* safety rail L */
|
||||
fill_rect(sx + W - 17, sy + H - 20, 1, 5, 90, 200, 90); /* safety rail R */
|
||||
fill_rect(sx + 15, sy + H - 20, 4, 1, 90, 200, 90); /* rail top L */
|
||||
fill_rect(sx + W - 20, sy + H - 20, 4, 1, 90, 200, 90); /* rail top R */
|
||||
fill_rect(sx + 7, sy + H/2 - 1, 1, 1, 200, 160, 40); /* rack tag 1 */
|
||||
fill_rect(sx + 10, sy + H/2 - 1, 1, 1, 200, 160, 40); /* rack tag 2 */
|
||||
fill_rect(sx + 8, sy + H/2 + 10, 3, 1, 80, 75, 60); /* rack shelf */
|
||||
break;
|
||||
case BT_RESEARCH:
|
||||
/* denser lab: pad, hull, windows, dish mast, annex, instruments (KKND) */
|
||||
|
|
|
|||
|
|
@ -1452,6 +1452,32 @@ SDL_Texture *sprites_make_bld(SDL_Renderer *r, BuildingType t, Faction f) {
|
|||
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 */
|
||||
/* densify++2: hyd reservoir, trolley wheels, hinges, welder tip, tire bolts, oil tray, rails, rack tags */
|
||||
fill_rect(s, W/2 - 11, H - 22, 2, 3, 55, 70, 90, 255); /* hyd reservoir L */
|
||||
fill_rect(s, W/2 + 9, H - 22, 2, 3, 55, 70, 90, 255); /* hyd reservoir R */
|
||||
fill_rect(s, W/2 - 10, H - 23, 1, 1, 40, 160, 200, 255); /* reservoir cap L */
|
||||
fill_rect(s, W/2 + 10, H - 23, 1, 1, 40, 160, 200, 255); /* reservoir cap R */
|
||||
fill_rect(s, W/2 - 5, 8, 2, 2, 70, 65, 55, 255); /* trolley wheel L */
|
||||
fill_rect(s, W/2 + 3, 8, 2, 2, 70, 65, 55, 255); /* trolley wheel R */
|
||||
fill_rect(s, W/2 - 4, 9, 1, 1, 30, 28, 25, 255); /* wheel hub L */
|
||||
fill_rect(s, W/2 + 4, 9, 1, 1, 30, 28, 25, 255); /* wheel hub R */
|
||||
fill_rect(s, 13, H - 27, 2, 2, 110, 100, 80, 255); /* bay hinge L */
|
||||
fill_rect(s, W - 16, H - 27, 2, 2, 110, 100, 80, 255); /* bay hinge R */
|
||||
fill_rect(s, 14, H - 26, 1, 1, 160, 150, 120, 255); /* hinge pin L */
|
||||
fill_rect(s, W - 15, H - 26, 1, 1, 160, 150, 120, 255); /* hinge pin R */
|
||||
fill_rect(s, W - 7, H/2 + 1, 1, 2, 255, 220, 80, 255); /* welder tip glow */
|
||||
fill_rect(s, W - 8, H/2 + 3, 1, 1, 200, 80, 40, 255); /* welder spark */
|
||||
fill_rect(s, 10, H - 9, 1, 1, 140, 130, 110, 255); /* tire bolt 1 */
|
||||
fill_rect(s, 13, H - 9, 1, 1, 140, 130, 110, 255); /* tire bolt 2 */
|
||||
fill_rect(s, 11, H - 7, 2, 1, 35, 32, 28, 255); /* oil tray */
|
||||
fill_rect(s, 12, H - 8, 1, 1, 50, 45, 30, 255); /* oil pool */
|
||||
fill_rect(s, 15, H - 20, 1, 5, 90, 200, 90, 255); /* safety rail L */
|
||||
fill_rect(s, W - 17, H - 20, 1, 5, 90, 200, 90, 255); /* safety rail R */
|
||||
fill_rect(s, 15, H - 20, 4, 1, 90, 200, 90, 255); /* rail top L */
|
||||
fill_rect(s, W - 20, H - 20, 4, 1, 90, 200, 90, 255); /* rail top R */
|
||||
fill_rect(s, 7, H/2 - 1, 1, 1, 200, 160, 40, 255); /* rack tag 1 */
|
||||
fill_rect(s, 10, H/2 - 1, 1, 1, 200, 160, 40, 255); /* rack tag 2 */
|
||||
fill_rect(s, 8, H/2 + 10, 3, 1, 80, 75, 60, 255); /* rack shelf */
|
||||
break;
|
||||
case BT_RESEARCH:
|
||||
/* denser lab: pad, hull, windows, dish mast, annex, instruments (KKND) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue