blue-nebula / base

Main repository of Blue Nebula, a fast-paced shooter with a unique parkour system. It is a fork of Red Eclipse and is free software.
https://blue-nebula.org
16 stars 7 forks source link

Don't use fonts that don't exist #171

Closed robalni closed 4 years ago

robalni commented 4 years ago

You may have noticed that the maps menu or the graphics options suddenly change font size a few seconds after you open it while playing. This is because we were using fonts that don't exist, like "medium" and "normal". I changed them to "default".

Maybe we should handle it better when fonts don't exist (show error message?) but that's another PR.

MoonPadUSer commented 4 years ago

Oh boy, sry for the hassle. But displaying an error message like counoutft(CON_EVENT, "\frFont \"%s\" doesn't exist", font_name); would be smth for another PR