engine-c: denser UT_MEDIC van silhouette sprites↔snapshot

This commit is contained in:
local-model/engine-L2-grok-4.5 2026-09-19 18:34:15 +02:00
parent f910c2ee3b
commit 4c2a74b333
No known key found for this signature in database
2 changed files with 58 additions and 16 deletions

View file

@ -454,13 +454,33 @@ SDL_Texture *sprites_make_unit(SDL_Renderer *r, UnitType t, Faction f) {
disc(s, 29, 5, 2, 255, 140, 90, 255);
break;
case UT_MEDIC:
/* white van + light bar + bold red cross + hubs (read at live scale) */
/* bumper + grille + lights + door/side + mirrors + exhaust + light-bar + stretcher/cross + hubs */
fill_rect(s, 3, 9, 24, 17, ok, og, ob, 255);
fill_rect(s, 5, 11, 20, 13, 245, 245, 245, 255);
fill_rect(s, 6, 12, 18, 11, 255, 255, 255, 255);
fill_rect(s, 2, 13, 3, 6, 55, 50, 40, 255); /* bumper */
fill_rect(s, 3, 14, 1, 4, 90, 80, 55, 255);
fill_rect(s, 4, 14, 3, 4, 40, 38, 32, 255); /* grille */
line(s, 4, 15, 6, 15, 70, 65, 55, 255);
line(s, 4, 17, 6, 17, 70, 65, 55, 255);
disc(s, 4, 12, 2, 220, 200, 80, 255); /* headlight L */
disc(s, 4, 20, 2, 220, 200, 80, 255); /* headlight R */
fill_rect(s, 5, 8, 7, 5, 190, 215, 235, 255); /* cab glass */
fill_rect(s, 8, 3, 14, 3, 240, 40, 40, 255); /* light bar */
fill_rect(s, 6, 9, 5, 3, 160, 190, 220, 255);
fill_rect(s, 12, 12, 2, 10, 200, 200, 205, 255); /* side door seam */
fill_rect(s, 13, 13, 1, 8, 170, 170, 175, 255);
fill_rect(s, 20, 13, 4, 8, 230, 230, 235, 255); /* rear panel */
fill_rect(s, 21, 14, 2, 6, 210, 210, 215, 255);
fill_rect(s, 4, 10, 2, 2, 50, 48, 42, 255); /* mirror L */
fill_rect(s, 4, 20, 2, 2, 50, 48, 42, 255); /* mirror R */
fill_rect(s, 24, 18, 3, 2, 40, 38, 32, 255); /* exhaust */
fill_rect(s, 25, 17, 2, 1, 70, 65, 55, 255);
fill_rect(s, 8, 3, 14, 3, 240, 40, 40, 255); /* light bar */
fill_rect(s, 10, 2, 10, 2, 255, 80, 80, 255);
fill_rect(s, 11, 1, 3, 2, 255, 220, 80, 255); /* amber beacon */
fill_rect(s, 16, 1, 3, 2, 80, 180, 255, 255); /* blue beacon */
fill_rect(s, 18, 11, 6, 3, 200, 40, 40, 255); /* stretcher cue */
fill_rect(s, 19, 12, 4, 1, 255, 200, 200, 255);
disc(s, 9, 24, 5, ok, og, ob, 255);
disc(s, 21, 24, 5, ok, og, ob, 255);
disc(s, 9, 24, 4, tr, tg, tb, 255);