1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib/mapping
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
..
CDrawRoadsOperation.cpp Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CDrawRoadsOperation.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CMap.cpp Merge pull request #4763 from IvanSavenko/herohandler_split 2024-10-14 19:05:48 +03:00
CMap.h CMap put move and remove artifact method 2024-09-23 23:30:38 +03:00
CMapDefines.h Removed no longer used netpacks 2024-08-14 14:13:50 +00:00
CMapEditManager.cpp Fix miscellaneous issues discovered by Sonar 2024-08-12 18:26:30 +00:00
CMapEditManager.h Fix test 2024-07-19 12:17:06 +00:00
CMapHeader.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
CMapHeader.h Removed save compatibility with 1.4 2024-08-29 18:51:53 +00:00
CMapInfo.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
CMapInfo.h Added 'Serializeable' base class for classes serializeable by pointer 2024-05-16 18:40:59 +00:00
CMapOperation.cpp Replaced most of accesses to CGObjectInstance::pos with anchorPoint() 2024-10-09 15:43:46 +00:00
CMapOperation.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
CMapService.cpp Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
CMapService.h Moved serialization of ModCompatibilityInfo from MapFormat 2024-04-23 17:15:59 +03:00
MapEditUtils.cpp lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
MapEditUtils.h Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
MapFeaturesH3M.cpp tarnum icon 2024-08-31 22:05:36 +02:00
MapFeaturesH3M.h tarnum icon 2024-08-31 22:05:36 +02:00
MapFormat.h chr loading 2024-08-31 12:39:23 +02:00
MapFormatH3M.cpp Merge pull request #4824 from IvanSavenko/translate_fix 2024-10-28 12:56:50 +02:00
MapFormatH3M.h Basic support for configurable flaggable objects 2024-10-25 16:48:10 +00:00
MapFormatJson.cpp Fix crash on exporting maps for translation 2024-10-25 21:41:24 +00:00
MapFormatJson.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
MapIdentifiersH3M.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
MapIdentifiersH3M.h Improvements to type safety of Identifier class 2023-10-04 18:05:23 +03:00
MapReaderH3M.cpp Fix crash on exporting maps for translation 2024-10-25 21:41:24 +00:00
MapReaderH3M.h IMarket suggestions 2024-08-20 18:49:48 +03:00
ObstacleProxy.cpp Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00
ObstacleProxy.h Replaced most of usages of CRandomGenerator with vstd::RNG in library 2024-07-16 13:13:07 +00:00