1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/client/renderSDL
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
..
CBitmapFont.cpp Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
CBitmapFont.h Proper support for usage of multiple fonts in a chain 2024-09-24 10:59:35 +00:00
CTrueTypeFont.cpp Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
CTrueTypeFont.h Proper support for usage of multiple fonts in a chain 2024-09-24 10:59:35 +00:00
CursorHardware.cpp Fix handling of autoselected interface scaling by client 2024-10-09 17:37:54 +00:00
CursorHardware.h Reduce direct access to CAnimation, removed various caching schemes 2024-07-19 10:08:50 +00:00
CursorSoftware.cpp Fix cursor scaling 2024-08-17 15:25:26 +00:00
CursorSoftware.h Reduce direct access to CAnimation, removed various caching schemes 2024-07-19 10:08:50 +00:00
FontChain.cpp Better handling of encoding detection for maps and campaigns 2024-10-30 11:54:35 +00:00
FontChain.h Improve font mode auto-selection for languages like Chinese 2024-09-28 19:31:16 +00:00
ImageScaled.cpp Implemented generation of player-colored version of DiBoxBck 2024-09-12 21:22:41 +00:00
ImageScaled.h Clean up scaling code, implemented image size optimization 2024-08-17 15:25:26 +00:00
RenderHandler.cpp Add font loading tracking to log 2024-09-28 19:30:26 +00:00
RenderHandler.h Moved fonts handling from Graphics to RenderHandler class 2024-09-23 15:43:11 +00:00
ScreenHandler.cpp Fix handling of autoselected interface scaling by client 2024-10-09 17:37:54 +00:00
ScreenHandler.h Fix handling of autoselected interface scaling by client 2024-10-09 17:37:54 +00:00
SDL_Extensions.cpp Bitmap fonts now use nearest neighbour scaling instead of xbrz 2024-09-02 21:31:01 +00:00
SDL_Extensions.h Bitmap fonts now use nearest neighbour scaling instead of xbrz 2024-09-02 21:31:01 +00:00
SDL_PixelAccess.h Remove no longer needed code 2024-07-19 10:08:50 +00:00
SDLImage.cpp Fix creatures with non-cyan background in battle when xbrz is not in use 2024-09-17 14:48:28 +00:00
SDLImage.h Implemented generation of player-colored version of DiBoxBck 2024-09-12 21:22:41 +00:00
SDLImageLoader.cpp Rename IConstImage to more clear ISharedImage 2024-08-17 15:25:26 +00:00
SDLImageLoader.h Rename IConstImage to more clear ISharedImage 2024-08-17 15:25:26 +00:00
SDLRWwrapper.cpp Reorganized includes for new layout. New class - IImageLoader 2023-02-01 20:42:06 +02:00
SDLRWwrapper.h Move all created files into better locations 2023-02-01 16:28:48 +02:00