Re: [tsc-devel] SFML Tasks?
Quintus |
Wed, 06 Jan 2016 09:40:16 UTC
datahead <…r@f…> writes:
> @Quintus, you had said there was a long menu implementation task
> remaining for the SFML port. Which task is it, and which SFML
> tutorials are critical for it?
It’s part of the font manager porting issue (ticket #512). If you try to
compile sfml-port-font-manager, compilation will fail at
menu_data.cpp. This is because the menu system uses HUDSprites
everywhere, and blits the text as images onto the HUDSprites. sf::Text
instances cannot be blitted onto TSC’s sprites, thus the menu system
must be modified in such a way that it can cope with sf::Text instead of
text images.
This has nothing to do with SFML in particular, it is TSC’s internal
structure that causes the problem here. The assumption that a text can
be blitted onto an image simply does not hold true anymore with SFML (at
least not if you want something performant, as lambda has pointed out),
and that’s what the menu system relies on.
Vale,
Quintus
--
#!/sbin/quintus
Blog: http://www.guelkerdev.de
GnuPG key: F1D8799FBCC8BC4F