storm-devs / storm-engine

Game engine behind Sea Dogs, Pirates of the Caribbean and Age of Pirates games.
https://storm-devs.github.io/storm-engine
GNU General Public License v3.0
845 stars 120 forks source link

worldmap: allow to set font, scale and position for worldmap texts in scripts #439

Closed q4a closed 2 years ago

q4a commented 2 years ago

I used same BITextInfo class, so in 1st commit I moved *.h files to include folder. 2nd commit - actual read and use UI values from scripts. I added if/else code for backwards compatibility. 3rd commit - small optimization of unused vars.

I will continue to make the worldmap interface more customizable via scripts in the next PRs. Looks loke small PR ieasie to check and review.