1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/lib
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
..
battle Merge pull request #4808 from Laserlicht/prism_breath 2024-10-28 12:29:41 +02:00
bonuses Merge pull request #4808 from Laserlicht/prism_breath 2024-10-28 12:29:41 +02:00
campaign Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
constants Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
entities Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
events
filesystem Fix crash on exporting maps for translation 2024-10-25 21:41:24 +00:00
gameState Merge pull request #4763 from IvanSavenko/herohandler_split 2024-10-14 19:05:48 +03:00
json Implemented JSON5 line ending escapings 2024-10-26 14:21:23 +00:00
logging Fix miscellaneous issues discovered by Sonar 2024-08-12 18:26:30 +00:00
mapObjectConstructors Added support for daily income to flaggable objects 2024-10-25 19:01:00 +00:00
mapObjects Merge pull request #4824 from IvanSavenko/translate_fix 2024-10-28 12:56:50 +02:00
mapping Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
minizip
modding Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
network Fix miscellaneous issues discovered by Sonar 2024-08-12 18:26:30 +00:00
networkPacks Merge pull request #4766 from SoundSSGood/fused-artifacts 2024-10-16 15:08:20 +03:00
pathfinder Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
rewardable Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
rmg Implemented translation support for random map descriptions 2024-10-25 20:41:19 +00:00
serializer Basic support for configurable flaggable objects 2024-10-25 16:48:10 +00:00
spells Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
texts Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
vstd
AI_Base.h
ArtifactUtils.cpp Fused identical artifacts 2024-10-15 16:51:29 +03:00
ArtifactUtils.h ArtifactUtils::createArtifact ArtifactUtils::createNewArtifactInstance unified 2024-09-04 21:25:55 +03:00
BasicTypes.cpp Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
BattleFieldHandler.cpp introduce getModScope method toEntity class and subclasses 2024-08-10 16:08:04 +02:00
BattleFieldHandler.h introduce getModScope method toEntity class and subclasses 2024-08-10 16:08:04 +02:00
CAndroidVMHelper.cpp
CAndroidVMHelper.h
CArtHandler.cpp Fused identical artifacts 2024-10-15 16:51:29 +03:00
CArtHandler.h Fused identical artifacts 2024-10-15 16:51:29 +03:00
CArtifactInstance.cpp fused artifacts 2024-10-12 16:43:04 +03:00
CArtifactInstance.h fused artifacts 2024-10-12 16:43:04 +03:00
CBonusTypeHandler.cpp Add simple support for translation of strings that were changed by 2024-10-06 19:42:15 +00:00
CBonusTypeHandler.h
CConfigHandler.cpp
CConfigHandler.h
CConsoleHandler.cpp Do not try to shoot at 2nd hex of wide creatures 2024-08-14 10:38:59 +00:00
CConsoleHandler.h
CCreatureHandler.cpp Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
CCreatureHandler.h Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
CCreatureSet.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
CCreatureSet.h Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
CGameInfoCallback.cpp fix crash 2024-10-19 15:25:26 +02:00
CGameInfoCallback.h code review 2024-10-12 23:01:14 +02:00
CGameInterface.cpp Extracted handling of type ID's from serializer into a separate class 2024-08-26 19:48:46 +00:00
CGameInterface.h Extracted handling of type ID's from serializer into a separate class 2024-08-26 19:48:46 +00:00
CMakeLists.txt Basic support for configurable flaggable objects 2024-10-25 16:48:10 +00:00
Color.h icon drawing 2024-08-15 00:21:02 +02:00
ConstTransitivePtr.h
CPlayerState.cpp Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
CPlayerState.h Implemented serialization of local player state in json form 2024-10-08 20:04:32 +00:00
CRandomGenerator.cpp
CRandomGenerator.h
CScriptingModule.cpp
CScriptingModule.h
CSkillHandler.cpp Add bonus description generation for map objects 2024-10-25 18:36:02 +00:00
CSkillHandler.h introduce getModScope method toEntity class and subclasses 2024-08-10 16:08:04 +02:00
CSoundBase.h
CStack.cpp Replace pointer with reference in pack apply functions 2024-10-07 14:59:46 +00:00
CStack.h Unified handling of battle sides ID's 2024-08-11 20:54:44 +00:00
CStopWatch.h
CThreadHelper.cpp
CThreadHelper.h
ExceptionsCommon.h
ExtraOptionsInfo.cpp
ExtraOptionsInfo.h
FunctionList.h
GameCallbackHolder.h
GameConstants.h
GameSettings.cpp Merge branch 'develop' into spell 2024-10-07 12:55:23 +02:00
GameSettings.h It is now possible to define game settings in rmg template 2024-09-05 15:16:28 +00:00
IBonusTypeHandler.h
IGameCallback.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
IGameCallback.h Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
IGameEventsReceiver.h IMarket suggestions 2024-08-20 18:49:48 +03:00
IGameSettings.h Merge branch 'develop' into spell 2024-10-07 12:55:23 +02:00
IHandlerBase.cpp
IHandlerBase.h
int3.h
LoadProgress.cpp
LoadProgress.h
LogicalExpression.cpp
LogicalExpression.h
ObstacleHandler.cpp introduce modScope into ObstacleInfo 2024-08-12 13:57:27 +02:00
ObstacleHandler.h introduce modScope into ObstacleInfo 2024-08-12 13:57:27 +02:00
Point.h
Rect.cpp
Rect.h First iteration of upscaled rendering 2024-08-17 15:25:25 +00:00
ResourceSet.cpp Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
ResourceSet.h Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
RiverHandler.cpp Minor refactoring of translations: 2024-10-06 19:42:15 +00:00
RiverHandler.h introduce getModScope method toEntity class and subclasses 2024-08-10 16:08:04 +02:00
RoadHandler.cpp Minor refactoring of translations: 2024-10-06 19:42:15 +00:00
RoadHandler.h introduce getModScope method toEntity class and subclasses 2024-08-10 16:08:04 +02:00
ScopeGuard.h
ScriptHandler.cpp
ScriptHandler.h
StartInfo.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
StartInfo.h Removed save compatibility with 1.4 2024-08-29 18:51:53 +00:00
StdInc.cpp
StdInc.h
TerrainHandler.cpp Minor refactoring of translations: 2024-10-06 19:42:15 +00:00
TerrainHandler.h introduce getModScope method toEntity class and subclasses 2024-08-10 16:08:04 +02:00
TurnTimerInfo.cpp
TurnTimerInfo.h
UnlockGuard.h
vcmi_endian.h
VCMI_Lib.cpp Split CHeroHandler.cpp/.h into 1 file per class 2024-10-13 14:01:09 +00:00
VCMI_Lib.h Added GameSettings to gamestate, potentially allowing to define game 2024-09-05 15:16:27 +00:00
VCMIDirs.cpp
VCMIDirs.h