TomenetGame / tomenet

TomeNET is an online multiplayer roguelike role-playing game
https://www.tomenet.eu/
Other
69 stars 11 forks source link

Display monster symbol from current font in monster lore #20

Closed EvgenijK closed 2 years ago

EvgenijK commented 2 years ago

Several mid-level players asked for possibility to see monster symbol that they see on the map in monster lore.

How it looks: in search image in monster lore/stats image

Known issue

Graphic symbol don't shows in other windows except the main window (as they use different font) image

Possible solution: add a flag to monster_lore_aux() and monster_stats_aux() to know if we pasting to the chat and do not draw graphic symbol in that case.

EvgenijK commented 2 years ago

I added to_chat flag to monster_lore_aux() and monster_stats_aux() and changed code for c command in monster lore to not display client specific symbols in chat.

mhirki commented 2 years ago

This pull request is looking good after you solved the "known issue". I'm gonna merge it now. I don't personally play with one of these "graphical" fonts but the feature certainly looks useful in the screenshots.