Commit Graph
3263 Commits
Author SHA1 Message Date
Eugene Sandulenko ffe8869bb5 GRIM: Fix warning about unused variable 2023-09-19 14:25:48 +02:00
elasota 9892bedc61 COMMON: Add createReadStreamForAltStream to open Mac resource fork and metadata streams 2023-08-30 00:31:00 +02:00
Le Philousophe 5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
Torbjörn Andersson b59d22dd09 GRIM: Add English Mac EMI detection entry
The game crashes almost immediately for me, though.
2023-07-25 20:25:11 +02:00
elasota b8acbe6bee COMMON: Archive path refactoring, add getFileName and getPathInArchive that unambiguously return the filename or the full path 2023-07-19 18:51:37 +02:00
D G Turner 7f7a03a777 GRIM: Fix Shadowing GCC Compiler Warnings 2023-06-25 04:12:08 +01:00
KOLANICH 314de12b05 GRIM: Rename [gs]et_renderer console commands into renderer_[gs]et. 2023-06-21 09:44:05 +03:00
KOLANICH 1fb6489072 GRIM: Add runtime introspection of renderer type used via get_renderer console command. 2023-06-21 09:44:05 +03:00
elasota 7be3c8f602 COMMON: Add "flattenTree" param to createStuffItArchive and preserve directory structure by default 2023-06-19 08:45:32 +03:00
Vladimir Serbinenko cb3ee1411a GRIM: Use TGA font for Chinese monkey4 2023-05-10 13:18:54 +02:00
Vladimir Serbinenko c93486dfe2 GRIM: Support Chinese TGA font 2023-05-10 13:18:54 +02:00
Vladimir Serbinenko 98c337f1da GRIM: Support override font
In Chinese Monkey4 we need to use chinese font instead of normal font.
2023-05-10 13:18:54 +02:00
Vladimir Serbinenko 385d6e5115 GRIM: Mark ZH_TWN as requiring font rendering 2023-05-10 13:18:54 +02:00
Vladimir Serbinenko 87a4fe7831 GRIM: Support DBCS and Unicode word-wrapping 2023-05-10 13:18:54 +02:00
Vladimir Serbinenko bf4b5db9ed GRIM: Prefer unpacked files over ones in archives 2023-05-10 13:18:54 +02:00
Vladimir Serbinenko 7e0d5f1c6f GRIM: Support localize file in UTF-16LE 2023-05-10 13:18:54 +02:00
Vladimir Serbinenko e2c1cae56a GRIM: Add detection entry for Chinese monkey4 2023-05-10 13:18:54 +02:00
Cameron Cawley adef12d993 VIDEO: Implement setOutputPixelFormat() for BinkDecoder 2023-04-05 12:45:13 +02:00
Cameron Cawley d72fee204c VIDEO: Implement setOutputPixelFormat() for MPEGPSDecoder 2023-04-05 12:45:13 +02:00
Vladimir Serbinenko d9dcc54d49 GRIM: Fix handling of single-byte character in DBCS font 2023-03-17 16:50:04 +01:00
Vladimir Serbinenko 28d96e436a GRIM: Remove Chinese font scaling
It's buggy and results in a crash. Additionally it's not necessarry.
2023-03-17 01:41:50 +01:00
Donovan Watteau 18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Donovan Watteau f08c56c527 GRIM: Undo last char/uint8 change for gfx_opengl_shaders.cpp
This one still uses `char`.
2023-03-07 14:15:19 +01:00
Donovan Watteau 09419beae0 GRIM: Fix MSVC C4245 char/uint8 warning
Related to commit 6df761e70e.
2023-03-07 13:52:18 +01:00
Vladimir Serbinenko 2a7942385e GRIM: Add entry for Fargus translation 2023-03-06 20:36:50 +01:00
Vladimir Serbinenko 934086eff6 GRIM: Prevent crash on empty string 2023-03-06 16:17:33 +01:00
Vladimir Serbinenko bbb946a321 GRIM: Add support for Russian translation (old ENPY) 2023-03-06 16:17:33 +01:00
Vladimir Serbinenko 5029d937b9 GRIM: Add an entry for Russian translation (ENPY) 2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 2ee86f1b73 GRIM: Add support for Russian translation (ENPY) 2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 8a34b4883d GRIM: Skip invalid characters
These truncate fonts appear in 7Wolf translation
2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 5a970c9531 GRIM: Support uncompressed MCMP 2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 51d305a5fc GRIM: Support PSAD in smush video 2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 7d8aba66cf GRIM: Change audio encoding to little-endian
We create it from 8-bit compression so on most platforms it just results in
2 useless byte swaps
2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 2d9c1a244f GRIM: Add support for IMA4 tracks
Fargus uses IMA4 tracks.
2023-03-06 16:00:46 +01:00
Vladimir Serbinenko 41600e6821 GRIM: Add entry for Russian translation (7Wolf) 2023-03-06 16:00:46 +01:00
Eugene Sandulenko 0d5ecf61e2 GRIM: Add missing override keyword 2023-03-05 23:46:09 +01:00
Vladimir Serbinenko 60141a62ac GRIM: Double the size of Chinese font 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko 349c515089 GRIM: Disable shaders renderer with Chinese 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko dfcccd3246 GRIM: Fix rendering bug 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko dc86f8731c GRIM: Support Chinese font 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko 3e1075c2b0 GRIM: Small optimisation in bitmap font renderer 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko 829eab2f72 GRIM: Split TTF fonts from bitmap fonts and add a drawing interface
This cleans up the code and allows adding double-byte charsets easier
2023-03-05 22:39:27 +01:00
Vladimir Serbinenko 34db914a09 GRIM: Support "ssIN" magic for GRIM.TAB 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko 95b83f8d3d GRIM: Add entries for Chinese version 2023-03-05 22:39:27 +01:00
Cameron Cawley 366e0c5f67 TINYGL: Replace tglFrustum, tglOrtho and tglClearDepth with float versions 2023-03-05 22:36:31 +01:00
Cameron Cawley 9f13b979d6 TINYGL: Ensure that Z-buffer images are never converted 2023-03-03 09:59:41 +00:00
Paweł Kołodziejski c4686ee84c TINYGL: Rename copyToBuffer to copyFromFrameBuffer 2023-02-09 07:31:09 +01:00
Martin Gerhardy f2c9137979 COMMON: removed foreach.h
now that we are using c++11 we don't need this wrapper anymore
2023-01-07 02:40:44 +02:00
elasota e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Donovan Watteau e4ed41950d GRIM: Fix luaA_passresults() int32/int discrepancy
Linking would fail with MSVC when building for win32 with 'long' used
as the int32 typedef.
2022-12-25 16:13:29 +01:00