Wargus / stratagus

The Stratagus strategy game engine
GNU General Public License v2.0
619 stars 119 forks source link

Change `CColor` to be opaque (alpha=255) instead of transparent #612

Closed Jarod42 closed 6 months ago

Jarod42 commented 6 months ago

Should fix issue #596 with font display

ipochto commented 6 months ago

Still broken ( 2024-02-25-184104_2560x1440_scrot 2024-02-25-184112_2560x1440_scrot

zzam commented 6 months ago

Fixes it for me under linux: with current master https://github.com/Wargus/stratagus/commit/f584f2cc4ba9aba5f4eb5aadd793b59578228206 wargus-master-bad-font

with color_alpha https://github.com/Wargus/stratagus/commit/38c813375c46be98ee83d7fdc5b6ee8367609f12 wargus-color_alpha-good

This makes the menus usable again.

Mission briefing is fine: wargus-color_alpha-briefing-good

Only the picturestep in the campagin is still broken. It does not show the image: wargus-color_alpha-picturestep-not-visible

Jarod42 commented 6 months ago

I suspect some color should have alpha. Commit as-is currently, would investigate further for other issue.

ipochto commented 6 months ago

Fixed for me too.

Jarod42 commented 6 months ago

@zzam: black screen should be fixed by #616. submodule update...