1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib/campaign
Ivan Savenko 22f517686d Better handling of encoding detection for maps and campaigns
Now VCMI will use either preferred language or install language to load
maps and campaigns that are part of "core" mod, or, in other words -
placed in Maps directory of H3 data (like most of manually downloaded
maps and campaigns are)

If game data is in English, then game can safely use encoding of player-
selected language (such as Chinese) to load maps. After all, both GBK
and all Win-125X encoding are superset of ASCII, so English map will
always load up correctly.

Maps that are part of a mod still use mod language as before - it is up
to mod maker to correctly set up mod language.
2024-10-30 11:54:35 +00:00
..
CampaignConstants.h chr loading 2024-08-31 12:39:23 +02:00
CampaignHandler.cpp Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
CampaignHandler.h enable translation for vcmp 2024-08-10 14:28:50 +02:00
CampaignScenarioPrologEpilog.h Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
CampaignState.cpp Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
CampaignState.h code review 2024-09-27 18:23:02 +02:00